Searched refs:cur_arr (Results 1 – 1 of 1) sorted by relevance
/PHP-7.0/ext/intl/locale/ |
H A D | locale_methods.c | 1431 #define LOOKUP_CLEAN_RETURN(value) array_cleanup(cur_arr, cur_arr_len); return (value) 1444 char** cur_arr = NULL; in lookup_loc_range() local 1452 cur_arr = ecalloc(zend_hash_num_elements(hash_arr)*2, sizeof(char *)); in lookup_loc_range() 1460 cur_arr[cur_arr_len*2] = estrndup(Z_STRVAL_P(ele_value), Z_STRLEN_P(ele_value)); in lookup_loc_range() 1461 result = strToMatch(Z_STRVAL_P(ele_value), cur_arr[cur_arr_len*2]); in lookup_loc_range() 1466 cur_arr[cur_arr_len*2+1] = Z_STRVAL_P(ele_value); in lookup_loc_range() 1473 lang_tag = get_icu_value_internal(cur_arr[i*2], LOC_CANONICALIZE_TAG, &result, 0); in lookup_loc_range() 1481 cur_arr[i*2] = erealloc(cur_arr[i*2], lang_tag->len+1); in lookup_loc_range() 1482 result = strToMatch(lang_tag->val, cur_arr[i*2]); in lookup_loc_range() 1522 …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 13 milliseconds