Home
last modified time | relevance | path

Searched refs:haystack (Results 101 – 118 of 118) sorted by relevance

12345

/php-src/ext/mbstring/
H A Dmbstring.c1906 haystack_u8 = haystack; in mb_find_strpos()
1941 if (haystack_u8 != haystack) { in mb_find_strpos()
1969 zend_string *needle, *haystack; in PHP_FUNCTION() local
1973 Z_PARAM_STR(haystack) in PHP_FUNCTION()
2002 Z_PARAM_STR(haystack) in PHP_FUNCTION()
2032 Z_PARAM_STR(haystack) in PHP_FUNCTION()
2063 Z_PARAM_STR(haystack) in PHP_FUNCTION()
2157 Z_PARAM_STR(haystack) in php_mb_strstr_variants()
2229 Z_PARAM_STR(haystack) in PHP_FUNCTION()
2249 haystack_u8 = haystack; in PHP_FUNCTION()
[all …]
H A Dmbstring.h67 MBSTRING_API size_t php_mb_stripos(bool mode, zend_string *haystack, zend_string *needle, zend_long…
H A Dmbstring_arginfo.h52 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
65 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
78 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
/php-src/ext/mbstring/tests/
H A Dmb_strpos.phpt88 // So invalid byte sequences would match '?', both from haystack to needle
89 // and needle to haystack
H A Dmb_stripos.phpt107 // So invalid byte sequences would match the substitute char, both from haystack
108 // to needle and needle to haystack
/php-src/ext/standard/tests/strings/
H A Dstrpos.phpt251 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in %s o…
281 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
282 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dstrstr.phpt302 Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in %s o…
/php-src/ext/standard/tests/array/
H A Darray_search_variation4.phpt2 Test array_search() function : usage variations - haystack as resource/multi dimensional array
/php-src/ext/standard/
H A Dphp_string.h50 PHPAPI zend_string *php_str_to_str(const char *haystack, size_t length, const char *needle,
H A Dbasic_functions_arginfo.h151 ZEND_ARG_TYPE_INFO(0, haystack, IS_ARRAY, 0)
157 ZEND_ARG_TYPE_INFO(0, haystack, IS_ARRAY, 0)
887 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
897 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
911 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
1041 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
1081 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
/php-src/ext/intl/tests/
H A Dgrapheme.phpt57 $res_str .= "\n" . 'function grapheme_strpos($haystack, $needle, $offset = 0) {}' . "\n\n";
126 $res_str .= "\n" . 'function grapheme_stripos($haystack, $needle, $offset = 0) {}' . "\n\n";
194 $res_str .= "\n" . 'function grapheme_strrpos($haystack, $needle, $offset = 0) {}' . "\n\n";
260 $res_str .= "\n" . 'function grapheme_strripos($haystack, $needle, $offset = 0) {}' . "\n\n";
571 // haystack, count, [[offset], [next]], result
811 function grapheme_strpos($haystack, $needle, $offset = 0) {}
855 function grapheme_stripos($haystack, $needle, $offset = 0) {}
897 function grapheme_strrpos($haystack, $needle, $offset = 0) {}
936 function grapheme_strripos($haystack, $needle, $offset = 0) {}
1041 function grapheme_strstr($haystack, $needle, $before_needle = FALSE) {}
[all …]
H A Dgrapheme2.phpt57 $res_str .= "\n" . 'function grapheme_strpos($haystack, $needle, $offset = 0) {}' . "\n\n";
126 $res_str .= "\n" . 'function grapheme_stripos($haystack, $needle, $offset = 0) {}' . "\n\n";
194 $res_str .= "\n" . 'function grapheme_strrpos($haystack, $needle, $offset = 0) {}' . "\n\n";
260 $res_str .= "\n" . 'function grapheme_strripos($haystack, $needle, $offset = 0) {}' . "\n\n";
559 // haystack, count, [[offset], [next]], result
799 function grapheme_strpos($haystack, $needle, $offset = 0) {}
843 function grapheme_stripos($haystack, $needle, $offset = 0) {}
885 function grapheme_strrpos($haystack, $needle, $offset = 0) {}
924 function grapheme_strripos($haystack, $needle, $offset = 0) {}
1029 function grapheme_strstr($haystack, $needle, $before_needle = FALSE) {}
[all …]
/php-src/main/
H A Drfc1867.c555 static void *php_ap_memstr(char *haystack, int haystacklen, char *needle, int needlen, int partial) in php_ap_memstr() argument
558 char *ptr = haystack; in php_ap_memstr()
564 len = haystacklen - (ptr - (char *)haystack); in php_ap_memstr()
/php-src/ext/intl/
H A Dphp_intl_arginfo.h462 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
480 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
493 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
/php-src/Zend/
H A Dzend_operators.c3671 ZEND_API const char* ZEND_FASTCALL zend_memnstr_ex(const char *haystack, const char *needle, size_t… argument
3677 if (needle_len == 0 || (end - haystack) < needle_len) {
3683 p = haystack;
3705 ZEND_API const char* ZEND_FASTCALL zend_memnrstr_ex(const char *haystack, const char *needle, size_… argument
3711 if (needle_len == 0 || (end - haystack) < needle_len) {
3720 while (p >= haystack) {
3731 if (UNEXPECTED(p == haystack)) {
/php-src/ext/fileinfo/libmagic/
H A Dsoftmagic.c2295 zend_string *haystack; in magiccheck() local
2301 haystack = zend_string_init(ms->search.s, ms->search.s_len, 0); in magiccheck()
2304 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, PREG_OFFSET_CAPTURE, 0); in magiccheck()
2306 zend_string_release(haystack); in magiccheck()
/php-src/ext/phar/phar/
H A Dpharcommand.inc193 * @param string $haystack The haystack
198 static function strEndsWith($haystack, $needle)
200 return substr($haystack, -strlen($needle)) == $needle;
/php-src/ext/fileinfo/
H A Dlibmagic.patch3329 + zend_string *haystack;
3334 + /* Cut the search len from haystack, equals to REG_STARTEND */
3335 + haystack = zend_string_init(ms->search.s, ms->search.s_len, 0);
3338 + php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, PREG_OFFSET_CAPTURE, 0);
3339 + /* Free haystack */
3340 + zend_string_release(haystack);

Completed in 97 milliseconds

12345