/PHP-5.4/Zend/ |
H A D | zend_hash.h | 63 const char *arKey; member 86 const char *arKey; member 153 #define zend_hash_del(ht, arKey, nKeyLength) \ argument 267 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func() 268 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func() 269 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func() 270 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func() 271 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func() 272 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func() 273 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func() [all …]
|
H A D | zend_ts_hash.h | 53 #define zend_ts_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ argument 55 #define zend_ts_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ argument 59 #define zend_ts_hash_quick_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \ argument 61 #define zend_ts_hash_quick_add(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \ argument 70 ZEND_API int zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength); 82 #define zend_ts_hash_del(ht, arKey, nKeyLength) \ argument 83 zend_ts_hash_del_key_or_index(ht, arKey, nKeyLength, 0, HASH_DEL_KEY) 87 ZEND_API ulong zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength); 90 ZEND_API int zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData); 95 ZEND_API int zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength); [all …]
|
H A D | zend_string.c | 89 if (IS_INTERNED(arKey)) { in zend_new_interned_string_int() 90 return arKey; in zend_new_interned_string_int() 98 if (!memcmp(p->arKey, arKey, nKeyLength)) { in zend_new_interned_string_int() 100 efree((void *)arKey); in zend_new_interned_string_int() 102 return p->arKey; in zend_new_interned_string_int() 111 return arKey; in zend_new_interned_string_int() 121 p->arKey = (char*)(p+1); in zend_new_interned_string_int() 122 memcpy((char*)p->arKey, arKey, nKeyLength); in zend_new_interned_string_int() 124 efree((void *)arKey); in zend_new_interned_string_int() 174 return p->arKey; in zend_new_interned_string_int() [all …]
|
H A D | zend_hash.c | 220 if (p->arKey == arKey || in _zend_hash_add_or_update() 251 p->arKey = arKey; in _zend_hash_add_or_update() 258 memcpy((char*)p->arKey, arKey, nKeyLength); in _zend_hash_add_or_update() 297 if (p->arKey == arKey || in _zend_hash_quick_add_or_update() 328 p->arKey = arKey; in _zend_hash_quick_add_or_update() 769 hash_key.arKey = p->arKey; in zend_hash_apply_with_arguments() 875 hash_key.arKey = p->arKey; in zend_hash_replace_checker_wrapper() 926 if (p->arKey == arKey || in zend_hash_find() 952 if (p->arKey == arKey || in zend_hash_quick_find() 976 if (p->arKey == arKey || in zend_hash_exists() [all …]
|
H A D | zend_ts_hash.c | 135 ZEND_API int zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength) in zend_ts_hash_add_empty_element() argument 140 retval = zend_hash_add_empty_element(TS_HASH(ht), arKey, nKeyLength); in zend_ts_hash_add_empty_element() 195 retval = zend_hash_del_key_or_index(TS_HASH(ht), arKey, nKeyLength, h, flag); in zend_ts_hash_del_key_or_index() 201 ZEND_API ulong zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength) in zend_ts_get_hash_value() argument 206 retval = zend_get_hash_value(arKey, nKeyLength); in zend_ts_get_hash_value() 212 ZEND_API int zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData) in zend_ts_hash_find() argument 217 retval = zend_hash_find(TS_HASH(ht), arKey, nKeyLength, pData); in zend_ts_hash_find() 223 ZEND_API int zend_ts_hash_quick_find(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void *… in zend_ts_hash_quick_find() argument 228 retval = zend_hash_quick_find(TS_HASH(ht), arKey, nKeyLength, h, pData); in zend_ts_hash_quick_find() 245 ZEND_API int zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength) in zend_ts_hash_exists() argument [all …]
|
H A D | zend_variables.c | 205 …if (zend_hash_quick_find(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, (void **) &… in zval_copy_static_var() 209 …zend_hash_quick_add(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zva… in zval_copy_static_var() 212 zend_error(E_NOTICE,"Undefined variable: %s", key->arKey); in zval_copy_static_var() 231 …if (zend_hash_quick_add(target, key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zval*), NULL) ==… in zval_copy_static_var()
|
H A D | zend_ini.c | 163 return zend_binary_strcasecmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength); in ini_key_compare()
|
H A D | zend_builtin_functions.c | 1663 if ((hash_key->nKeyLength==0 || hash_key->arKey[0]!=0) in copy_class_or_interface_name() 1667 !same_name(hash_key->arKey, ce->name, ce->name_length))) { in copy_class_or_interface_name() 1668 add_next_index_stringl(array, hash_key->arKey, hash_key->nKeyLength - 1, 1); in copy_class_or_interface_name() 1731 if (hash_key->nKeyLength == 0 || hash_key->arKey[0] == 0) { in copy_function_name() 1736 add_next_index_stringl(internal_ar, hash_key->arKey, hash_key->nKeyLength-1, 1); in copy_function_name() 1738 add_next_index_stringl(user_ar, hash_key->arKey, hash_key->nKeyLength-1, 1); in copy_function_name()
|
H A D | zend_compile.c | 3292 …if (zend_hash_quick_find(child_function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h,… in do_inherit_method_check() 3326 …if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h,… in do_inherit_property_access_check() 3329 …arent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name, hash_key->arKey, in do_inherit_property_access_check() 3330 (child_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ce->name, hash_key->arKey); in do_inherit_property_access_check() 3692 ulong h = zend_hash_func(arKey, nKeyLength); in zend_add_trait_method() 3694 …if (zend_hash_quick_find(&ce->function_table, arKey, nKeyLength, h, (void**) &existing_fn) == SUCC… in zend_add_trait_method() 3699 if (zend_hash_quick_find(*overriden, arKey, nKeyLength, h, (void**) &existing_fn) == SUCCESS) { in zend_add_trait_method() 3721 zend_hash_quick_update(*overriden, arKey, nKeyLength, h, fn, sizeof(zend_function), (void**)&fn); in zend_add_trait_method() 3757 …zend_hash_quick_update(&ce->function_table, arKey, nKeyLength, h, fn, sizeof(zend_function), (void… in zend_add_trait_method() 3758 zend_add_magic_methods(ce, arKey, nKeyLength, fn TSRMLS_CC); in zend_add_trait_method() [all …]
|
H A D | zend_API.c | 999 ZVAL_STRINGL(member, hash_key->arKey, hash_key->nKeyLength-1, 1); in zend_merge_property()
|
/PHP-5.4/ext/standard/ |
H A D | var.c | 48 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1); in php_array_element_dump() 66 …int unmangle = zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, &class_name,… in php_object_property_dump() 77 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1); in php_object_property_dump() 201 if (va_arg(args, int) && hash_key->arKey[0] == '\0') { in zval_array_element_dump() 205 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1); in zval_array_element_dump() 223 zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, &class_name, &prop_name); in zval_object_property_dump() 360 key = php_addcslashes(hash_key->arKey, hash_key->nKeyLength - 1, &key_len, 0, "'\\", 2 TSRMLS_CC); in php_array_element_export() 396 zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, in php_object_element_export()
|
H A D | array.c | 189 Z_STRVAL(first) = (char*)f->arKey; in php_array_key_compare() 198 Z_STRVAL(second) = (char*)s->arKey; in php_array_key_compare() 740 Z_STRVAL_P(key1) = estrndup(f->arKey, f->nKeyLength - 1); in php_array_user_key_compare() 748 Z_STRVAL_P(key2) = estrndup(s->arKey, s->nKeyLength - 1); in php_array_user_key_compare() 1890 zend_hash_quick_update(out_hash, p->arKey, p->nKeyLength, p->h, &entry, sizeof(zval *), NULL); in php_splice() 1926 zend_hash_quick_update(out_hash, p->arKey, p->nKeyLength, p->h, &entry, sizeof(zval *), NULL); in php_splice() 2831 zend_delete_global_variable(p->arKey, p->nKeyLength - 1 TSRMLS_CC); in PHP_FUNCTION() 2833 zend_hash_quick_del(Z_ARRVAL_P(return_value), p->arKey, p->nKeyLength, p->h); in PHP_FUNCTION() 3200 zend_hash_quick_del(Z_ARRVAL_P(return_value), p->arKey, p->nKeyLength, p->h); in php_array_intersect() 3216 zend_hash_quick_del(Z_ARRVAL_P(return_value), p->arKey, p->nKeyLength, p->h); in php_array_intersect() [all …]
|
H A D | basic_functions.c | 4528 …add_assoc_stringl_ex(retval, hash_key->arKey, hash_key->nKeyLength, Z_STRVAL_P(entry), Z_STRLEN_P(… 4536 add_assoc_zval_ex(retval, hash_key->arKey, hash_key->nKeyLength, tmp); 5300 hash_key->arKey[0] != 0
|
/PHP-5.4/sapi/apache2handler/ |
H A D | apache_config.c | 124 …if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry… in should_overwrite_per_dir_entry() 130 …phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", hash_key->arKey, new_per_dir_entry->sta… in should_overwrite_per_dir_entry()
|
/PHP-5.4/ext/phar/ |
H A D | dirstream.c | 152 static int phar_add_empty(HashTable *ht, char *arKey, uint nKeyLength) /* {{{ */ in phar_add_empty() argument 156 return zend_hash_update(ht, arKey, nKeyLength, (void *) &dummy, sizeof(void *), NULL); in phar_add_empty() 171 result = zend_binary_strcmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength); in phar_compare_dir_name()
|
H A D | phar_internal.h | 549 static inline int phar_make_unicode(zstr *c_var, char *arKey, uint nKeyLength TSRMLS_DC) in phar_make_unicode() argument 555 if (zend_string_to_unicode(conv, &c_var->u, &c_var_len, arKey, nKeyLength TSRMLS_CC) == FAILURE) { in phar_make_unicode()
|
/PHP-5.4/ext/spl/ |
H A D | spl_iterators.c | 2791 char *arKey; in SPL_METHOD() local 2802 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &arKey, &nKeyLength, &value) == FAILURE… in SPL_METHOD() 2816 char *arKey; in SPL_METHOD() local 2827 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) { in SPL_METHOD() 2832 zend_error(E_NOTICE, "Undefined index: %s", arKey); in SPL_METHOD() 2845 char *arKey; in SPL_METHOD() local 2855 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) { in SPL_METHOD() 2859 zend_symtable_del(HASH_OF(intern->u.caching.zcache), arKey, nKeyLength+1); in SPL_METHOD() 2868 char *arKey; in SPL_METHOD() local 2878 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) { in SPL_METHOD() [all …]
|
/PHP-5.4/ |
H A D | .gdbinit | 303 ____print_str $p->arKey $p->nKeyLength 333 ____print_str $p->arKey $p->nKeyLength 401 ____print_str $p->arKey $p->nKeyLength
|
/PHP-5.4/sapi/apache/ |
H A D | mod_php5.c | 742 …if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry… in should_overwrite_per_dir_entry()
|
/PHP-5.4/sapi/apache_hooks/ |
H A D | mod_php5.c | 796 …if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &new_per_dir_entry)… in should_overwrite_per_dir_entry()
|
/PHP-5.4/sapi/cli/ |
H A D | php_cli_server.c | 595 key = estrndup(hash_key->arKey, hash_key->nKeyLength); in sapi_cli_server_register_entry_cb()
|
/PHP-5.4/ext/reflection/ |
H A D | php_reflection.c | 3931 if (hash_key->arKey[0] == '\0') { in _adddynproperty() 3935 ZVAL_STRINGL(&member, hash_key->arKey, hash_key->nKeyLength-1, 0); in _adddynproperty()
|