Lines Matching refs:interned_strings

397 	memset(ZCSG(interned_strings).saved_top,  in accel_interned_strings_restore_state()
398 0, (char*)ZCSG(interned_strings).top - (char*)ZCSG(interned_strings).saved_top); in accel_interned_strings_restore_state()
401 ZCSG(interned_strings).top = ZCSG(interned_strings).saved_top; in accel_interned_strings_restore_state()
404 memset((char*)&ZCSG(interned_strings) + sizeof(zend_string_table), in accel_interned_strings_restore_state()
406 (char*)ZCSG(interned_strings).start - in accel_interned_strings_restore_state()
407 ((char*)&ZCSG(interned_strings) + sizeof(zend_string_table))); in accel_interned_strings_restore_state()
408 s = ZCSG(interned_strings).start; in accel_interned_strings_restore_state()
409 top = ZCSG(interned_strings).top; in accel_interned_strings_restore_state()
413 hash_slot = STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), ZSTR_H(s)); in accel_interned_strings_restore_state()
415 *hash_slot = STRTAB_STR_TO_POS(&ZCSG(interned_strings), s); in accel_interned_strings_restore_state()
420 ZCSG(interned_strings).nNumOfElements = n; in accel_interned_strings_restore_state()
425 ZCSG(interned_strings).saved_top = ZCSG(interned_strings).top; in accel_interned_strings_save_state()
449 pos = *STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), h); in accel_find_interned_string()
452 s = STRTAB_POS_TO_STR(&ZCSG(interned_strings), pos); in accel_find_interned_string()
481 hash_slot = STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), h); in accel_new_interned_string()
485 s = STRTAB_POS_TO_STR(&ZCSG(interned_strings), pos); in accel_new_interned_string()
494 …if (UNEXPECTED((char*)ZCSG(interned_strings).end - (char*)ZCSG(interned_strings).top < STRTAB_STR_… in accel_new_interned_string()
501 ZCSG(interned_strings).nNumOfElements++; in accel_new_interned_string()
502 s = ZCSG(interned_strings).top; in accel_new_interned_string()
503 hash_slot = STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), h); in accel_new_interned_string()
505 *hash_slot = STRTAB_STR_TO_POS(&ZCSG(interned_strings), s); in accel_new_interned_string()
511 ZCSG(interned_strings).top = STRTAB_NEXT(s); in accel_new_interned_string()
537 pos = *STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), h); in accel_find_interned_string_ex()
540 s = STRTAB_POS_TO_STR(&ZCSG(interned_strings), pos); in accel_find_interned_string_ex()
749 if (ZCSG(interned_strings).saved_top == NULL) { in accel_use_shm_interned_strings()
1176 …s = zend_print_long_to_buf(buf + sizeof(buf) - 1, STRTAB_STR_TO_POS(&ZCSG(interned_strings), str)); in accel_make_persistent_key()
1219 …s = zend_print_long_to_buf(buf + sizeof(buf) - 1, STRTAB_STR_TO_POS(&ZCSG(interned_strings), str)); in accel_make_persistent_key()
2669 ZCSG(interned_strings).nTableMask = hash_size << 2; in zend_accel_init_shm()
2670 ZCSG(interned_strings).nNumOfElements = 0; in zend_accel_init_shm()
2671 ZCSG(interned_strings).start = in zend_accel_init_shm()
2672 (zend_string*)((char*)&ZCSG(interned_strings) + in zend_accel_init_shm()
2676 ZCSG(interned_strings).top = in zend_accel_init_shm()
2677 ZCSG(interned_strings).start; in zend_accel_init_shm()
2678 ZCSG(interned_strings).end = in zend_accel_init_shm()
2681 ZCSG(interned_strings).saved_top = NULL; in zend_accel_init_shm()
2683 memset((char*)&ZCSG(interned_strings) + sizeof(zend_string_table), in zend_accel_init_shm()
2685 (char*)ZCSG(interned_strings).start - in zend_accel_init_shm()
2686 ((char*)&ZCSG(interned_strings) + sizeof(zend_string_table))); in zend_accel_init_shm()
2688 *STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), 0) = STRTAB_INVALID_POS; in zend_accel_init_shm()