Home
last modified time | relevance | path

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

/PHP-7.1/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.1/ext/mysqli/
H A Dmysqli_nonapi.c68 zend_string *hash_key = NULL; local
159hash_key = strpprintf(0, "mysqli_%s_%s" ZEND_LONG_FMT "%s%s%s", SAFE_STR(hostname), SAFE_STR(socke…
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 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.1/ext/oci8/
H A Doci8.c1316 if (connection->hash_key) { in php_oci_pconnection_list_np_dtor()
1320 zend_hash_del(&EG(persistent_list), connection->hash_key); in php_oci_pconnection_list_np_dtor()
1840 zend_hash_del(&EG(persistent_list), connection->hash_key); in php_oci_do_connect_ex()
1883 ZSTR_LEN(tmp->hash_key)) == 0)) { in php_oci_do_connect_ex()
1988 if (connection->hash_key == NULL) { in php_oci_do_connect_ex()
2272 if (GC_REFCOUNT(connection->hash_key) >= 2) { in php_oci_connection_close()
2273 zend_hash_del(&EG(regular_list), connection->hash_key); in php_oci_connection_close()
2276 if (connection->hash_key) { in php_oci_connection_close()
2277 pefree(connection->hash_key, connection->is_persistent); in php_oci_connection_close()
2278 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.1/Zend/
H A Dzend_builtin_functions.c1882 …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
1890 if ((hash_key->key && ZSTR_VAL(hash_key->key)[0] != 0) in copy_class_or_interface_name()
1893 !same_name(hash_key->key, ce->name)) { in copy_class_or_interface_name()
1894 add_next_index_str(array, zend_string_copy(hash_key->key)); in copy_class_or_interface_name()
1951 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{… in copy_function_name() argument
1958 if (hash_key->key == NULL || ZSTR_VAL(hash_key->key)[0] == 0) { in copy_function_name()
1967 add_next_index_str(internal_ar, zend_string_copy(hash_key->key)); in copy_function_name()
1970 add_next_index_str(internal_ar, zend_string_copy(hash_key->key)); in copy_function_name()
1973 add_next_index_str(user_ar, zend_string_copy(hash_key->key)); in copy_function_name()
H A Dzend_hash.c1552 zend_hash_key hash_key; in zend_hash_apply_with_arguments() local
1563 hash_key.h = p->h; in zend_hash_apply_with_arguments()
1564 hash_key.key = p->key; in zend_hash_apply_with_arguments()
1566 result = apply_func(&p->val, num_args, args, &hash_key); in zend_hash_apply_with_arguments()
1913 zend_hash_key hash_key; in zend_hash_replace_checker_wrapper() local
1915 hash_key.h = p->h; in zend_hash_replace_checker_wrapper()
1916 hash_key.key = p->key; in zend_hash_replace_checker_wrapper()
1917 return merge_checker_func(target, source_data, &hash_key, pParam); in zend_hash_replace_checker_wrapper()
H A Dzend_hash.h59 …ge_checker_func_t)(HashTable *target_ht, zval *source_data, zend_hash_key *hash_key, void *pParam);
135 typedef int (*apply_func_args_t)(zval *pDest, int num_args, va_list args, zend_hash_key *hash_key);
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c1045 …strcasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key… in _extension_class_string()
4340 static int _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addmethod_va() argument
4496 static int _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addproperty() argument
4517 static int _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) in _adddynproperty() argument
4526 if (hash_key->key == NULL) { in _adddynproperty()
4530 if (ZSTR_VAL(hash_key->key)[0] == '\0') { in _adddynproperty() local
4534 if (zend_get_property_info(ce, hash_key->key, 1) == NULL) { in _adddynproperty()
4539 property_info.name = hash_key->key; in _adddynproperty()
5955 static int _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) in _addinientry() argument
6003 …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.1/sapi/cli/
H A Dphp_cli_server.c608 …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
610 if (hash_key->key) { in sapi_cli_server_register_entry_cb()
613 key = estrndup(ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key)); in sapi_cli_server_register_entry_cb()
614 for(i=0; i<ZSTR_LEN(hash_key->key); i++) { in sapi_cli_server_register_entry_cb()
/PHP-7.1/ext/standard/
H A Dbasic_functions.c4650 static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key) argument
4656 if (hash_key->key) {
4657 …add_assoc_str_ex(retval, ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key), zend_string_copy(Z_STR_…
4659 add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry)));
4664 zend_hash_update(Z_ARRVAL_P(retval), hash_key->key, &tmp);
5358 static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{… argument
5370 if (hash_key->key == NULL ||
5371 ZSTR_VAL(hash_key->key)[0] != 0
/PHP-7.1/ext/pgsql/
H A Dpgsql.c2436 smart_str hash_key = {0}; local
2472 smart_str_appends(&hash_key, "pgsql_table_oid_");
2473 smart_str_append_unsigned(&hash_key, oid);
2474 smart_str_0(&hash_key);
2476 if ((field_table = zend_hash_find_ptr(&EG(regular_list), hash_key.s)) != NULL) {
2477 smart_str_free(&hash_key);
2493 smart_str_free(&hash_key);
2501 smart_str_free(&hash_key);
2507 …zend_hash_update_mem(&EG(regular_list), hash_key.s, (void *)&new_field_table, sizeof(zend_resource…
2509 smart_str_free(&hash_key);

Completed in 112 milliseconds