Searched refs:needle_len (Results 1 – 10 of 10) sorted by relevance
/PHP-7.2/ext/intl/grapheme/ |
H A D | grapheme_string.c | 110 size_t haystack_len, needle_len; in PHP_FUNCTION() local 134 if (needle_len == 0) { in PHP_FUNCTION() 173 size_t haystack_len, needle_len; in PHP_FUNCTION() local 196 if (needle_len == 0) { in PHP_FUNCTION() 206 php_strtolower(needle_dup, needle_len); in PHP_FUNCTION() 242 size_t haystack_len, needle_len; in PHP_FUNCTION() local 264 if (needle_len == 0) { in PHP_FUNCTION() 305 size_t haystack_len, needle_len; in PHP_FUNCTION() local 327 if (needle_len == 0) { in PHP_FUNCTION() 594 size_t haystack_len, needle_len; in strstr_common_handler() local [all …]
|
H A D | grapheme_util.h | 28 …trrpos_ascii(char *haystack, size_t haystack_len, char *needle, size_t needle_len, int32_t offset); 30 int32_t grapheme_strrpos_utf16(char *haystack, size_t haystack_len, char *needle, size_t needle_len… 31 int32_t grapheme_strpos_utf16(char *haystack, size_t haystack_len, char *needle, size_t needle_len,…
|
H A D | grapheme_util.c | 133 int32_t grapheme_strpos_utf16(char *haystack, size_t haystack_len, char *needle, size_t needle_len,… in grapheme_strpos_utf16() argument 153 intl_convert_utf8_to_utf16(&uneedle, &uneedle_len, needle, needle_len, &status ); in grapheme_strpos_utf16() 339 grapheme_strrpos_ascii(char *haystack, size_t haystack_len, char *needle, size_t needle_len, int32_… in grapheme_strrpos_ascii() argument 345 e = haystack + haystack_len - needle_len; in grapheme_strrpos_ascii() 348 if (needle_len > (size_t)-offset) { in grapheme_strrpos_ascii() 349 e = haystack + haystack_len - needle_len; in grapheme_strrpos_ascii() 355 if (needle_len == 1) { in grapheme_strrpos_ascii() 367 if (memcmp(e, needle, needle_len) == 0) { in grapheme_strrpos_ascii()
|
/PHP-7.2/Zend/ |
H A D | zend_operators.h | 155 const char ne = needle[needle_len-1]; in zend_memnstr() 159 if (needle_len == 1) { in zend_memnstr() 166 if (needle_len > off_s) { in zend_memnstr() 171 end -= needle_len; in zend_memnstr() 175 if (!memcmp(needle, p, needle_len-1)) { in zend_memnstr() 213 const char ne = needle[needle_len-1]; in zend_memnrstr() 217 if (needle_len == 1) { in zend_memnrstr() 224 if (needle_len > off_s) { in zend_memnrstr() 228 if (EXPECTED(off_s < 1024 || needle_len < 3)) { in zend_memnrstr() 229 p -= needle_len; in zend_memnrstr() [all …]
|
H A D | zend_operators.c | 3021 td[i] = needle_len + 1; 3025 for (i = needle_len - 1; i >= 0; i--) { 3031 for (i = 0; i < needle_len; i++) { 3044 if (needle_len == 0 || (end - haystack) == 0) { 3051 end -= needle_len; 3054 for (i = 0; i < needle_len; i++) { 3059 if (i == needle_len) { 3065 p += td[(unsigned char)(p[needle_len])]; 3085 p -= needle_len; 3088 for (i = 0; i < needle_len; i++) { [all …]
|
/PHP-7.2/ext/standard/ |
H A D | string.c | 2074 size_t needle_len; local 2095 needle_len = 1; 3192 if (needle_len == str_len) { 3213 o += needle_len; 3220 if (str_len > needle_len) { 3362 if (needle_len < length) { 3366 if (needle_len == str_len) { 3383 o += needle_len; 5299 if (needle_len == 0) { 5328 if (needle_len == 1) { [all …]
|
H A D | php_string.h | 136 size_t needle_len, char *str, size_t str_len);
|
/PHP-7.2/ext/mbstring/ |
H A D | mbstring.c | 2298 size_t enc_name_len, haystack_len, needle_len; in PHP_FUNCTION() local 2320 needle.len = (uint32_t)needle_len; in PHP_FUNCTION() 2375 size_t enc_name_len, haystack_len, needle_len; in PHP_FUNCTION() local 2401 needle.len = (uint32_t)needle_len; in PHP_FUNCTION() 2500 needle.len = (uint32_t)needle_len; in PHP_FUNCTION() 2539 needle.len = (uint32_t)needle_len; in PHP_FUNCTION() 2581 needle.len = (uint32_t)needle_len; in PHP_FUNCTION() 2654 needle.len = (uint32_t)needle_len; in PHP_FUNCTION() 2729 needle.len = (uint32_t)needle_len; in PHP_FUNCTION() 2803 needle.len = (uint32_t)needle_len; in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter.c | 875 int needle_len; member 895 if (pc->needle_pos >= pc->needle_len) { in collector_strpos() 1089 unsigned int needle_u8_len = needle_u8->len, needle_len = 0; in mbfl_strpos() local 1101 ++needle_len; in mbfl_strpos() 1103 ++needle_len; in mbfl_strpos() 1109 ++needle_len; in mbfl_strpos() 1111 ++needle_len; in mbfl_strpos() 1118 if (-offset > needle_len) { in mbfl_strpos() 1119 offset += needle_len; in mbfl_strpos() 1225 pc.needle_len = pc.needle.pos; in mbfl_substr_count() [all …]
|
/PHP-7.2/win32/ |
H A D | sendmail.c | 350 size_t needle_len, char *str, size_t str_len);
|
Completed in 57 milliseconds