Lines Matching refs:loc_range
1160 const char* loc_range = NULL; in PHP_FUNCTION() local
1179 &lang_tag, &lang_tag_len , &loc_range , &loc_range_len , in PHP_FUNCTION()
1186 loc_range = intl_locale_get_default(); in PHP_FUNCTION()
1187 loc_range_len = strlen(loc_range); in PHP_FUNCTION()
1190 if( strcmp(loc_range,"*")==0){ in PHP_FUNCTION()
1199 can_loc_range=get_icu_value_internal( loc_range , LOC_CANONICALIZE_TAG , &result , 0); in PHP_FUNCTION()
1279 cur_loc_range = ecalloc( 1, strlen(loc_range ) + 1); in PHP_FUNCTION()
1280 result = strToMatch( loc_range , cur_loc_range ); in PHP_FUNCTION()
1329 static zend_string* lookup_loc_range(const char* loc_range, HashTable* hash_arr, int canonicalize ) in lookup_loc_range() argument
1386 can_loc_range = get_icu_value_internal(loc_range, LOC_CANONICALIZE_TAG, &result , 0); in lookup_loc_range()
1395 loc_range = can_loc_range->val; in lookup_loc_range()
1399 cur_loc_range = ecalloc(1, strlen(loc_range)+1); in lookup_loc_range()
1401 result = strToMatch(loc_range, cur_loc_range); in lookup_loc_range()
1441 const char* loc_range = NULL; in PHP_FUNCTION() local
1451 if(zend_parse_parameters( ZEND_NUM_ARGS(), "as|bS!", &arr, &loc_range, &loc_range_len, in PHP_FUNCTION()
1458 loc_range = ZSTR_VAL(fallback_loc_str); in PHP_FUNCTION()
1461 loc_range = intl_locale_get_default(); in PHP_FUNCTION()
1462 loc_range_len = strlen(loc_range); in PHP_FUNCTION()
1474 result_str = lookup_loc_range(loc_range, hash_arr, boolCanonical); in PHP_FUNCTION()