Searched refs:nTableSize (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_string.c52 CG(interned_strings).nTableMask = -CG(interned_strings).nTableSize;
107 if (CG(interned_strings).nNumUsed >= CG(interned_strings).nTableSize) {
108 if (CG(interned_strings).nTableSize < HT_MAX_SIZE) { /* Let's double the table size */
114 CG(interned_strings).nTableSize += CG(interned_strings).nTableSize;
115 CG(interned_strings).nTableMask = -CG(interned_strings).nTableSize;
124 CG(interned_strings).nTableSize = CG(interned_strings).nTableSize >> 1;
125 CG(interned_strings).nTableMask = -CG(interned_strings).nTableSize;
H A Dzend_hash.c87 if ((ht)->nNumUsed >= (ht)->nTableSize) { \
137 (ht)->nTableMask = -(ht)->nTableSize;
176 ht->nTableSize = zend_hash_check_size(nSize);
189 if (ht->nTableSize >= HT_MAX_SIZE) {
190 zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", ht->nTableSize * 2, sizeof(Bucket), sizeof(Bucket));
193 ht->nTableSize += ht->nTableSize;
214 new_data = pemalloc(HT_SIZE_EX(ht->nTableSize, -ht->nTableSize), (ht)->u.flags & HASH_FLAG_PERSISTENT);
215 ht->nTableMask = -ht->nTableSize;
[all...]
H A Dzend_types.h192 uint32_t nTableSize; member in struct:_zend_array
209 * | Bucket[ht->nTableSize-1] |
245 #define HT_DATA_SIZE(nTableSize) \
246 ((size_t)(nTableSize) * sizeof(Bucket))
247 #define HT_SIZE_EX(nTableSize, nTableMask) \
248 (HT_DATA_SIZE((nTableSize)) + HT_HASH_SIZE((nTableMask)))
250 HT_SIZE_EX((ht)->nTableSize, (ht)->nTableMask)
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1982 if (!ZCG(function_table).nTableSize) {
2378 ZCSG(interned_strings).nTableMask = -ZCSG(interned_strings).nTableSize;
2442 if (accel_globals->function_table.nTableSize) {
H A Dzend_accelerator_util_funcs.c234 ht->nTableSize = source->nTableSize;
279 ht->nTableSize = source->nTableSize;
337 ht->nTableSize = source->nTableSize;
/PHP_TRUNK/ext/standard/
H A Darray.c2070 in_hash->nTableSize = out_hash.nTableSize;
2349 Z_ARRVAL_P(stack)->nTableSize = new_hash.nTableSize;

Completed in 20 milliseconds