Home
last modified time | relevance | path

Searched refs:substr (Results 176 – 200 of 2368) sorted by relevance

12345678910>>...95

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Zend/Sniffs/NamingConventions/
H A DValidVariableNameSniff.php97 if (substr($objVarName, 0, 1) === '_') {
98 $objVarName = substr($objVarName, 1);
118 if (substr($varName, 0, 1) === '_') {
129 $varName = substr($varName, 1);
163 if (substr($varName, 0, 1) === '_') {
170 if (substr($varName, 0, 1) !== '_') {
/plugin/projects/lib/
H A Dtools.php36 if (strlen($color) == 7 && substr($color, 0, 1) != '#')
38 $R = hexdec(substr($color, 1, 2));
39 $G = hexdec(substr($color, 3, 2));
40 $B = hexdec(substr($color, 5, 2));
47 $tail = substr($name, $l - $n);
52 return substr($name, 0, -strlen($from)) . $to;
/plugin/fedauth/Auth/OpenID/
H A DURINorm.php105 $path = substr($path, 3);
107 $path = substr($path, 2);
109 $path = substr($path, 2);
113 $path = substr($path, 3);
134 $result_segments[] = substr($path, 0, $i);
135 $path = substr($path, $i);
/plugin/farmer/action/
H A Dajax.php36 if (substr($event->data, 0, 13) !== 'plugin_farmer') {
45 if (substr($event->data, 14) === 'getPluginMatrix') {
49 if (substr($event->data, 14) === 'modPlugin') {
53 if (substr($event->data, 14, 10) === 'getPlugins') {
57 if (substr($event->data, 14, 10) === 'checkSetup') {
213 $animal = substr($event->data, 25);
/plugin/combo/ComboStrap/
H A DStringUtility.php30 $myString = substr($myString, 0, ($length - 1) - strlen($suffix)) . $suffix;
77 $string = substr($string, 1, strlen($string) - 2);
134 if (substr($doc, $length) === $string) {
135 $doc = substr($doc, 0, $length);
152 if (substr($doc, 0, $length) === $string) {
153 $doc = substr($doc, $length);
/plugin/openid/Auth/OpenID/
H A DURINorm.php112 $path = substr($path, 3);
114 $path = substr($path, 2);
116 $path = substr($path, 2);
120 $path = substr($path, 3);
141 $result_segments[] = substr($path, 0, $i);
142 $path = substr($path, $i);
/plugin/redirector/
H A Daction.php26 if ( !($ACT == 'notfound' || $ACT == 'show' || substr($ACT,0,7) == 'export_') ) { return; }
43 …rpos($_SERVER["REQUEST_URI"], '?') === false ? $_SERVER["REQUEST_URI"] : substr($_SERVER["REQUEST_…
44 if ( substr($checkID, 0, 1) != '/' ) $checkID = '/' . $checkID;
47 if ( substr($return , -1) == '/' ) $return .= $conf['start'];
/plugin/latexcaption/syntax/
H A Dreference.php42 if (substr($match,0,6) != '{{ref>') {
45 return array($state, substr($match,6,-2));
78 if (substr($type, 0, 3) == 'sub') {
79 $type = substr($type, 3);
/plugin/weiqi/
H A Dweiqi_parser.php96 … if (substr($line, 0, strlen($this->conf['attributes_key'])) == $this->conf['attributes_key']) {
97 $attributes_str.= ' '.substr($line, strlen($this->conf['attributes_key']));
99 … } elseif (substr($line, 0, strlen($this->conf['caption_key'])) == $this->conf['caption_key']) {
105 $caption = trim(substr($line, strlen($this->conf['caption_key'])));
125 … $att = substr($line, 0, strlen($this->conf['attributes_key'])) == $this->conf['attributes_key'];
126 … $cap = substr($line, 0, strlen($this->conf['caption_key'])) == $this->conf['caption_key'];
134 $tmp_array_line[] = substr($line, $i, 1);
137 $tmp_array_line[] = substr($line, 2*$i, 2);
350 $ch1 = substr($str, 0, 1);
351 $ch2 = substr($str, 1, 1);
[all …]
/plugin/sha3sum/
H A Dsyntax.php33 $ret = urlencode(substr($match,7,-2)); // trim {{SHA3> from start and }} from end
50 …br><p style="font-family: monospace; font-size: initial;">'.substr($hash,0,64).'<br>'.substr($hash…
/plugin/diagrams/parser/
H A DDiagramsNode.php47 if (substr($svg, 0, 26) !== 'data:image/svg+xml;base64,') {
48 throw new \Exception('bad data uri "' . substr($svg, 0, 26) . '"');
50 $svg = base64_decode(substr($svg, 26));
/plugin/condition/
H A Dsyntax.php88 $match = substr($match, 1); // remove heading !
92 $match = substr($match, 1); // remove heading (
97 $match = substr($match, strlen($key)); // remove heading key
100 $match = substr($match, strlen($test)); // remove heading test
106 $match = substr($match, strlen($op)); // remove heading op
150 $match = substr($match, 1);
151 $value = substr($match, 0, strpos($match, '"'));
152 $match = substr($match, strlen($value) + 1);
175 $value = substr($match, 0, $sp);
176 $match = substr($match, strlen($value));
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DSalsa20.php168 $this->setPoly1305Key(substr($block, 0, 32));
224 $this->p1 = substr($constant, 0, 4) .
225 substr($key, 0, 16) .
226 substr($constant, 4, 4) .
229 $this->p2 = substr($constant, 8, 4) .
230 substr($key, 16, 16) .
231 substr($constant, 12, 4);
277 if ($this->oldtag != substr($newtag, 0, strlen($this->oldtag))) {
348 $text = substr($text, strlen($ciphertext));
380 $buffer['ciphertext'] = substr($temp, $overflow);
/plugin/barcodes/lib/
H A DColor.php34 $this->red = hexdec(substr($matches[1], 0, 2));
35 $this->green = hexdec(substr($matches[1], 2, 2));
36 $this->blue = hexdec(substr($matches[1], 4, 2));
/plugin/markdowku/
H A Dolists.php78 … if (preg_match('/^[ ]{'.$this->depth[$listlevel].'}/', substr($text, $real_position)) > 0) {
84 if (preg_match('/^\t/', substr($text, $real_position)) > 0) {
90 if (preg_match('/^[ ]{0,3}\d+\.[ \t]/', substr($text, $real_position)) > 0) {
91 $this->depth[$listlevel] = strlen(substr($text, $real_position)) - 1;
H A Dulists.php79 … if (preg_match('/^[ ]{'.$this->depth[$listlevel].'}/', substr($text, $real_position)) > 0) {
85 if (preg_match('/^\t/', substr($text, $real_position)) > 0) {
91 if (preg_match('/^[ ]{0,3}[*+-][ \t]/', substr($text, $real_position)) > 0) {
92 $this->depth[$listlevel] = strlen(substr($text, $real_position)) - 1;
/plugin/mdpage/vendor/cebe/markdown/block/
H A DListTrait.php88 $line = substr($line, strlen($matches[0]));
92 $line = substr($line, $len);
124 … $nextLine = $lines[$i + 1][0] === "\t" ? substr($lines[$i + 1], 1) : substr($lines[$i + 1], $len);
133 $line = substr($line, 1);
135 $line = substr($line, $len);
/plugin/authgooglesheets/vendor/symfony/polyfill-php72/
H A DPhp72.php37 return substr($s, 0, $j);
67 return substr($s, 0, $j);
99 …return self::$hashMask ^ hexdec(substr($hash, 16 - (\PHP_INT_SIZE * 2 - 1), (\PHP_INT_SIZE * 2 - 1…
167 self::$hashMask = (int) substr(ob_get_clean(), 17);
170 …self::$hashMask ^= hexdec(substr(spl_object_hash($obj), 16 - (\PHP_INT_SIZE * 2 - 1), (\PHP_INT_SI…
204 $code = ($s = unpack('C*', substr($s, 0, 4))) ? $s[1] : 0;
/plugin/fetchmedia/action/
H A Dajax.php45 $action = substr($event->data, strlen($call)+1);
207 $prefix = substr($text, 0, $start);
208 $postfix = substr($text, $end);
209 if (substr($prefix, -2) === '[[') {
210 $prefix = substr($prefix, 0, -2) . '{{';
212 …$postfix = substr($postfix, 0, $closingBracketsPos) . '}}' . substr($postfix, $closingBracketsPos…
288 return substr($link, $fnStart);
/plugin/farmsync/_test/
H A DpageUpdate.test.php18 $sourcedir = substr(DOKU_TMP_DATA, 0, -1) . '_sourcePageUpdate/';
33 …$mock_farm_util->setAnimalDataDir($sourceanimal, substr(DOKU_TMP_DATA, 0, -1) . '_sourcePageUpdate…
57 …$mock_farm_util->setAnimalDataDir($sourceanimal, substr(DOKU_TMP_DATA, 0, -1) . '_sourcePageUpdate…
80 $sourcedir = substr(DOKU_TMP_DATA, 0, -1) . '_sourcePageUpdate/';
117 …$mock_farm_util->setAnimalDataDir($sourceanimal, substr(DOKU_TMP_DATA, 0, -1) . '_sourcePageUpdate…
139 $sourcedir = substr(DOKU_TMP_DATA, 0, -1) . '_sourcePageUpdate/';
171 $sourcedir = substr(DOKU_TMP_DATA, 0, -1) . '_sourcePageUpdate/';
/plugin/zip/pear/File/Archive/Reader/
H A DMemory.php132 $result = substr($this->memory, $this->offset, $actualLength);
206 $data = substr($this->memory, 0, $this->offset + $seek);
207 $this->memory = substr($this->memory, $this->offset + $seek);
212 $data .= substr($this->memory, 0, $length);
214 $this->memory = substr($this->memory, $length);
/plugin/namespacesearch/
H A Dsyntax.php29 $match = substr($match, 14, -2); // strip markup
107 if ( substr($part, 0, 1) != '"' && substr($part, 0, 1) != '*' ) $part = '*' . $part;
108 if ( substr($part, -1) != '"' && substr($part, -1) != '*' ) $part = $part. '*';
/plugin/quiz/
H A Dclass_quiz.php366 if (substr($lines[$n], 0, 6) == "======") continue;
368 if (substr($lines[$n], 0, 5) == "=====") {
394 $tmp = substr($tmp, 4);
395 $tmp = substr($tmp, 0, -5);
407 if (substr($lines[$k], 0, 6) == " - ") {
410 $tmp = substr($tmp, 4);
411 $tmp = substr($tmp, 0, -5);
416 } elseif (substr($lines[$k], 0, 7) == " * [") {
435 } elseif (substr($lines[$k], 0, 6) == " * ") {
437 $tmp = substr($tmp, 4);
[all …]
/plugin/nssearch/
H A Daction.php60 if ($ns.':' == substr(cleanID($a), 0, strlen($ns)+1))
75 if (substr($nslist[0],0,6) == '@depth')
76 return $this->getDepthNs($id, substr($nslist[0],6));
80 if ($nstest.':' == substr($id, 0, strlen($nstest)+1))
/plugin/mdpage/vendor/cebe/markdown/
H A DMarkdownExtra.php116 $fence = substr($line, 0, $pos + 1);
117 $block['attributes'] = substr($line, $pos);
161 $html['id'] = substr($attribute, 1);
163 $html['class'][] = substr($attribute, 1);
227 return '[' . $this->renderAbsy($this->parseInline(substr($block['orig'], 1)));
245 return '![' . $this->renderAbsy($this->parseInline(substr($block['orig'], 2)));

12345678910>>...95