Lines Matching refs:__ht
987 # define ZEND_HASH_ELEMENT_SIZE(__ht) \
988 (HT_IS_PACKED(__ht) ? sizeof(zval) : sizeof(Bucket))
990 # define ZEND_HASH_ELEMENT_SIZE(__ht) \ argument
991 …(sizeof(zval) + (~HT_FLAGS(__ht) & HASH_FLAG_PACKED) * ((sizeof(Bucket)-sizeof(zval))/HASH_FLAG_PA…
994 #define ZEND_HASH_ELEMENT_EX(__ht, _idx, _size) \ argument
995 ((zval*)(((char*)(__ht)->arPacked) + ((_idx) * (_size))))
997 #define ZEND_HASH_ELEMENT(__ht, _idx) \ argument
998 ZEND_HASH_ELEMENT_EX(__ht, _idx, ZEND_HASH_ELEMENT_SIZE(__ht))
1007 HashTable *__ht = (_ht); \
1008 uint32_t _count = __ht->nNumUsed; \
1009 size_t _size = ZEND_HASH_ELEMENT_SIZE(__ht); \
1010 zval *_z = __ht->arPacked; \
1015 HashTable *__ht = (_ht); \
1016 uint32_t _idx = __ht->nNumUsed; \
1017 size_t _size = ZEND_HASH_ELEMENT_SIZE(__ht); \
1018 zval *_z = ZEND_HASH_ELEMENT_EX(__ht, _idx, _size); \
1024 HashTable *__ht = (_ht); \
1028 size_t _size = ZEND_HASH_ELEMENT_SIZE(__ht); \
1029 zval *__z = ZEND_HASH_ELEMENT_EX(__ht, _idx, _size); \
1030 uint32_t _count = __ht->nNumUsed - _idx; \
1033 if (HT_IS_PACKED(__ht)) { \
1052 HashTable *__ht = (_ht); \
1053 uint32_t _idx = __ht->nNumUsed; \
1057 size_t _size = ZEND_HASH_ELEMENT_SIZE(__ht); \
1058 zval *__z = ZEND_HASH_ELEMENT_EX(__ht, _idx, _size); \
1060 if (HT_IS_PACKED(__ht)) { \
1241 HashTable *__ht = (_ht); \
1242 Bucket *_p = __ht->arData + (_from); \
1243 Bucket *_end = __ht->arData + __ht->nNumUsed; \
1244 ZEND_ASSERT(!HT_IS_PACKED(__ht)); \
1255 HashTable *__ht = (_ht); \
1256 uint32_t _idx = __ht->nNumUsed; \
1257 Bucket *_p = __ht->arData + _idx; \
1259 ZEND_ASSERT(!HT_IS_PACKED(__ht)); \
1260 for (_idx = __ht->nNumUsed; _idx > 0; _idx--) { \
1269 ZEND_ASSERT(!HT_IS_PACKED(__ht)); \
1270 __ht->nNumOfElements--; \
1273 uint32_t nIndex = _p->h | __ht->nTableMask; \
1274 uint32_t i = HT_HASH(__ht, nIndex); \
1276 Bucket *prev = HT_HASH_TO_BUCKET(__ht, i); \
1279 prev = HT_HASH_TO_BUCKET(__ht, i); \
1283 HT_HASH(__ht, nIndex) = Z_NEXT(_p->val); \
1287 __ht->nNumUsed = _idx; \
1449 HashTable *__ht = (_ht); \
1451 zval *_z = __ht->arPacked + (_from); \
1452 zval *_end = __ht->arPacked + __ht->nNumUsed; \
1453 ZEND_ASSERT(HT_IS_PACKED(__ht)); \
1461 HashTable *__ht = (_ht); \
1462 zend_ulong _idx = __ht->nNumUsed; \
1463 zval *_z = __ht->arPacked + _idx; \
1464 ZEND_ASSERT(HT_IS_PACKED(__ht)); \