Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 1756) sorted by relevance

12345678910>>...71

/plugin/mediasyntax/tools/
H A Ddokuwiki2mediawiki.php46 $line=$lines[$i]; variable
47 if (preg_match('/^ *======.*====== *$/',$line))
49 $line=preg_replace('/^ *======/','=',$line); variable
50 $line=preg_replace('/====== *$/','=',$line); variable
52 elseif (preg_match('/^ *=====.*===== *$/',$line))
54 $line=preg_replace('/^ *=====/','==',$line); variable
55 $line variable
59 $line=preg_replace('/^ *====/','===',$line); global() variable
60 $line=preg_replace('/==== *$/','===',$line); global() variable
64 $line=preg_replace('/^ *===/','====',$line); global() variable
65 $line=preg_replace('/=== *$/','====',$line); global() variable
69 $line=preg_replace('/^ *==/','=====',$line); global() variable
70 $line=preg_replace('/== *$/','=====',$line); global() variable
78 $line=preg_replace("/^ /","",$line); global() variable
83 $line="*".$line; global() variable
92 $line=preg_replace("/^ /","",$line); global() variable
94 $line=preg_replace("/^-/","#",$line); global() variable
99 $line="#".$line; global() variable
105 $line=preg_replace("/\/\//","''",$line); global() variable
109 $line=preg_replace("/\*\*/","'''",$line); global() variable
114 $line=preg_replace("/\\\\\\\\ /","<br />",$line); global() variable
120 $line=preg_replace("/\| *$/","",$line); global() variable
121 $line=preg_replace("/\n/","",$line); global() variable
224 $line=preg_replace("/^\^/","",$line); global() variable
225 $line=preg_replace("/\n/","",$line); global() variable
226 $line=preg_replace("/\^$/","",$line); global() variable
230 if ($in_table) $line=""; // if this is in a table then the table's content will be stored in $headers and $cells global() variable
[all...]
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.misc.cue.php78 if ( (strlen($line) > 0) && ($line[0] != '#'))
173 $line = substr($line, strpos($line, ' ') + 1);
174 $type = strtolower(substr($line, strrpos($line, ' ')));
177 $line = substr($line, 0, strrpos($line, ' ') - 1);
180 $line = trim($line, '"');
253 $line = substr($line, strpos($line, ' ') + 1);
259 $number = intval(substr($line, 0, strpos($line, ' ')));
260 $line = substr($line, strpos($line, ' ') + 1);
287 $line = substr($line, strpos($line, ' ') + 1);
290 $line = trim($line, '"');
[all …]
/plugin/docimporter/
H A DImportUtils.php32 $line = preg_replace('/\\|.*style=\\".*\\"/U', "",$line);
34 $line = preg_replace("(style=\".*\")","",$line);
40 $line = preg_replace("/\n \* /U"," ",$line);
41 $line = preg_replace("/ \* /U"," ",$line);
44 $line = preg_replace("/\|/","!",$line)."\n\n";
51 $line = trim(preg_replace('/\s+!/', ' ^', $line));
55 $line = preg_replace("/\|(.*)\n\n/","|$1\n",$line);
57 $line = preg_replace("/\n\n/","NEWLINE",$line);
63 $line = preg_replace("/NEWLINE/","|\n",$line);
65 $line = $line." |\n";
[all …]
/plugin/mdpage/vendor/cebe/markdown/block/
H A DCodeTrait.php18 protected function identifyCode($line) argument
21 …return ($l = $line[0]) === ' ' && $line[1] === ' ' && $line[2] === ' ' && $line[3] === ' ' || $l =…
33 $line = $lines[$i];
36 if (isset($line[0]) && ($line[0] === "\t" || strncmp($line, ' ', 4) === 0)) {
37 $line = $line[0] === "\t" ? substr($line, 1) : substr($line, 4);
38 $content[] = $line;
40 } elseif (($line === '' || rtrim($line) === '') && isset($lines[$i + 1][0]) &&
42 if ($line !== '') {
43 $line = $line[0] === "\t" ? substr($line, 1) : substr($line, 4);
45 $content[] = $line;
H A DFencedCodeTrait.php22 protected function identifyFencedCode($line) argument
24 return ($line[0] === '`' && strncmp($line, '```', 3) === 0) ||
25 ($line[0] === '~' && strncmp($line, '~~~', 3) === 0) ||
26 (isset($line[3]) && (
27 ($line[3] === '`' && strncmp(ltrim($line), '```', 3) === 0) ||
28 ($line[3] === '~' && strncmp(ltrim($line), '~~~', 3) === 0)
37 $line = ltrim($lines[$current]);
38 $fence = substr($line, 0, $pos = strrpos($line, $line[0]) + 1);
39 $language = rtrim(substr($line, $pos));
43 if (($pos = strpos($line = $lines[$i], $fence)) === false || $pos > 3) {
[all …]
H A DQuoteTrait.php18 protected function identifyQuote($line) argument
20 return $line[0] === '>' && (!isset($line[1]) || ($l1 = $line[1]) === ' ' || $l1 === "\t");
31 $line = $lines[$i];
32 if (ltrim($line) !== '') {
33 if ($line[0] == '>' && !isset($line[1])) {
34 $line = '';
35 } elseif (strncmp($line, '> ', 2) === 0) {
36 $line = substr($line, 2);
38 $content[] = $line;
H A DListTrait.php25 protected function identifyOl($line) argument
27 …return (($l = $line[0]) > '0' && $l <= '9' || $l === ' ') && preg_match('/^ {0,3}\d+\.[ \t]/', $li…
33 protected function identifyUl($line) argument
35 $l = $line[0];
82 $line = $lines[$i];
88 $line = substr($line, strlen($matches[0]));
92 $line = substr($line, $len);
108 } elseif (ltrim($line) === '') {
132 if ($line[0] === "\t") {
133 $line = substr($line, 1);
[all …]
H A DHtmlTrait.php50 protected function identifyHtml($line, $lines, $current) argument
52 if ($line[0] !== '<' || isset($line[1]) && $line[1] == ' ') {
56 if (strncmp($line, '<!--', 4) === 0) {
65 $tag = rtrim(substr($line, 1, $gtPos - 1), '/');
67 $tag = rtrim(substr($line, 1, min($gtPos, $spacePos) - 1), '/');
84 $line = $lines[$i];
85 $content[] = $line;
86 if (strpos($line, '-->') !== false) {
97 $line = $lines[$i];
98 $content[] = $line;
[all …]
H A DTableTrait.php18 protected function identifyTable($line, $lines, $current) argument
20 return strpos($line, '|') !== false && isset($lines[$current + 1])
39 $line = trim($lines[$i]);
43 $cols = explode('|', trim($line, ' |'));
65 if ($line === '' || substr($lines[$i], 0, 4) === ' ') {
68 if ($line[0] === '|') {
69 $line = substr($line, 1);
71 …if (substr($line, -1, 1) === '|' && (substr($line, -2, 2) !== '\\|' || substr($line, -3, 3) === '\…
72 $line = substr($line, 0, -1);
76 $row = $this->parseInline($line);
/plugin/sketchcanvas/phplib/
H A Dspyc.php362 foreach ($exploded as $line) {
363 $newValue .= "\n" . $spaces . ($line);
415 $line = $Source[$i];
417 $this->indent = strlen($line) - strlen(ltrim($line));
419 $line = self::stripIndent($line, $this->indent);
420 if (self::isComment($line)) continue;
421 if (self::isEmpty($line)) continue;
424 $literalBlockStyle = self::startsLiteralBlock($line);
485 _parseLine($line) global() argument
720 literalBlockContinues($line, $lineIndent) global() argument
824 startsLiteralBlock($line) global() argument
833 greedilyNeedNextLine($line) global() argument
842 addLiteralLine($literalBlock, $line, $literalBlockStyle, $indent = 1) global() argument
871 stripIndent($line, $indent = 1) global() argument
901 isComment($line) global() argument
908 isEmpty($line) global() argument
913 isArrayElement($line) global() argument
922 isHashElement($line) global() argument
926 isLiteral($line) global() argument
941 startsMappedSequence($line) global() argument
945 returnMappedSequence($line) global() argument
953 returnMappedValue($line) global() argument
960 startsMappedValue($line) global() argument
964 isPlainArray($line) global() argument
968 returnPlainArray($line) global() argument
972 returnKeyValuePair($line) global() argument
1000 returnArrayElement($line) global() argument
1010 nodeContainsGroup($line) global() argument
1022 addGroup($line, $group) global() argument
1028 stripGroup($line, $group) global() argument
[all...]
/plugin/loglog/
H A Dadmin.php98 foreach ($lines as $line) {
99 if (!$line['user']) continue;
107 if ($line['msg'] == 'logged off') {
108 $line['msg'] = $this->getLang('off');
111 $line['msg'] = $this->getLang('in');
114 $line['msg'] = $this->getLang('tin');
117 $line['msg'] = $this->getLang('fail');
123 $line['msg'] = hsc($line['msg']);
139 echo '<td>' . hsc($line['ip']) . '</td>';
140 echo '<td>' . hsc($line['user']) . '</td>';
[all …]
/plugin/schedule/
H A DpoiDB.class.php34 function addLine ($line) { argument
36 $line = $this->cleanLine ($line);
38 $this->allLines [] = $line;
47 function removeLine ($line) { argument
49 $line = $this->cleanLine ($line);
59 function cleanLine ($line) { argument
61 $data = explode ("|", $line);
74 if ($lineCleaned != $line)
86 $line = trim (preg_replace ("/#.*$/", "", str_replace ('\\\\', '~br~', $line)));
87 if (!$line)
[all …]
/plugin/navbox/
H A Dsyntax.php85 $line = trim(array_shift($lines));
87 if (strlen($line) < 1) continue;
90 if (strpos($line, '### !') !== false) {
97 $currentSub = substr($line, 4);
114 $current = substr($line, 3);
122 $navbox['title'] = substr($line, 2);
125 } else if (substr($line, 0, 2) == '[[') {
145 if (strpos($line, '!ns') !== false) {
155 if (strpos($line, '+n') !== false) {
162 if (strpos($line, '+t') !== false) {
[all …]
/plugin/log404/
H A Dhelper.php38 $this->data[$line[1]] = array(
43 $this->data[$line[1]]['count'] ++;
44 if (count($line) === 4) {
48 'date' => $line[0],
50 'referer' => $line[2],
51 'user_agent' => $line[3],
57 'date' => $line[0],
58 'ip' => $line[2],
59 'referer' => $line[3],
60 'user_agent' => $line[4],
[all …]
/plugin/struct/meta/
H A DConfigParser.php48 foreach ($lines as $line) {
49 [$key, $val] = $this->splitLine($line);
53 // handle line commands (we allow various aliases here)
169 * Splits the given line into key and value
171 * @param $line
172 * @return array returns ['',''] if the line is empty
174 protected function splitLine($line)
177 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
178 $line
159 splitLine($line) global() argument
258 parseValues($line) global() argument
[all...]
/plugin/mdpage/vendor/cebe/markdown/
H A DGithubMarkdown.php66 $line = $lines[$i];
67 if ($line === ''
68 || ltrim($line) === ''
69 || !ctype_alpha($line[0]) && (
70 $this->identifyQuote($line, $lines, $i) ||
72 $this->identifyUl($line, $lines, $i) ||
73 $this->identifyOl($line, $lines, $i) ||
74 $this->identifyHr($line, $lines, $i)
76 || $this->identifyHeadline($line, $lines, $i))
85 $content[] = $line;
[all …]
H A DMarkdown.php87 $line = $lines[$i];
90 if (isset($this->context[1]) && $this->context[1] === 'list' && !ctype_alpha($line[0]) && (
91 $this->identifyUl($line, $lines, $i) || $this->identifyOl($line, $lines, $i))) {
95 if ($line === '' || ltrim($line) === '' || $this->identifyHeadline($line, $lines, $i)) {
97 } elseif ($line[0] === "\t" || $line[0] === " " && strncmp($line, ' ', 4) === 0) {
103 $content[] = $line;
108 $content[] = $line;
/plugin/txt2tags/
H A Dtxt2tags.class.php276 foreach($lines as $line) {
294 …if($line!='' && $line{0}=='%' && ! preg_match('/^%%(infile|outfile|date|mtime|rand|toc\\s*$)/i', $
345 $line = $this->run_inline($line);
383 $line = '%%toc';
385 $lines2[] = $line;
502 if(trim($line)=='' || strpos($line, "\032\032")===0 ) {
548 $lines2[] = $line;
553 if(trim($line)=='') {
563 if(trim($line)!='') {
570 $lines2[] = $line;
[all …]
/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/
H A DSimpleTokenParser.php33 public function getNode(array $values, $line) argument
36 $nodes[] = new Twig_Node_Print(new Twig_Node_Expression_Constant('|', $line), $line);
40 … $nodes[] = new Twig_Node_Print(new Twig_Node_Expression_Function('dump', $value, $line), $line);
42 $nodes[] = new Twig_Node_Print($value, $line);
45 … $nodes[] = new Twig_Node_Print(new Twig_Node_Expression_Constant($value, $line), $line);
47 $nodes[] = new Twig_Node_Print(new Twig_Node_Expression_Constant('|', $line), $line);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/
H A DVersionControl.php121 unset($blames[($line - 1)]);
126 foreach ($blames as $line) {
127 $author = $this->getAuthor($line);
236 $line = str_repeat(' ', (12 - strlen($overallPercent))).$overallPercent.$line;
237 $line = str_repeat(' ', (11 - strlen($authorPercent))).$authorPercent.$line;
238 … $line = $author.str_repeat(' ', ($width - strlen($author) - strlen($line))).$line;
241 $line = "\033[1m$line\033[0m";
244 echo $line.PHP_EOL;
285 echo $line.PHP_EOL;
325 * @param string $line Line to parse.
[all …]
/plugin/webdav/vendor/sabre/vobject/lib/Parser/
H A DMimeDir.php144 $line = $this->readLine();
148 if (3 <= strlen($line)
149 && 0xef === ord($line[0])
150 && 0xbb === ord($line[1])
152 $line = substr($line, 3);
155 switch (strtoupper($line)) {
170 $line = $this->readLine();
194 protected function parseLine($line) argument
293 $line = $rawLine;
306 $line .= $curLine;
[all …]
/plugin/davcard/vendor/sabre/vobject/lib/Parser/
H A DMimeDir.php102 $line = $this->readLine();
106 if ( 3 <= strlen($line)
107 && ord($line[0]) === 0xef
108 && ord($line[1]) === 0xbb
109 && ord($line[2]) === 0xbf) {
110 $line = substr($line, 3);
113 switch(strtoupper($line)) {
133 $line = $this->readLine();
155 * @param string $line Unfolded line
259 $line = $rawLine;
[all …]
/plugin/webdavclient/vendor/sabre/vobject/lib/Parser/
H A DMimeDir.php102 $line = $this->readLine();
106 if ( 3 <= strlen($line)
107 && ord($line[0]) === 0xef
108 && ord($line[1]) === 0xbb
109 && ord($line[2]) === 0xbf) {
110 $line = substr($line, 3);
113 switch(strtoupper($line)) {
133 $line = $this->readLine();
155 * @param string $line Unfolded line
259 $line = $rawLine;
[all …]
/plugin/davcal/vendor/sabre/vobject/lib/Parser/
H A DMimeDir.php102 $line = $this->readLine();
106 if ( 3 <= strlen($line)
107 && ord($line[0]) === 0xef
108 && ord($line[1]) === 0xbb
109 && ord($line[2]) === 0xbf) {
110 $line = substr($line, 3);
113 switch(strtoupper($line)) {
133 $line = $this->readLine();
155 * @param string $line Unfolded line
259 $line = $rawLine;
[all …]
/plugin/icalevents/vendor/sabre/vobject/lib/Parser/
H A DMimeDir.php150 $line = $this->readLine();
154 if (3 <= strlen($line)
155 && ord($line[0]) === 0xef
156 && ord($line[1]) === 0xbb
157 && ord($line[2]) === 0xbf) {
158 $line = substr($line, 3);
161 switch (strtoupper($line)) {
177 $line = $this->readLine();
199 * @param string $line Unfolded line
305 $line = $rawLine;
[all …]

12345678910>>...71