Lines Matching refs:key_name
806 static int append_key_value(smart_str* loc_name, HashTable* hash_arr, char* key_name) in append_key_value() argument
810 if ((ele_value = zend_hash_str_find(hash_arr , key_name, strlen(key_name))) != NULL ) { in append_key_value()
815 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
816 strcmp(key_name, LOC_GRANDFATHERED_LANG_TAG)!=0 ) { in append_key_value()
831 static void add_prefix(smart_str* loc_name, char* key_name) in add_prefix() argument
833 if( strncmp(key_name , LOC_PRIVATE_TAG , 7) == 0 ){ in add_prefix()
847 static int append_multiple_key_values(smart_str* loc_name, HashTable* hash_arr, char* key_name) in append_multiple_key_values() argument
853 if ((ele_value = zend_hash_str_find( hash_arr , key_name , strlen(key_name))) != NULL) { in append_multiple_key_values()
855 add_prefix( loc_name , key_name); in append_multiple_key_values()
869 add_prefix(loc_name , key_name); in append_multiple_key_values()
882 if( strcmp(key_name , LOC_VARIANT_TAG) ==0 ){ in append_multiple_key_values()
885 if( strcmp(key_name , LOC_EXTLANG_TAG) ==0 ){ in append_multiple_key_values()
888 if( strcmp(key_name , LOC_PRIVATE_TAG) ==0 ){ in append_multiple_key_values()
895 snprintf( cur_key_name , 30, "%s%d", key_name , i); in append_multiple_key_values()
1057 static int add_array_entry(const char* loc_name, zval* hash_arr, char* key_name) in add_array_entry() argument
1068 if( strcmp(key_name , LOC_PRIVATE_TAG)==0 ){ in add_array_entry()
1072 key_value = get_icu_value_internal( loc_name , key_name , &result,1 ); in add_array_entry()
1074 if( (strcmp(key_name , LOC_PRIVATE_TAG)==0) || in add_array_entry()
1075 ( strcmp(key_name , LOC_VARIANT_TAG)==0) ){ in add_array_entry()
1084 size_t cur_key_name_size = (sizeof("-2147483648") - 1) + strlen(key_name) + 1; in add_array_entry()
1086 snprintf( cur_key_name, cur_key_name_size , "%s%d", key_name , cnt++); in add_array_entry()
1090 snprintf( cur_key_name , cur_key_name_size, "%s%d", key_name , cnt++); in add_array_entry()
1103 add_assoc_str( hash_arr, key_name , key_value); in add_array_entry()