Searched defs:hash_key (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c120 static zend_bool should_overwrite_per_dir_entry(HashTable *target_ht, zval *zv, zend_hash_key *hash_key, void *pData) argument
125 if ((orig_per_dir_entry = zend_hash_find_ptr(target_ht, hash_key->key)) == NULL) {
131 phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", hash_key->arKey, new_per_dir_entry->status, orig_per_dir_entry->status));
/PHP_TRUNK/ext/mysqli/
H A Dphp_mysqli_structs.h127 zend_string *hash_key; member in struct:__anon128
H A Dmysqli_nonapi.c68 zend_string *hash_key = NULL; local
157 hash_key = strpprintf(0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_STR(socket),
161 mysql->hash_key = hash_key;
164 if ((le = zend_hash_find_ptr(&EG(persistent_list), hash_key)) != NULL) {
198 zend_hash_str_update_mem(&EG(persistent_list), hash_key->val, hash_key->len, &le, sizeof(le));
293 if (mysql->hash_key) {
294 zend_string_release(mysql->hash_key);
295 mysql->hash_key
[all...]
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h158 zend_string *hash_key; /* hashed details of the connection */ member in struct:__anon138
H A Doci8.c141 static php_oci_spool *php_oci_create_spool(char *username, int username_len, char *password, int password_len, char *dbname, int dbname_len, zend_string *hash_key, int charsetid TSRMLS_DC);
1456 zvp = zend_hash_find(&EG(persistent_list), connection->hash_key);
1459 zend_hash_del(&EG(persistent_list), connection->hash_key);
1975 zend_hash_del(&EG(persistent_list), connection->hash_key);
2011 if (tmp != NULL && rsrc_type == le_pconnection && tmp->hash_key->len == hashed_details.s->len &&
2012 memcmp(tmp->hash_key->val, hashed_details.s->val, tmp->hash_key->len) == 0 && ++GC_REFCOUNT(connection->id) == SUCCESS) {
2092 connection->hash_key = zend_string_dup(hashed_details.s, 0);
2102 connection->hash_key = zend_string_dup(hashed_details.s, 1);
2103 if (connection->hash_key
2833 php_oci_create_spool(char *username, int username_len, char *password, int password_len, char *dbname, int dbname_len, zend_string *hash_key, int charsetid TSRMLS_DC) argument
[all...]
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c747 static zend_bool should_overwrite_per_dir_entry(HashTable *target_ht, zval *zv, zend_hash_key *hash_key, void *pData) argument
752 if ((orig_per_dir_entry = zend_hash_find_ptr(target_ht, hash_key->key)) == NULL) {
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c792 static zend_bool should_overwrite_per_dir_entry(HashTable *target_ht, php_per_dir_entry *orig_per_dir_entry, zend_hash_key *hash_key, void *pData) argument
796 if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &new_per_dir_entry)==FAILURE) {
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c2402 smart_str hash_key = {0}; local
2436 smart_str_appends(&hash_key, "pgsql_table_oid_");
2437 smart_str_append_unsigned(&hash_key, oid);
2438 smart_str_0(&hash_key);
2440 if ((field_table = zend_hash_find_ptr(&EG(regular_list), hash_key.s)) != NULL) {
2441 smart_str_free(&hash_key);
2457 smart_str_free(&hash_key);
2465 smart_str_free(&hash_key);
2471 zend_hash_update_mem(&EG(regular_list), hash_key.s, (void *)&new_field_table, sizeof(zend_resource));
2473 smart_str_free(&hash_key);
[all...]
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1660 static int copy_class_or_interface_name(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1668 if ((hash_key->key && hash_key->key->val[0] != 0)
1671 (ce->name->len != hash_key->key->len ||
1672 !same_name(hash_key->key->val, ce->name->val, ce->name->len))) {
1673 add_next_index_str(array, zend_string_copy(hash_key->key));
1730 static int copy_function_name(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1736 if (hash_key->key == NULL || hash_key->key->val[0] == 0) {
1741 add_next_index_str(internal_ar, zend_string_copy(hash_key
[all...]
H A Dzend_hash.c1096 zend_hash_key hash_key; local
1107 hash_key.h = p->h;
1108 hash_key.key = p->key;
1110 result = apply_func(&p->val TSRMLS_CC, num_args, args, &hash_key);
1359 zend_hash_key hash_key; local
1361 hash_key.h = p->h;
1362 hash_key.key = p->key;
1363 return merge_checker_func(target, source_data, &hash_key, pParam);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c644 static int sapi_cli_server_register_entry_cb(char **entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ { argument
646 if (hash_key->key) {
649 key = estrndup(hash_key->key->val, hash_key->key->len);
650 for(i=0; i<hash_key->key->len; i++) {
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c952 static int _extension_ini_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
989 static int _extension_class_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
999 if (!zend_binary_strcasecmp(ce->name->val, ce->name->len, hash_key->key->val, hash_key->key->len)) {
1009 static int _extension_const_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
3732 static int _addmethod_va(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3887 static int _addproperty(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3908 static int _adddynproperty(zval *ptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3917 if (hash_key->key == NULL) {
3921 if (hash_key
5252 _addconstant(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5285 _addinientry(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5323 add_extension_class(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4525 static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
4531 if (hash_key->key) {
4532 add_assoc_str_ex(retval, hash_key->key->val, (uint)hash_key->key->len, zend_string_copy(Z_STR_P(entry)));
4534 add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry)));
4539 zend_hash_update(Z_ARRVAL_P(retval), hash_key->key, &tmp);
5225 static int php_ini_get_option(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
5237 if (hash_key->key == NULL ||
5238 hash_key->key->val[0] != 0
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c126 static int move_user_function(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
133 zend_hash_update_ptr(function_table, hash_key->key, function);

Completed in 49 milliseconds