Searched defs:haystack_len (Results 1 - 3 of 3) sorted by relevance
| /PHP_5_5/ext/intl/grapheme/ |
| H A D | grapheme_string.c | 112 int haystack_len, needle_len; local 118 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", (char **)&haystack, &haystack_len, (char **)&needle, &needle_len, &loffset) == FAILURE) { 126 if ( OUTSIDE_STRING(loffset, haystack_len) ) { 149 found = (unsigned char *)php_memnstr((char *)haystack + offset, (char *)needle, needle_len, (char *)haystack + haystack_len); 157 if ( grapheme_ascii_check(haystack, haystack_len) >= 0 ) { 163 ret_pos = grapheme_strpos_utf16(haystack, haystack_len, needle, needle_len, offset, &uchar_pos, 0 /* fIgnoreCase */ TSRMLS_CC ); 179 int haystack_len, needle_len; local 186 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", (char **)&haystack, &haystack_len, (char **)&needle, &needle_len, &loffset) == FAILURE) { 194 if ( OUTSIDE_STRING(loffset, haystack_len) ) { 214 is_ascii = ( grapheme_ascii_check(haystack, haystack_len) > 254 int haystack_len, needle_len; local 324 int haystack_len, needle_len; local 600 int haystack_len, needle_len; local [all...] |
| H A D | grapheme_util.c | 152 grapheme_strrpos_utf16(unsigned char *haystack, int32_t haystack_len, unsigned char*needle, int32_t needle_len, int32_t offset, int f_ignore_case TSRMLS_DC) argument 165 intl_convert_utf8_to_utf16(&uhaystack, &uhaystack_len, (char *) haystack, haystack_len, &status ); 286 grapheme_strpos_utf16(unsigned char *haystack, int32_t haystack_len, unsigned char*needle, int32_t needle_len, int32_t offset, int32_t *puchar_pos, int f_ignore_case TSRMLS_DC) argument 302 intl_convert_utf8_to_utf16(&uhaystack, &uhaystack_len, (char *) haystack, haystack_len, &status ); 570 grapheme_strrpos_ascii(unsigned char *haystack, int32_t haystack_len, unsigned char *needle, int32_t needle_len, int32_t offset) argument 576 e = haystack + haystack_len - needle_len; 580 e = haystack + haystack_len - needle_len; 582 e = haystack + haystack_len + offset;
|
| /PHP_5_5/ext/standard/ |
| H A D | string.c | 1702 int haystack_len; local 1709 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|b", &haystack, &haystack_len, &needle, &part) == FAILURE) { 1713 haystack_dup = estrndup(haystack, haystack_len); 1723 found = php_stristr(haystack_dup, orig_needle, haystack_len, Z_STRLEN_P(needle)); 1732 found = php_stristr(haystack_dup, needle_char, haystack_len, 1); 1740 RETVAL_STRINGL(haystack + found_offset, haystack_len - found_offset, 1); 1756 int haystack_len; local 1762 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|b", &haystack, &haystack_len, &needle, &part) == FAILURE) { 1772 found = php_memnstr(haystack, Z_STRVAL_P(needle), Z_STRLEN_P(needle), haystack + haystack_len); 1779 found = php_memnstr(haystack, needle_char, 1, haystack + haystack_len); 1807 int haystack_len; local 1854 int haystack_len; local 1917 int needle_len, haystack_len; local 1990 int needle_len, haystack_len; local 2096 int haystack_len; local 5146 int haystack_len, needle_len; local 5547 int haystack_len, char_list_len; local [all...] |
Completed in 8 milliseconds