Searched refs:interned_strings (Results 1 – 7 of 7) sorted by relevance
/PHP-8.4/Zend/ |
H A D | zend_string.c | 82 zend_hash_real_init_mixed(interned_strings); in zend_init_interned_strings_ht() 143 nIndex = h | interned_strings->nTableMask; in zend_interned_string_ht_lookup_ex() 144 idx = HT_HASH(interned_strings, nIndex); in zend_interned_string_ht_lookup_ex() 146 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup_ex() 163 nIndex = h | interned_strings->nTableMask; in zend_interned_string_ht_lookup() 164 idx = HT_HASH(interned_strings, nIndex); in zend_interned_string_ht_lookup() 166 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup() 187 zend_hash_add_new(interned_strings, str, &val); in zend_add_interned_string() 267 ret = zend_add_interned_string(str, &CG(interned_strings), 0); in zend_new_interned_string_request() 353 zend_init_interned_strings_ht(&CG(interned_strings), 0); in zend_interned_strings_activate() [all …]
|
H A D | zend_globals.h | 130 HashTable interned_strings; member
|
H A D | zend.c | 1383 if (zend_hash_num_elements(&CG(interned_strings)) > 0) { in zend_deactivate()
|
/PHP-8.4/ext/tokenizer/ |
H A D | tokenizer.c | 269 } else if (interned_strings) { in make_str() 275 zend_hash_add_new_ptr(interned_strings, interned_str, interned_str); in make_str() 284 zend_class_entry *token_class, HashTable *interned_strings) { in add_token() argument 290 ZVAL_STR(OBJ_PROP_NUM(obj, 1), make_str(text, leng, interned_strings)); in add_token() 310 ZEND_HASH_FILL_SET_STR(make_str(text, leng, interned_strings)); in add_token() 316 ZVAL_STR(&token, make_str(text, leng, interned_strings)); in add_token() 329 HashTable interned_strings; in tokenize() local 337 zend_hash_init(&interned_strings, 0, NULL, NULL, 0); in tokenize() 345 token_class, &interned_strings); in tokenize() 362 token_line, token_class, &interned_strings); in tokenize() [all …]
|
/PHP-8.4/ext/opcache/ |
H A D | ZendAccelerator.h | 283 ZEND_SET_ALIGNED(ZEND_STRING_TABLE_POS_ALIGNMENT, zend_string_table interned_strings); 329 …((char*)(str) >= (char*)ZCSG(interned_strings).start && (char*)(str) < (char*)ZCSG(interned_string…
|
H A D | ZendAccelerator.c | 430 0, (char*)ZCSG(interned_strings).top - (char*)ZCSG(interned_strings).saved_top); in accel_interned_strings_restore_state() 433 ZCSG(interned_strings).top = ZCSG(interned_strings).saved_top; in accel_interned_strings_restore_state() 438 (char*)ZCSG(interned_strings).start - in accel_interned_strings_restore_state() 440 s = ZCSG(interned_strings).start; in accel_interned_strings_restore_state() 441 top = ZCSG(interned_strings).top; in accel_interned_strings_restore_state() 466 ZCSG(interned_strings).saved_top = ZCSG(interned_strings).top; in accel_interned_strings_save_state() 542 s = ZCSG(interned_strings).top; in accel_new_interned_string() 2895 ZCSG(interned_strings).start = in zend_accel_init_shm() 2902 ZCSG(interned_strings).top = in zend_accel_init_shm() 2903 ZCSG(interned_strings).start; in zend_accel_init_shm() [all …]
|
H A D | zend_accelerator_module.c | 524 if (ZCSG(interned_strings).start && ZCSG(interned_strings).end) { 525 …snprintf(buf, sizeof(buf), "%zu", (size_t)((char*)ZCSG(interned_strings).top - (char*)(accel_share… 527 …ntf(buf, sizeof(buf), "%zu", (size_t)((char*)ZCSG(interned_strings).end - (char*)ZCSG(interned_str… 684 if (ZCSG(interned_strings).start && ZCSG(interned_strings).end) { 688 …add_assoc_long(&interned_strings_usage, "buffer_size", (char*)ZCSG(interned_strings).end - (char*)… 689 …add_assoc_long(&interned_strings_usage, "used_memory", (char*)ZCSG(interned_strings).top - (char*)… 690 …nterned_strings_usage, "free_memory", (char*)ZCSG(interned_strings).end - (char*)ZCSG(interned_str… 691 …add_assoc_long(&interned_strings_usage, "number_of_strings", ZCSG(interned_strings).nNumOfElements…
|
Completed in 47 milliseconds