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

/PHP_TRUNK/ext/oci8/
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);
1456 zvp = zend_hash_find(&EG(persistent_list), connection->hash_key);
1459 zend_hash_del(&EG(persistent_list), connection->hash_key);
1973 zend_hash_del(&EG(persistent_list), connection->hash_key);
2009 if (tmp != NULL && rsrc_type == le_pconnection && tmp->hash_key->len == hashed_details.s->len &&
2010 memcmp(tmp->hash_key->val, hashed_details.s->val, tmp->hash_key->len) == 0 && ++GC_REFCOUNT(connection->id) == SUCCESS) {
2090 connection->hash_key = zend_string_dup(hashed_details.s, 0);
2100 connection->hash_key = zend_string_dup(hashed_details.s, 1);
2101 if (connection->hash_key
2831 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) argument
[all...]
H A Dphp_oci8_int.h158 zend_string *hash_key; /* hashed details of the connection */ member in struct:__anon8
/PHP_TRUNK/ext/mysqli/
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...]
H A Dphp_mysqli_structs.h127 zend_string *hash_key; member in struct:__anon4
/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/Zend/
H A Dzend_hash.c1481 zend_hash_key hash_key; local
1493 hash_key.h = p->h;
1494 hash_key.key = p->key;
1496 result = apply_func(&p->val, num_args, args, &hash_key);
1819 zend_hash_key hash_key; local
1821 hash_key.h = p->h;
1822 hash_key.key = p->key;
1823 return merge_checker_func(target, source_data, &hash_key, pParam);
H A Dzend_builtin_functions.c1793 static int copy_class_or_interface_name(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1801 if ((hash_key->key && hash_key->key->val[0] != 0)
1804 !same_name(hash_key->key, ce->name)) {
1805 add_next_index_str(array, zend_string_copy(hash_key->key));
1862 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1868 if (hash_key->key == NULL || hash_key->key->val[0] == 0) {
1873 add_next_index_str(internal_ar, zend_string_copy(hash_key->key));
1875 add_next_index_str(user_ar, zend_string_copy(hash_key
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c939 static int _extension_ini_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
976 static int _extension_class_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
986 if (!zend_binary_strcasecmp(ce->name->val, ce->name->len, hash_key->key->val, hash_key->key->len)) {
996 static int _extension_const_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
3971 static int _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4126 static int _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4147 static int _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) argument
4156 if (hash_key->key == NULL) {
4160 if (hash_key
5510 _addconstant(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5543 _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5581 add_extension_class(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c2404 smart_str hash_key = {0}; local
2440 smart_str_appends(&hash_key, "pgsql_table_oid_");
2441 smart_str_append_unsigned(&hash_key, oid);
2442 smart_str_0(&hash_key);
2444 if ((field_table = zend_hash_find_ptr(&EG(regular_list), hash_key.s)) != NULL) {
2445 smart_str_free(&hash_key);
2461 smart_str_free(&hash_key);
2469 smart_str_free(&hash_key);
2475 zend_hash_update_mem(&EG(regular_list), hash_key.s, (void *)&new_field_table, sizeof(zend_resource));
2477 smart_str_free(&hash_key);
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4555 static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key) argument
4561 if (hash_key->key) {
4562 add_assoc_str_ex(retval, hash_key->key->val, hash_key->key->len, zend_string_copy(Z_STR_P(entry)));
4564 add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry)));
4569 zend_hash_update(Z_ARRVAL_P(retval), hash_key->key, &tmp);
5258 static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
5270 if (hash_key->key == NULL ||
5271 hash_key->key->val[0] != 0
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c593 static int sapi_cli_server_register_entry_cb(char **entry, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ { argument
595 if (hash_key->key) {
598 key = estrndup(hash_key->key->val, hash_key->key->len);
599 for(i=0; i<hash_key->key->len; i++) {

Completed in 46 milliseconds