/PHP-5.3/ext/standard/ |
H A D | var.c | 44 if (hash_key->nKeyLength == 0) { /* numeric key */ in php_array_element_dump() 48 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1); in php_array_element_dump() 63 if (hash_key->nKeyLength == 0) { /* numeric key */ in php_object_property_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() 203 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1); in zval_array_element_dump() 221 zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, &class_name, &prop_name); in zval_object_property_dump() 363 key = php_addcslashes(hash_key->arKey, hash_key->nKeyLength - 1, &key_len, 0, "'\\", 2 TSRMLS_CC); in php_array_element_export() 393 if (hash_key->nKeyLength != 0) { in php_object_element_export() 399 zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, in php_object_element_export() [all …]
|
H A D | basic_functions.c | 4582 …int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument 4588 if (hash_key->nKeyLength > 0) { 4589 …add_assoc_stringl_ex(retval, hash_key->arKey, hash_key->nKeyLength, Z_STRVAL_P(entry), Z_STRLEN_P(… 4591 add_index_stringl(retval, hash_key->h, Z_STRVAL_P(entry), Z_STRLEN_P(entry), 1); 4597 add_assoc_zval_ex(retval, hash_key->arKey, hash_key->nKeyLength, tmp); 5346 if (hash_key->nKeyLength == 0 || 5347 hash_key->arKey[0] != 0 6108 if (!prefix_len && !hash_key->nKeyLength) { 6113 if (hash_key->nKeyLength) { 6114 php_prefix_varname(&new_key, prefix, hash_key->arKey, hash_key->nKeyLength - 1, 0 TSRMLS_CC); [all …]
|
/PHP-5.3/sapi/apache2handler/ |
H A D | apache_config.c | 120 …entry(HashTable *target_ht, php_dir_entry *new_per_dir_entry, zend_hash_key *hash_key, void *pData) in should_overwrite_per_dir_entry() argument 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.3/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 834 hash_key->ustr, in mysqlnd_fetch_row_unbuffered() 835 hash_key->ulen + 1, in mysqlnd_fetch_row_unbuffered() 836 hash_key->key, in mysqlnd_fetch_row_unbuffered() 842 hash_key->key, in mysqlnd_fetch_row_unbuffered() 847 hash_key->key, in mysqlnd_fetch_row_unbuffered() 1086 if (hash_key->is_numeric == FALSE) { in mysqlnd_fetch_row_buffered() 1089 hash_key->ustr, in mysqlnd_fetch_row_buffered() 1090 hash_key->ulen + 1, in mysqlnd_fetch_row_buffered() 1091 hash_key->key, in mysqlnd_fetch_row_buffered() 1097 hash_key->key, in mysqlnd_fetch_row_buffered() [all …]
|
H A D | mysqlnd_debug.c | 1466 …mysqlnd_build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in mysqlnd_build_trace_args() argument 1600 …trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ in mysqlnd_build_trace_string() argument 1681 …ild_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ in mysqlnd_build_trace_args() argument 1777 …trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ in mysqlnd_build_trace_string() argument
|
/PHP-5.3/ext/mysqli/ |
H A D | mysqli_nonapi.c | 69 char *hash_key = NULL; local 158 hash_len = spprintf(&hash_key, 0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_STR(socket), 162 mysql->hash_key = hash_key; 165 if (zend_hash_find(&EG(persistent_list), hash_key, hash_len + 1, (void **)&le) == SUCCESS) { 199 zend_hash_update(&EG(persistent_list), hash_key, hash_len + 1, (void *)&le, sizeof(le), NULL); 297 if (mysql->hash_key) { 298 efree(mysql->hash_key); 299 mysql->hash_key = NULL;
|
H A D | php_mysqli_structs.h | 121 char *hash_key; member
|
H A D | mysqli.c | 188 if (mysql->hash_key) { in php_clear_mysql() 189 efree(mysql->hash_key); in php_clear_mysql() 190 mysql->hash_key = NULL; in php_clear_mysql()
|
H A D | mysqli_api.c | 588 …if (zend_hash_find(&EG(persistent_list), mysql->hash_key, strlen(mysql->hash_key) + 1, (void **)&l… in php_mysqli_close()
|
/PHP-5.3/Zend/ |
H A D | zend_builtin_functions.c | 1552 …terface_name(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in copy_class_or_interface_name() argument 1560 if ((hash_key->nKeyLength==0 || hash_key->arKey[0]!=0) in copy_class_or_interface_name() 1563 (ce->name_length != hash_key->nKeyLength - 1 || in copy_class_or_interface_name() 1564 !same_name(hash_key->arKey, ce->name, ce->name_length))) { in copy_class_or_interface_name() 1565 add_next_index_stringl(array, hash_key->arKey, hash_key->nKeyLength - 1, 1); in copy_class_or_interface_name() 1607 …y_function_name(zend_function *func TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in copy_function_name() argument 1612 if (hash_key->nKeyLength == 0 || hash_key->arKey[0] == 0) { in copy_function_name() 1617 add_next_index_stringl(internal_ar, hash_key->arKey, hash_key->nKeyLength-1, 1); in copy_function_name() 1619 add_next_index_stringl(user_ar, hash_key->arKey, hash_key->nKeyLength-1, 1); in copy_function_name()
|
H A D | zend_hash.c | 717 zend_hash_key hash_key; in zend_hash_apply_with_arguments() local 727 hash_key.arKey = p->arKey; in zend_hash_apply_with_arguments() 728 hash_key.nKeyLength = p->nKeyLength; in zend_hash_apply_with_arguments() 729 hash_key.h = p->h; in zend_hash_apply_with_arguments() 730 result = apply_func(p->pData TSRMLS_CC, num_args, args, &hash_key); in zend_hash_apply_with_arguments() 831 zend_hash_key hash_key; in zend_hash_replace_checker_wrapper() local 833 hash_key.arKey = p->arKey; in zend_hash_replace_checker_wrapper() 834 hash_key.nKeyLength = p->nKeyLength; in zend_hash_replace_checker_wrapper() 835 hash_key.h = p->h; in zend_hash_replace_checker_wrapper() 836 return merge_checker_func(target, source_data, &hash_key, pParam); in zend_hash_replace_checker_wrapper()
|
H A D | zend_exceptions.c | 352 …ild_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ in _build_trace_args() argument 448 …trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ in _build_trace_string() argument 457 zend_error(E_WARNING, "Expected array for frame %lu", hash_key->h); in _build_trace_string()
|
H A D | zend_hash.h | 92 …ge_checker_func_t)(HashTable *target_ht, void *source_data, zend_hash_key *hash_key, void *pParam); 134 …t (*apply_func_args_t)(void *pDest TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key);
|
H A D | zend_compile.c | 2617 …able *child_function_table, zend_function *parent, const zend_hash_key *hash_key, zend_class_entry… in do_inherit_method_check() argument 2624 …if (zend_hash_quick_find(child_function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h,… in do_inherit_method_check() 2698 …Table *target_ht, zend_property_info *parent_info, const zend_hash_key *hash_key, zend_class_entry… in do_inherit_property_access_check() argument 2704 …if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h,… in do_inherit_property_access_check() 2707 …zend_hash_quick_update(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, p… in do_inherit_property_access_check() 2719 …if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h,… in do_inherit_property_access_check() 2722 …(parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name, hash_key->arK… in do_inherit_property_access_check() 2723 (child_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ce->name, hash_key->arKey); in do_inherit_property_access_check() 2888 …ild_constants_table, const zval **parent_constant, const zend_hash_key *hash_key, const zend_class… in do_inherit_constant_check() argument 2892 …if (zend_hash_quick_find(child_constants_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h… in do_inherit_constant_check() [all …]
|
H A D | zend_API.c | 969 …operty(zval **value TSRMLS_DC, int num_args, va_list args, const zend_hash_key *hash_key) /* {{{ */ in zend_merge_property() argument 972 if (hash_key->nKeyLength) { in zend_merge_property() 978 ZVAL_STRINGL(member, hash_key->arKey, hash_key->nKeyLength-1, 1); in zend_merge_property()
|
/PHP-5.3/ext/oci8/ |
H A D | oci8.c | 1445 zend_hash_del(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1); in php_oci_pconnection_list_np_dtor() 1932 zend_hash_del(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1); in php_oci_do_connect_ex() 2061 if (connection->hash_key == NULL) { in php_oci_do_connect_ex() 2069 connection->hash_key = estrndup(hashed_details.c, hashed_details.len); in php_oci_do_connect_ex() 2140 …zend_hash_update(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1, (void… in php_oci_do_connect_ex() 2151 …zend_hash_update(&EG(regular_list), connection->hash_key, strlen(connection->hash_key)+1, (void *)… in php_oci_do_connect_ex() 2323 if (connection->hash_key) { in php_oci_connection_close() 2324 free(connection->hash_key); in php_oci_connection_close() 2328 if (connection->hash_key) { in php_oci_connection_close() 2329 efree(connection->hash_key); in php_oci_connection_close() [all …]
|
H A D | php_oci8_int.h | 145 char *hash_key; /* hashed details of the connection */ member
|
/PHP-5.3/sapi/apache/ |
H A D | mod_php5.c | 742 …y(HashTable *target_ht, php_per_dir_entry *new_per_dir_entry, zend_hash_key *hash_key, void *pData) in should_overwrite_per_dir_entry() argument 746 …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.3/ext/reflection/ |
H A D | php_reflection.c | 941 …ni_string(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in _extension_ini_string() argument 976 …class_string(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in _extension_class_string() argument 3493 …t _addmethod_va(zend_function *mptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in _addmethod_va() argument 3646 …ddproperty(zend_property_info *pptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in _addproperty() argument 3667 …tic int _adddynproperty(zval **pptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in _adddynproperty() argument 3676 if (hash_key->nKeyLength == 0) { in _adddynproperty() 3680 if (hash_key->arKey[0] == '\0') { in _adddynproperty() 3684 ZVAL_STRINGL(&member, hash_key->arKey, hash_key->nKeyLength-1, 0); in _adddynproperty() 4887 …addconstant(zend_constant *constant TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in _addconstant() argument 4921 …dinientry(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) in _addinientry() argument [all …]
|
/PHP-5.3/ext/pgsql/ |
H A D | pgsql.c | 2147 smart_str hash_key = {0}; local 2182 smart_str_appends(&hash_key, "pgsql_table_oid_"); 2183 smart_str_append_unsigned(&hash_key, oid); 2184 smart_str_0(&hash_key); 2186 …if (zend_hash_find(&EG(regular_list), hash_key.c, hash_key.len+1, (void **) &field_table) == SUCCE… 2187 smart_str_free(&hash_key); 2204 smart_str_free(&hash_key); 2212 smart_str_free(&hash_key); 2218 …zend_hash_update(&EG(regular_list), hash_key.c, hash_key.len+1, (void *) &new_field_table, sizeof(… 2220 smart_str_free(&hash_key);
|
/PHP-5.3/sapi/apache_hooks/ |
H A D | mod_php5.c | 797 …(HashTable *target_ht, php_per_dir_entry *orig_per_dir_entry, zend_hash_key *hash_key, void *pData) in should_overwrite_per_dir_entry() argument 801 …if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &new_per_dir_entry)… in should_overwrite_per_dir_entry()
|