Home
last modified time | relevance | path

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

1234

/dokuwiki/inc/
H A DLogger.php63 * @param int $line A line number for the above file
66 public static function error($message, $details = null, $file = '', $line = 0) argument
72 $line
82 * @param int $line A line number for the above file
85 public static function debug($message, $details = null, $file = '', $line = 0) argument
91 $line
101 * @param int $line A line number for the above file
104 public static function deprecated($message, $details = null, $file = '', $line = 0) argument
110 $line
120 * @param int $line A line number for the above file
[all …]
H A Dconfutils.php146 foreach ($lines as $line) {
147 $line = trim(preg_replace('/#.*$/', '', $line));
148 if ($line === '') continue;
149 [$key, $val] = sexplode('=', $line, 2, '');
232 foreach ($lines as $line) {
234 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
235 $line = str_replace('\\#', '#', $line);
236 $line = trim($line);
237 if ($line === '') continue;
238 $line = preg_split('/\s+/', $line, 2);
[all …]
H A DErrorHandler.php187 foreach ($e->getTrace() as $line) {
189 isset($line['class']) &&
190 preg_match('/\w+?_plugin_(\w+)/', $line['class'], $match)
196 isset($line['file']) &&
197 preg_match('/lib\/plugins\/(\w+)\//', str_replace('\\', '/', $line['file']), $match)
H A Dchangelog.php18 * @param string $line changelog line
25 function parseChangelogLine($line) argument
28 return ChangeLog::parseLogLine($line);
296 foreach ($lines as $line) {
297 $rec = _handleRecentLogLine($line, $ns, $flags, $seen);
322 * @param string $line changelog line
328 function _handleRecentLogLine($line, $ns, $flags, &$seen) argument
330 if (empty($line)) return false; //skip empty lines
333 $recent = ChangeLog::parseLogLine($line);
H A DDifferenceEngine.php155 $line = $to_lines[$yi];
156 if (($this->ychanged[$yi] = empty($xhash[$line])))
158 $yhash[$line] = 1;
159 $this->yv[] = $line;
163 $line = $from_lines[$xi];
164 if (($this->xchanged[$xi] = empty($yhash[$line])))
166 $this->xv[] = $line;
269 $line = $flip ? $this->yv[$x] : $this->xv[$x];
270 if (empty($ymatches[$line]))
272 $matches = $ymatches[$line];
[all …]
/dokuwiki/_test/tests/Feed/
H A DFeedCreatorValidationTest.php47 $line = (int)$xml->xpath('//m:warnings/m:warninglist/warning/line')[0];
53 $show = trim($lines[$line - 1]);
57 "Line $line: $text\n" .
65 $line = (int)$xml->xpath('//m:errors/m:errorlist/error/line')[0];
71 $show = trim($lines[$line - 1]);
75 "Line $line: $text\n" .
/dokuwiki/lib/scripts/
H A Dcompatibility.js17 var line = 'DEPRECATED function call'+func+'. '+msg;
20 console.warn(line);
22 console.log(line);
/dokuwiki/_test/tests/inc/
H A Dutf8_romanize.test.php17 $line = 1;
22 $this->assertEquals($rom,$chk,"$jap\t->\t$chk\t!=\t$rom\t($line)");
23 $line++;
H A Dio_readfile.test.php58 $line = str_repeat('a', 8888)."\012";
59 …$this->assertEquals(array($line,"\012",$line,"!"), bzfile(__DIR__.'/io_readfile/long.txt.bz2', tru…
/dokuwiki/inc/Debug/
H A DDebugHelper.php118 * @param int $line
126 $line, argument
139 $line
149 * @param int $line
157 $line argument
165 'line' => $line,
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php297 foreach ($lines as &$line) {
298 $line = rtrim($line);
299 if ($this->strlen($line) <= $width) {
302 $words = explode(' ', $line);
303 $line = '';
322 $line .= rtrim($actual) . $break;
327 $line .= $this->substr($actual, 0, $width) . $break;
334 $line .= trim($actual);
H A DColors.php109 * @param string $line the line to print, a new line is added automatically
115 public function ptln($line, $color, $channel = STDOUT) argument
118 fwrite($channel, rtrim($line) . "\n");
/dokuwiki/inc/Subscriptions/
H A DSubscriberManager.php60 $line = "$user $style $data\n";
62 return io_saveFile($file, $line, true);
191 foreach ($lines as $line) {
193 if (strpos($line, ' ') === false) {
194 $line = trim($line) . " every\n";
198 if (!preg_match($re, $line, $m)) {
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php188 $line = $lines[$i];
189 if (str_starts_with($line, ' ')) {
192 while (str_starts_with($line, ' ')) {
193 echo hsc(substr($line, 2)) . '<br />';
195 $line = $lines[$i] ?? '';
201 [$dt, $file, $msg] = sexplode("\t", $line, 3, '');
/dokuwiki/vendor/php81_bc/strftime/
H A D.gitattributes1 # Define the line ending behavior of the different file extensions
7 # to native line endings on checkout.
24 # Declare files that will always have CRLF line endings on checkout.
27 # Declare files that will always have LF line endings on checkout.
/dokuwiki/inc/lang/el/
H A Dstopwords.txt1 # This is a list of words the indexer ignores, one word per line
2 # When you edit this file be sure to use UNIX line endings (single newline)
/dokuwiki/inc/Search/
H A DIndexer.php867 foreach ($lines as $line) {
868 $pages = array_merge($pages, $this->parseTuples($page_idx, $line));
904 foreach ($index as $wid => $line) {
905 $freq = $this->countTuples($line);
922 foreach ($index as $wid => $line) {
923 $freq = $this->countTuples($line);
1050 while (($line = fgets($fh)) !== false) {
1054 return rtrim((string)$line);
1063 * @param string $line line to write
1068 protected function saveIndexKey($idx, $suffix, $id, $line) argument
[all …]
/dokuwiki/inc/lang/et/
H A Dstopwords.txt1 # This is a list of words the indexer ignores, one word per line
2 # When you edit this file be sure to use UNIX line endings (single newline)
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPuTTY.php145 $lines = array_map(function ($line) {
146 return rtrim($line, "\r\n");
151 foreach ($lines as $line) {
153 case preg_match('#^(.*?): (.*)#', $line, $match):
154 $in_value = $line[strlen($line) - 1] == '\\';
159 $in_value = $line[strlen($line) - 1] == '\\';
160 $values[$current] .= $in_value ? substr($line, 0, -1) : $line;
163 $data .= $line;
/dokuwiki/inc/Cache/
H A DCache.php208 foreach ($lines as $line) {
209 $i = strpos($line, ',');
210 $stats[substr($line, 0, $i)] = $line;
/dokuwiki/inc/lang/ar/
H A Dstopwords.txt1 # This is a list of words the indexer ignores, one word per line
2 # When you edit this file be sure to use UNIX line endings (single newline)
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/
H A DClient.php118 $line = fgets($fp, 4096);
121 if (strstr($line, '200') === false) {
126 if (trim($line) == '') {
131 $contents .= $line;
134 $debugContents .= $line;
/dokuwiki/lib/plugins/authplain/
H A Dauth.php421 foreach ($lines as $line) {
422 $line = preg_replace('/(?<!\\\\)#.*$/', '', $line); //ignore comments (unless escaped)
423 $line = trim($line);
424 if (empty($line)) continue;
426 $row = $this->splitUserData($line);
444 * @param string $line
447 protected function splitUserData($line) argument
449 $data = preg_split('/(?<![^\\\\]\\\\)\:/', $line, 5); // allow for : escaped as \:
/dokuwiki/inc/lang/cy/
H A Dstopwords.txt1 # This is a list of words the indexer ignores, one word per line
2 # When you edit this file be sure to use UNIX line endings (single newline)
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DMBOXCreator.php36 foreach ($lines as $line) {
37 $linlen = strlen($line);
40 $c = substr($line, $i, 1);

1234