Searched refs:cur_arr (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/intl/locale/ |
H A D | locale_methods.c | 1407 #define LOOKUP_CLEAN_RETURN(value) array_cleanup(cur_arr, cur_arr_len); return (value) 1427 char **cur_arr = ecalloc(zend_hash_num_elements(hash_arr)*2, sizeof(char *)); in lookup_loc_range() local 1435 cur_arr[cur_arr_len*2] = estrndup(Z_STRVAL_P(ele_value), Z_STRLEN_P(ele_value)); in lookup_loc_range() 1436 result = strToMatch(Z_STRVAL_P(ele_value), cur_arr[cur_arr_len*2]); in lookup_loc_range() 1441 cur_arr[cur_arr_len*2+1] = Z_STRVAL_P(ele_value); in lookup_loc_range() 1448 lang_tag = get_icu_value_internal(cur_arr[i*2], LOC_CANONICALIZE_TAG, &result, 0); in lookup_loc_range() 1456 cur_arr[i*2] = erealloc(cur_arr[i*2], lang_tag->len+1); in lookup_loc_range() 1457 result = strToMatch(lang_tag->val, cur_arr[i*2]); in lookup_loc_range() 1497 …if(cur_arr[i*2] != NULL && strlen(cur_arr[i*2]) == saved_pos && strncmp(cur_loc_range, cur_arr[i*2… in lookup_loc_range() 1499 char *str = canonicalize ? cur_arr[i*2] : cur_arr[i*2+1]; in lookup_loc_range()
|
Completed in 10 milliseconds