Home
last modified time | relevance | path

Searched refs:nTableMask (Results 1 – 10 of 10) sorted by relevance

/PHP-8.1/Zend/
H A Dzend_hash.c242 .nTableMask = HT_MIN_MASK,
257 ht->nTableMask = HT_MIN_MASK; in _zend_hash_init_int()
368 ht->nTableMask = HT_MIN_MASK; in zend_hash_to_packed()
665 nIndex = h | ht->nTableMask; in zend_hash_find_bucket()
700 nIndex = h | ht->nTableMask; in zend_hash_str_find_bucket()
723 nIndex = h | ht->nTableMask; in zend_hash_index_find_bucket()
808 nIndex = h | ht->nTableMask; in _zend_hash_add_or_update_i()
893 nIndex = h | ht->nTableMask; in _zend_hash_str_add_or_update_i()
1085 nIndex = h | ht->nTableMask; in _zend_hash_index_add_or_update_i()
2132 target->nTableMask = source->nTableMask; in zend_array_dup()
[all …]
H A Dzend_types.h373 uint32_t nTableMask; member
437 #define HT_HASH_SIZE(nTableMask) \ argument
438 (((size_t)-(uint32_t)(nTableMask)) * sizeof(uint32_t))
441 #define HT_SIZE_EX(nTableSize, nTableMask) \ argument
442 (HT_DATA_SIZE((nTableSize)) + HT_HASH_SIZE((nTableMask)))
444 HT_SIZE_EX((ht)->nTableSize, (ht)->nTableMask)
446 (HT_HASH_SIZE((ht)->nTableMask) + ((size_t)(ht)->nNumUsed * sizeof(Bucket)))
449 char *p = (char*)&HT_HASH(ht, (ht)->nTableMask); \
450 size_t size = HT_HASH_SIZE((ht)->nTableMask); \
465 memset(&HT_HASH(ht, (ht)->nTableMask), HT_INVALID_IDX, HT_HASH_SIZE((ht)->nTableMask))
[all …]
H A Dzend_string.c134 nIndex = h | interned_strings->nTableMask; in zend_interned_string_ht_lookup_ex()
156 nIndex = h | interned_strings->nTableMask; in zend_interned_string_ht_lookup()
H A Dzend_hash.h995 uint32_t nIndex = _p->h | __ht->nTableMask; \
1275 nIndex = (uint32_t)p->h | ht->nTableMask; in _zend_hash_append_ex()
1301 nIndex = (uint32_t)p->h | ht->nTableMask; in _zend_hash_append_ptr_ex()
1327 nIndex = (uint32_t)p->h | ht->nTableMask; in _zend_hash_append_ind()
/PHP-8.1/ext/opcache/
H A DZendAccelerator.h231 uint32_t nTableMask; member
H A Dzend_persist.c109 ht->nTableMask = HT_MIN_MASK; in zend_hash_persist()
126 } else if (ht->nNumUsed > HT_MIN_SIZE && ht->nNumUsed < (uint32_t)(-(int32_t)ht->nTableMask) / 4) { in zend_hash_persist()
132 hash_size = (uint32_t)(-(int32_t)ht->nTableMask); in zend_hash_persist()
136 ht->nTableMask = (uint32_t)(-(int32_t)hash_size); in zend_hash_persist()
150 nIndex = p->h | ht->nTableMask; in zend_hash_persist()
H A Dzend_persist_calc.c57 …PACKED) && ht->nNumUsed > HT_MIN_SIZE && ht->nNumUsed < (uint32_t)(-(int32_t)ht->nTableMask) / 4) { in zend_hash_persist_calc()
61 hash_size = (uint32_t)(-(int32_t)ht->nTableMask); in zend_hash_persist_calc()
H A DZendAccelerator.c384 ((uint32_t*)((char*)(tab) + sizeof(*(tab)) + ((h) & (tab)->nTableMask)))
2891 ZCSG(interned_strings).nTableMask = hash_size << 2; in zend_accel_init_shm()
/PHP-8.1/ext/standard/
H A Darray.c3111 in_hash->nTableMask = out_hash.nTableMask;
3335 Z_ARRVAL_P(stack)->nTableMask = new_hash.nTableMask;
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_watch.c590 …phpdbg_set_addr_watchpoint(HT_GET_DATA_ADDR(hti->ht), HT_HASH_SIZE(hti->ht->nTableMask), &hti->has…

Completed in 75 milliseconds