| /PHP_5_3/ext/sqlite/libsqlite/src/ |
| H A D | hash.h | 41 } *ht; member in struct:Hash
|
| /PHP_5_3/ext/fileinfo/libmagic/ |
| H A D | softmagic.c | 1892 HashTable *ht = Z_ARRVAL_P(subpats); local 1896 zend_hash_internal_pointer_reset_ex(ht, &outer_pos); 1898 if (zend_hash_has_more_elements_ex(ht, &outer_pos) == SUCCESS && 1899 zend_hash_move_forward_ex(ht, &outer_pos)) { 1906 if (zend_hash_get_current_data_ex(ht, (void**)&ppzval, &outer_pos) != FAILURE) {
|
| /PHP_5_3/ext/dom/ |
| H A D | dom_iterators.c | 83 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ argument 89 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { 94 xmlHashScan(ht, itemHashScanner, iter); 104 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) /* {{{ */ argument 110 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { 115 xmlHashScan(ht, itemHashScanner, iter); 244 curnode = php_dom_libxml_hash_iter(objmap->ht, iter->index); 246 curnode = php_dom_libxml_notation_iter(objmap->ht, iter->index); 324 curnode = php_dom_libxml_hash_iter(objmap->ht, 0); 326 curnode = php_dom_libxml_notation_iter(objmap->ht, [all...] |
| H A D | node.c | 1806 HashTable *ht = Z_ARRVAL_P(xpath_array); local 1810 if (zend_hash_find(ht, "query", sizeof("query"), (void**)&tmp) == SUCCESS && 1821 if (zend_hash_find(ht, "namespaces", sizeof("namespaces"), (void**)&tmp) == SUCCESS &&
|
| H A D | php_dom.h | 84 xmlHashTable *ht; member in struct:_dom_nnodemap_object 120 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC); 122 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index); 123 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index);
|
| /PHP_5_3/ext/pdo/ |
| H A D | pdo_dbh.c | 467 HashTable *ht = Z_ARRVAL_P(ctor_args); local 471 fci.params = safe_emalloc(sizeof(zval*), ht->nNumOfElements, 0); 472 p = ht->pListHead;
|
| H A D | pdo_stmt.c | 175 HashTable *ht; local 181 ht = stmt->bound_params; 184 if (ht) { 185 zend_hash_internal_pointer_reset(ht); 186 while (SUCCESS == zend_hash_get_current_data(ht, (void**)¶m)) { 192 zend_hash_move_forward(ht); 196 ht = stmt->bound_columns; 761 HashTable *ht = Z_ARRVAL_P(stmt->fetch.cls.ctor_args); local 765 fci->params = safe_emalloc(sizeof(zval**), ht->nNumOfElements, 0); 766 p = ht [all...] |
| /PHP_5_3/ext/soap/ |
| H A D | php_schema.c | 2088 static void schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) argument 2114 HashTable *ht = emalloc(sizeof(HashTable)); local 2115 zend_hash_init(ht, zend_hash_num_elements(newAttr->extraAttributes), NULL, delete_extra_attribute, 0); 2116 zend_hash_copy(ht, newAttr->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr)); 2117 newAttr->extraAttributes = ht; 2121 zend_hash_add(ht, key, key_len, &newAttr, sizeof(sdlAttributePtr), NULL); 2127 schema_attributegroup_fixup(ctx,*tmp_attr, ht);
|
| /PHP_5_3/ext/standard/ |
| H A D | formatted_print.c | 375 php_formatted_print(int ht, int *len, int use_array, int format_offset TSRMLS_DC) argument 674 if ((result=php_formatted_print(ht, &len, 0, 0 TSRMLS_CC))==NULL) { 688 if ((result=php_formatted_print(ht, &len, 1, 0 TSRMLS_CC))==NULL) { 702 if ((result=php_formatted_print(ht, &len, 0, 0 TSRMLS_CC))==NULL) { 718 if ((result=php_formatted_print(ht, &len, 1, 0 TSRMLS_CC))==NULL) { 746 if ((result=php_formatted_print(ht, &len, 0, 1 TSRMLS_CC))==NULL) { 777 if ((result=php_formatted_print(ht, &len, 1, 1 TSRMLS_CC))==NULL) {
|
| H A D | http.c | 28 PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, argument 39 if (!ht) { 43 if (ht->nApplyCount > 0) { 56 for (zend_hash_internal_pointer_reset(ht); 57 (key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT; 58 zend_hash_move_forward(ht) 78 if (zend_hash_get_current_data_ex(ht, (void **)&zdata, NULL) == FAILURE || !zdata || !(*zdata)) { 134 ht->nApplyCount++; 136 ht->nApplyCount--;
|
| H A D | var_unserializer.c | 256 static inline int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, long elements, int objprops) argument 288 if (zend_hash_index_find(ht, Z_LVAL_P(key), (void **)&old_data)==SUCCESS) { 291 zend_hash_index_update(ht, Z_LVAL_P(key), &data, sizeof(data), NULL); 294 if (zend_symtable_find(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, (void **)&old_data)==SUCCESS) { 297 zend_symtable_update(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &data, sizeof(data), NULL); 303 zend_hash_update(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &data,
|
| /PHP_5_3/ext/wddx/ |
| H A D | wddx.c | 632 HashTable *ht; local 662 ht = Z_ARRVAL_P(var); 663 if (ht->nApplyCount > 1) { 667 ht->nApplyCount++; 669 ht->nApplyCount--; 673 ht = Z_OBJPROP_P(var); 674 if (ht->nApplyCount > 1) { 678 ht->nApplyCount++; 680 ht->nApplyCount--;
|
| /PHP_5_3/main/ |
| H A D | php_variables.c | 136 HashTable *ht; local 140 ht = Z_ARRVAL_P(track_vars_array); 141 zend_symtable_del(ht, var, var_len + 1); 143 ht = EG(active_symbol_table); 144 zend_symtable_del(ht, var, var_len + 1);
|
| /PHP_5_3/sapi/cli/ |
| H A D | php_cli_readline.c | 278 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, void **pData TSRMLS_DC) /* {{{ */ argument 284 zend_hash_internal_pointer_reset(ht); 287 while(zend_hash_has_more_elements(ht) == SUCCESS) { 288 zend_hash_get_current_key(ht, &name, &number, 0); 291 zend_hash_get_current_data(ht, pData); 293 zend_hash_move_forward(ht); 296 if (zend_hash_move_forward(ht) == FAILURE) { 318 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ 321 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC); 342 static char *cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *ht TSRMLS_D [all...] |
| /PHP_5_3/Zend/ |
| H A D | zend.c | 120 static void print_hash(zend_write_func_t write_func, HashTable *ht, int indent, zend_bool is_object TSRMLS_DC) /* {{{ */ argument 134 zend_hash_internal_pointer_reset_ex(ht, &iterator); 135 while (zend_hash_get_current_data_ex(ht, (void **) &tmp, &iterator) == SUCCESS) { 140 switch (zend_hash_get_current_key_ex(ht, &string_key, &str_len, &num_key, 0, &iterator)) { 171 zend_hash_move_forward_ex(ht, &iterator); 181 static void print_flat_hash(HashTable *ht TSRMLS_DC) /* {{{ */ 190 zend_hash_internal_pointer_reset_ex(ht, &iterator); 191 while (zend_hash_get_current_data_ex(ht, (void **) &tmp, &iterator) == SUCCESS) { 196 switch (zend_hash_get_current_key_ex(ht, &string_key, &str_len, &num_key, 0, &iterator)) { 206 zend_hash_move_forward_ex(ht, [all...] |
| H A D | zend_hash.c | 31 #define CONNECT_TO_GLOBAL_DLLIST(element, ht) \ 32 (element)->pListLast = (ht)->pListTail; \ 33 (ht)->pListTail = (element); \ 38 if (!(ht)->pListHead) { \ 39 (ht)->pListHead = (element); \ 41 if ((ht)->pInternalPointer == NULL) { \ 42 (ht)->pInternalPointer = (element); \ 51 static void _zend_is_inconsistent(const HashTable *ht, const char *file, int line) argument 53 if (ht->inconsistent==HT_OK) { 56 switch (ht 140 _zend_hash_init(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) argument 187 _zend_hash_init_ex(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) argument 196 zend_hash_set_apply_protection(HashTable *ht, zend_bool bApplyProtection) argument 203 _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 273 _zend_hash_quick_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 342 zend_hash_add_empty_element(HashTable *ht, const char *arKey, uint nKeyLength) argument 350 _zend_hash_index_update_or_next_insert(HashTable *ht, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 418 zend_hash_do_resize(HashTable *ht) argument 440 zend_hash_rehash(HashTable *ht) argument 458 zend_hash_del_key_or_index(HashTable *ht, const char *arKey, uint nKeyLength, ulong h, int flag) argument 516 zend_hash_destroy(HashTable *ht) argument 542 zend_hash_clean(HashTable *ht) argument 575 zend_hash_apply_deleter(HashTable *ht, Bucket *p) argument 624 zend_hash_graceful_destroy(HashTable *ht) argument 639 zend_hash_graceful_reverse_destroy(HashTable *ht) argument 665 zend_hash_apply(HashTable *ht, apply_func_t apply_func TSRMLS_DC) argument 689 zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void *argument TSRMLS_DC) argument 748 zend_hash_reverse_apply(HashTable *ht, apply_func_t apply_func TSRMLS_DC) argument 871 zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData) argument 896 zend_hash_quick_find(const HashTable *ht, const char *arKey, uint nKeyLength, ulong h, void **pData) argument 923 zend_hash_exists(const HashTable *ht, const char *arKey, uint nKeyLength) argument 947 zend_hash_quick_exists(const HashTable *ht, const char *arKey, uint nKeyLength, ulong h) argument 974 zend_hash_index_find(const HashTable *ht, ulong h, void **pData) argument 995 zend_hash_index_exists(const HashTable *ht, ulong h) argument 1015 zend_hash_num_elements(const HashTable *ht) argument 1023 zend_hash_get_pointer(const HashTable *ht, HashPointer *ptr) argument 1035 zend_hash_set_pointer(HashTable *ht, const HashPointer *ptr) argument 1056 zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos) argument 1070 zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos) argument 1081 zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos) argument 1094 zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos) argument 1109 zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos) argument 1137 zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos) argument 1156 zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos) argument 1175 zend_hash_update_current_key_ex(HashTable *ht, int key_type, const char *str_index, uint str_length, ulong num_index, int mode, HashPosition *pos) argument 1360 zend_hash_sort(HashTable *ht, sort_func_t sort_func, compare_func_t compar, int renumber TSRMLS_DC) argument 1509 zend_hash_minmax(const HashTable *ht, compare_func_t compar, int flag, void **pData TSRMLS_DC) argument 1536 zend_hash_next_free_element(const HashTable *ht) argument 1546 zend_hash_display_pListTail(const HashTable *ht) argument 1557 zend_hash_display(const HashTable *ht) argument [all...] |
| H A D | zend_hash.h | 99 ZEND_API int _zend_hash_init(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC); 100 ZEND_API int _zend_hash_init_ex(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC); 101 ZEND_API void zend_hash_destroy(HashTable *ht); 102 ZEND_API void zend_hash_clean(HashTable *ht); 103 #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) _zend_hash_init((ht), (nSize), (pHashFunction), (pDestructor), (persistent) ZEND_FILE_LINE_CC) 104 #define zend_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) _zend_hash_init_ex((ht), (nSize), (pHashFunction), (pDestructor), (persistent), (bApplyProtection) ZEND_FILE_LINE_CC) 107 ZEND_API int _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); 108 #define zend_hash_update(ht, arKe 343 zend_symtable_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest) argument 350 zend_symtable_del(HashTable *ht, const char *arKey, uint nKeyLength) argument 357 zend_symtable_find(HashTable *ht, const char *arKey, uint nKeyLength, void **pData) argument 364 zend_symtable_exists(HashTable *ht, const char *arKey, uint nKeyLength) argument 370 zend_symtable_update_current_key_ex(HashTable *ht, const char *arKey, uint nKeyLength, int mode, HashPosition *pos) argument [all...] |
| H A D | zend_operators.c | 646 HashTable *ht; local 648 ALLOC_HASHTABLE(ht); 649 zend_hash_init(ht, 0, NULL, ZVAL_PTR_DTOR, 0); 653 zend_hash_destroy(ht); 654 FREE_HASHTABLE(ht); 660 zend_hash_copy(ht, obj_ht, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *)); 666 zend_hash_destroy(ht); 667 FREE_HASHTABLE(ht); 673 Z_ARRVAL_P(op) = ht;
|
| H A D | zend_ts_hash.c | 25 static void begin_read(TsHashTable *ht) argument 28 tsrm_mutex_lock(ht->mx_reader); 29 if ((++(ht->reader)) == 1) { 30 tsrm_mutex_lock(ht->mx_writer); 32 tsrm_mutex_unlock(ht->mx_reader); 36 static void end_read(TsHashTable *ht) argument 39 tsrm_mutex_lock(ht->mx_reader); 40 if ((--(ht->reader)) == 0) { 41 tsrm_mutex_unlock(ht->mx_writer); 43 tsrm_mutex_unlock(ht 47 begin_write(TsHashTable *ht) argument 54 end_write(TsHashTable *ht) argument 62 _zend_ts_hash_init(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) argument 72 _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) argument 82 zend_ts_hash_destroy(TsHashTable *ht) argument 94 zend_ts_hash_clean(TsHashTable *ht) argument 102 _zend_ts_hash_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 113 _zend_ts_hash_quick_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 124 _zend_ts_hash_index_update_or_next_insert(TsHashTable *ht, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 135 zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength) argument 146 zend_ts_hash_graceful_destroy(TsHashTable *ht) argument 158 zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func TSRMLS_DC) argument 165 zend_ts_hash_apply_with_argument(TsHashTable *ht, apply_func_arg_t apply_func, void *argument TSRMLS_DC) argument 183 zend_ts_hash_reverse_apply(TsHashTable *ht, apply_func_t apply_func TSRMLS_DC) argument 190 zend_ts_hash_del_key_or_index(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, int flag) argument 201 zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength) argument 212 zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData) argument 223 zend_ts_hash_quick_find(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void **pData) argument 234 zend_ts_hash_index_find(TsHashTable *ht, ulong h, void **pData) argument 245 zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength) argument 256 zend_ts_hash_index_exists(TsHashTable *ht, ulong h) argument 301 zend_ts_hash_sort(TsHashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber TSRMLS_DC) argument 325 zend_ts_hash_minmax(TsHashTable *ht, compare_func_t compar, int flag, void **pData TSRMLS_DC) argument 336 zend_ts_hash_num_elements(TsHashTable *ht) argument 347 zend_ts_hash_rehash(TsHashTable *ht) argument 359 zend_ts_hash_display_pListTail(TsHashTable *ht) argument 366 zend_ts_hash_display(TsHashTable *ht) argument [all...] |
| H A D | zend_execute.c | 797 static inline zval **zend_fetch_dimension_address_inner(HashTable *ht, const zval *dim, int type TSRMLS_DC) argument 816 if (zend_symtable_find(ht, offset_key, offset_key_length+1, (void **) &retval) == FAILURE) { 832 zend_symtable_update(ht, offset_key, offset_key_length+1, &new_zval, sizeof(zval *), (void **) &retval); 848 if (zend_hash_index_find(ht, index, (void **) &retval) == FAILURE) { 864 zend_hash_index_update(ht, index, &new_zval, sizeof(zval *), (void **) &retval);
|
| H A D | zend_exceptions.c | 341 if (zend_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \ 453 HashTable *ht = Z_ARRVAL_PP(frame); local 469 if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { 474 if (zend_hash_find(ht, "line", sizeof("line"), (void**)&tmp) == SUCCESS) { 496 if (zend_hash_find(ht, "args", sizeof("args"), (void**)&tmp) == SUCCESS) {
|
| H A D | zend_vm_def.h | 3460 HashTable *ht = Z_ARRVAL_PP(container); variable 3464 zend_hash_index_del(ht, zend_dval_to_lval(Z_DVAL_P(offset))); 3469 zend_hash_index_del(ht, Z_LVAL_P(offset)); 3475 if (zend_symtable_del(ht, offset->value.str.val, offset->value.str.len+1) == SUCCESS && 3476 ht == &EG(symbol_table)) { 3481 if (ex->op_array && ex->symbol_table == ht) { 3500 zend_hash_del(ht, "", sizeof("")); 3958 HashTable *ht; local 3961 ht = Z_ARRVAL_PP(container); 3965 if (zend_hash_index_find(ht, zend_dval_to_lva [all...] |
| /PHP_5_3/ext/mysqlnd/ |
| H A D | mysqlnd_debug.c | 1452 if (zend_ascii_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \ 1605 HashTable *ht = Z_ARRVAL_PP(frame); local 1623 if (zend_ascii_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { 1624 if (zend_ascii_hash_find(ht, "line", sizeof("line"), (void**)&tmp) == SUCCESS) { 1641 if (zend_ascii_hash_find(ht, "args", sizeof("args"), (void**)&tmp) == SUCCESS) { 1674 if (zend_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \ 1782 HashTable *ht = Z_ARRVAL_PP(frame); local 1800 if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { 1801 if (zend_hash_find(ht, "line", sizeof("line"), (void**)&tmp) == SUCCESS) { 1817 if (zend_hash_find(ht, "arg [all...] |
| /PHP_5_3/ext/phar/ |
| H A D | dirstream.c | 152 static int phar_add_empty(HashTable *ht, char *arKey, uint nKeyLength) /* {{{ */ argument 156 return zend_hash_update(ht, arKey, nKeyLength, (void *) &dummy, sizeof(void *), NULL);
|
| /PHP_5_3/win32/ |
| H A D | registry.c | 64 HashTable *ht = NULL; local 80 if (!ht) { 81 ht = (HashTable*)malloc(sizeof(HashTable)); 82 if (!ht) { 85 zend_hash_init(ht, 0, NULL, ZVAL_INTERNAL_PTR_DTOR, 1); 95 zend_hash_update(ht, name, name_len+1, &data, sizeof(zval*), NULL); 99 if (ht) { 111 if (zend_hash_add(ht, index, index_len, tmpdata, sizeof(zval*), NULL) == SUCCESS) { 116 zend_hash_update(directories, path, path_len+1, &ht, sizeof(HashTable*), NULL); 124 if (ht 253 HashTable *ht = *pht; local [all...] |