Lines Matching refs:key_name
764 static int append_key_value(smart_str* loc_name, HashTable* hash_arr, char* key_name) in append_key_value() argument
768 if(zend_hash_find(hash_arr , key_name , strlen(key_name) + 1 ,(void **)&ele_value ) == SUCCESS ) { in append_key_value()
773 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
774 strcmp(key_name, LOC_GRANDFATHERED_LANG_TAG)!=0 ) { in append_key_value()
789 static void add_prefix(smart_str* loc_name, char* key_name) in add_prefix() argument
791 if( strncmp(key_name , LOC_PRIVATE_TAG , 7) == 0 ){ in add_prefix()
805 static int append_multiple_key_values(smart_str* loc_name, HashTable* hash_arr, char* key_name TSRM… in append_multiple_key_values()
813 …if( zend_hash_find( hash_arr , key_name , strlen(key_name) + 1 ,(void **)&ele_value ) == SUCCESS )… in append_multiple_key_values()
815 add_prefix( loc_name , key_name); in append_multiple_key_values()
831 add_prefix(loc_name , key_name); in append_multiple_key_values()
844 if( strcmp(key_name , LOC_VARIANT_TAG) ==0 ){ in append_multiple_key_values()
847 if( strcmp(key_name , LOC_EXTLANG_TAG) ==0 ){ in append_multiple_key_values()
850 if( strcmp(key_name , LOC_PRIVATE_TAG) ==0 ){ in append_multiple_key_values()
857 snprintf( cur_key_name , 30, "%s%d", key_name , i); in append_multiple_key_values()
1032 static int add_array_entry(char* loc_name, zval* hash_arr, char* key_name TSRMLS_DC) in add_array_entry()
1044 if( strcmp(key_name , LOC_PRIVATE_TAG)==0 ){ in add_array_entry()
1048 key_value = get_icu_value_internal( loc_name , key_name , &result,1 ); in add_array_entry()
1050 if( (strcmp(key_name , LOC_PRIVATE_TAG)==0) || in add_array_entry()
1051 ( strcmp(key_name , LOC_VARIANT_TAG)==0) ){ in add_array_entry()
1059 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1063 sprintf( cur_key_name , "%s%d", key_name , cnt++); in add_array_entry()
1073 add_assoc_string( hash_arr, key_name , key_value , TRUE ); in add_array_entry()