Home
last modified time | relevance | path

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

12345678910>>...75

/plugin/mediasyntax/tools/
H A Ddokuwiki2mediawiki.php78 $line=preg_replace("/^ /","",$line); variable
83 $line="*".$line; variable
92 $line=preg_replace("/^ /","",$line); variable
94 $line=preg_replace("/^-/","#",$line); variable
99 $line="#".$line; variable
105 $line=preg_replace("/\/\//","''",$line); variable
109 $line=preg_replace("/\*\*/","'''",$line); variable
120 $line=preg_replace("/\| *$/","",$line); variable
121 $line=preg_replace("/\n/","",$line); variable
224 $line=preg_replace("/^\^/","",$line); 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 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 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 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.php419 $line = self::stripIndent($line, $this->indent);
426 $line = rtrim ($line, $literalBlockStyle . " \n");
445 $line = preg_replace('/\s+#(.+)$/','',$line);
487 $line = trim($line);
495 $line = $this->stripGroup ($line, $group);
834 $line = trim ($line);
843 $line = self::stripIndent($line, $indent);
845 $line = self::stripIndent($line);
847 $line = rtrim ($line, "\r\n\t ") . "\n";
857 $line = trim ($line, "\r\n ") . " ";
[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/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/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/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/struct/meta/
H A DConfigParser.php45 foreach ($lines as $line) {
163 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
164 $line = str_replace('\\#', '#', $line);
165 $line = trim($line);
168 $line = preg_split('/\s*:\s*/', $line, 2);
169 $line[0] = strtolower($line[0]);
171 return $line;
255 * @param string $line
264 $len = strlen($line);
266 if ($line[$i] == '"') {
[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/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/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/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/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/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>>...75