interned_strings 153 Zend/zend_globals.h HashTable interned_strings; interned_strings 55 Zend/zend_string.c zend_hash_init(&CG(interned_strings), 0, NULL, NULL, 1); interned_strings 57 Zend/zend_string.c CG(interned_strings).nTableMask = CG(interned_strings).nTableSize - 1; interned_strings 58 Zend/zend_string.c CG(interned_strings).arBuckets = (Bucket **) pecalloc(CG(interned_strings).nTableSize, sizeof(Bucket *), CG(interned_strings).persistent); interned_strings 79 Zend/zend_string.c free(CG(interned_strings).arBuckets); interned_strings 96 Zend/zend_string.c nIndex = h & CG(interned_strings).nTableMask; interned_strings 97 Zend/zend_string.c p = CG(interned_strings).arBuckets[nIndex]; interned_strings 133 Zend/zend_string.c p->pNext = CG(interned_strings).arBuckets[nIndex]; interned_strings 141 Zend/zend_string.c p->pListLast = CG(interned_strings).pListTail; interned_strings 142 Zend/zend_string.c CG(interned_strings).pListTail = p; interned_strings 147 Zend/zend_string.c if (!CG(interned_strings).pListHead) { interned_strings 148 Zend/zend_string.c CG(interned_strings).pListHead = p; interned_strings 151 Zend/zend_string.c CG(interned_strings).arBuckets[nIndex] = p; interned_strings 155 Zend/zend_string.c CG(interned_strings).nNumOfElements++; interned_strings 157 Zend/zend_string.c if (CG(interned_strings).nNumOfElements > CG(interned_strings).nTableSize) { interned_strings 158 Zend/zend_string.c if ((CG(interned_strings).nTableSize << 1) > 0) { /* Let's double the table size */ interned_strings 159 Zend/zend_string.c Bucket **t = (Bucket **) perealloc_recoverable(CG(interned_strings).arBuckets, (CG(interned_strings).nTableSize << 1) * sizeof(Bucket *), CG(interned_strings).persistent); interned_strings 163 Zend/zend_string.c CG(interned_strings).arBuckets = t; interned_strings 164 Zend/zend_string.c CG(interned_strings).nTableSize = (CG(interned_strings).nTableSize << 1); interned_strings 165 Zend/zend_string.c CG(interned_strings).nTableMask = CG(interned_strings).nTableSize - 1; interned_strings 166 Zend/zend_string.c zend_hash_rehash(&CG(interned_strings)); interned_strings 201 Zend/zend_string.c for (i = 0; i < CG(interned_strings).nTableSize; i++) { interned_strings 202 Zend/zend_string.c p = CG(interned_strings).arBuckets[i]; interned_strings 204 Zend/zend_string.c CG(interned_strings).nNumOfElements--; interned_strings 208 Zend/zend_string.c CG(interned_strings).pListHead = p->pListNext; interned_strings 213 Zend/zend_string.c CG(interned_strings).pListTail = p->pListLast; interned_strings 220 Zend/zend_string.c CG(interned_strings).arBuckets[i] = p; interned_strings 282 ext/opcache/ZendAccelerator.c for (i = 0; i < ZCSG(interned_strings).nTableSize; i++) { interned_strings 283 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).arBuckets[i] = ZCSG(interned_strings_saved_state).arBuckets[i]; interned_strings 284 ext/opcache/ZendAccelerator.c if (ZCSG(interned_strings).arBuckets[i]) { interned_strings 285 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).arBuckets[i]->pLast = NULL; interned_strings 288 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).pListHead = ZCSG(interned_strings_saved_state).pListHead; interned_strings 289 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).pListTail = ZCSG(interned_strings_saved_state).pListTail; interned_strings 290 ext/opcache/ZendAccelerator.c if (ZCSG(interned_strings).pListHead) { interned_strings 291 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).pListHead->pListLast = NULL; interned_strings 293 ext/opcache/ZendAccelerator.c if (ZCSG(interned_strings).pListTail) { interned_strings 294 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).pListTail->pListNext = NULL; interned_strings 301 ext/opcache/ZendAccelerator.c ZCSG(interned_strings_saved_state).arBuckets = (Bucket**)zend_shared_alloc(ZCSG(interned_strings).nTableSize * sizeof(Bucket *)); interned_strings 305 ext/opcache/ZendAccelerator.c memcpy(ZCSG(interned_strings_saved_state).arBuckets, ZCSG(interned_strings).arBuckets, ZCSG(interned_strings).nTableSize * sizeof(Bucket *)); interned_strings 306 ext/opcache/ZendAccelerator.c ZCSG(interned_strings_saved_state).pListHead = ZCSG(interned_strings).pListHead; interned_strings 307 ext/opcache/ZendAccelerator.c ZCSG(interned_strings_saved_state).pListTail = ZCSG(interned_strings).pListTail; interned_strings 326 ext/opcache/ZendAccelerator.c nIndex = h & ZCSG(interned_strings).nTableMask; interned_strings 329 ext/opcache/ZendAccelerator.c p = ZCSG(interned_strings).arBuckets[nIndex]; interned_strings 360 ext/opcache/ZendAccelerator.c p->pNext = ZCSG(interned_strings).arBuckets[nIndex]; interned_strings 365 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).arBuckets[nIndex] = p; interned_strings 367 ext/opcache/ZendAccelerator.c p->pListLast = ZCSG(interned_strings).pListTail; interned_strings 368 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).pListTail = p; interned_strings 373 ext/opcache/ZendAccelerator.c if (!ZCSG(interned_strings).pListHead) { interned_strings 374 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).pListHead = p; interned_strings 377 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).nNumOfElements++; interned_strings 2474 ext/opcache/ZendAccelerator.c zend_hash_init(&ZCSG(interned_strings), (ZCG(accel_directives).interned_strings_buffer * 1024 * 1024) / (sizeof(Bucket) + sizeof(Bucket*) + 8 /* average string length */), NULL, NULL, 1); interned_strings 2476 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).nTableMask = ZCSG(interned_strings).nTableSize - 1; interned_strings 2477 ext/opcache/ZendAccelerator.c ZCSG(interned_strings).arBuckets = zend_shared_alloc(ZCSG(interned_strings).nTableSize * sizeof(Bucket *)); interned_strings 2479 ext/opcache/ZendAccelerator.c if (!ZCSG(interned_strings).arBuckets || !ZCSG(interned_strings_start)) { interned_strings 306 ext/opcache/ZendAccelerator.h HashTable interned_strings; interned_strings 599 ext/opcache/zend_accelerator_module.c add_assoc_long(interned_strings_usage, "number_of_strings", ZCSG(interned_strings).nNumOfElements);