/PHP-7.0/sapi/apache2handler/ |
H A D | apache_config.c | 120 …hould_overwrite_per_dir_entry(HashTable *target_ht, zval *zv, zend_hash_key *hash_key, void *pData) in should_overwrite_per_dir_entry() argument 125 if ((orig_per_dir_entry = zend_hash_find_ptr(target_ht, hash_key->key)) == NULL) { in should_overwrite_per_dir_entry() 131 …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.0/ext/mysqli/ |
H A D | mysqli_nonapi.c | 68 zend_string *hash_key = NULL; local 159 hash_key = strpprintf(0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_STR(socket), 163 mysql->hash_key = hash_key; 166 if ((le = zend_hash_find_ptr(&EG(persistent_list), hash_key)) != NULL) { 204 …zend_hash_str_update_mem(&EG(persistent_list), ZSTR_VAL(hash_key), ZSTR_LEN(hash_key), &le, sizeof… 299 if (mysql->hash_key) { 300 zend_string_release(mysql->hash_key); 301 mysql->hash_key = NULL;
|
H A D | php_mysqli_structs.h | 127 zend_string *hash_key; member
|
H A D | mysqli.c | 186 if (mysql->hash_key) { in php_clear_mysql() 187 zend_string_release(mysql->hash_key); in php_clear_mysql() 188 mysql->hash_key = NULL; in php_clear_mysql()
|
H A D | mysqli_api.c | 687 if ((le = zend_hash_find_ptr(&EG(persistent_list), mysql->hash_key)) != NULL) { in php_mysqli_close()
|
/PHP-7.0/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() 1836 zend_hash_del(&EG(persistent_list), connection->hash_key); in php_oci_do_connect_ex() 1879 ZSTR_LEN(tmp->hash_key)) == 0)) { in php_oci_do_connect_ex() 1972 if (connection->hash_key == NULL) { in php_oci_do_connect_ex() 2246 if (GC_REFCOUNT(connection->hash_key) >= 2) { in php_oci_connection_close() 2247 zend_hash_del(&EG(regular_list), connection->hash_key); in php_oci_connection_close() 2250 if (connection->hash_key) { in php_oci_connection_close() 2251 pefree(connection->hash_key, connection->is_persistent); in php_oci_connection_close() 2252 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.0/Zend/ |
H A D | zend_builtin_functions.c | 1802 …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 1810 if ((hash_key->key && ZSTR_VAL(hash_key->key)[0] != 0) in copy_class_or_interface_name() 1813 !same_name(hash_key->key, ce->name)) { in copy_class_or_interface_name() 1814 add_next_index_str(array, zend_string_copy(hash_key->key)); in copy_class_or_interface_name() 1871 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{… in copy_function_name() argument 1878 if (hash_key->key == NULL || ZSTR_VAL(hash_key->key)[0] == 0) { in copy_function_name() 1887 add_next_index_str(internal_ar, zend_string_copy(hash_key->key)); in copy_function_name() 1890 add_next_index_str(internal_ar, zend_string_copy(hash_key->key)); in copy_function_name() 1893 add_next_index_str(user_ar, zend_string_copy(hash_key->key)); in copy_function_name()
|
H A D | zend_hash.c | 1581 zend_hash_key hash_key; in zend_hash_apply_with_arguments() local 1593 hash_key.h = p->h; in zend_hash_apply_with_arguments() 1594 hash_key.key = p->key; in zend_hash_apply_with_arguments() 1596 result = apply_func(&p->val, num_args, args, &hash_key); in zend_hash_apply_with_arguments() 1942 zend_hash_key hash_key; in zend_hash_replace_checker_wrapper() local 1944 hash_key.h = p->h; in zend_hash_replace_checker_wrapper() 1945 hash_key.key = p->key; in zend_hash_replace_checker_wrapper() 1946 return merge_checker_func(target, source_data, &hash_key, pParam); in zend_hash_replace_checker_wrapper()
|
H A D | zend_hash.h | 52 …ge_checker_func_t)(HashTable *target_ht, zval *source_data, zend_hash_key *hash_key, void *pParam); 128 typedef int (*apply_func_args_t)(zval *pDest, int num_args, va_list args, zend_hash_key *hash_key);
|
/PHP-7.0/ext/reflection/ |
H A D | php_reflection.c | 1022 …strcasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key… in _extension_class_string() 4158 static int _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addmethod_va() argument 4314 static int _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addproperty() argument 4335 static int _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) in _adddynproperty() argument 4344 if (hash_key->key == NULL) { in _adddynproperty() 4348 if (ZSTR_VAL(hash_key->key)[0] == '\0') { in _adddynproperty() local 4352 if (zend_get_property_info(ce, hash_key->key, 1) == NULL) { in _adddynproperty() 4357 property_info.name = hash_key->key; in _adddynproperty() 5714 static int _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addinientry() argument 5762 …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.0/sapi/cli/ |
H A D | php_cli_server.c | 598 …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 600 if (hash_key->key) { in sapi_cli_server_register_entry_cb() 603 key = estrndup(ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key)); in sapi_cli_server_register_entry_cb() 604 for(i=0; i<ZSTR_LEN(hash_key->key); i++) { in sapi_cli_server_register_entry_cb()
|
/PHP-7.0/ext/standard/ |
H A D | basic_functions.c | 4567 static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key) argument 4573 if (hash_key->key) { 4574 …add_assoc_str_ex(retval, ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key), zend_string_copy(Z_STR_… 4576 add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry))); 4581 zend_hash_update(Z_ARRVAL_P(retval), hash_key->key, &tmp); 5260 static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{… argument 5272 if (hash_key->key == NULL || 5273 ZSTR_VAL(hash_key->key)[0] != 0
|
/PHP-7.0/ext/pgsql/ |
H A D | pgsql.c | 2406 smart_str hash_key = {0}; local 2442 smart_str_appends(&hash_key, "pgsql_table_oid_"); 2443 smart_str_append_unsigned(&hash_key, oid); 2444 smart_str_0(&hash_key); 2446 if ((field_table = zend_hash_find_ptr(&EG(regular_list), hash_key.s)) != NULL) { 2447 smart_str_free(&hash_key); 2463 smart_str_free(&hash_key); 2471 smart_str_free(&hash_key); 2477 …zend_hash_update_mem(&EG(regular_list), hash_key.s, (void *)&new_field_table, sizeof(zend_resource… 2479 smart_str_free(&hash_key);
|