Home
last modified time | relevance | path

Searched refs:key_name (Results 1 – 4 of 4) sorted by relevance

/PHP-7.2/ext/intl/dateformat/
H A Ddateformat_parse.c65 …fo, zval* return_value, const UCalendar *parsed_calendar, zend_long calendar_field, char* key_name) in add_to_localtime_arr() argument
70 if( strcmp(key_name, CALENDAR_YEAR )==0 ){ in add_to_localtime_arr()
72 add_assoc_long( return_value, key_name,( calendar_field_val-1900) ); in add_to_localtime_arr()
73 }else if( strcmp(key_name, CALENDAR_WDAY )==0 ){ in add_to_localtime_arr()
75 add_assoc_long( return_value, key_name,( calendar_field_val-1) ); in add_to_localtime_arr()
77 add_assoc_long( return_value, key_name, calendar_field_val ); in add_to_localtime_arr()
H A Ddateformat_format.c64 HashTable* hash_arr, char* key_name, intl_error *err) in internal_get_arr_ele() argument
74 if ((ele_value = zend_hash_str_find(hash_arr, key_name, strlen(key_name))) != NULL) { in internal_get_arr_ele()
77 "a non-integer element for key '%s'", key_name); in internal_get_arr_ele()
85 Z_LVAL_P(ele_value), key_name); in internal_get_arr_ele()
/PHP-7.2/win32/
H A Dregistry.c45 const char **key_name = registry_keys; in OpenPhpRegistryKey() local
52 while (*key_name) { in OpenPhpRegistryKey()
55 main_key_len = strlen(*key_name); in OpenPhpRegistryKey()
57 memcpy(reg_key, *key_name, main_key_len); in OpenPhpRegistryKey()
65 ++key_name; in OpenPhpRegistryKey()
68 while (*key_name) { in OpenPhpRegistryKey()
69 if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, *key_name, 0, KEY_READ, hKey) == ERROR_SUCCESS) { in OpenPhpRegistryKey()
72 ++key_name; in OpenPhpRegistryKey()
/PHP-7.2/ext/intl/locale/
H A Dlocale_methods.c785 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()
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()
1054 if( strcmp(key_name , LOC_PRIVATE_TAG)==0 ){ in add_array_entry()
1060 if( (strcmp(key_name , LOC_PRIVATE_TAG)==0) || in add_array_entry()
[all …]

Completed in 13 milliseconds