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

/PHP_5_4/ext/reflection/
H A Dphp_reflection.c966 static int _extension_ini_string(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1002 static int _extension_class_string(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1018 static int _extension_const_string(zend_constant *constant TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
3744 static int _addmethod_va(zend_function *mptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3897 static int _addproperty(zend_property_info *pptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3918 static int _adddynproperty(zval **pptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3927 if (hash_key->nKeyLength == 0) {
3931 if (hash_key->arKey[0] == '\0') {
3935 ZVAL_STRINGL(&member, hash_key->arKey, hash_key
5265 _addconstant(zend_constant *constant TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5300 _addinientry(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5334 add_extension_class(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_5_4/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
189 zval_array_element_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
213 zval_object_property_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
344 php_array_element_export(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
381 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.c4521 static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
4527 if (hash_key->nKeyLength > 0) {
4528 add_assoc_stringl_ex(retval, hash_key->arKey, hash_key->nKeyLength, Z_STRVAL_P(entry), Z_STRLEN_P(entry), 1);
4530 add_index_stringl(retval, hash_key->h, Z_STRVAL_P(entry), Z_STRLEN_P(entry), 1);
4536 add_assoc_zval_ex(retval, hash_key->arKey, hash_key->nKeyLength, tmp);
5288 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
5299 if (hash_key->nKeyLength == 0 ||
5300 hash_key
[all...]
/PHP_5_4/sapi/apache/
H A Dmod_php5.c738 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
742 if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry)==FAILURE) {
/PHP_5_4/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_4/sapi/apache_hooks/
H A Dmod_php5.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_5_4/Zend/
H A Dzend_API.c990 static int zend_merge_property(zval **value TSRMLS_DC, int num_args, va_list args, const zend_hash_key *hash_key) /* {{{ */ argument
993 if (hash_key->nKeyLength) {
999 ZVAL_STRINGL(member, hash_key->arKey, hash_key->nKeyLength-1, 1);
H A Dzend_hash.c759 zend_hash_key hash_key; local
769 hash_key.arKey = p->arKey;
770 hash_key.nKeyLength = p->nKeyLength;
771 hash_key.h = p->h;
772 result = apply_func(p->pData TSRMLS_CC, num_args, args, &hash_key);
873 zend_hash_key hash_key; local
875 hash_key.arKey = p->arKey;
876 hash_key.nKeyLength = p->nKeyLength;
877 hash_key.h = p->h;
878 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_exceptions.c370 static int _build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
516 static int _build_trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
525 zend_error(E_WARNING, "Expected array for frame %lu", hash_key->h);
H A Dzend_builtin_functions.c1655 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
1663 if ((hash_key->nKeyLength==0 || hash_key->arKey[0]!=0)
1666 (ce->name_length != hash_key->nKeyLength - 1 ||
1667 !same_name(hash_key->arKey, ce->name, ce->name_length))) {
1668 add_next_index_stringl(array, hash_key->arKey, hash_key->nKeyLength - 1, 1);
1726 static int copy_function_name(zend_function *func TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
1731 if (hash_key->nKeyLength == 0 || hash_key
[all...]
H A Dzend_compile.c3286 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
3292 if (zend_hash_quick_find(child_function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child)==FAILURE) {
3305 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
3311 if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child_info)==SUCCESS) {
3314 zend_hash_quick_update(&ce->properties_info, hash_key->arKey, hash_key
3543 do_inherit_constant_check(HashTable *child_constants_table, const zval **parent_constant, const zend_hash_key *hash_key, const zend_class_entry *iface) argument
3779 zend_traits_copy_functions(zend_function *fn TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_5_4/ext/mysqli/
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 Dmysqli.c193 if (mysql->hash_key) {
194 efree(mysql->hash_key);
195 mysql->hash_key = NULL;
H A Dmysqli_api.c592 if (zend_hash_find(&EG(persistent_list), mysql->hash_key, strlen(mysql->hash_key) + 1, (void **)&le) == SUCCESS) {
H A Dphp_mysqli_structs.h127 char *hash_key; member in struct:__anon4
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_bt.c83 static int mysqlnd_build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
217 static int mysqlnd_build_trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
298 static int mysqlnd_build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
394 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.c668 struct mysqlnd_field_hash_key * hash_key = result->meta->zend_hash_keys; local
683 for (i = 0; i < field_count; i++, field++, hash_key++) {
782 struct mysqlnd_field_hash_key * hash_key = result->meta->zend_hash_keys; local
796 for (i = 0; i < field_count; i++, field++, hash_key++) {
817 if (hash_key->is_numeric == FALSE) {
820 hash_key->ustr,
821 hash_key->ulen + 1,
822 hash_key->key,
828 hash_key->key,
833 hash_key
948 struct mysqlnd_field_hash_key * hash_key = result->meta->zend_hash_keys; local
1022 struct mysqlnd_field_hash_key * hash_key = result->meta->zend_hash_keys; local
[all...]
/PHP_5_4/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:__anon2
/PHP_5_4/ext/pgsql/
H A Dpgsql.c2298 smart_str hash_key = {0}; local
2332 smart_str_appends(&hash_key, "pgsql_table_oid_");
2333 smart_str_append_unsigned(&hash_key, oid);
2334 smart_str_0(&hash_key);
2336 if (zend_hash_find(&EG(regular_list), hash_key.c, hash_key.len+1, (void **) &field_table) == SUCCESS) {
2337 smart_str_free(&hash_key);
2353 smart_str_free(&hash_key);
2361 smart_str_free(&hash_key);
2367 zend_hash_update(&EG(regular_list), hash_key
[all...]
/PHP_5_4/sapi/cli/
H A Dphp_cli_server.c590 static int sapi_cli_server_register_entry_cb(char **entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ { argument
592 if (hash_key->nKeyLength) {
595 key = estrndup(hash_key->arKey, hash_key->nKeyLength);
596 for(i=0; i<hash_key->nKeyLength; i++) {

Completed in 88 milliseconds