Home
last modified time | relevance | path

Searched refs:hash_key (Results 1 – 14 of 14) sorted by relevance

/PHP-7.2/sapi/apache2handler/
H A Dapache_config.c120 …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.2/ext/mysqli/
H A Dmysqli_nonapi.c70 zend_string *hash_key = NULL; local
161hash_key = strpprintf(0, "mysqli_%s_%s" ZEND_LONG_FMT "%s%s%s", SAFE_STR(hostname), SAFE_STR(socke…
165 mysql->hash_key = hash_key;
168 if ((le = zend_hash_find_ptr(&EG(persistent_list), hash_key)) != NULL) {
233 …zend_hash_str_update_mem(&EG(persistent_list), ZSTR_VAL(hash_key), ZSTR_LEN(hash_key), &le, sizeof…
348 if (mysql->hash_key) {
349 zend_string_release(mysql->hash_key);
350 mysql->hash_key = NULL;
H A Dphp_mysqli_structs.h127 zend_string *hash_key; member
H A Dmysqli.c187 if (mysql->hash_key) { in php_clear_mysql()
188 zend_string_release(mysql->hash_key); in php_clear_mysql()
189 mysql->hash_key = NULL; in php_clear_mysql()
H A Dmysqli_api.c687 if ((le = zend_hash_find_ptr(&EG(persistent_list), mysql->hash_key)) != NULL) { in php_mysqli_close()
/PHP-7.2/ext/oci8/
H A Doci8.c1317 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 Dphp_oci8_int.h163 zend_string *hash_key; /* hashed details of the connection */ member
/PHP-7.2/Zend/
H A Dzend_builtin_functions.c1717 …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
1725 if ((hash_key->key && ZSTR_VAL(hash_key->key)[0] != 0) in copy_class_or_interface_name()
1728 !same_name(hash_key->key, ce->name)) { in copy_class_or_interface_name()
1729 add_next_index_str(array, zend_string_copy(hash_key->key)); in copy_class_or_interface_name()
1786 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{… in copy_function_name() argument
1793 if (hash_key->key == NULL || ZSTR_VAL(hash_key->key)[0] == 0) { in copy_function_name()
1802 add_next_index_str(internal_ar, zend_string_copy(hash_key->key)); in copy_function_name()
1805 add_next_index_str(internal_ar, zend_string_copy(hash_key->key)); in copy_function_name()
1808 add_next_index_str(user_ar, zend_string_copy(hash_key->key)); in copy_function_name()
H A Dzend_hash.c1553 zend_hash_key hash_key; in zend_hash_apply_with_arguments() local
1564 hash_key.h = p->h; in zend_hash_apply_with_arguments()
1565 hash_key.key = p->key; in zend_hash_apply_with_arguments()
1567 result = apply_func(&p->val, num_args, args, &hash_key); in zend_hash_apply_with_arguments()
1914 zend_hash_key hash_key; in zend_hash_replace_checker_wrapper() local
1916 hash_key.h = p->h; in zend_hash_replace_checker_wrapper()
1917 hash_key.key = p->key; in zend_hash_replace_checker_wrapper()
1918 return merge_checker_func(target, source_data, &hash_key, pParam); in zend_hash_replace_checker_wrapper()
H A Dzend_hash.h66 …ge_checker_func_t)(HashTable *target_ht, zval *source_data, zend_hash_key *hash_key, void *pParam);
142 typedef int (*apply_func_args_t)(zval *pDest, int num_args, va_list args, zend_hash_key *hash_key);
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c947 …strcasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key… in _extension_class_string()
4217 static int _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addmethod_va() argument
4383 static int _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addproperty() argument
4404 static int _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) in _adddynproperty() argument
4413 if (hash_key->key == NULL) { in _adddynproperty()
4417 if (ZSTR_VAL(hash_key->key)[0] == '\0') { in _adddynproperty() local
4421 if (zend_get_property_info(ce, hash_key->key, 1) == NULL) { in _adddynproperty()
4426 property_info.name = hash_key->key; in _adddynproperty()
5855 static int _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addinientry() argument
5903 …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.2/sapi/cli/
H A Dphp_cli_server.c607 …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
609 if (hash_key->key) { in sapi_cli_server_register_entry_cb()
612 key = estrndup(ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key)); in sapi_cli_server_register_entry_cb()
613 for(i=0; i<ZSTR_LEN(hash_key->key); i++) { in sapi_cli_server_register_entry_cb()
/PHP-7.2/ext/standard/
H A Dbasic_functions.c4656 static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key) argument
4662 if (hash_key->key) {
4663 …add_assoc_str_ex(retval, ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key), zend_string_copy(Z_STR_…
4665 add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry)));
4670 zend_hash_update(Z_ARRVAL_P(retval), hash_key->key, &tmp);
5369 static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{… argument
5381 if (hash_key->key == NULL ||
5382 ZSTR_VAL(hash_key->key)[0] != 0
/PHP-7.2/ext/pgsql/
H A Dpgsql.c2442 smart_str hash_key = {0}; local
2478 smart_str_appends(&hash_key, "pgsql_table_oid_");
2479 smart_str_append_unsigned(&hash_key, oid);
2480 smart_str_0(&hash_key);
2482 if ((field_table = zend_hash_find_ptr(&EG(regular_list), hash_key.s)) != NULL) {
2483 smart_str_free(&hash_key);
2499 smart_str_free(&hash_key);
2507 smart_str_free(&hash_key);
2513 …zend_hash_update_mem(&EG(regular_list), hash_key.s, (void *)&new_field_table, sizeof(zend_resource…
2515 smart_str_free(&hash_key);

Completed in 96 milliseconds