Searched refs:hash_key (Results 1 - 21 of 21) sorted by relevance

/PHP_5_3/ext/mysqli/
H A Dmysqli_api.c588 if (zend_hash_find(&EG(persistent_list), mysql->hash_key, strlen(mysql->hash_key) + 1, (void **)&le) == SUCCESS) {
H A Dmysqli_nonapi.c69 char *hash_key = NULL; local
158 hash_len = spprintf(&hash_key, 0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_STR(socket),
162 mysql->hash_key = hash_key;
165 if (zend_hash_find(&EG(persistent_list), hash_key, hash_len + 1, (void **)&le) == SUCCESS) {
199 zend_hash_update(&EG(persistent_list), hash_key, hash_len + 1, (void *)&le, sizeof(le), NULL); local
297 if (mysql->hash_key) {
298 efree(mysql->hash_key);
299 mysql->hash_key = NULL;
H A Dphp_mysqli_structs.h121 char *hash_key; member in struct:__anon103
H A Dmysqli.c188 if (mysql->hash_key) {
189 efree(mysql->hash_key);
190 mysql->hash_key = NULL;
/PHP_5_3/ext/oci8/
H A Doci8.c150 static php_oci_spool *php_oci_create_spool(char *username, int username_len, char *password, int password_len, char *dbname, int dbname_len, char *hash_key, int hash_key_len, int charsetid TSRMLS_DC);
1444 if ((zend_hash_find(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1, (void **) &le)== SUCCESS) && (le->type == le_pconnection) && (le->ptr == connection)) {
1445 zend_hash_del(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1);
1932 zend_hash_del(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1);
1968 if (tmp != NULL && rsrc_type == le_pconnection && strlen(tmp->hash_key) == hashed_details.len &&
1969 memcmp(tmp->hash_key, hashed_details.c, hashed_details.len) == 0 && zend_list_addref(connection->rsrc_id) == SUCCESS) {
2053 connection->hash_key
2707 php_oci_create_spool(char *username, int username_len, char *password, int password_len, char *dbname, int dbname_len, char *hash_key, int hash_key_len, int charsetid TSRMLS_DC) argument
[all...]
H A Dphp_oci8_int.h145 char *hash_key; /* hashed details of the connection */ member in struct:__anon109
/PHP_5_3/ext/reflection/
H A Dphp_reflection.c941 static int _extension_ini_string(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
976 static int _extension_class_string(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
991 static int _extension_const_string(zend_constant *constant TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3493 static int _addmethod_va(zend_function *mptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3646 static int _addproperty(zend_property_info *pptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3667 static int _adddynproperty(zval **pptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3676 if (hash_key->nKeyLength == 0) {
3680 if (hash_key->arKey[0] == '\0') {
3684 ZVAL_STRINGL(&member, hash_key->arKey, hash_key
4887 _addconstant(zend_constant *constant TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
4921 _addinientry(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
4955 add_extension_class(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_5_3/ext/standard/
H A Dvar.c38 static int php_array_element_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
44 if (hash_key->nKeyLength == 0) { /* numeric key */
45 php_printf("%*c[%ld]=>\n", level + 1, ' ', hash_key->h);
48 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1);
56 static int php_object_property_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
63 if (hash_key->nKeyLength == 0) { /* numeric key */
64 php_printf("%*c[%ld]=>\n", level + 1, ' ', hash_key->h);
66 int unmangle = zend_unmangle_property_name(hash_key->arKey, hash_key
187 zval_array_element_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
211 zval_object_property_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
348 php_array_element_export(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
384 php_object_element_export(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
H A Dbasic_functions.c4582 static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
4588 if (hash_key->nKeyLength > 0) {
4589 add_assoc_stringl_ex(retval, hash_key->arKey, hash_key->nKeyLength, Z_STRVAL_P(entry), Z_STRLEN_P(entry), 1);
4591 add_index_stringl(retval, hash_key->h, Z_STRVAL_P(entry), Z_STRLEN_P(entry), 1);
4597 add_assoc_zval_ex(retval, hash_key->arKey, hash_key->nKeyLength, tmp);
5335 static int php_ini_get_option(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
5346 if (hash_key->nKeyLength == 0 ||
5347 hash_key
6095 copy_request_variable(void *pDest TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_5_3/sapi/apache/
H A Dmod_php5.c742 static zend_bool should_overwrite_per_dir_entry(HashTable *target_ht, php_per_dir_entry *new_per_dir_entry, zend_hash_key *hash_key, void *pData) argument
746 if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry)==FAILURE) {
/PHP_5_3/sapi/apache2handler/
H A Dapache_config.c120 static zend_bool should_overwrite_per_dir_entry(HashTable *target_ht, php_dir_entry *new_per_dir_entry, zend_hash_key *hash_key, void *pData) argument
124 if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry)==FAILURE) {
130 phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", hash_key->arKey, new_per_dir_entry->status, orig_per_dir_entry->status));
/PHP_5_3/sapi/apache_hooks/
H A Dmod_php5.c797 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
801 if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &new_per_dir_entry)==FAILURE) {
/PHP_5_3/Zend/
H A Dzend_API.c969 static int zend_merge_property(zval **value TSRMLS_DC, int num_args, va_list args, const zend_hash_key *hash_key) /* {{{ */ argument
972 if (hash_key->nKeyLength) {
978 ZVAL_STRINGL(member, hash_key->arKey, hash_key->nKeyLength-1, 1);
H A Dzend_hash.c717 zend_hash_key hash_key; local
727 hash_key.arKey = p->arKey;
728 hash_key.nKeyLength = p->nKeyLength;
729 hash_key.h = p->h;
730 result = apply_func(p->pData TSRMLS_CC, num_args, args, &hash_key);
831 zend_hash_key hash_key; local
833 hash_key.arKey = p->arKey;
834 hash_key.nKeyLength = p->nKeyLength;
835 hash_key.h = p->h;
836 return merge_checker_func(target, source_data, &hash_key, pPara
[all...]
H A Dzend_hash.h92 typedef zend_bool (*merge_checker_func_t)(HashTable *target_ht, void *source_data, zend_hash_key *hash_key, void *pParam);
134 typedef int (*apply_func_args_t)(void *pDest TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key);
H A Dzend_builtin_functions.c1552 static int copy_class_or_interface_name(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
1560 if ((hash_key->nKeyLength==0 || hash_key->arKey[0]!=0)
1563 (ce->name_length != hash_key->nKeyLength - 1 ||
1564 !same_name(hash_key->arKey, ce->name, ce->name_length))) {
1565 add_next_index_stringl(array, hash_key->arKey, hash_key->nKeyLength - 1, 1);
1607 static int copy_function_name(zend_function *func TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
1612 if (hash_key->nKeyLength == 0 || hash_key
[all...]
H A Dzend_exceptions.c352 static int _build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
448 static int _build_trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
457 zend_error(E_WARNING, "Expected array for frame %lu", hash_key->h);
H A Dzend_compile.c2617 static zend_bool do_inherit_method_check(HashTable *child_function_table, zend_function *parent, const zend_hash_key *hash_key, zend_class_entry *child_ce) /* {{{ */ argument
2624 if (zend_hash_quick_find(child_function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child)==FAILURE) {
2698 static zend_bool do_inherit_property_access_check(HashTable *target_ht, zend_property_info *parent_info, const zend_hash_key *hash_key, zend_class_entry *ce) /* {{{ */ argument
2704 if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child_info)==SUCCESS) {
2707 zend_hash_quick_update(&ce->properties_info, hash_key->arKey, hash_key
2888 do_inherit_constant_check(HashTable *child_constants_table, const zval **parent_constant, const zend_hash_key *hash_key, const zend_class_entry *iface) argument
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_debug.c1466 static int mysqlnd_build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
1600 static int mysqlnd_build_trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1681 static int mysqlnd_build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1777 static int mysqlnd_build_trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
H A Dmysqlnd_result.c680 struct mysqlnd_field_hash_key * hash_key = result->meta->zend_hash_keys; local
696 for (i = 0; i < field_count; i++, field++, hash_key++) {
795 struct mysqlnd_field_hash_key * hash_key = result->meta->zend_hash_keys; local
810 for (i = 0; i < field_count; i++, field++, hash_key++) {
831 if (hash_key->is_numeric == FALSE) {
834 hash_key->ustr,
835 hash_key->ulen + 1,
836 hash_key->key,
842 hash_key->key,
847 hash_key
963 struct mysqlnd_field_hash_key * hash_key = result->meta->zend_hash_keys; local
1039 struct mysqlnd_field_hash_key * hash_key = result->meta->zend_hash_keys; local
[all...]
/PHP_5_3/ext/pgsql/
H A Dpgsql.c2147 smart_str hash_key = {0}; local
2182 smart_str_appends(&hash_key, "pgsql_table_oid_");
2183 smart_str_append_unsigned(&hash_key, oid);
2184 smart_str_0(&hash_key);
2186 if (zend_hash_find(&EG(regular_list), hash_key.c, hash_key.len+1, (void **) &field_table) == SUCCESS) {
2187 smart_str_free(&hash_key);
2204 smart_str_free(&hash_key);
2212 smart_str_free(&hash_key);
2218 zend_hash_update(&EG(regular_list), hash_key
[all...]

Completed in 75 milliseconds