Home
last modified time | relevance | path

Searched refs:cur_arr (Results 1 – 1 of 1) sorted by relevance

/PHP-7.4/ext/intl/locale/
H A Dlocale_methods.c1412 #define LOOKUP_CLEAN_RETURN(value) array_cleanup(cur_arr, cur_arr_len); return (value)
1432 char **cur_arr = ecalloc(zend_hash_num_elements(hash_arr)*2, sizeof(char *)); in lookup_loc_range() local
1440 cur_arr[cur_arr_len*2] = estrndup(Z_STRVAL_P(ele_value), Z_STRLEN_P(ele_value)); in lookup_loc_range()
1441 result = strToMatch(Z_STRVAL_P(ele_value), cur_arr[cur_arr_len*2]); in lookup_loc_range()
1446 cur_arr[cur_arr_len*2+1] = Z_STRVAL_P(ele_value); in lookup_loc_range()
1453 lang_tag = get_icu_value_internal(cur_arr[i*2], LOC_CANONICALIZE_TAG, &result, 0); in lookup_loc_range()
1461 cur_arr[i*2] = erealloc(cur_arr[i*2], lang_tag->len+1); in lookup_loc_range()
1462 result = strToMatch(lang_tag->val, cur_arr[i*2]); in lookup_loc_range()
1502 …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()
1504 char *str = canonicalize ? cur_arr[i*2] : cur_arr[i*2+1]; in lookup_loc_range()

Completed in 16 milliseconds