Lines Matching refs:HT_SIZE_TO_MASK
172 ZEND_ASSERT(HT_SIZE_TO_MASK(nSize)); in zend_hash_real_init_mixed_ex()
175 data = pemalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize)), 1); in zend_hash_real_init_mixed_ex()
177 data = emalloc(HT_SIZE_EX(HT_MIN_SIZE, HT_SIZE_TO_MASK(HT_MIN_SIZE))); in zend_hash_real_init_mixed_ex()
178 ht->nTableMask = HT_SIZE_TO_MASK(HT_MIN_SIZE); in zend_hash_real_init_mixed_ex()
226 data = emalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize))); in zend_hash_real_init_mixed_ex()
228 ht->nTableMask = HT_SIZE_TO_MASK(nSize); in zend_hash_real_init_mixed_ex()
354 ZEND_ASSERT(HT_SIZE_TO_MASK(nSize)); in zend_hash_packed_to_hash()
358 new_data = pemalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize)), GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_packed_to_hash()
360 ht->nTableMask = HT_SIZE_TO_MASK(ht->nTableSize); in zend_hash_packed_to_hash()
402 ZEND_ASSERT(HT_SIZE_TO_MASK(nSize)); in zend_hash_extend()
423 …new_data = pemalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize)), GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_extend()
425 ht->nTableMask = HT_SIZE_TO_MASK(ht->nTableSize); in zend_hash_extend()
1309 ZEND_ASSERT(HT_SIZE_TO_MASK(nSize)); in zend_hash_do_resize()
1311 …new_data = pemalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize)), GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_do_resize()
1313 ht->nTableMask = HT_SIZE_TO_MASK(ht->nTableSize); in zend_hash_do_resize()