Searched defs:haystack_len (Results 1 - 3 of 3) sorted by relevance
| /PHP_5_3/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 596 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_3/ext/standard/ |
| H A D | string.c | 1629 int haystack_len; local 1636 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|b", &haystack, &haystack_len, &needle, &part) == FAILURE) { 1640 haystack_dup = estrndup(haystack, haystack_len); 1650 found = php_stristr(haystack_dup, orig_needle, haystack_len, Z_STRLEN_P(needle)); 1659 found = php_stristr(haystack_dup, needle_char, haystack_len, 1); 1667 RETVAL_STRINGL(haystack + found_offset, haystack_len - found_offset, 1); 1683 int haystack_len; local 1689 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|b", &haystack, &haystack_len, &needle, &part) == FAILURE) { 1699 found = php_memnstr(haystack, Z_STRVAL_P(needle), Z_STRLEN_P(needle), haystack + haystack_len); 1706 found = php_memnstr(haystack, needle_char, 1, haystack + haystack_len); 1734 int haystack_len; local 1781 int haystack_len; local 1844 int needle_len, haystack_len; local 1917 int needle_len, haystack_len; local 2023 int haystack_len; local 4839 int haystack_len, needle_len; local 5240 int haystack_len, char_list_len; local [all...] |
Completed in 8 milliseconds