Lines Matching refs:interned_strings

438 	memset(ZCSG(interned_strings).saved_top,  in accel_interned_strings_restore_state()
439 0, (char*)ZCSG(interned_strings).top - (char*)ZCSG(interned_strings).saved_top); in accel_interned_strings_restore_state()
442 ZCSG(interned_strings).top = ZCSG(interned_strings).saved_top; in accel_interned_strings_restore_state()
445 memset((char*)&ZCSG(interned_strings) + sizeof(zend_string_table), in accel_interned_strings_restore_state()
447 (char*)ZCSG(interned_strings).start - in accel_interned_strings_restore_state()
448 ((char*)&ZCSG(interned_strings) + sizeof(zend_string_table))); in accel_interned_strings_restore_state()
449 s = ZCSG(interned_strings).start; in accel_interned_strings_restore_state()
450 top = ZCSG(interned_strings).top; in accel_interned_strings_restore_state()
463 hash_slot = STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), ZSTR_H(s)); in accel_interned_strings_restore_state()
465 *hash_slot = STRTAB_STR_TO_POS(&ZCSG(interned_strings), s); in accel_interned_strings_restore_state()
470 ZCSG(interned_strings).nNumOfElements = n; in accel_interned_strings_restore_state()
475 ZCSG(interned_strings).saved_top = ZCSG(interned_strings).top; in accel_interned_strings_save_state()
499 pos = *STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), h); in accel_find_interned_string()
502 s = STRTAB_POS_TO_STR(&ZCSG(interned_strings), pos); in accel_find_interned_string()
531 hash_slot = STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), h); in accel_new_interned_string()
535 s = STRTAB_POS_TO_STR(&ZCSG(interned_strings), pos); in accel_new_interned_string()
543 …if (UNEXPECTED((char*)ZCSG(interned_strings).end - (char*)ZCSG(interned_strings).top < STRTAB_STR_… in accel_new_interned_string()
550 ZCSG(interned_strings).nNumOfElements++; in accel_new_interned_string()
551 s = ZCSG(interned_strings).top; in accel_new_interned_string()
552 hash_slot = STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), h); in accel_new_interned_string()
554 *hash_slot = STRTAB_STR_TO_POS(&ZCSG(interned_strings), s); in accel_new_interned_string()
560 ZCSG(interned_strings).top = STRTAB_NEXT(s); in accel_new_interned_string()
595 pos = *STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), h); in accel_find_interned_string_ex()
598 s = STRTAB_POS_TO_STR(&ZCSG(interned_strings), pos); in accel_find_interned_string_ex()
821 if (ZCSG(interned_strings).saved_top == NULL) { in accel_use_shm_interned_strings()
1252 …s = zend_print_long_to_buf(buf + sizeof(buf) - 1, STRTAB_STR_TO_POS(&ZCSG(interned_strings), str)); in accel_make_persistent_key()
1296 …s = zend_print_long_to_buf(buf + sizeof(buf) - 1, STRTAB_STR_TO_POS(&ZCSG(interned_strings), str)); in accel_make_persistent_key()
2897 ZCSG(interned_strings).nTableMask = hash_size << 2; in zend_accel_init_shm()
2898 ZCSG(interned_strings).nNumOfElements = 0; in zend_accel_init_shm()
2899 ZCSG(interned_strings).start = in zend_accel_init_shm()
2900 (zend_string*)((char*)&ZCSG(interned_strings) + in zend_accel_init_shm()
2904 ZCSG(interned_strings).top = in zend_accel_init_shm()
2905 ZCSG(interned_strings).start; in zend_accel_init_shm()
2906 ZCSG(interned_strings).end = in zend_accel_init_shm()
2909 ZCSG(interned_strings).saved_top = NULL; in zend_accel_init_shm()
2911 memset((char*)&ZCSG(interned_strings) + sizeof(zend_string_table), in zend_accel_init_shm()
2913 (char*)ZCSG(interned_strings).start - in zend_accel_init_shm()
2914 ((char*)&ZCSG(interned_strings) + sizeof(zend_string_table))); in zend_accel_init_shm()
2916 *STRTAB_HASH_TO_SLOT(&ZCSG(interned_strings), 0) = STRTAB_INVALID_POS; in zend_accel_init_shm()