Searched refs:cur_arr (Results 1 – 1 of 1) sorted by relevance
/PHP-5.4/ext/intl/locale/ |
H A D | locale_methods.c | 1409 #define LOOKUP_CLEAN_RETURN(value) array_cleanup(cur_arr, cur_arr_len); return (value) 1422 char** cur_arr = NULL; in lookup_loc_range() local 1430 cur_arr = ecalloc(zend_hash_num_elements(hash_arr)*2, sizeof(char *)); in lookup_loc_range() 1445 cur_arr[cur_arr_len*2] = estrndup(Z_STRVAL_PP(ele_value), Z_STRLEN_PP(ele_value)); in lookup_loc_range() 1446 result = strToMatch(Z_STRVAL_PP(ele_value), cur_arr[cur_arr_len*2]); in lookup_loc_range() 1451 cur_arr[cur_arr_len*2+1] = Z_STRVAL_PP(ele_value); in lookup_loc_range() 1458 lang_tag = get_icu_value_internal(cur_arr[i*2], LOC_CANONICALIZE_TAG, &result, 0); in lookup_loc_range() 1466 cur_arr[i*2] = erealloc(cur_arr[i*2], strlen(lang_tag)+1); in lookup_loc_range() 1467 result = strToMatch(lang_tag, cur_arr[i*2]); in lookup_loc_range() 1507 …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() [all …]
|
Completed in 7 milliseconds