Lines Matching defs:ht

51 #define HT_FLAGS(ht) (ht)->u.flags  argument
53 #define HT_INVALIDATE(ht) do { \ argument
57 #define HT_IS_INITIALIZED(ht) \ argument
60 #define HT_IS_PACKED(ht) \ argument
63 #define HT_IS_WITHOUT_HOLES(ht) \ argument
66 #define HT_HAS_STATIC_KEYS_ONLY(ht) \ argument
70 # define HT_ALLOW_COW_VIOLATION(ht) HT_FLAGS(ht) |= HASH_FLAG_ALLOW_COW_VIOLATION argument
72 # define HT_ALLOW_COW_VIOLATION(ht) argument
75 #define HT_ITERATORS_COUNT(ht) (ht)->u.v.nIteratorsCount argument
76 #define HT_ITERATORS_OVERFLOW(ht) (HT_ITERATORS_COUNT(ht) == 0xff) argument
77 #define HT_HAS_ITERATORS(ht) (HT_ITERATORS_COUNT(ht) != 0) argument
79 #define HT_SET_ITERATORS_COUNT(ht, iters) \ argument
81 #define HT_INC_ITERATORS_COUNT(ht) \ argument
83 #define HT_DEC_ITERATORS_COUNT(ht) \ argument
109 #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) \ argument
188 static zend_always_inline zval *zend_hash_find_ex(const HashTable *ht, zend_string *key, bool known… in zend_hash_find_ex()
233 static zend_always_inline bool zend_hash_exists(const HashTable *ht, zend_string *key) in zend_hash_exists()
238 static zend_always_inline bool zend_hash_str_exists(const HashTable *ht, const char *str, size_t le… in zend_hash_str_exists()
243 static zend_always_inline bool zend_hash_index_exists(const HashTable *ht, zend_ulong h) in zend_hash_index_exists()
261 static zend_always_inline zend_result zend_hash_has_more_elements_ex(const HashTable *ht, const Has… in zend_hash_has_more_elements_ex()
264 static zend_always_inline zend_result zend_hash_has_more_elements(HashTable *ht) { in zend_hash_has_more_elements()
267 static zend_always_inline zend_result zend_hash_move_forward(HashTable *ht) { in zend_hash_move_forward()
270 static zend_always_inline zend_result zend_hash_move_backwards(HashTable *ht) { in zend_hash_move_backwards()
273 static zend_always_inline int zend_hash_get_current_key(const HashTable *ht, zend_string **str_inde… in zend_hash_get_current_key()
276 static zend_always_inline void zend_hash_get_current_key_zval(const HashTable *ht, zval *key) { in zend_hash_get_current_key_zval()
279 static zend_always_inline int zend_hash_get_current_key_type(const HashTable *ht) { in zend_hash_get_current_key_type()
282 static zend_always_inline zval* zend_hash_get_current_data(const HashTable *ht) { in zend_hash_get_current_data()
285 static zend_always_inline void zend_hash_internal_pointer_reset(HashTable *ht) { in zend_hash_internal_pointer_reset()
288 static zend_always_inline void zend_hash_internal_pointer_end(HashTable *ht) { in zend_hash_internal_pointer_end()
306 static zend_always_inline void ZEND_FASTCALL zend_hash_sort(HashTable *ht, bucket_compare_func_t co… in zend_hash_sort()
313 static zend_always_inline void zend_array_sort(HashTable *ht, bucket_compare_func_t compare_func, b… in zend_array_sort()
317 static zend_always_inline uint32_t zend_hash_num_elements(const HashTable *ht) { in zend_hash_num_elements()
321 static zend_always_inline zend_long zend_hash_next_free_element(const HashTable *ht) { in zend_hash_next_free_element()
364 static zend_always_inline void zend_hash_iterators_update(const HashTable *ht, HashPosition from, H… in zend_hash_iterators_update()
394 #define ZEND_INIT_SYMTABLE(ht) \ in END_EXTERN_C() argument
397 #define ZEND_INIT_SYMTABLE_EX(ht, n, persistent) \ in END_EXTERN_C() argument
425 static zend_always_inline zval *zend_hash_find_ind(const HashTable *ht, zend_string *key) in zend_hash_find_ind()
435 static zend_always_inline zval *zend_hash_find_ex_ind(const HashTable *ht, zend_string *key, bool k… in zend_hash_find_ex_ind()
445 static zend_always_inline bool zend_hash_exists_ind(const HashTable *ht, zend_string *key) in zend_hash_exists_ind()
455 static zend_always_inline zval *zend_hash_str_find_ind(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ind()
465 static zend_always_inline bool zend_hash_str_exists_ind(const HashTable *ht, const char *str, size_… in zend_hash_str_exists_ind()
474 static zend_always_inline zval *zend_symtable_add_new(HashTable *ht, zend_string *key, zval *pData) in zend_symtable_add_new()
485 static zend_always_inline zval *zend_symtable_update(HashTable *ht, zend_string *key, zval *pData) in zend_symtable_update()
497 static zend_always_inline zval *zend_symtable_update_ind(HashTable *ht, zend_string *key, zval *pDa… in zend_symtable_update_ind()
509 static zend_always_inline zend_result zend_symtable_del(HashTable *ht, zend_string *key) in zend_symtable_del()
521 static zend_always_inline zend_result zend_symtable_del_ind(HashTable *ht, zend_string *key) in zend_symtable_del_ind()
533 static zend_always_inline zval *zend_symtable_find(const HashTable *ht, zend_string *key) in zend_symtable_find()
545 static zend_always_inline zval *zend_symtable_find_ind(const HashTable *ht, zend_string *key) in zend_symtable_find_ind()
557 static zend_always_inline bool zend_symtable_exists(HashTable *ht, zend_string *key) in zend_symtable_exists()
569 static zend_always_inline bool zend_symtable_exists_ind(HashTable *ht, zend_string *key) in zend_symtable_exists_ind()
581 static zend_always_inline zval *zend_symtable_str_update(HashTable *ht, const char *str, size_t len… in zend_symtable_str_update()
593 static zend_always_inline zval *zend_symtable_str_update_ind(HashTable *ht, const char *str, size_t… in zend_symtable_str_update_ind()
605 static zend_always_inline zend_result zend_symtable_str_del(HashTable *ht, const char *str, size_t … in zend_symtable_str_del()
617 static zend_always_inline zend_result zend_symtable_str_del_ind(HashTable *ht, const char *str, siz… in zend_symtable_str_del_ind()
629 static zend_always_inline zval *zend_symtable_str_find(HashTable *ht, const char *str, size_t len) in zend_symtable_str_find()
641 static zend_always_inline bool zend_symtable_str_exists(HashTable *ht, const char *str, size_t len) in zend_symtable_str_exists()
652 static zend_always_inline void *zend_hash_add_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_add_ptr()
666 static zend_always_inline void *zend_hash_add_new_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_add_new_ptr()
680 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()
694 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()
708 static zend_always_inline void *zend_hash_update_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_update_ptr()
718 static zend_always_inline void *zend_hash_str_update_ptr(HashTable *ht, const char *str, size_t len… in zend_hash_str_update_ptr()
728 static zend_always_inline void *zend_hash_add_mem(HashTable *ht, zend_string *key, void *pData, siz… in zend_hash_add_mem()
741 static zend_always_inline void *zend_hash_add_new_mem(HashTable *ht, zend_string *key, void *pData,… in zend_hash_add_new_mem()
754 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()
767 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()
780 static zend_always_inline void *zend_hash_update_mem(HashTable *ht, zend_string *key, void *pData, … in zend_hash_update_mem()
789 static zend_always_inline void *zend_hash_str_update_mem(HashTable *ht, const char *str, size_t len… in zend_hash_str_update_mem()
798 static zend_always_inline void *zend_hash_index_add_ptr(HashTable *ht, zend_ulong h, void *pData) in zend_hash_index_add_ptr()
807 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()
816 static zend_always_inline void *zend_hash_index_update_ptr(HashTable *ht, zend_ulong h, void *pData) in zend_hash_index_update_ptr()
826 static zend_always_inline void *zend_hash_index_add_mem(HashTable *ht, zend_ulong h, void *pData, s… in zend_hash_index_add_mem()
839 static zend_always_inline void *zend_hash_next_index_insert_ptr(HashTable *ht, void *pData) in zend_hash_next_index_insert_ptr()
853 static zend_always_inline void *zend_hash_index_update_mem(HashTable *ht, zend_ulong h, void *pData… in zend_hash_index_update_mem()
862 static zend_always_inline void *zend_hash_next_index_insert_mem(HashTable *ht, void *pData, size_t … in zend_hash_next_index_insert_mem()
876 static zend_always_inline void *zend_hash_find_ptr(const HashTable *ht, zend_string *key) in zend_hash_find_ptr()
889 static zend_always_inline void *zend_hash_find_ex_ptr(const HashTable *ht, zend_string *key, bool k… in zend_hash_find_ex_ptr()
902 static zend_always_inline void *zend_hash_str_find_ptr(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ptr()
940 static zend_always_inline zval *zend_hash_index_find_deref(HashTable *ht, zend_ulong h) in zend_hash_index_find_deref()
949 static zend_always_inline zval *zend_hash_find_deref(HashTable *ht, zend_string *str) in zend_hash_find_deref()
958 static zend_always_inline zval *zend_hash_str_find_deref(HashTable *ht, const char *str, size_t len) in zend_hash_str_find_deref()
967 static zend_always_inline void *zend_symtable_str_find_ptr(HashTable *ht, const char *str, size_t l… in zend_symtable_str_find_ptr()
978 static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht, HashPosition *pos) in zend_hash_get_current_data_ptr_ex()
991 #define zend_hash_get_current_data_ptr(ht) \ argument
1094 #define ZEND_HASH_FOREACH_BUCKET(ht, _bucket) \ argument
1097 #define ZEND_HASH_FOREACH_BUCKET_FROM(ht, _bucket, _from) \ argument
1100 #define ZEND_HASH_REVERSE_FOREACH_BUCKET(ht, _bucket) \ argument
1103 #define ZEND_HASH_FOREACH_VAL(ht, _val) \ argument
1107 #define ZEND_HASH_REVERSE_FOREACH_VAL(ht, _val) \ argument
1111 #define ZEND_HASH_FOREACH_VAL_IND(ht, _val) \ argument
1115 #define ZEND_HASH_REVERSE_FOREACH_VAL_IND(ht, _val) \ argument
1119 #define ZEND_HASH_FOREACH_PTR(ht, _ptr) \ argument
1123 #define ZEND_HASH_FOREACH_PTR_FROM(ht, _ptr, _from) \ argument
1127 #define ZEND_HASH_REVERSE_FOREACH_PTR(ht, _ptr) \ argument
1131 #define ZEND_HASH_FOREACH_NUM_KEY(ht, _h) \ argument
1135 #define ZEND_HASH_REVERSE_FOREACH_NUM_KEY(ht, _h) \ argument
1139 #define ZEND_HASH_FOREACH_STR_KEY(ht, _key) \ argument
1143 #define ZEND_HASH_REVERSE_FOREACH_STR_KEY(ht, _key) \ argument
1147 #define ZEND_HASH_FOREACH_KEY(ht, _h, _key) \ argument
1152 #define ZEND_HASH_REVERSE_FOREACH_KEY(ht, _h, _key) \ argument
1157 #define ZEND_HASH_FOREACH_NUM_KEY_VAL(ht, _h, _val) \ argument
1162 #define ZEND_HASH_REVERSE_FOREACH_NUM_KEY_VAL(ht, _h, _val) \ argument
1167 #define ZEND_HASH_FOREACH_STR_KEY_VAL(ht, _key, _val) \ argument
1172 #define ZEND_HASH_FOREACH_STR_KEY_VAL_FROM(ht, _key, _val, _from) \ argument
1177 #define ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(ht, _key, _val) \ argument
1182 #define ZEND_HASH_FOREACH_KEY_VAL(ht, _h, _key, _val) \ argument
1188 #define ZEND_HASH_REVERSE_FOREACH_KEY_VAL(ht, _h, _key, _val) \ argument
1194 #define ZEND_HASH_FOREACH_STR_KEY_VAL_IND(ht, _key, _val) \ argument
1199 #define ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL_IND(ht, _key, _val) \ argument
1204 #define ZEND_HASH_FOREACH_KEY_VAL_IND(ht, _h, _key, _val) \ argument
1210 #define ZEND_HASH_REVERSE_FOREACH_KEY_VAL_IND(ht, _h, _key, _val) \ argument
1216 #define ZEND_HASH_FOREACH_NUM_KEY_PTR(ht, _h, _ptr) \ argument
1221 #define ZEND_HASH_REVERSE_FOREACH_NUM_KEY_PTR(ht, _h, _ptr) \ argument
1226 #define ZEND_HASH_FOREACH_STR_KEY_PTR(ht, _key, _ptr) \ argument
1231 #define ZEND_HASH_REVERSE_FOREACH_STR_KEY_PTR(ht, _key, _ptr) \ argument
1236 #define ZEND_HASH_FOREACH_KEY_PTR(ht, _h, _key, _ptr) \ argument
1242 #define ZEND_HASH_REVERSE_FOREACH_KEY_PTR(ht, _h, _key, _ptr) \ argument
1299 #define ZEND_HASH_MAP_FOREACH_BUCKET(ht, _bucket) \ argument
1303 #define ZEND_HASH_MAP_FOREACH_BUCKET_FROM(ht, _bucket, _from) \ argument
1307 #define ZEND_HASH_MAP_REVERSE_FOREACH_BUCKET(ht, _bucket) \ argument
1311 #define ZEND_HASH_MAP_FOREACH_VAL(ht, _val) \ argument
1315 #define ZEND_HASH_MAP_REVERSE_FOREACH_VAL(ht, _val) \ argument
1319 #define ZEND_HASH_MAP_FOREACH_VAL_IND(ht, _val) \ argument
1323 #define ZEND_HASH_MAP_REVERSE_FOREACH_VAL_IND(ht, _val) \ argument
1327 #define ZEND_HASH_MAP_FOREACH_PTR(ht, _ptr) \ argument
1331 #define ZEND_HASH_MAP_FOREACH_PTR_FROM(ht, _ptr, _from) \ argument
1335 #define ZEND_HASH_MAP_REVERSE_FOREACH_PTR(ht, _ptr) \ argument
1339 #define ZEND_HASH_MAP_FOREACH_NUM_KEY(ht, _h) \ argument
1343 #define ZEND_HASH_MAP_REVERSE_FOREACH_NUM_KEY(ht, _h) \ argument
1347 #define ZEND_HASH_MAP_FOREACH_STR_KEY(ht, _key) \ argument
1351 #define ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY(ht, _key) \ argument
1355 #define ZEND_HASH_MAP_FOREACH_KEY(ht, _h, _key) \ argument
1360 #define ZEND_HASH_MAP_REVERSE_FOREACH_KEY(ht, _h, _key) \ argument
1365 #define ZEND_HASH_MAP_FOREACH_NUM_KEY_VAL(ht, _h, _val) \ argument
1370 #define ZEND_HASH_MAP_REVERSE_FOREACH_NUM_KEY_VAL(ht, _h, _val) \ argument
1375 #define ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(ht, _key, _val) \ argument
1380 #define ZEND_HASH_MAP_FOREACH_STR_KEY_VAL_FROM(ht, _key, _val, _from) \ argument
1385 #define ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY_VAL(ht, _key, _val) \ argument
1390 #define ZEND_HASH_MAP_FOREACH_KEY_VAL(ht, _h, _key, _val) \ argument
1396 #define ZEND_HASH_MAP_REVERSE_FOREACH_KEY_VAL(ht, _h, _key, _val) \ argument
1402 #define ZEND_HASH_MAP_FOREACH_STR_KEY_VAL_IND(ht, _key, _val) \ argument
1407 #define ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY_VAL_IND(ht, _key, _val) \ argument
1412 #define ZEND_HASH_MAP_FOREACH_KEY_VAL_IND(ht, _h, _key, _val) \ argument
1418 #define ZEND_HASH_MAP_REVERSE_FOREACH_KEY_VAL_IND(ht, _h, _key, _val) \ argument
1424 #define ZEND_HASH_MAP_FOREACH_NUM_KEY_PTR(ht, _h, _ptr) \ argument
1429 #define ZEND_HASH_MAP_REVERSE_FOREACH_NUM_KEY_PTR(ht, _h, _ptr) \ argument
1434 #define ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(ht, _key, _ptr) \ argument
1439 #define ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY_PTR(ht, _key, _ptr) \ argument
1444 #define ZEND_HASH_MAP_FOREACH_KEY_PTR(ht, _h, _key, _ptr) \ argument
1450 #define ZEND_HASH_MAP_REVERSE_FOREACH_KEY_PTR(ht, _h, _key, _ptr) \ argument
1480 #define ZEND_HASH_PACKED_FOREACH_VAL(ht, _val) \ argument
1484 #define ZEND_HASH_PACKED_REVERSE_FOREACH_VAL(ht, _val) \ argument
1488 #define ZEND_HASH_PACKED_FOREACH_PTR(ht, _ptr) \ argument
1492 #define ZEND_HASH_PACKED_REVERSE_FOREACH_PTR(ht, _ptr) \ argument
1496 #define ZEND_HASH_PACKED_FOREACH_KEY(ht, _h) \ argument
1500 #define ZEND_HASH_PACKED_REVERSE_FOREACH_KEY(ht, _h) \ argument
1504 #define ZEND_HASH_PACKED_FOREACH_KEY_VAL(ht, _h, _val) \ argument
1509 #define ZEND_HASH_PACKED_REVERSE_FOREACH_KEY_VAL(ht, _h, _val) \ argument
1514 #define ZEND_HASH_PACKED_FOREACH_KEY_PTR(ht, _h, _ptr) \ argument
1519 #define ZEND_HASH_PACKED_REVERSE_FOREACH_KEY_PTR(ht, _h, _ptr) \ argument
1529 #define ZEND_HASH_FILL_PACKED(ht) do { \ argument
1622 static zend_always_inline zval *_zend_hash_append_ex(HashTable *ht, zend_string *key, zval *zv, boo… in _zend_hash_append_ex()
1643 static zend_always_inline zval *_zend_hash_append(HashTable *ht, zend_string *key, zval *zv) in _zend_hash_append()
1648 static zend_always_inline zval *_zend_hash_append_ptr_ex(HashTable *ht, zend_string *key, void *ptr… in _zend_hash_append_ptr_ex()
1669 static zend_always_inline zval *_zend_hash_append_ptr(HashTable *ht, zend_string *key, void *ptr) in _zend_hash_append_ptr()
1674 static zend_always_inline void _zend_hash_append_ind(HashTable *ht, zend_string *key, zval *ptr) in _zend_hash_append_ind()