Searched defs:hash_key (Results 1 - 11 of 11) 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/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(ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key));
599 for(i=0; i<ZSTR_LEN(hash_key->key); i++) {
/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), ZSTR_VAL(hash_key), ZSTR_LEN(hash_key), &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:__anon21
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1801 static int copy_class_or_interface_name(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1809 if ((hash_key->key && ZSTR_VAL(hash_key->key)[0] != 0)
1812 !same_name(hash_key->key, ce->name)) {
1813 add_next_index_str(array, zend_string_copy(hash_key->key));
1870 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1876 if (hash_key->key == NULL || ZSTR_VAL(hash_key->key)[0] == 0) {
1881 add_next_index_str(internal_ar, zend_string_copy(hash_key->key));
1883 add_next_index_str(user_ar, zend_string_copy(hash_key
[all...]
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);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c956 static int _extension_ini_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
993 static int _extension_class_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1003 if (!zend_binary_strcasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key))) {
1013 static int _extension_const_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
4154 static int _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4309 static int _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4330 static int _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) argument
4339 if (hash_key->key == NULL) {
4343 if (ZSTR_VAL(hash_key
5694 _addconstant(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5727 _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5765 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.c4559 static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key) argument
4565 if (hash_key->key) {
4566 add_assoc_str_ex(retval, ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key), zend_string_copy(Z_STR_P(entry)));
4568 add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry)));
4573 zend_hash_update(Z_ARRVAL_P(retval), hash_key->key, &tmp);
5262 static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
5274 if (hash_key->key == NULL ||
5275 ZSTR_VAL(hash_key->key)[0] != 0
/PHP_TRUNK/ext/oci8/
H A Doci8.c134 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);
1448 if (connection->hash_key) {
1449 zvp = zend_hash_find(&EG(persistent_list), connection->hash_key);
1452 zend_hash_del(&EG(persistent_list), connection->hash_key);
1965 zend_hash_del(&EG(persistent_list), connection->hash_key);
2000 if (tmp != NULL && tmp->hash_key->len == hashed_details.s->len &&
2001 memcmp(tmp->hash_key->val, hashed_details.s->val, tmp->hash_key->len) == 0) {
2081 connection->hash_key = zend_string_dup(hashed_details.s, 0);
2091 connection->hash_key
2870 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.h165 zend_string *hash_key; /* hashed details of the connection */ member in struct:__anon2

Completed in 43 milliseconds