Home
last modified time | relevance | path

Searched refs:haystack (Results 26 – 44 of 44) sorted by last modified time

12

/plugin/dirtylittlehelper/mermaid/editor/docs/
H A D3.3.js.map1haystack, needle) {\n if (haystack.length < needle.length) {\n return false;\n }\n …
H A D2.2.js.map1haystack, needle) {\n if (haystack.length < needle.length) {\n return false;\n }\n …
/plugin/abc2/
H A Dsyntax.php363 * @param string $haystack
369 function _replace_first($haystack, $needle, $replace) { argument
370 $pos = strpos($haystack, $needle);
372 $newstring = substr_replace($haystack, $replace, $pos, strlen($needle));
/plugin/webdav/vendor/sabre/dav/lib/DAV/
H A DStringUtil.php21 * @param string $haystack
27 static function textMatch($haystack, $needle, $collation, $matchType = 'contains') { argument
34 $haystack = str_replace(range('a', 'z'), range('A', 'Z'), $haystack);
43 $haystack = mb_strtoupper($haystack, '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/webdav/vendor/sabre/dav/lib/CardDAV/
H A DPlugin.php680 foreach ($texts as $haystack) {
681 …$success = DAV\StringUtil::textMatch($haystack, $filter['value'], $filter['collation'], $filter['m…
/plugin/tagentry/
H A Daction.php158 function in_iarray( $needle, $haystack ) { argument
159 if ( !is_array( $haystack ) )
161 foreach ( $haystack as $t ) {
/plugin/findologicxmlexport/vendor/hoa/ustring/
H A DREADME.md176 $haystack = 'CAGATAAGAGAA',
183 $solutions[] = substr($haystack, $pos['i'], $pos['l']);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
H A DAssert.php112 * @param mixed $haystack
121 is_object($haystack) && $haystack instanceof Traversable) {
177 * @param mixed $haystack
186 is_object($haystack) && $haystack instanceof Traversable) {
253 is_object($haystack) && $haystack instanceof Traversable)) {
265 $haystack,
284 is_object($haystack) && $haystack instanceof Traversable)) {
292 $haystack,
332 is_object($haystack) && $haystack instanceof Traversable)) {
344 $haystack,
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Assert/
H A DFunctions.php508 * @param mixed $haystack
526 * @param mixed $haystack
530 function assertContainsOnly($type, $haystack, $isNativeType = null, $message = '') argument
542 * @param array|Traversable $haystack
545 function assertContainsOnlyInstancesOf($classname, $haystack, $message = '') argument
557 * @param mixed $haystack
560 function assertCount($expectedCount, $haystack, $message = '') argument
955 * @param mixed $haystack
973 * @param mixed $haystack
989 * @param mixed $haystack
[all …]
/plugin/src/
H A Dsyntax.php182 * @param string $haystack Строка на входе
185 function _mb_str_replace($needle, $replacement, $haystack) { argument
188 $pos = mb_strpos($haystack, $needle);
190 $haystack = mb_substr($haystack, 0, $pos) . $replacement
191 . mb_substr($haystack, $pos + $needle_len);
192 $pos = mb_strpos($haystack, $needle, $pos + $replacement_len);
194 return $haystack;
/plugin/icalevents/
H A Dsyntax-impl.php455 * @param string $haystack string to be searched
458 static function str_replace_array($needle, $replace, $count, $haystack) { argument
460 return $haystack;
462 $haystackArray = explode($needle, $haystack);
480 * @param array $haystack array to searched
482 static function str_remove_deep($needle, &$haystack) { argument
483 array_walk_recursive($haystack,
501 $haystack = array('', $this->nowikiEnd() . '\\\\ '. $this->nowikiStart());
502 $text = str_ireplace($needle, $haystack, $text);
/plugin/datatemplate/syntax/
H A Dlist.php385 function _match_wildcard( $wildcard_pattern, $haystack ) { argument
390 return preg_match('/^\s*'.$regex.'$/im', $haystack);
/plugin/scrape/
H A DHTMLPurifier.standalone.php
H A DphpQuery-onefile.php
/plugin/badbehaviour/bad-behavior/
H A Dfunctions.inc.php7 function stripos($haystack,$needle,$offset = 0) { argument
8 return(strpos(strtolower($haystack),strtolower($needle),$offset));
/plugin/freechat/phpfreechat/lib/pear/PHPUnit/
H A DAssert.php77 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/workflow/syntax/
H A Ddecision.php12 function startswith($haystack, $needle) { argument
13 return $needle === "" || strpos($haystack, $needle) === 0;
/plugin/simplechat/
H A Dajax.php7 function startsWith($haystack, $needle) argument
9 return !strncmp($haystack, $needle, strlen($needle));
/plugin/googlemaps/
H A Dscript.js7 function in_array(needle, haystack) { argument
8 for (var i=0; i<haystack.length; i++)
9 if (haystack[i] == needle) return true;

12