Home
last modified time | relevance | path

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

12345678910>>...97

/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
Dmodule.misc.cue.php76 foreach (explode("\n", str_replace("\r", null, $filedata)) as $line)
78 if ( (strlen($line) > 0) && ($line[0] != '#'))
80 $cue_lines[] = trim($line);
144 * @param string $line - The line in the cue file that contains the TRACK command.
147 public function parseComment($line, $track_on) argument
149 $explodedline = explode(' ', $line, 3);
167 * @param string $line - The line in the cue file that contains the FILE command.
171 public function parseFile($line) argument
173 $line = substr($line, strpos($line, ' ') + 1);
174 $type = strtolower(substr($line, strrpos($line, ' ')));
[all …]
/plugin/mediasyntax/tools/
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=preg_replace('/===== *$/','==',$line); variable
57 elseif (preg_match('/^ *====.*==== *$/',$line))
59 $line=preg_replace('/^ *====/','===',$line); variable
60 $line=preg_replace('/==== *$/','===',$line); variable
[all …]
/plugin/docimporter/
DImportUtils.php29 foreach ($lines as $line) {
32 $line = preg_replace('/\\|.*style=\\".*\\"/U', "",$line);
34 $line = preg_replace("(style=\".*\")","",$line);
36 $line = preg_replace("/<div.*>(.*)<\/div>/U","$1",$line);
38 $line = preg_replace("/\|(.*)\n\n(.*)\n/","|$1 $2\n",$line);
40 $line = preg_replace("/\n \* /U"," ",$line);
41 $line = preg_replace("/ \* /U"," ",$line);
43 if (! strpos($line,'!') && $count == 1) {
44 $line = preg_replace("/\|/","!",$line)."\n\n";
51 $line = trim(preg_replace('/\s+!/', ' ^', $line));
[all …]
/plugin/mdpage/vendor/cebe/markdown/block/
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;
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 …]
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];
36 …return ($l === '-' || $l === '+' || $l === '*') && (isset($line[1]) && (($l1 = $line[1]) === ' ' |…
37 ($l === ' ' && preg_match('/^ {0,3}[\-\+\*][ \t]/', $line));
82 $line = $lines[$i];
85 if (preg_match($pattern, $line, $matches)) {
88 $line = substr($line, strlen($matches[0]));
92 $line = substr($line, $len);
[all …]
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;
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 …]
/plugin/sketchcanvas/phplib/
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);
426 $line = rtrim ($line, $literalBlockStyle . " \n");
428 $line .= $this->LiteralPlaceHolder;
[all …]
/plugin/loglog/
Dadmin.php98 foreach ($lines as $line) {
99 if (!$line['user']) continue;
101 $logType = $this->mainHelper->getLogTypeFromMsg($line['msg']);
107 if ($line['msg'] == 'logged off') {
108 $line['msg'] = $this->getLang('off');
110 } elseif ($line['msg'] == 'logged in permanently') {
111 $line['msg'] = $this->getLang('in');
113 } elseif ($line['msg'] == 'logged in temporarily') {
114 $line['msg'] = $this->getLang('tin');
116 } elseif ($line['msg'] == 'failed login attempt') {
[all …]
/plugin/schedule/
DpoiDB.class.php34 function addLine ($line) { argument
36 $line = $this->cleanLine ($line);
37 if (!$this->allLines || !in_array ($line, $this->allLines)) {
38 $this->allLines [] = $line;
47 function removeLine ($line) { argument
49 $line = $this->cleanLine ($line);
51 if (($key = array_search ($line, $this->allLines)) !== false) {
59 function cleanLine ($line) { argument
61 $data = explode ("|", $line);
72 foreach ($this->allLines as $key => $line) {
[all …]
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/
DStringHashParser.php92 $line = fgets($fh);
93 if ($line === false) {
96 $line = rtrim($line, "\n\r");
97 if (!$state && $line === '') {
100 if ($line === '----') {
103 if (strncmp('--#', $line, 3) === 0) {
106 } elseif (strncmp('--', $line, 2) === 0) {
108 $state = trim($line, '- ');
115 if (strpos($line, ':') !== false) {
117 list($state, $line) = explode(':', $line, 2);
[all …]
/plugin/asciidocjs/node_modules/pug-parser/
Dindex.js54 line: token.loc.start.line, property
154 initBlock: function(line, nodes) { argument
156 if ((line | 0) !== line) throw new Error('`line` is not an integer');
162 line: line,
167 emptyBlock: function(line) { argument
168 return this.initBlock(line, []);
232 return this.initBlock(this.peek().loc.start.line, this.parseTextHtml());
279 var lineno = this.peek().loc.start.line;
289 line: tok.loc.start.line, property
302 line: tok.loc.start.line, property
[all …]
/plugin/struct/meta/
DConfigParser.php49 foreach ($lines as $line) {
50 [$key, $val] = $this->splitLine($line);
180 protected function splitLine($line) argument
183 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
184 $line = str_replace('\\#', '#', $line);
185 $line = trim($line);
186 if (empty($line)) return ['', ''];
188 $line = preg_split('/\s*:\s*/', $line, 2);
189 $line[0] = strtolower($line[0]);
190 if (!isset($line[1])) $line[1] = '';
[all …]
/plugin/navbox/
Dsyntax.php85 $line = trim(array_shift($lines));
87 if (strlen($line) < 1) continue;
90 if (strpos($line, '### !') !== false) {
94 } else if (strpos($line, '### ') !== false) {
97 $currentSub = substr($line, 4);
102 } else if (strpos($line, '## ') !== false) {
114 $current = substr($line, 3);
119 } else if (strpos($line, '# ') !== false) {
122 $navbox['title'] = substr($line, 2);
125 } else if (substr($line, 0, 2) == '[[') {
[all …]
/plugin/log404/
Dhelper.php36 while ($line = fgetcsv($log, 900)) { // Is 900 okay for max line length?
37 if (!isset($this->data[$line[1]])) {
38 $this->data[$line[1]] = array(
43 $this->data[$line[1]]['count'] ++;
44 if (count($line) === 4) {
47 $this->data[$line[1]]['hits'][] = array(
48 'date' => $line[0],
50 'referer' => $line[2],
51 'user_agent' => $line[3],
56 $this->data[$line[1]]['hits'][] = array(
[all …]
/plugin/txt2tags/
Dtxt2tags.class.php276 foreach($lines as $line) {
280 if($line == $openarea) { # close area
281 if(rtrim($line) != "%%%") # comment areas
285 $areacontent .= "$line\n";
289 if(preg_match('/^("""|```|\'\'\'|%%%) *$/', $line)) { # open area
290 $openarea = trim($line);
294 …if($line!='' && $line{0}=='%' && ! preg_match('/^%%(infile|outfile|date|mtime|rand|toc\\s*$)/i', $
298 if(preg_match('/^("""|```|\'\'\') /', $line, $m)) {
299 $lines2[] = $this->closeRTV($m[1], substr($line, 4));
304 …preg_match('/^ *((=){1,5})(?!=)\\s*(\\S.*[^=]|[^\\s=])\\1(?:\\[([\\w-]+)\\])?\\s*$/', $line, $m) ||
[all …]
/plugin/mdpage/vendor/cebe/markdown/
DGithubMarkdown.php66 $line = $lines[$i];
67 if ($line === ''
68 || ltrim($line) === ''
69 || !ctype_alpha($line[0]) && (
70 $this->identifyQuote($line, $lines, $i) ||
71 $this->identifyFencedCode($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))
[all …]
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/filelist/
DPath.php39 foreach ($lines as $line) {
40 $line = trim($line);
41 if (empty($line)) {
45 if (str_starts_with($line, 'A>')) {
47 $line = trim(substr($line, 2));
49 $alias = static::cleanPath($line);
52 } elseif (str_starts_with($line, 'W>')) {
54 $line = trim(substr($line, 2));
56 $paths[$lastRoot]['web'] = $line;
59 $line = static::cleanPath($line);
[all …]
/plugin/asciidocjs/node_modules/pug-error/
Dindex.js5 var line = options.line;
10 var location = line + (column ? ':' + column : '');
11 if (src && line >= 1 && line <= src.split('\n').length) {
13 var start = Math.max(line - 3, 0);
14 var end = Math.min(lines.length, line + 3);
18 var preamble = (curr == line ? ' > ' : ' ')
22 if (curr === line && column > 0) {
35 err.line = line;
43 line: this.line,
/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/
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/webdav/vendor/sabre/vobject/lib/Parser/
DMimeDir.php144 $line = $this->readLine();
148 if (3 <= strlen($line)
149 && 0xef === ord($line[0])
150 && 0xbb === ord($line[1])
151 && 0xbf === ord($line[2])) {
152 $line = substr($line, 3);
155 switch (strtoupper($line)) {
170 $line = $this->readLine();
171 if ('END:' === strtoupper(substr($line, 0, 4))) {
174 $result = $this->parseLine($line);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/
DVersionControl.php84 foreach ($report['messages'] as $line => $lineErrors) {
86 if (isset($blames[($line - 1)]) === true) {
87 $blameAuthor = $this->getAuthor($blames[($line - 1)]);
121 unset($blames[($line - 1)]);
126 foreach ($blames as $line) {
127 $author = $this->getAuthor($line);
235 $line = str_repeat(' ', (6 - strlen($count))).$count;
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;
[all …]
/plugin/minecraftrecipe/
Dsyntax.php46 foreach($lines as $line) {
47 $line = trim($line);
48 if(empty($line)) continue;
50 if(strpos($line, '->') !== false) {
51 $resultItems = explode(',', trim(substr($line, 2)));
54 $slots = array_filter(explode(' ', $line));
87 foreach($lines as $index => $line) {
88 $line = trim($line);
89 if(empty($line)) continue;
91 if(strpos($line, '->') !== false) {
[all …]

12345678910>>...97