Home
last modified time | relevance | path

Searched refs:interned_strings (Results 1 – 7 of 7) sorted by relevance

/PHP-8.3/Zend/
H A Dzend_string.c82 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 Dzend_globals.h128 HashTable interned_strings; member
H A Dzend.c1332 if (zend_hash_num_elements(&CG(interned_strings)) > 0) { in zend_deactivate()
/PHP-8.3/ext/tokenizer/
H A Dtokenizer.c270 } else if (interned_strings) { in make_str()
276 zend_hash_add_new_ptr(interned_strings, interned_str, interned_str); in make_str()
285 zend_class_entry *token_class, HashTable *interned_strings) { in add_token() argument
291 ZVAL_STR(OBJ_PROP_NUM(obj, 1), make_str(text, leng, interned_strings)); in add_token()
311 ZEND_HASH_FILL_SET_STR(make_str(text, leng, interned_strings)); in add_token()
317 ZVAL_STR(&token, make_str(text, leng, interned_strings)); in add_token()
330 HashTable interned_strings; in tokenize() local
338 zend_hash_init(&interned_strings, 0, NULL, NULL, 0); in tokenize()
346 token_class, &interned_strings); in tokenize()
363 token_line, token_class, &interned_strings); in tokenize()
[all …]
/PHP-8.3/ext/opcache/
H A DZendAccelerator.h278 zend_string_table interned_strings; member
324 …((char*)(str) >= (char*)ZCSG(interned_strings).start && (char*)(str) < (char*)ZCSG(interned_string…
H A Dzend_accelerator_module.c513 if (ZCSG(interned_strings).start && ZCSG(interned_strings).end) {
514 …snprintf(buf, sizeof(buf), "%zu", (size_t)((char*)ZCSG(interned_strings).top - (char*)(accel_share…
516 …ntf(buf, sizeof(buf), "%zu", (size_t)((char*)ZCSG(interned_strings).end - (char*)ZCSG(interned_str…
673 if (ZCSG(interned_strings).start && ZCSG(interned_strings).end) {
677 …add_assoc_long(&interned_strings_usage, "buffer_size", (char*)ZCSG(interned_strings).end - (char*)…
678 …add_assoc_long(&interned_strings_usage, "used_memory", (char*)ZCSG(interned_strings).top - (char*)…
679 …nterned_strings_usage, "free_memory", (char*)ZCSG(interned_strings).end - (char*)ZCSG(interned_str…
680 …add_assoc_long(&interned_strings_usage, "number_of_strings", ZCSG(interned_strings).nNumOfElements…
H A DZendAccelerator.c426 0, (char*)ZCSG(interned_strings).top - (char*)ZCSG(interned_strings).saved_top); in accel_interned_strings_restore_state()
429 ZCSG(interned_strings).top = ZCSG(interned_strings).saved_top; in accel_interned_strings_restore_state()
434 (char*)ZCSG(interned_strings).start - in accel_interned_strings_restore_state()
436 s = ZCSG(interned_strings).start; in accel_interned_strings_restore_state()
437 top = ZCSG(interned_strings).top; in accel_interned_strings_restore_state()
462 ZCSG(interned_strings).saved_top = ZCSG(interned_strings).top; in accel_interned_strings_save_state()
538 s = ZCSG(interned_strings).top; in accel_new_interned_string()
2874 ZCSG(interned_strings).start = in zend_accel_init_shm()
2879 ZCSG(interned_strings).top = in zend_accel_init_shm()
2880 ZCSG(interned_strings).start; in zend_accel_init_shm()
[all …]

Completed in 52 milliseconds