| /plugin/betadoku/src/ |
| D | server.php | 241 $lines = [ variable 246 $lines[] = sprintf( 255 $lines[] = sprintf( 261 $lines[] = sprintf( 268 $lines[] = sprintf( 279 $lines[] = $config->string->nothing; 283 $lines[] = sprintf( 289 $lines[] = sprintf( 295 $lines[] = sprintf( 301 $lines[] = sprintf( [all …]
|
| /plugin/sympaauth/ |
| D | admin.php | 162 $lines[$i] = fgets($local_handle, 1000); 163 …\'plugin\'\]\[\'sympaauth\'\]\[\[\'sympaSoapService\'\] *= *.*!', $lines[$i])) unset($lines[$i--]); 164 } while (!(preg_match('!local.protected.php!', $lines[$i++]) || feof($local_handle)) ); 165 $temp = $lines[--$i]; 166 $lines[$i++] = '$conf[\'plugin\'][\'sympaauth\'][\'sympaSoapService\'] = \'\';' . "\n"; 167 $lines[$i] = $temp; 170 $lines[$i] = fgets($local_handle, 1000); 171 …if(preg_match('!\$conf\[\'plugin\'\]\[\'sympaauth\'\]\[\[\'sympaSoapService\'\] *= *.*!', $lines[$… 175 $lines[$i] = '<?'."\n"; 176 $lines[++$i] = '$conf[\'plugin\'][\'sympaauth\'][\'sympaSoapService\'] = \'\';' . "\n"; [all …]
|
| /plugin/mdpage/vendor/cebe/markdown/block/ |
| D | HeadlineTrait.php | 18 protected function identifyHeadline($line, $lines, $current) argument 25 !empty($lines[$current + 1]) && 26 (($l = $lines[$current + 1][0]) === '=' || $l === '-') && 27 preg_match('/^(\-+|=+)\s*$/', $lines[$current + 1]) 34 protected function consumeHeadline($lines, $current) argument 36 if ($lines[$current][0] === '#') { 39 while (isset($lines[$current][$level]) && $lines[$current][$level] === '#' && $level < 6) { 44 'content' => $this->parseInline(trim($lines[$current], "# \t")), 52 'content' => $this->parseInline($lines[$current]), 53 'level' => $lines[$current + 1][0] === '=' ? 1 : 2,
|
| D | ListTrait.php | 43 protected function consumeOl($lines, $current) argument 53 return $this->consumeList($lines, $current, $block, 'ol'); 59 protected function consumeUl($lines, $current) argument 68 return $this->consumeList($lines, $current, $block, 'ul'); 71 private function consumeList($lines, $current, $block, $type) argument 80 $marker = $type === 'ul' ? ltrim($lines[$current])[0] : ''; 81 for ($i = $current, $count = count($lines); $i < $count; $i++) { 82 $line = $lines[$i]; 113 if (!isset($lines[$i + 1][0])) { 117 } elseif (preg_match($pattern, $lines[$i + 1])) { [all …]
|
| D | HtmlTrait.php | 50 protected function identifyHtml($line, $lines, $current) argument 60 $gtPos = strpos($lines[$current], '>'); 61 $spacePos = strpos($lines[$current], ' '); 79 protected function consumeHtml($lines, $current) argument 82 if (strncmp($lines[$current], '<!--', 4) === 0) { // html comment 83 for ($i = $current, $count = count($lines); $i < $count; $i++) { 84 $line = $lines[$i]; 91 …$tag = rtrim(substr($lines[$current], 1, min(strpos($lines[$current], '>'), strpos($lines[$current… 96 for ($i = $current, $count = count($lines); $i < $count; $i++) { 97 $line = $lines[$i];
|
| D | TableTrait.php | 18 protected function identifyTable($line, $lines, $current) argument 20 return strpos($line, '|') !== false && isset($lines[$current + 1]) 21 && preg_match('~^\\s*\\|?(\\s*:?-[\\-\\s]*:?\\s*\\|?)*\\s*$~', $lines[$current + 1]) 22 && strpos($lines[$current + 1], '|') !== false 23 && isset($lines[$current + 2]) && trim($lines[$current + 1]) !== ''; 29 protected function consumeTable($lines, $current) argument 38 for ($i = $current, $count = count($lines); $i < $count; $i++) { 39 $line = trim($lines[$i]); 65 if ($line === '' || substr($lines[$i], 0, 4) === ' ') {
|
| /plugin/swiftmail/Swift/Message/ |
| D | Headers.php | 428 $lines = explode($this->LE, $encoded_value[$key]); 430 for ($i = 0, $len = count($lines); $i < $len; $i++) 433 if (empty($spec) && $is_email && (false !== $p = strpos($lines[$i], ","))) 435 $s = strpos($lines[$i], " <"); 436 $e = strpos($lines[$i], ">"); 439 $addr = substr($lines[$i], $s); 440 $lines[$i] = "\"" . substr($lines[$i], 0, $s) . "\"" . $addr; 444 $lines[$i] = "\"" . $lines[$i] . "\""; 448 if ($this->encoding == "Q") $lines[$i] = rtrim($lines[$i], "="); 450 if ($lines[$i] == "" && $i > 0) [all …]
|
| /plugin/findologicxmlexport/vendor/sebastian/diff/src/ |
| D | Parser.php | 25 $lines = \preg_split('(\r\n|\r|\n)', $string); 27 if (!empty($lines) && $lines[\count($lines) - 1] == '') { 28 \array_pop($lines); 31 $lineCount = \count($lines); 37 if (\preg_match('(^---\\s+(?P<file>\\S+))', $lines[$i], $fromMatch) && 38 \preg_match('(^\\+\\+\\+\\s+(?P<file>\\S+))', $lines[$i + 1], $toMatch)) { 50 if (\preg_match('/^(?:diff --git |index [\da-f\.]+|[+-]{3} [ab])/', $lines[$i])) { 54 $collected[] = $lines[$i]; 69 * @param array $lines 71 private function parseFileDiff(Diff $diff, array $lines) argument [all …]
|
| D | Chunk.php | 38 private $lines; variable in SebastianBergmann\\Diff\\Chunk 45 * @param array $lines 47 …public function __construct($start = 0, $startRange = 1, $end = 0, $endRange = 1, array $lines = a… argument 53 $this->lines = $lines; 93 return $this->lines; 97 * @param array $lines 99 public function setLines(array $lines) argument 101 $this->lines = $lines;
|
| /plugin/struct/meta/ |
| H A D | InlineConfigParser.php | 33 $lines = []; // Config lines to pass to full parser 62 $lines[] = $p . ' ' . trim($parameters[$i + 1]); 68 $lines[] = 'filterand: ' . trim($parameters[$i + 1]); 74 $lines[] = 'filteror: ' . trim($parameters[$i + 1]); 84 $lines[] = 'schema: ' . trim($components[1]); 85 $lines[] = 'field: ' . trim($components[2]); 86 $lines[] = 'filter: %pageid% = ' . trim($components[0]); 89 $lines[] = 'schema: ' . trim($components[0]); 90 $lines[] = 'field: ' . trim($components[1]); 92 $lines[] = 'filter: %pageid% = $ID$'; [all …]
|
| /plugin/asciidocjs/node_modules/pug-filters/node_modules/wordwrap/test/ |
| D | break.js | 11 var lines = s_.split('\n'); 12 assert.equal(lines.length, 2); 13 assert.ok(lines[0].length < 80); 14 assert.ok(lines[1].length < 80); 23 var lines = s_.split('\n'); 24 assert.equal(lines.length, 3); 25 assert.ok(lines[0].length === 20); 26 assert.ok(lines[1].length === 20); 27 assert.ok(lines[2].length === 15);
|
| /plugin/asciidocjs/node_modules/wordwrap/test/ |
| D | break.js | 11 var lines = s_.split('\n'); 12 t.equal(lines.length, 2); 13 t.ok(lines[0].length < 80); 14 t.ok(lines[1].length < 80); 24 var lines = s_.split('\n'); 25 t.equal(lines.length, 3); 26 t.ok(lines[0].length === 20); 27 t.ok(lines[1].length === 20); 28 t.ok(lines[2].length === 15);
|
| /plugin/mdpage/vendor/cebe/markdown/ |
| D | GithubMarkdown.php | 61 protected function consumeParagraph($lines, $current) argument 65 for ($i = $current, $count = count($lines); $i < $count; $i++) { 66 $line = $lines[$i]; 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)) 79 } elseif ($this->identifyCode($line, $lines, $i)) {
|
| D | Parser.php | 134 * @param array $lines 138 protected function detectLineType($lines, $current) argument 140 $line = $lines[$current]; 143 if ($this->{'identify' . $blockType}($line, $lines, $current)) { 155 protected function parseBlocks($lines) argument 159 return [['text', implode("\n", $lines)]]; 166 for ($i = 0, $count = count($lines); $i < $count; $i++) { 167 $line = $lines[$i]; 170 list($block, $i) = $this->parseBlock($lines, $i); 189 protected function parseBlock($lines, $current) argument [all …]
|
| /plugin/asciidocjs/node_modules/pug-filters/node_modules/wordwrap/ |
| D | index.js | 37 return chunks.reduce(function (lines, rawChunk) { argument 38 if (rawChunk === '') return lines; 42 var i = lines.length - 1; 43 if (lines[i].length + chunk.length > stop) { 44 lines[i] = lines[i].replace(/\s+$/, ''); 47 lines.push( 55 lines[i] += xs.shift(); 57 lines.push( 64 lines[i] += chunk; 67 return lines;
|
| /plugin/asciidocjs/node_modules/wordwrap/ |
| D | index.js | 37 return chunks.reduce(function (lines, rawChunk) { argument 38 if (rawChunk === '') return lines; 42 var i = lines.length - 1; 43 if (lines[i].length + chunk.length > stop) { 44 lines[i] = lines[i].replace(/\s+$/, ''); 47 lines.push( 55 lines[i] += xs.shift(); 57 lines.push( 64 lines[i] += chunk; 67 return lines;
|
| /plugin/upgrade/ |
| D | legacy.php | 33 function linesToHash($lines) argument 35 $lines = array_map('trim', $lines); 36 $lines = array_filter($lines); 37 $lines = array_map(function ($item) { 39 }, $lines); 40 return array_combine(array_column($lines, 0), array_column($lines, 1));
|
| /plugin/findologicxmlexport/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ |
| D | DescriptionFactory.php | 161 $lines = explode("\n", $contents); 165 if (count($lines) <= 1) { 171 for ($i = 1; $i < count($lines); $i++) { 173 if (strlen(trim($lines[$i])) === 0) { 179 … $startingSpaceCount = min($startingSpaceCount, strlen($lines[$i]) - strlen(ltrim($lines[$i]))); 184 for ($i = 1; $i < count($lines); $i++) { 185 $lines[$i] = substr($lines[$i], $startingSpaceCount); 189 return implode("\n", $lines);
|
| /plugin/bookmark2wiki/ |
| H A D | action.php | 115 $lines = explode("\n", $text); 121 for ($i = 0; $i < count($lines); $i++) { 122 $trimmed = trim($lines[$i]); 131 while ($insert_pos < count($lines) && trim($lines[$insert_pos]) === '') { 136 array_splice($lines, $insert_pos, 0, $new_entry); 139 if (!empty(trim($lines[count($lines) - 1]))) { 140 $lines[] = ''; 142 $lines[] = $new_entry; 145 $newtext = implode("\n", $lines);
|
| /plugin/highlight2wiki/ |
| D | script.js | 47 var lines = selectedTextString.split('\n'); // lines is an array of strings 48 for (var j = 0; j < lines.length; j++) { 49 instance.mark(lines[j], { 54 …yId("edtop").contentWindow.document.getElementsByTagName("textarea")[0].value += lines[j] + "\n\n"; 62 var lines = textArea.split('\n\n'); // lines is an array of strings 65 for (var j = 0; j < lines.length; j++) { 67 console.log(lines[j]); 69 instance2.mark(lines[j], { 82 var lines = textArea.split('\n\n'); // lines is an array of strings 85 for (var j = 0; j < lines.length; j++) { [all …]
|
| /plugin/jquery-syntax/jquery-syntax/ |
| D | jquery.syntax.layout.editor.js | 6 Syntax.Editor.prototype.getLines=function(){var children=this.container.childNodes,lines=[],offsets… 7 for(var j=0;j<childLines.length;j+=1){offsets.push(startChild-lines.length);lines.push(childLines[j… 9 if(text!=""){offsets.push(startChild-lines.length);lines.push(text);}else{startChild-=1;} 10 offsets.push(startChild);Syntax.log("getLines",offsets,lines,children);return{lines:lines,offsets:o… 11 …es();var i=0,j=0;while(i<this.current.lines.length&&j<updated.lines.length){if(this.current.lines[… 12 …t=j;i=this.current.lines.length,j=updated.lines.length;while(i>result.start&&j>result.start){if(th… 13 result.end=j;result.originalEnd=i;result.difference=updated.lines.length-this.current.lines.length;… 15 if(result.difference>0){while(result.end<(updated.lines.length-1)){if(updated.offsets[result.end-1]… 18 Syntax.Editor.prototype.textForLines=function(start,end){return this.current.lines.slice(start,end)…
|
| /plugin/smtp/classes/ |
| H A D | Message.php | 76 $lines = preg_split('/\r?\n/', $this->body); 77 $count = count($lines); 79 if(trim($lines[$i]) === '') break; // end of headers, we're done 80 if(substr($lines[$i],0, 4) == 'Bcc:') { 81 unset($lines[$i]); // we found the Bcc: header and remove it 82 while(substr($lines[++$i],0, 1) === ' ') { 83 unset($lines[$i]); // indented lines are header continuation 88 $body = join($this->CRLF, $lines);
|
| /plugin/loglog/helper/ |
| D | logging.php | 53 $lines = []; 59 $lines[] = $parsedLine; 62 return $lines; 77 $lines = array(); 120 $lines = array_merge($cparts, $lines); 126 return $lines; 150 * @param array $lines 154 public function countMatchingLines(array $lines, string $msgNeedle) argument 157 $lines,
|
| /plugin/asciidocjs/node_modules/align-text/ |
| D | index.js | 15 var lines, type = typeOf(val); 18 lines = val; 20 lines = val.split(/(?:\r\n|\n)/); 26 var len = lines.length; 27 var max = longest(lines); 31 var line = String(lines[i++]); 35 diff = fn(line.length, max.length, line, lines, i);
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ |
| D | ErrorCollector.php | 52 protected $lines = array(); variable in HTMLPurifier_ErrorCollector 125 if (isset($this->lines[$line][$col])) { 126 $struct = $this->lines[$line][$col]; 128 $struct = $this->lines[$line][$col] = $new_struct; 131 ksort($this->lines[$line], SORT_NUMERIC); 133 if (isset($this->lines[-1])) { 134 $struct = $this->lines[-1]; 136 $struct = $this->lines[-1] = $new_struct; 139 ksort($this->lines, SORT_NUMERIC); 186 foreach ($this->lines as $line => $col_array) { [all …]
|