Searched refs:ht (Results 1 - 25 of 87) sorted by relevance

1234

/PHP-7.3/Zend/
H A Dzend_ts_hash.c23 static void begin_read(TsHashTable *ht) argument
26 tsrm_mutex_lock(ht->mx_reader);
27 if ((++(ht->reader)) == 1) {
28 tsrm_mutex_lock(ht->mx_writer);
30 tsrm_mutex_unlock(ht->mx_reader);
34 static void end_read(TsHashTable *ht) argument
37 tsrm_mutex_lock(ht->mx_reader);
38 if ((--(ht->reader)) == 0) {
39 tsrm_mutex_unlock(ht->mx_writer);
41 tsrm_mutex_unlock(ht
45 begin_write(TsHashTable *ht) argument
52 end_write(TsHashTable *ht) argument
60 _zend_ts_hash_init(TsHashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent) argument
70 zend_ts_hash_destroy(TsHashTable *ht) argument
82 zend_ts_hash_clean(TsHashTable *ht) argument
90 zend_ts_hash_add(TsHashTable *ht, zend_string *key, zval *pData) argument
101 zend_ts_hash_update(TsHashTable *ht, zend_string *key, zval *pData) argument
112 zend_ts_hash_next_index_insert(TsHashTable *ht, zval *pData) argument
123 zend_ts_hash_index_update(TsHashTable *ht, zend_ulong h, zval *pData) argument
134 zend_ts_hash_add_empty_element(TsHashTable *ht, zend_string *key) argument
145 zend_ts_hash_graceful_destroy(TsHashTable *ht) argument
157 zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func) argument
164 zend_ts_hash_apply_with_argument(TsHashTable *ht, apply_func_arg_t apply_func, void *argument) argument
171 zend_ts_hash_apply_with_arguments(TsHashTable *ht, apply_func_args_t apply_func, int num_args, ...) argument
182 zend_ts_hash_reverse_apply(TsHashTable *ht, apply_func_t apply_func) argument
189 zend_ts_hash_del(TsHashTable *ht, zend_string *key) argument
200 zend_ts_hash_index_del(TsHashTable *ht, zend_ulong h) argument
211 zend_ts_hash_find(TsHashTable *ht, zend_string *key) argument
222 zend_ts_hash_index_find(TsHashTable *ht, zend_ulong h) argument
233 zend_ts_hash_exists(TsHashTable *ht, zend_string *key) argument
244 zend_ts_hash_index_exists(TsHashTable *ht, zend_ulong h) argument
289 zend_ts_hash_sort(TsHashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber) argument
313 zend_ts_hash_minmax(TsHashTable *ht, compare_func_t compar, int flag) argument
324 zend_ts_hash_num_elements(TsHashTable *ht) argument
335 zend_ts_hash_rehash(TsHashTable *ht) argument
346 zend_ts_hash_str_find(TsHashTable *ht, const char *key, size_t len) argument
357 zend_ts_hash_str_update(TsHashTable *ht, const char *key, size_t len, zval *pData) argument
368 zend_ts_hash_str_add(TsHashTable *ht, const char *key, size_t len, zval *pData) argument
[all...]
H A Dzend_hash.h46 #define HT_FLAGS(ht) (ht)->u.flags
48 #define HT_IS_PACKED(ht) \
49 ((HT_FLAGS(ht) & HASH_FLAG_PACKED) != 0)
51 #define HT_IS_WITHOUT_HOLES(ht) \
52 ((ht)->nNumUsed == (ht)->nNumOfElements)
54 #define HT_HAS_STATIC_KEYS_ONLY(ht) \
55 ((HT_FLAGS(ht) & (HASH_FLAG_PACKED|HASH_FLAG_STATIC_KEYS)) != 0)
58 # define HT_ALLOW_COW_VIOLATION(ht) HT_FLAG
174 zend_hash_find_ex(const HashTable *ht, zend_string *key, zend_bool known_hash) argument
297 zend_hash_iterators_update(HashTable *ht, HashPosition from, HashPosition to) argument
338 zend_hash_find_ind(const HashTable *ht, zend_string *key) argument
348 zend_hash_find_ex_ind(const HashTable *ht, zend_string *key, zend_bool known_hash) argument
358 zend_hash_exists_ind(const HashTable *ht, zend_string *key) argument
368 zend_hash_str_find_ind(const HashTable *ht, const char *str, size_t len) argument
378 zend_hash_str_exists_ind(const HashTable *ht, const char *str, size_t len) argument
387 zend_symtable_add_new(HashTable *ht, zend_string *key, zval *pData) argument
398 zend_symtable_update(HashTable *ht, zend_string *key, zval *pData) argument
410 zend_symtable_update_ind(HashTable *ht, zend_string *key, zval *pData) argument
422 zend_symtable_del(HashTable *ht, zend_string *key) argument
434 zend_symtable_del_ind(HashTable *ht, zend_string *key) argument
446 zend_symtable_find(const HashTable *ht, zend_string *key) argument
458 zend_symtable_find_ind(const HashTable *ht, zend_string *key) argument
470 zend_symtable_exists(HashTable *ht, zend_string *key) argument
482 zend_symtable_exists_ind(HashTable *ht, zend_string *key) argument
494 zend_symtable_str_update(HashTable *ht, const char *str, size_t len, zval *pData) argument
506 zend_symtable_str_update_ind(HashTable *ht, const char *str, size_t len, zval *pData) argument
518 zend_symtable_str_del(HashTable *ht, const char *str, size_t len) argument
530 zend_symtable_str_del_ind(HashTable *ht, const char *str, size_t len) argument
542 zend_symtable_str_find(HashTable *ht, const char *str, size_t len) argument
554 zend_symtable_str_exists(HashTable *ht, const char *str, size_t len) argument
565 zend_hash_add_ptr(HashTable *ht, zend_string *key, void *pData) argument
579 zend_hash_add_new_ptr(HashTable *ht, zend_string *key, void *pData) argument
593 zend_hash_str_add_ptr(HashTable *ht, const char *str, size_t len, void *pData) argument
607 zend_hash_str_add_new_ptr(HashTable *ht, const char *str, size_t len, void *pData) argument
621 zend_hash_update_ptr(HashTable *ht, zend_string *key, void *pData) argument
631 zend_hash_str_update_ptr(HashTable *ht, const char *str, size_t len, void *pData) argument
641 zend_hash_add_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
654 zend_hash_add_new_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
667 zend_hash_str_add_mem(HashTable *ht, const char *str, size_t len, void *pData, size_t size) argument
680 zend_hash_str_add_new_mem(HashTable *ht, const char *str, size_t len, void *pData, size_t size) argument
693 zend_hash_update_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
702 zend_hash_str_update_mem(HashTable *ht, const char *str, size_t len, void *pData, size_t size) argument
711 zend_hash_index_add_ptr(HashTable *ht, zend_ulong h, void *pData) argument
720 zend_hash_index_add_new_ptr(HashTable *ht, zend_ulong h, void *pData) argument
729 zend_hash_index_update_ptr(HashTable *ht, zend_ulong h, void *pData) argument
739 zend_hash_index_add_mem(HashTable *ht, zend_ulong h, void *pData, size_t size) argument
752 zend_hash_next_index_insert_ptr(HashTable *ht, void *pData) argument
766 zend_hash_index_update_mem(HashTable *ht, zend_ulong h, void *pData, size_t size) argument
775 zend_hash_next_index_insert_mem(HashTable *ht, void *pData, size_t size) argument
788 zend_hash_find_ptr(const HashTable *ht, zend_string *key) argument
801 zend_hash_find_ex_ptr(const HashTable *ht, zend_string *key, zend_bool known_hash) argument
814 zend_hash_str_find_ptr(const HashTable *ht, const char *str, size_t len) argument
827 zend_hash_index_find_ptr(const HashTable *ht, zend_ulong h) argument
840 zend_hash_index_find_deref(HashTable *ht, zend_ulong h) argument
849 zend_hash_find_deref(HashTable *ht, zend_string *str) argument
858 zend_hash_str_find_deref(HashTable *ht, const char *str, size_t len) argument
867 zend_symtable_str_find_ptr(HashTable *ht, const char *str, size_t len) argument
878 zend_hash_get_current_data_ptr_ex(HashTable *ht, HashPosition *pos) argument
1074 _zend_hash_append_ex(HashTable *ht, zend_string *key, zval *zv, int interned) argument
1095 _zend_hash_append(HashTable *ht, zend_string *key, zval *zv) argument
1100 _zend_hash_append_ptr_ex(HashTable *ht, zend_string *key, void *ptr, int interned) argument
1121 _zend_hash_append_ptr(HashTable *ht, zend_string *key, void *ptr) argument
1126 _zend_hash_append_ind(HashTable *ht, zend_string *key, zval *ptr) argument
[all...]
H A Dzend_hash.c31 # define HT_ASSERT(ht, expr) \
32 ZEND_ASSERT((expr) || (HT_FLAGS(ht) & HASH_FLAG_ALLOW_COW_VIOLATION))
34 # define HT_ASSERT(ht, expr)
37 #define HT_ASSERT_RC1(ht) HT_ASSERT(ht, GC_REFCOUNT(ht) == 1)
48 static void _zend_is_inconsistent(const HashTable *ht, const char *file, int line) argument
50 if ((HT_FLAGS(ht) & HASH_FLAG_CONSISTENCY) == HT_OK) {
53 switch (HT_FLAGS(ht) & HASH_FLAG_CONSISTENCY) {
55 zend_output_debug_string(1, "%s(%d) : ht
120 zend_hash_real_init_packed_ex(HashTable *ht) argument
127 zend_hash_real_init_mixed_ex(HashTable *ht) argument
167 zend_hash_real_init_ex(HashTable *ht, int packed) argument
195 _zend_hash_init_int(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent) argument
210 _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent) argument
217 HashTable *ht = emalloc(sizeof(HashTable)); local
224 HashTable *ht = emalloc(sizeof(HashTable)); local
229 zend_hash_packed_grow(HashTable *ht) argument
239 zend_hash_real_init(HashTable *ht, zend_bool packed) argument
247 zend_hash_real_init_packed(HashTable *ht) argument
255 zend_hash_real_init_mixed(HashTable *ht) argument
263 zend_hash_packed_to_hash(HashTable *ht) argument
279 zend_hash_to_packed(HashTable *ht) argument
294 zend_hash_extend(HashTable *ht, uint32_t nSize, zend_bool packed) argument
328 zend_hash_discard(HashTable *ht, uint32_t nNumUsed) argument
347 zend_array_recalc_elements(HashTable *ht) argument
363 zend_array_count(HashTable *ht) argument
380 _zend_hash_get_valid_pos(const HashTable *ht, HashPosition pos) argument
388 _zend_hash_get_current_pos(const HashTable *ht) argument
393 zend_hash_get_current_pos(const HashTable *ht) argument
398 zend_hash_iterator_add(HashTable *ht, HashPosition pos) argument
435 zend_hash_iterator_pos(uint32_t idx, HashTable *ht) argument
456 HashTable *ht = Z_ARRVAL_P(array); local
497 _zend_hash_iterators_remove(HashTable *ht) argument
510 zend_hash_iterators_remove(HashTable *ht) argument
517 zend_hash_iterators_lower_pos(HashTable *ht, HashPosition start) argument
534 _zend_hash_iterators_update(HashTable *ht, HashPosition from, HashPosition to) argument
547 zend_hash_iterators_advance(HashTable *ht, HashPosition step) argument
560 zend_hash_find_bucket(const HashTable *ht, zend_string *key, zend_bool known_hash) argument
601 zend_hash_str_find_bucket(const HashTable *ht, const char *str, size_t len, zend_ulong h) argument
624 zend_hash_index_find_bucket(const HashTable *ht, zend_ulong h) argument
644 _zend_hash_add_or_update_i(HashTable *ht, zend_string *key, zval *pData, uint32_t flag) argument
729 _zend_hash_str_add_or_update_i(HashTable *ht, const char *str, size_t len, zend_ulong h, zval *pData, uint32_t flag) argument
796 zend_hash_add_or_update(HashTable *ht, zend_string *key, zval *pData, uint32_t flag) argument
810 zend_hash_add(HashTable *ht, zend_string *key, zval *pData) argument
815 zend_hash_update(HashTable *ht, zend_string *key, zval *pData) argument
820 zend_hash_update_ind(HashTable *ht, zend_string *key, zval *pData) argument
825 zend_hash_add_new(HashTable *ht, zend_string *key, zval *pData) argument
830 zend_hash_str_add_or_update(HashTable *ht, const char *str, size_t len, zval *pData, uint32_t flag) argument
844 zend_hash_str_update(HashTable *ht, const char *str, size_t len, zval *pData) argument
851 zend_hash_str_update_ind(HashTable *ht, const char *str, size_t len, zval *pData) argument
858 zend_hash_str_add(HashTable *ht, const char *str, size_t len, zval *pData) argument
865 zend_hash_str_add_new(HashTable *ht, const char *str, size_t len, zval *pData) argument
872 zend_hash_index_add_empty_element(HashTable *ht, zend_ulong h) argument
880 zend_hash_add_empty_element(HashTable *ht, zend_string *key) argument
888 zend_hash_str_add_empty_element(HashTable *ht, const char *str, size_t len) argument
896 _zend_hash_index_add_or_update_i(HashTable *ht, zend_ulong h, zval *pData, uint32_t flag) argument
980 zend_hash_index_add_or_update(HashTable *ht, zend_ulong h, zval *pData, uint32_t flag) argument
998 zend_hash_index_add(HashTable *ht, zend_ulong h, zval *pData) argument
1003 zend_hash_index_add_new(HashTable *ht, zend_ulong h, zval *pData) argument
1008 zend_hash_index_update(HashTable *ht, zend_ulong h, zval *pData) argument
1013 zend_hash_next_index_insert(HashTable *ht, zval *pData) argument
1018 zend_hash_next_index_insert_new(HashTable *ht, zval *pData) argument
1023 zend_hash_do_resize(HashTable *ht) argument
1048 zend_hash_rehash(HashTable *ht) argument
1141 _zend_hash_del_el_ex(HashTable *ht, uint32_t idx, Bucket *p, Bucket *prev) argument
1188 _zend_hash_del_el(HashTable *ht, uint32_t idx, Bucket *p) argument
1208 zend_hash_del_bucket(HashTable *ht, Bucket *p) argument
1215 zend_hash_del(HashTable *ht, zend_string *key) argument
1245 zend_hash_del_ind(HashTable *ht, zend_string *key) argument
1293 zend_hash_str_del_ind(HashTable *ht, const char *str, size_t len) argument
1337 zend_hash_str_del(HashTable *ht, const char *str, size_t len) argument
1367 zend_hash_index_del(HashTable *ht, zend_ulong h) argument
1402 zend_hash_destroy(HashTable *ht) argument
1464 zend_array_destroy(HashTable *ht) argument
1517 zend_hash_clean(HashTable *ht) argument
1586 zend_symtable_clean(HashTable *ht) argument
1625 zend_hash_graceful_destroy(HashTable *ht) argument
1645 zend_hash_graceful_reverse_destroy(HashTable *ht) argument
1678 zend_hash_apply(HashTable *ht, apply_func_t apply_func) argument
1702 zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void *argument) argument
1726 zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int num_args, ...) argument
1758 zend_hash_reverse_apply(HashTable *ht, apply_func_t apply_func) argument
2090 zend_hash_find(const HashTable *ht, zend_string *key) argument
2100 _zend_hash_find_known_hash(const HashTable *ht, zend_string *key) argument
2110 zend_hash_str_find(const HashTable *ht, const char *str, size_t len) argument
2122 zend_hash_exists(const HashTable *ht, zend_string *key) argument
2132 zend_hash_str_exists(const HashTable *ht, const char *str, size_t len) argument
2144 zend_hash_index_find(const HashTable *ht, zend_ulong h) argument
2164 _zend_hash_index_find(const HashTable *ht, zend_ulong h) argument
2174 zend_hash_index_exists(const HashTable *ht, zend_ulong h) argument
2194 zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos) argument
2205 zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos) argument
2224 zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos) argument
2249 zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos) argument
2273 zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos) argument
2293 zend_hash_get_current_key_zval_ex(const HashTable *ht, zval *key, HashPosition *pos) argument
2312 zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos) argument
2331 zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos) argument
2389 zend_hash_sort_ex(HashTable *ht, sort_func_t sort, compare_func_t compar, zend_bool renumber) argument
2565 zend_hash_minmax(const HashTable *ht, compare_func_t compar, uint32_t flag) argument
2645 zend_symtable_to_proptable(HashTable *ht) argument
2698 zend_proptable_to_symtable(HashTable *ht, zend_bool always_duplicate) argument
[all...]
H A Dzend_ts_hash.h38 ZEND_API void _zend_ts_hash_init(TsHashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent);
39 ZEND_API void zend_ts_hash_destroy(TsHashTable *ht);
40 ZEND_API void zend_ts_hash_clean(TsHashTable *ht);
42 #define zend_ts_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) \
43 _zend_ts_hash_init(ht, nSize, pDestructor, persistent)
44 #define zend_ts_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) \
45 _zend_ts_hash_init(ht, nSize, pDestructor, persistent)
49 ZEND_API zval *zend_ts_hash_update(TsHashTable *ht, zend_string *key, zval *pData);
50 ZEND_API zval *zend_ts_hash_add(TsHashTable *ht, zend_string *key, zval *pData);
51 ZEND_API zval *zend_ts_hash_index_update(TsHashTable *ht, zend_ulon
98 zend_ts_hash_str_find_ptr(TsHashTable *ht, const char *str, size_t len) argument
106 zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, size_t len, void *pData) argument
115 zend_ts_hash_str_add_ptr(TsHashTable *ht, const char *str, size_t len, void *pData) argument
[all...]
H A Dzend_gc.c685 HashTable *ht = NULL; local
702 ht = get_gc(&tmp, &zv, &n);
704 if (EXPECTED(!ht) || UNEXPECTED(GC_REF_CHECK_COLOR(ht, GC_BLACK))) {
705 ht = NULL;
711 GC_REF_SET_BLACK(ht);
724 if (EXPECTED(!ht)) {
738 ht = (zend_array*)ref;
756 if (!ht->nNumUsed) goto next;
757 p = ht
805 HashTable *ht = NULL; local
987 HashTable *ht = NULL; local
1160 HashTable *ht = NULL; local
1348 HashTable *ht = NULL; local
[all...]
H A Dzend_list.h50 void zend_close_rsrc_list(HashTable *ht);
51 void zend_destroy_rsrc_list(HashTable *ht);
H A Dzend_types.h264 * | HT_HASH(ht, ht->nTableMask) |
266 * | HT_HASH(ht, -1) |
268 * ht->arData ---> | Bucket[0] |
270 * | Bucket[ht->nTableSize-1] |
301 #define HT_HASH(ht, idx) \
302 HT_HASH_EX((ht)->arData, idx)
312 #define HT_SIZE(ht) \
313 HT_SIZE_EX((ht)->nTableSize, (ht)
352 HashTable *ht; member in struct:_HashTableIterator
[all...]
/PHP-7.3/ext/standard/
H A Dphp_http.h25 PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr,
30 #define php_url_encode_hash(ht, formstr) php_url_encode_hash_ex((ht), (formstr), NULL, 0, NULL, 0, NULL, 0, NULL)
H A Dhttp.c26 PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, argument
39 if (!ht) {
43 if (GC_IS_RECURSIVE(ht)) {
56 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, idx, key, zdata) {
137 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) {
138 GC_PROTECT_RECURSION(ht);
141 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) {
142 GC_UNPROTECT_RECURSION(ht);
/PHP-7.3/ext/opcache/
H A Dzend_persist.c86 static void zend_hash_persist(HashTable *ht, zend_persist_func_t pPersistElement) argument
91 HT_FLAGS(ht) |= HASH_FLAG_STATIC_KEYS;
92 ht->pDestructor = NULL;
94 if (!(HT_FLAGS(ht) & HASH_FLAG_INITIALIZED)) {
96 HT_SET_DATA_ADDR(ht, &ZCSG(uninitialized_bucket));
98 HT_SET_DATA_ADDR(ht, &uninitialized_bucket);
102 if (ht->nNumUsed == 0) {
103 efree(HT_GET_DATA_ADDR(ht));
104 ht->nTableMask = HT_MIN_MASK;
106 HT_SET_DATA_ADDR(ht,
181 zend_hash_persist_immutable(HashTable *ht) argument
[all...]
H A Dzend_accelerator_util_funcs.c109 void zend_accel_free_user_functions(HashTable *ht) argument
111 dtor_func_t orig_dtor = ht->pDestructor;
113 ht->pDestructor = NULL;
114 zend_hash_apply(ht, (apply_func_t) is_not_internal_function);
115 ht->pDestructor = orig_dtor;
171 static void zend_hash_clone_constants(HashTable *ht, HashTable *source) argument
177 ht->nTableSize = source->nTableSize;
178 ht->nTableMask = source->nTableMask;
179 ht->nNumUsed = 0;
180 ht
222 zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce) argument
280 zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce) argument
[all...]
H A Dzend_accelerator_util_funcs.h33 void zend_accel_free_user_functions(HashTable *ht);
H A Dzend_persist_calc.c51 static void zend_hash_persist_calc(HashTable *ht, void (*pPersistElement)(zval *pElement)) argument
56 if (!(HT_FLAGS(ht) & HASH_FLAG_INITIALIZED) || ht->nNumUsed == 0) {
60 if (!(HT_FLAGS(ht) & HASH_FLAG_PACKED) && ht->nNumUsed < (uint32_t)(-(int32_t)ht->nTableMask) / 4) {
64 if (ht->nNumUsed <= HT_MIN_SIZE) {
67 hash_size = (uint32_t)(-(int32_t)ht->nTableMask);
68 while (hash_size >> 2 > ht->nNumUsed) {
72 ADD_SIZE(hash_size * sizeof(uint32_t) + ht
[all...]
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_wait.c47 HashTable *ht[2]; member in struct:__anon686
74 info->ht[0] = ht1;
75 info->ht[1] = ht2;
77 zend_hash_sort(info->ht[0], (compare_func_t) phpdbg_array_data_compare, 0);
78 zend_hash_sort(info->ht[1], (compare_func_t) phpdbg_array_data_compare, 0);
80 zend_hash_internal_pointer_reset_ex(info->ht[0], &info->pos[0]);
81 zend_hash_internal_pointer_reset_ex(info->ht[1], &info->pos[1]);
88 int invalid = !info->ht[0] + !info->ht[1];
91 invalid = !info->ht[
128 HashTable *ht; local
[all...]
H A Dphpdbg_webdata_transfer.c32 HashTable *ht; local
36 ht = Z_ARRVAL(array);
49 zend_hash_str_add(ht, ZEND_STRL("GLOBALS"), &zv[1]);
64 zend_hash_str_add(ht, ZEND_STRL("input"), &zv[2]);
74 zend_hash_str_add(ht, ZEND_STRL("sapi_name"), &zv[6]);
90 zend_hash_str_add(ht, ZEND_STRL("modules"), &zv[7]);
100 zend_hash_str_add(ht, ZEND_STRL("extensions"), &zv[8]);
116 zend_hash_str_add(ht, ZEND_STRL("cwd"), &zv[5]);
142 zend_hash_str_add(ht, ZEND_STRL("systemini"), &zv[3]);
159 zend_hash_str_add(ht, ZEND_STR
[all...]
H A Dphpdbg_watch.h80 HashTable ht; member in union:_phpdbg_watchpoint_t::__anon690
104 HashTable ht; member in union:_phpdbg_watch_element::__anon691
115 HashTable *ht; member in struct:__anon692
/PHP-7.3/win32/
H A Dregistry.c82 HashTable *ht = NULL; local
103 if (!ht) {
104 ht = (HashTable*)malloc(sizeof(HashTable));
105 if (!ht) {
108 zend_hash_init(ht, 0, NULL, ZVAL_INTERNAL_PTR_DTOR, 1);
111 zend_hash_str_update(ht, name, name_len, &data);
115 if (ht) {
122 zend_hash_add(ht, index, tmpdata);
125 zend_hash_str_update_mem(directories, path, path_len, ht, sizeof(HashTable));
133 if (ht
175 HashTable *ht = (HashTable *)Z_PTR_P(zv); local
262 HashTable *ht = (HashTable *)zend_hash_str_find_ptr(PW32G(registry_directories), path, path_len); local
[all...]
/PHP-7.3/ext/dom/
H A Dnamednodemap.c100 if (objmap->ht) {
101 count = xmlHashSize(objmap->ht);
152 if (objmap->ht) {
154 itemnode = (xmlNodePtr)xmlHashLookup(objmap->ht, (xmlChar *) named);
156 notep = (xmlNotation *)xmlHashLookup(objmap->ht, (xmlChar *) named);
231 if (objmap->ht) {
233 itemnode = php_dom_libxml_hash_iter(objmap->ht, index);
235 itemnode = php_dom_libxml_notation_iter(objmap->ht, index);
290 if (objmap->ht) {
292 itemnode = (xmlNodePtr)xmlHashLookup(objmap->ht, (xmlCha
[all...]
H A Dnodelist.c68 if (objmap->ht) {
69 count = xmlHashSize(objmap->ht);
150 if (objmap->ht) {
152 itemnode = php_dom_libxml_hash_iter(objmap->ht, index);
154 itemnode = php_dom_libxml_notation_iter(objmap->ht, index);
H A Ddom_iterators.c85 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ argument
91 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) {
96 xmlHashScan(ht, itemHashScanner, iter);
106 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) /* {{{ */ argument
112 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) {
117 xmlHashScan(ht, itemHashScanner, iter);
231 curnode = php_dom_libxml_hash_iter(objmap->ht, iter->index);
233 curnode = php_dom_libxml_notation_iter(objmap->ht, iter->index);
314 curnode = php_dom_libxml_hash_iter(objmap->ht, 0);
316 curnode = php_dom_libxml_notation_iter(objmap->ht,
[all...]
H A Dphp_dom.h86 xmlHashTable *ht; member in struct:_dom_nnodemap_object
122 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns);
124 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index);
125 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index);
/PHP-7.3/ext/intl/dateformat/
H A Ddateformat_format_object.cpp94 HashTable *ht = Z_ARRVAL_P(format); local
98 if (zend_hash_num_elements(ht) != 2) {
106 while (idx < ht->nNumUsed) {
107 z = &ht->arData[idx].val;
113 if (idx >= ht->nNumUsed || !valid_format(z)) {
122 while (idx < ht->nNumUsed) {
123 z = &ht->arData[idx].val;
129 if (idx >= ht->nNumUsed || !valid_format(z)) {
/PHP-7.3/ext/opcache/Optimizer/
H A Dzend_dump.h42 void zend_dump_ht(HashTable *ht);
/PHP-7.3/ext/readline/
H A Dreadline_cli.c407 static char *cli_completion_generator_ht(const char *text, size_t textlen, int *state, HashTable *ht, void **pData) /* {{{ */ argument
413 zend_hash_internal_pointer_reset(ht);
416 while(zend_hash_has_more_elements(ht) == SUCCESS) {
417 zend_hash_get_current_key(ht, &name, &number);
420 *pData = zend_hash_get_current_data_ptr(ht);
422 zend_hash_move_forward(ht);
425 if (zend_hash_move_forward(ht) == FAILURE) {
462 static char *cli_completion_generator_func(const char *text, size_t textlen, int *state, HashTable *ht) /* {{{ */ argument
465 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func);
486 static char *cli_completion_generator_define(const char *text, size_t textlen, int *state, HashTable *ht) /* {{{ */ argument
[all...]
/PHP-7.3/ext/spl/
H A Dspl_array.c115 static inline void spl_array_replace_hash_table(spl_array_object* intern, HashTable *ht) { /* {{{ */ argument
118 *ht_ptr = ht;
133 static zend_never_inline void spl_array_create_ht_iter(HashTable *ht, spl_array_object* intern) /* {{{ */ argument
135 intern->ht_iter = zend_hash_iterator_add(ht, zend_hash_get_current_pos(ht));
136 zend_hash_internal_pointer_reset_ex(ht, &EG(ht_iterators)[intern->ht_iter].pos);
137 spl_array_skip_protected(intern, ht);
141 static zend_always_inline uint32_t *spl_array_get_pos_ptr(HashTable *ht, spl_array_object* intern) /* {{{ */ argument
144 spl_array_create_ht_iter(ht, intern);
294 HashTable *ht local
453 HashTable *ht; local
527 HashTable *ht; local
634 HashTable *ht = spl_array_get_hash_table(intern); local
701 spl_array_object_verify_pos_ex(spl_array_object *object, HashTable *ht, const char *msg_prefix) argument
712 spl_array_object_verify_pos(spl_array_object *object, HashTable *ht) argument
[all...]

Completed in 38 milliseconds

1234