| /plugin/webdav/vendor/sabre/dav/lib/DAV/ |
| D | StringUtil.php | 22 * @param string $needle 27 static function textMatch($haystack, $needle, $collation, $matchType = 'contains') { argument 35 $needle = str_replace(range('a', 'z'), range('A', 'Z'), $needle); 44 $needle = mb_strtoupper($needle, 'UTF-8'); 55 return strpos($haystack, $needle) !== false; 57 return $haystack === $needle; 59 return strpos($haystack, $needle) === 0; 61 return strrpos($haystack, $needle) === strlen($haystack) - strlen($needle);
|
| /plugin/davcal/vendor/sabre/dav/lib/DAV/ |
| H A D | StringUtil.php | 22 * @param string $needle 27 static function textMatch($haystack, $needle, $collation, $matchType = 'contains') { argument 35 $needle = str_replace(range('a', 'z'), range('A', 'Z'), $needle); 44 $needle = mb_strtoupper($needle, 'UTF-8'); 55 return strpos($haystack, $needle) !== false; 57 return $haystack === $needle; 59 return strpos($haystack, $needle) === 0; 61 return strrpos($haystack, $needle) === strlen($haystack) - strlen($needle);
|
| /plugin/combo/vendor/symfony/polyfill-php80/ |
| H A D | Php80.php | 91 public static function str_contains(string $haystack, string $needle): bool argument 93 return '' === $needle || false !== strpos($haystack, $needle); 96 public static function str_starts_with(string $haystack, string $needle): bool argument 98 return 0 === strncmp($haystack, $needle, \strlen($needle)); 101 public static function str_ends_with(string $haystack, string $needle): bool argument 103 if ('' === $needle || $needle === $haystack) { 111 $needleLength = \strlen($needle); 113 …return $needleLength <= \strlen($haystack) && 0 === substr_compare($haystack, $needle, -$needleLen…
|
| H A D | bootstrap.php | 29 … str_contains(?string $haystack, ?string $needle): bool { return p\Php80::str_contains($haystack ?… argument 32 …starts_with(?string $haystack, ?string $needle): bool { return p\Php80::str_starts_with($haystack … argument 35 …tr_ends_with(?string $haystack, ?string $needle): bool { return p\Php80::str_ends_with($haystack ?… argument
|
| /plugin/scrape/vendor/symfony/polyfill-php80/ |
| D | Php80.php | 91 public static function str_contains(string $haystack, string $needle): bool argument 93 return '' === $needle || false !== strpos($haystack, $needle); 96 public static function str_starts_with(string $haystack, string $needle): bool argument 98 return 0 === strncmp($haystack, $needle, \strlen($needle)); 101 public static function str_ends_with(string $haystack, string $needle): bool argument 103 if ('' === $needle || $needle === $haystack) { 111 $needleLength = \strlen($needle); 113 …return $needleLength <= \strlen($haystack) && 0 === substr_compare($haystack, $needle, -$needleLen…
|
| D | bootstrap.php | 29 … str_contains(?string $haystack, ?string $needle): bool { return p\Php80::str_contains($haystack ?… argument 32 …starts_with(?string $haystack, ?string $needle): bool { return p\Php80::str_starts_with($haystack … argument 35 …tr_ends_with(?string $haystack, ?string $needle): bool { return p\Php80::str_ends_with($haystack ?… argument
|
| /plugin/combo/vendor/symfony/polyfill-mbstring/ |
| H A D | bootstrap.php | 64 …function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strp… argument 79 …function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_str… argument 82 …on mb_stristr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument 85 …on mb_strrchr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument 88 …n mb_strrichr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument 91 …nction mb_strripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strr… argument 94 …function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_str… argument 97 …tion mb_strstr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::… argument 109 …unction mb_substr_count($haystack, $needle, $encoding = null) { return p\Mbstring::mb_substr_count… argument
|
| H A D | Mbstring.php | 518 public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) argument 522 return strpos($haystack, $needle, $offset); 525 $needle = (string) $needle; 526 if ('' === $needle) { 536 return iconv_strpos($haystack, $needle, $offset, $encoding); 539 public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) argument 543 return strrpos($haystack, $needle, $offset); 550 if (0 > $offset += self::mb_strlen($needle)) { 559 $pos = '' !== $needle || 80000 > \PHP_VERSION_ID 560 ? iconv_strrpos($haystack, $needle, $encoding) [all …]
|
| H A D | bootstrap80.php | 60 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument 75 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument 78 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument 81 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument 84 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument 87 … ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_s… argument 90 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument 93 …ng $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstr… argument 105 …$haystack, ?string $needle, ?string $encoding = null): int { return p\Mbstring::mb_substr_count((s… argument
|
| /plugin/freechat/phpfreechat/lib/pear/PHPUnit/ |
| D | Assert.php | 77 function assertContains($needle, $haystack, $message = '') { argument 78 if (is_string($needle) && is_string($haystack)) { 79 $this->assertTrue(strpos($haystack, $needle) !== FALSE, $message); 82 else if (is_array($haystack) && !is_object($needle)) { 83 $this->assertTrue(in_array($needle, $haystack), $message); 100 function assertNotContains($needle, $haystack, $message = '') { argument 101 if (is_string($needle) && is_string($haystack)) { 102 $this->assertFalse(strpos($haystack, $needle) !== FALSE, $message); 105 else if (is_array($haystack) && !is_object($needle)) { 106 $this->assertFalse(in_array($needle, $haystack), $message);
|
| /plugin/virtualkeyboard/vk/extensions/dom/ |
| D | selectbox.js | 289 this.selectMatchingOptions = function (needle /* :String */, match /* :String */) /* :Number */ { argument 290 return __setOptionsState (needle, 'selected', true, true, match); 300 …this.selectOnlyMatchingOptions = function (needle /* :String */, match /* :String */) /* :Number *… argument 301 return __setOptionsState (needle, 'selected', true, false, match); 323 …this.unselectMatchingOptions = function (needle /* :String */, match /* :String */) /* :Number */ { argument 324 return __setOptionsState (needle, 'selected', false, true, match); 334 …this.unselectOnlyMatchingOptions = function (needle /* :String */, match /* :String */) /* :Number… argument 335 return __setOptionsState (needle, 'selected', false, false, match); 348 this.fixMatchingOptions = function (needle /* :String */, match /* :String */) /* :Number */ { argument 349 return __setOptionsState (needle, 'fixed', true, true, match); [all …]
|
| /plugin/asciidocjs/node_modules/pug-filters/node_modules/source-map/lib/ |
| D | source-map-consumer.js | 185 var needle = { variable 192 needle.source = util.relative(this.sourceRoot, needle.source); 194 if (!this._sources.has(needle.source)) { 197 needle.source = this._sources.indexOf(needle.source); 201 var index = this._findMapping(needle, 599 var needle = { variable 605 needle, 616 if (mapping.generatedLine === needle.generatedLine) { 742 var needle = { variable 749 needle, [all …]
|
| /plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Asset/ |
| D | AssetCollection.php | 73 public function removeLeaf(AssetInterface $needle, $graceful = false) argument 77 if (in_array($needle, array($asset, $clone), true)) { 83 if ($asset instanceof AssetCollectionInterface && $asset->removeLeaf($needle, true)) { 95 …public function replaceLeaf(AssetInterface $needle, AssetInterface $replacement, $graceful = false) argument 99 if (in_array($needle, array($asset, $clone), true)) { 106 …if ($asset instanceof AssetCollectionInterface && $asset->replaceLeaf($needle, $replacement, true)…
|
| D | AssetCollectionInterface.php | 50 * @param AssetInterface $needle The current asset to replace 58 …public function replaceLeaf(AssetInterface $needle, AssetInterface $replacement, $graceful = false… argument
|
| /plugin/quickstats/GEOIP/ |
| D | cc_arrays_dat.php | 103 function qs_array_search_ci ($needle = null) argument 106 if(!$needle) return ""; 111 if(stristr($eval, $needle) !== false) {
|
| /plugin/issuetracker/ |
| D | itsearch.php | 82 foreach($search_words as $needle) { 85 if(stripos($issue_string,$needle)!==false) 93 $ref_findings['issues'][$cnt_i_findings]['match'] = $needle; 97 if(stripos($comments,$needle)!==false) 105 $ref_findings['comment'][$cnt_c_findings]['match'] = $needle; 140 if(stripos($comment['comment'],$needle)!==false) {
|
| /plugin/asciidocjs/node_modules/source-map/lib/ |
| D | source-map-consumer.js | 190 var needle = { variable 196 needle.source = this._findSourceIndex(needle.source); 197 if (needle.source < 0) { 203 var index = this._findMapping(needle, 648 var needle = { variable 654 needle, 665 if (mapping.generatedLine === needle.generatedLine) { 792 var needle = { variable 799 needle, 810 if (mapping.source === needle.source) { [all …]
|
| /plugin/icalevents/ |
| D | syntax-impl.php | 452 * @param string $needle substring to replace 458 static function str_replace_array($needle, $replace, $count, $haystack) { argument 462 $haystackArray = explode($needle, $haystack); 479 * @param string $needle substring or array of substrings to remove 482 static function str_remove_deep($needle, &$haystack) { argument 484 function (&$h, &$k) use ($needle) { 485 $h = str_replace($needle, '', $h); 500 $needle = array('</nowiki>', "\n"); 502 $text = str_ireplace($needle, $haystack, $text);
|
| /plugin/src/ |
| D | syntax.php | 180 * @param string $needle Вхождение 185 function _mb_str_replace($needle, $replacement, $haystack) { argument 186 $needle_len = mb_strlen($needle); 188 $pos = mb_strpos($haystack, $needle); 192 $pos = mb_strpos($haystack, $needle, $pos + $replacement_len);
|
| /plugin/simplechat/ |
| D | ajax.php | 7 function startsWith($haystack, $needle) argument 9 return !strncmp($haystack, $needle, strlen($needle));
|
| /plugin/combo/ComboStrap/ |
| H A D | StringUtility.php | 50 public static function contain($needle, $haystack) argument 52 $pos = strpos($haystack, $needle); 234 public static function lastIndexOf($haystack, $needle) argument 240 return strrpos($haystack, $needle);
|
| /plugin/abc2/ |
| D | syntax.php | 364 * @param string $needle 369 function _replace_first($haystack, $needle, $replace) { argument 370 $pos = strpos($haystack, $needle); 372 $newstring = substr_replace($haystack, $replace, $pos, strlen($needle));
|
| /plugin/quickstats/scripts/ |
| D | get_pages.php | 7 function qs_pages_search_i ($needle = null,$month) argument 15 if(stristr($key, $needle) !== false) {
|
| D | get_useragent.php | 5 function qs_useragent_search_ci ($needle = null, $month) argument 14 if(stristr($key, $needle) !== false) {
|
| /plugin/workflow/syntax/ |
| D | decision.php | 12 function startswith($haystack, $needle) { argument 13 return $needle === "" || strpos($haystack, $needle) === 0;
|