/PHP-7.3/sapi/apache2handler/ |
H A D | apache_config.c | 118 …hould_overwrite_per_dir_entry(HashTable *target_ht, zval *zv, zend_hash_key *hash_key, void *pData) in should_overwrite_per_dir_entry() argument 123 if ((orig_per_dir_entry = zend_hash_find_ptr(target_ht, hash_key->key)) == NULL) { in should_overwrite_per_dir_entry() 129 …phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", ZSTR_VAL(hash_key->key), new_per_dir_en… in should_overwrite_per_dir_entry()
|
/PHP-7.3/ext/mysqli/ |
H A D | mysqli_nonapi.c | 63 zend_string *hash_key = NULL; local 154 …hash_key = strpprintf(0, "mysqli_%s_%s" ZEND_LONG_FMT "%s%s%s", SAFE_STR(hostname), SAFE_STR(socke… 158 mysql->hash_key = hash_key; 161 if ((le = zend_hash_find_ptr(&EG(persistent_list), hash_key)) != NULL) { 224 …zend_register_persistent_resource(ZSTR_VAL(hash_key), ZSTR_LEN(hash_key), plist, php_le_pmysqli()); 340 if (mysql->hash_key) { 341 zend_string_release_ex(mysql->hash_key, 0); 342 mysql->hash_key = NULL;
|
H A D | php_mysqli_structs.h | 115 zend_string *hash_key; member
|
H A D | mysqli.c | 185 if (mysql->hash_key) { in php_clear_mysql() 186 zend_string_release_ex(mysql->hash_key, 0); in php_clear_mysql() 187 mysql->hash_key = NULL; in php_clear_mysql()
|
H A D | mysqli_api.c | 685 if ((le = zend_hash_find_ptr(&EG(persistent_list), mysql->hash_key)) != NULL) { in php_mysqli_close()
|
/PHP-7.3/ext/oci8/ |
H A D | oci8.c | 1317 if (connection->hash_key) { in php_oci_pconnection_list_np_dtor() 1321 zend_hash_del(&EG(persistent_list), connection->hash_key); in php_oci_pconnection_list_np_dtor() 1842 zend_hash_del(&EG(persistent_list), connection->hash_key); in php_oci_do_connect_ex() 1885 ZSTR_LEN(tmp->hash_key)) == 0)) { in php_oci_do_connect_ex() 1978 if (connection->hash_key == NULL) { in php_oci_do_connect_ex() 2258 if (GC_REFCOUNT(connection->hash_key) >= 2) { in php_oci_connection_close() 2259 zend_hash_del(&EG(regular_list), connection->hash_key); in php_oci_connection_close() 2262 if (connection->hash_key) { in php_oci_connection_close() 2263 pefree(connection->hash_key, connection->is_persistent); in php_oci_connection_close() 2264 connection->hash_key = NULL; in php_oci_connection_close() [all …]
|
H A D | php_oci8_int.h | 163 zend_string *hash_key; /* hashed details of the connection */ member
|
/PHP-7.3/Zend/ |
H A D | zend_builtin_functions.c | 1768 …py_class_or_interface_name(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ in copy_class_or_interface_name() argument 1776 if ((hash_key->key && ZSTR_VAL(hash_key->key)[0] != 0) in copy_class_or_interface_name() 1779 !same_name(hash_key->key, ce->name)) { in copy_class_or_interface_name() 1780 add_next_index_str(array, zend_string_copy(hash_key->key)); in copy_class_or_interface_name() 1837 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{… in copy_function_name() argument 1844 if (hash_key->key == NULL || ZSTR_VAL(hash_key->key)[0] == 0) { in copy_function_name() 1850 add_next_index_str(internal_ar, zend_string_copy(hash_key->key)); in copy_function_name() 1852 add_next_index_str(user_ar, zend_string_copy(hash_key->key)); in copy_function_name()
|
H A D | zend_hash.c | 1731 zend_hash_key hash_key; in zend_hash_apply_with_arguments() local 1740 hash_key.h = p->h; in zend_hash_apply_with_arguments() 1741 hash_key.key = p->key; in zend_hash_apply_with_arguments() 1743 result = apply_func(&p->val, num_args, args, &hash_key); in zend_hash_apply_with_arguments() 2058 zend_hash_key hash_key; in zend_hash_replace_checker_wrapper() local 2060 hash_key.h = p->h; in zend_hash_replace_checker_wrapper() 2061 hash_key.key = p->key; in zend_hash_replace_checker_wrapper() 2062 return merge_checker_func(target, source_data, &hash_key, pParam); in zend_hash_replace_checker_wrapper()
|
H A D | zend_hash.h | 88 …ge_checker_func_t)(HashTable *target_ht, zval *source_data, zend_hash_key *hash_key, void *pParam); 140 typedef int (*apply_func_args_t)(zval *pDest, int num_args, va_list args, zend_hash_key *hash_key);
|
/PHP-7.3/ext/reflection/ |
H A D | php_reflection.c | 911 …strcasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key… in _extension_class_string() 4164 static int _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addmethod_va() argument 4323 static int _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addproperty() argument 4356 if (hash_key->key == NULL) { in _adddynproperty() 4360 if (ZSTR_VAL(hash_key->key)[0] == '\0') { in _adddynproperty() local 4364 if (zend_get_property_info(ce, hash_key->key, 1) == NULL) { in _adddynproperty() 4369 property_info.name = hash_key->key; in _adddynproperty() 4372 reflection_property_factory(ce, hash_key->key, &property_info, &property); in _adddynproperty() 5755 static int _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addinientry() argument 5803 …strcasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key… in add_extension_class() [all …]
|
/PHP-7.3/sapi/cli/ |
H A D | php_cli_server.c | 611 …er_register_entry_cb(char **entry, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ { in sapi_cli_server_register_entry_cb() argument 613 if (hash_key->key) { in sapi_cli_server_register_entry_cb() 616 key = estrndup(ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key)); in sapi_cli_server_register_entry_cb() 617 for(i=0; i<ZSTR_LEN(hash_key->key); i++) { in sapi_cli_server_register_entry_cb()
|
/PHP-7.3/ext/standard/ |
H A D | basic_functions.c | 4693 static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key) argument 4699 if (hash_key->key) { 4700 …add_assoc_str_ex(retval, ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key), zend_string_copy(Z_STR_… 4702 add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry))); 4707 zend_hash_update(Z_ARRVAL_P(retval), hash_key->key, &tmp); 5410 static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{… argument 5422 if (hash_key->key == NULL || 5423 ZSTR_VAL(hash_key->key)[0] != 0
|
/PHP-7.3/ext/pgsql/ |
H A D | pgsql.c | 2441 smart_str hash_key = {0}; local 2477 smart_str_appends(&hash_key, "pgsql_table_oid_"); 2478 smart_str_append_unsigned(&hash_key, oid); 2479 smart_str_0(&hash_key); 2481 if ((field_table = zend_hash_find_ptr(&EG(regular_list), hash_key.s)) != NULL) { 2482 smart_str_free(&hash_key); 2498 smart_str_free(&hash_key); 2506 smart_str_free(&hash_key); 2512 …zend_hash_update_mem(&EG(regular_list), hash_key.s, (void *)&new_field_table, sizeof(zend_resource… 2514 smart_str_free(&hash_key);
|