Lines Matching refs:key_name

781 static int append_key_value(smart_str* loc_name, HashTable* hash_arr, char* key_name)  in append_key_value()  argument
785 if ((ele_value = zend_hash_str_find(hash_arr , key_name, strlen(key_name))) != NULL ) { in append_key_value()
790 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
791 strcmp(key_name, LOC_GRANDFATHERED_LANG_TAG)!=0 ) { in append_key_value()
806 static void add_prefix(smart_str* loc_name, char* key_name) in add_prefix() argument
808 if( strncmp(key_name , LOC_PRIVATE_TAG , 7) == 0 ){ in add_prefix()
822 static int append_multiple_key_values(smart_str* loc_name, HashTable* hash_arr, char* key_name) in append_multiple_key_values() argument
830 if ((ele_value = zend_hash_str_find( hash_arr , key_name , strlen(key_name))) != NULL) { in append_multiple_key_values()
832 add_prefix( loc_name , key_name); in append_multiple_key_values()
846 add_prefix(loc_name , key_name); in append_multiple_key_values()
858 if( strcmp(key_name , LOC_VARIANT_TAG) ==0 ){ in append_multiple_key_values()
861 if( strcmp(key_name , LOC_EXTLANG_TAG) ==0 ){ in append_multiple_key_values()
864 if( strcmp(key_name , LOC_PRIVATE_TAG) ==0 ){ in append_multiple_key_values()
871 snprintf( cur_key_name , 30, "%s%d", key_name , i); in append_multiple_key_values()
1042 static int add_array_entry(const char* loc_name, zval* hash_arr, char* key_name) in add_array_entry() argument
1054 if( strcmp(key_name , LOC_PRIVATE_TAG)==0 ){ in add_array_entry()
1058 key_value = get_icu_value_internal( loc_name , key_name , &result,1 ); in add_array_entry()
1060 if( (strcmp(key_name , LOC_PRIVATE_TAG)==0) || in add_array_entry()
1061 ( strcmp(key_name , LOC_VARIANT_TAG)==0) ){ in add_array_entry()
1069 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1073 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1086 add_assoc_str( hash_arr, key_name , key_value); in add_array_entry()