Home
last modified time | relevance | path

Searched refs:haystack (Results 176 – 194 of 194) sorted by relevance

12345678

/PHP-5.4/ext/intl/tests/
H A Dgrapheme.phpt55 $res_str .= "\n" . 'function grapheme_strpos($haystack, $needle, $offset = 0) {}' . "\n\n";
119 $res_str .= "\n" . 'function grapheme_stripos($haystack, $needle, $offset = 0) {}' . "\n\n";
184 $res_str .= "\n" . 'function grapheme_strrpos($haystack, $needle, $offset = 0) {}' . "\n\n";
250 $res_str .= "\n" . 'function grapheme_strripos($haystack, $needle, $offset = 0) {}' . "\n\n";
545 // haystack, count, [[offset], [next]], result
782 function grapheme_strpos($haystack, $needle, $offset = 0) {}
821 function grapheme_stripos($haystack, $needle, $offset = 0) {}
860 function grapheme_strrpos($haystack, $needle, $offset = 0) {}
899 function grapheme_strripos($haystack, $needle, $offset = 0) {}
1004 function grapheme_strstr($haystack, $needle, $before_needle = FALSE) {}
[all …]
/PHP-5.4/ext/standard/tests/strings/
H A Dstristr_variation2.phpt6 /* Prototype: string stristr ( string $haystack, string $needle );
H A Dstrstr.phpt5 /* Prototype: string strstr ( string $haystack, string $needle );
H A Dstrpos.phpt7 /* Prototype: int strpos ( string $haystack, mixed $needle [, int $offset] );
/PHP-5.4/ext/iconv/tests/
H A Diconv_strpos_variation5.phpt10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
/PHP-5.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c981 mbfl_string *haystack, in mbfl_strpos() argument
991 if (haystack == NULL || haystack->val == NULL || needle == NULL || needle->val == NULL) { in mbfl_strpos()
1004 if (haystack->no_encoding != mbfl_no_encoding_utf8) { in mbfl_strpos()
1006 haystack_u8 = mbfl_convert_encoding(haystack, &_haystack_u8, mbfl_no_encoding_utf8); in mbfl_strpos()
1012 haystack_u8 = haystack; in mbfl_strpos()
1192 mbfl_string *haystack, in mbfl_substr_count() argument
1201 if (haystack == NULL || needle == NULL) { in mbfl_substr_count()
1235 haystack->no_encoding, in mbfl_substr_count()
1249 p = haystack->val; in mbfl_substr_count()
1250 n = haystack->len; in mbfl_substr_count()
/PHP-5.4/ext/mbstring/tests/
H A Dmb_strpos_variation5.phpt10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
H A Dmb_stripos_variation5_Bug45923.phpt10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
/PHP-5.4/ext/intl/
H A Dphp_intl.c187 ZEND_ARG_INFO(0, haystack)
199 ZEND_ARG_INFO(0, haystack)
/PHP-5.4/ext/standard/tests/array/
H A Darray_search_variation1.phpt6 * Prototype : mixed array_search ( mixed $needle, array $haystack [, bool $strict] )
7 …* Description: Searches haystack for needle and returns the key if it is found in the array, FALSE…
H A Din_array_variation1.phpt6 * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] )
7 * Description: Searches haystack for needle and returns TRUE
/PHP-5.4/Zend/
H A Dzend_operators.h251 zend_memnstr(char *haystack, char *needle, int needle_len, char *end) in zend_memnstr() argument
253 char *p = haystack; in zend_memnstr()
260 if (needle_len > end-haystack) { in zend_memnstr()
/PHP-5.4/main/
H A Drfc1867.c583 static void *php_ap_memstr(char *haystack, int haystacklen, char *needle, int needlen, int partial) in php_ap_memstr() argument
586 char *ptr = haystack; in php_ap_memstr()
592 len = haystacklen - (ptr - (char *)haystack); in php_ap_memstr()
/PHP-5.4/ext/standard/
H A Dbasic_functions.c323 ZEND_ARG_INFO(0, haystack) /* ARRAY_INFO(0, haystack, 0) */
329 ZEND_ARG_INFO(0, haystack) /* ARRAY_INFO(0, haystack, 0) */
2233 ZEND_ARG_INFO(0, haystack)
2239 ZEND_ARG_INFO(0, haystack)
2245 ZEND_ARG_INFO(0, haystack)
2251 ZEND_ARG_INFO(0, haystack)
2257 ZEND_ARG_INFO(0, haystack)
2263 ZEND_ARG_INFO(0, haystack)
2269 ZEND_ARG_INFO(0, haystack)
2426 ZEND_ARG_INFO(0, haystack)
[all …]
/PHP-5.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c2072 char *haystack; in magiccheck() local
2078 haystack = estrndup(ms->search.s, ms->search.s_len); in magiccheck()
2081 …php_pcre_match_impl(pce, haystack, ms->search.s_len, retval, subpats, 1, 1, PREG_OFFSET_CAPTURE, 0… in magiccheck()
2083 efree(haystack); in magiccheck()
/PHP-5.4/ext/phar/phar/
H A Dpharcommand.inc191 * @param string $haystack The haystack
196 static function strEndsWith($haystack, $needle)
198 return substr($haystack, -strlen($needle)) == $needle;
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch3434 + char *haystack;
3439 + /* Cut the search len from haystack, equals to REG_STARTEND */
3440 + haystack = estrndup(ms->search.s, ms->search.s_len);
3443 + php_pcre_match_impl(pce, haystack, ms->search.s_len, retval, subpats, 1, 1, PREG_OFFSET_CAPTURE…
3444 + /* Free haystack */
3445 + efree(haystack);
/PHP-5.4/ext/iconv/
H A Diconv.c79 ZEND_ARG_INFO(0, haystack)
86 ZEND_ARG_INFO(0, haystack)
/PHP-5.4/
H A DNEWS4821 the part of haystack before or after first occurrence of needle.
6823 - Fixed bug #39364 (Removed warning on empty haystack inside mb_strstr()).

Completed in 77 milliseconds

12345678