Lines Matching defs:ht
46 #define HT_FLAGS(ht) (ht)->u.flags argument
48 #define HT_INVALIDATE(ht) do { \ argument
52 #define HT_IS_INITIALIZED(ht) \ argument
55 #define HT_IS_PACKED(ht) \ argument
58 #define HT_IS_WITHOUT_HOLES(ht) \ argument
61 #define HT_HAS_STATIC_KEYS_ONLY(ht) \ argument
65 # define HT_ALLOW_COW_VIOLATION(ht) HT_FLAGS(ht) |= HASH_FLAG_ALLOW_COW_VIOLATION argument
67 # define HT_ALLOW_COW_VIOLATION(ht) argument
70 #define HT_ITERATORS_COUNT(ht) (ht)->u.v.nIteratorsCount argument
71 #define HT_ITERATORS_OVERFLOW(ht) (HT_ITERATORS_COUNT(ht) == 0xff) argument
72 #define HT_HAS_ITERATORS(ht) (HT_ITERATORS_COUNT(ht) != 0) argument
74 #define HT_SET_ITERATORS_COUNT(ht, iters) \ argument
76 #define HT_INC_ITERATORS_COUNT(ht) \ argument
78 #define HT_DEC_ITERATORS_COUNT(ht) \ argument
104 #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) \ argument
181 static zend_always_inline zval *zend_hash_find_ex(const HashTable *ht, zend_string *key, zend_bool … in zend_hash_find_ex()
210 static zend_always_inline zend_bool zend_hash_exists(const HashTable *ht, zend_string *key) in zend_hash_exists()
215 static zend_always_inline zend_bool zend_hash_str_exists(const HashTable *ht, const char *str, size… in zend_hash_str_exists()
220 static zend_always_inline zend_bool zend_hash_index_exists(const HashTable *ht, zend_ulong h) in zend_hash_index_exists()
228 #define zend_hash_has_more_elements_ex(ht, pos) \ argument
239 #define zend_hash_has_more_elements(ht) \ argument
241 #define zend_hash_move_forward(ht) \ argument
243 #define zend_hash_move_backwards(ht) \ argument
245 #define zend_hash_get_current_key(ht, str_index, num_index) \ argument
247 #define zend_hash_get_current_key_zval(ht, key) \ argument
249 #define zend_hash_get_current_key_type(ht) \ argument
251 #define zend_hash_get_current_data(ht) \ argument
253 #define zend_hash_internal_pointer_reset(ht) \ argument
255 #define zend_hash_internal_pointer_end(ht) \ argument
271 #define zend_hash_sort(ht, compare_func, renumber) \ argument
274 #define zend_hash_num_elements(ht) \ argument
277 #define zend_hash_next_free_element(ht) \ argument
318 static zend_always_inline void zend_hash_iterators_update(HashTable *ht, HashPosition from, HashPos… in zend_hash_iterators_update()
348 #define ZEND_INIT_SYMTABLE(ht) \ in END_EXTERN_C() argument
351 #define ZEND_INIT_SYMTABLE_EX(ht, n, persistent) \ in END_EXTERN_C() argument
379 static zend_always_inline zval *zend_hash_find_ind(const HashTable *ht, zend_string *key) in zend_hash_find_ind()
389 static zend_always_inline zval *zend_hash_find_ex_ind(const HashTable *ht, zend_string *key, zend_b… in zend_hash_find_ex_ind()
399 static zend_always_inline bool zend_hash_exists_ind(const HashTable *ht, zend_string *key) in zend_hash_exists_ind()
409 static zend_always_inline zval *zend_hash_str_find_ind(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ind()
419 static zend_always_inline bool zend_hash_str_exists_ind(const HashTable *ht, const char *str, size_… in zend_hash_str_exists_ind()
428 static zend_always_inline zval *zend_symtable_add_new(HashTable *ht, zend_string *key, zval *pData) in zend_symtable_add_new()
439 static zend_always_inline zval *zend_symtable_update(HashTable *ht, zend_string *key, zval *pData) in zend_symtable_update()
451 static zend_always_inline zval *zend_symtable_update_ind(HashTable *ht, zend_string *key, zval *pDa… in zend_symtable_update_ind()
463 static zend_always_inline zend_result zend_symtable_del(HashTable *ht, zend_string *key) in zend_symtable_del()
475 static zend_always_inline zend_result zend_symtable_del_ind(HashTable *ht, zend_string *key) in zend_symtable_del_ind()
487 static zend_always_inline zval *zend_symtable_find(const HashTable *ht, zend_string *key) in zend_symtable_find()
499 static zend_always_inline zval *zend_symtable_find_ind(const HashTable *ht, zend_string *key) in zend_symtable_find_ind()
511 static zend_always_inline bool zend_symtable_exists(HashTable *ht, zend_string *key) in zend_symtable_exists()
523 static zend_always_inline bool zend_symtable_exists_ind(HashTable *ht, zend_string *key) in zend_symtable_exists_ind()
535 static zend_always_inline zval *zend_symtable_str_update(HashTable *ht, const char *str, size_t len… in zend_symtable_str_update()
547 static zend_always_inline zval *zend_symtable_str_update_ind(HashTable *ht, const char *str, size_t… in zend_symtable_str_update_ind()
559 static zend_always_inline zend_result zend_symtable_str_del(HashTable *ht, const char *str, size_t … in zend_symtable_str_del()
571 static zend_always_inline zend_result zend_symtable_str_del_ind(HashTable *ht, const char *str, siz… in zend_symtable_str_del_ind()
583 static zend_always_inline zval *zend_symtable_str_find(HashTable *ht, const char *str, size_t len) in zend_symtable_str_find()
595 static zend_always_inline bool zend_symtable_str_exists(HashTable *ht, const char *str, size_t len) in zend_symtable_str_exists()
606 static zend_always_inline void *zend_hash_add_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_add_ptr()
620 static zend_always_inline void *zend_hash_add_new_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_add_new_ptr()
634 static zend_always_inline void *zend_hash_str_add_ptr(HashTable *ht, const char *str, size_t len, v… in zend_hash_str_add_ptr()
648 static zend_always_inline void *zend_hash_str_add_new_ptr(HashTable *ht, const char *str, size_t le… in zend_hash_str_add_new_ptr()
662 static zend_always_inline void *zend_hash_update_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_update_ptr()
672 static zend_always_inline void *zend_hash_str_update_ptr(HashTable *ht, const char *str, size_t len… in zend_hash_str_update_ptr()
682 static zend_always_inline void *zend_hash_add_mem(HashTable *ht, zend_string *key, void *pData, siz… in zend_hash_add_mem()
695 static zend_always_inline void *zend_hash_add_new_mem(HashTable *ht, zend_string *key, void *pData,… in zend_hash_add_new_mem()
708 static zend_always_inline void *zend_hash_str_add_mem(HashTable *ht, const char *str, size_t len, v… in zend_hash_str_add_mem()
721 static zend_always_inline void *zend_hash_str_add_new_mem(HashTable *ht, const char *str, size_t le… in zend_hash_str_add_new_mem()
734 static zend_always_inline void *zend_hash_update_mem(HashTable *ht, zend_string *key, void *pData, … in zend_hash_update_mem()
743 static zend_always_inline void *zend_hash_str_update_mem(HashTable *ht, const char *str, size_t len… in zend_hash_str_update_mem()
752 static zend_always_inline void *zend_hash_index_add_ptr(HashTable *ht, zend_ulong h, void *pData) in zend_hash_index_add_ptr()
761 static zend_always_inline void *zend_hash_index_add_new_ptr(HashTable *ht, zend_ulong h, void *pDat… in zend_hash_index_add_new_ptr()
770 static zend_always_inline void *zend_hash_index_update_ptr(HashTable *ht, zend_ulong h, void *pData) in zend_hash_index_update_ptr()
780 static zend_always_inline void *zend_hash_index_add_mem(HashTable *ht, zend_ulong h, void *pData, s… in zend_hash_index_add_mem()
793 static zend_always_inline void *zend_hash_next_index_insert_ptr(HashTable *ht, void *pData) in zend_hash_next_index_insert_ptr()
807 static zend_always_inline void *zend_hash_index_update_mem(HashTable *ht, zend_ulong h, void *pData… in zend_hash_index_update_mem()
816 static zend_always_inline void *zend_hash_next_index_insert_mem(HashTable *ht, void *pData, size_t … in zend_hash_next_index_insert_mem()
829 static zend_always_inline void *zend_hash_find_ptr(const HashTable *ht, zend_string *key) in zend_hash_find_ptr()
842 static zend_always_inline void *zend_hash_find_ex_ptr(const HashTable *ht, zend_string *key, zend_b… in zend_hash_find_ex_ptr()
855 static zend_always_inline void *zend_hash_str_find_ptr(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ptr()
876 static zend_always_inline void *zend_hash_index_find_ptr(const HashTable *ht, zend_ulong h) in zend_hash_index_find_ptr()
889 static zend_always_inline zval *zend_hash_index_find_deref(HashTable *ht, zend_ulong h) in zend_hash_index_find_deref()
898 static zend_always_inline zval *zend_hash_find_deref(HashTable *ht, zend_string *str) in zend_hash_find_deref()
907 static zend_always_inline zval *zend_hash_str_find_deref(HashTable *ht, const char *str, size_t len) in zend_hash_str_find_deref()
916 static zend_always_inline void *zend_symtable_str_find_ptr(HashTable *ht, const char *str, size_t l… in zend_symtable_str_find_ptr()
927 static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht, HashPosition *pos) in zend_hash_get_current_data_ptr_ex()
940 #define zend_hash_get_current_data_ptr(ht) \ argument
992 #define ZEND_HASH_FOREACH_BUCKET(ht, _bucket) \ argument
996 #define ZEND_HASH_REVERSE_FOREACH_BUCKET(ht, _bucket) \ argument
1000 #define ZEND_HASH_FOREACH_VAL(ht, _val) \ argument
1004 #define ZEND_HASH_REVERSE_FOREACH_VAL(ht, _val) \ argument
1008 #define ZEND_HASH_FOREACH_VAL_IND(ht, _val) \ argument
1012 #define ZEND_HASH_REVERSE_FOREACH_VAL_IND(ht, _val) \ argument
1016 #define ZEND_HASH_FOREACH_PTR(ht, _ptr) \ argument
1020 #define ZEND_HASH_REVERSE_FOREACH_PTR(ht, _ptr) \ argument
1024 #define ZEND_HASH_FOREACH_NUM_KEY(ht, _h) \ argument
1028 #define ZEND_HASH_REVERSE_FOREACH_NUM_KEY(ht, _h) \ argument
1032 #define ZEND_HASH_FOREACH_STR_KEY(ht, _key) \ argument
1036 #define ZEND_HASH_REVERSE_FOREACH_STR_KEY(ht, _key) \ argument
1040 #define ZEND_HASH_FOREACH_KEY(ht, _h, _key) \ argument
1045 #define ZEND_HASH_REVERSE_FOREACH_KEY(ht, _h, _key) \ argument
1050 #define ZEND_HASH_FOREACH_NUM_KEY_VAL(ht, _h, _val) \ argument
1055 #define ZEND_HASH_REVERSE_FOREACH_NUM_KEY_VAL(ht, _h, _val) \ argument
1060 #define ZEND_HASH_FOREACH_STR_KEY_VAL(ht, _key, _val) \ argument
1065 #define ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(ht, _key, _val) \ argument
1070 #define ZEND_HASH_FOREACH_KEY_VAL(ht, _h, _key, _val) \ argument
1076 #define ZEND_HASH_REVERSE_FOREACH_KEY_VAL(ht, _h, _key, _val) \ argument
1082 #define ZEND_HASH_FOREACH_STR_KEY_VAL_IND(ht, _key, _val) \ argument
1087 #define ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL_IND(ht, _key, _val) \ argument
1092 #define ZEND_HASH_FOREACH_KEY_VAL_IND(ht, _h, _key, _val) \ argument
1098 #define ZEND_HASH_REVERSE_FOREACH_KEY_VAL_IND(ht, _h, _key, _val) \ argument
1104 #define ZEND_HASH_FOREACH_NUM_KEY_PTR(ht, _h, _ptr) \ argument
1109 #define ZEND_HASH_REVERSE_FOREACH_NUM_KEY_PTR(ht, _h, _ptr) \ argument
1114 #define ZEND_HASH_FOREACH_STR_KEY_PTR(ht, _key, _ptr) \ argument
1119 #define ZEND_HASH_REVERSE_FOREACH_STR_KEY_PTR(ht, _key, _ptr) \ argument
1124 #define ZEND_HASH_FOREACH_KEY_PTR(ht, _h, _key, _ptr) \ argument
1130 #define ZEND_HASH_REVERSE_FOREACH_KEY_PTR(ht, _h, _key, _ptr) \ argument
1141 #define ZEND_HASH_FILL_PACKED(ht) do { \ argument
1191 static zend_always_inline zval *_zend_hash_append_ex(HashTable *ht, zend_string *key, zval *zv, boo… in _zend_hash_append_ex()
1212 static zend_always_inline zval *_zend_hash_append(HashTable *ht, zend_string *key, zval *zv) in _zend_hash_append()
1217 static zend_always_inline zval *_zend_hash_append_ptr_ex(HashTable *ht, zend_string *key, void *ptr… in _zend_hash_append_ptr_ex()
1238 static zend_always_inline zval *_zend_hash_append_ptr(HashTable *ht, zend_string *key, void *ptr) in _zend_hash_append_ptr()
1243 static zend_always_inline void _zend_hash_append_ind(HashTable *ht, zend_string *key, zval *ptr) in _zend_hash_append_ind()