Lines Matching refs:key_name
769 static int append_key_value(smart_str* loc_name, HashTable* hash_arr, char* key_name) in append_key_value() argument
773 if(zend_hash_find(hash_arr , key_name , strlen(key_name) + 1 ,(void **)&ele_value ) == SUCCESS ) { in append_key_value()
778 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
779 strcmp(key_name, LOC_GRANDFATHERED_LANG_TAG)!=0 ) { in append_key_value()
794 static void add_prefix(smart_str* loc_name, char* key_name) in add_prefix() argument
796 if( strncmp(key_name , LOC_PRIVATE_TAG , 7) == 0 ){ in add_prefix()
810 static int append_multiple_key_values(smart_str* loc_name, HashTable* hash_arr, char* key_name TSRM… in append_multiple_key_values()
818 …if( zend_hash_find( hash_arr , key_name , strlen(key_name) + 1 ,(void **)&ele_value ) == SUCCESS )… in append_multiple_key_values()
820 add_prefix( loc_name , key_name); in append_multiple_key_values()
836 add_prefix(loc_name , key_name); in append_multiple_key_values()
849 if( strcmp(key_name , LOC_VARIANT_TAG) ==0 ){ in append_multiple_key_values()
852 if( strcmp(key_name , LOC_EXTLANG_TAG) ==0 ){ in append_multiple_key_values()
855 if( strcmp(key_name , LOC_PRIVATE_TAG) ==0 ){ in append_multiple_key_values()
862 snprintf( cur_key_name , 30, "%s%d", key_name , i); in append_multiple_key_values()
1037 static int add_array_entry(const char* loc_name, zval* hash_arr, char* key_name TSRMLS_DC) in add_array_entry()
1049 if( strcmp(key_name , LOC_PRIVATE_TAG)==0 ){ in add_array_entry()
1053 key_value = get_icu_value_internal( loc_name , key_name , &result,1 ); in add_array_entry()
1055 if( (strcmp(key_name , LOC_PRIVATE_TAG)==0) || in add_array_entry()
1056 ( strcmp(key_name , LOC_VARIANT_TAG)==0) ){ in add_array_entry()
1064 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1068 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1078 add_assoc_string( hash_arr, key_name , key_value , TRUE ); in add_array_entry()