Lines Matching refs:class_table
615 ZEND_HASH_FOREACH_BUCKET(CG(class_table), p) { in accel_copy_permanent_strings()
1774 orig_class_count = EG(class_table)->nNumUsed; in opcache_compile_file()
1822 …zend_accel_move_user_classes(CG(class_table), CG(class_table)->nNumUsed - orig_class_count, &new_p… in opcache_compile_file()
3292 if (EG(class_table)) {
3293 ZEND_HASH_REVERSE_FOREACH_VAL(EG(class_table), zv) {
3522 p = zend_hash_find_ptr(EG(class_table), key);
3544 p = zend_hash_find_ptr(EG(class_table), ce->interface_names[i].lc_name);
3556 p = zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
3627 zend_class_entry *ce = zend_hash_find_ptr(EG(class_table), lcname);
3677 zend_bool known = zend_hash_exists(EG(class_table), lcname);
3702 p = zend_hash_find_ptr(EG(class_table), key);
3712 zend_class_entry *p = zend_hash_find_ptr(EG(class_table), ce->interface_names[i].lc_name);
3722 zend_class_entry *p = zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
3768 ZEND_HASH_REVERSE_FOREACH_VAL(EG(class_table), zv) {
3778 if (zend_hash_exists(EG(class_table), key)) {
3789 parent = zend_hash_find_ptr(EG(class_table), key);
3803 p = zend_hash_find_ptr(EG(class_table), ce->interface_names[i].lc_name);
3819 p = zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
3838 zv = zend_hash_set_bucket_key(EG(class_table), (Bucket*)zv, key);
3886 orig_dtor = EG(class_table)->pDestructor;
3887 EG(class_table)->pDestructor = NULL;
3888 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(class_table), key, zv) {
3896 && zend_hash_exists(EG(class_table), key)) {
3933 zend_hash_add(&script->script.class_table, key, zv);
3936 EG(class_table)->nNumOfElements--;
3938 EG(class_table)->pDestructor = orig_dtor;
3939 zend_hash_rehash(EG(class_table));
3952 if (!zend_hash_exists(&script->script.class_table, key)) {
4005 uint32_t num_classes = zend_hash_num_elements(EG(class_table));
4010 ZEND_HASH_REVERSE_FOREACH_PTR(EG(class_table), ce) {
4187 ZEND_HASH_FOREACH_PTR(&script->script.class_table, ce) {
4194 ZEND_HASH_FOREACH_PTR(&tmp_script->script.class_table, ce) {
4205 ZEND_HASH_FOREACH_PTR(&script->script.class_table, ce) {
4210 ZEND_HASH_FOREACH_PTR(&script->script.class_table, ce) {
4336 if (zend_hash_num_elements(&script->class_table)) {
4337 Bucket *p = script->class_table.arData;
4338 Bucket *end = p + script->class_table.nNumUsed;
4340 zend_hash_extend(CG(class_table),
4341 CG(class_table)->nNumUsed + script->class_table.nNumUsed, 0);
4343 _zend_hash_append_ex(CG(class_table), p->key, &p->val, 1);
4353 if (EG(class_table)) {
4354 EG(persistent_classes_count) = EG(class_table)->nNumUsed;
4569 ZEND_HASH_REVERSE_FOREACH_VAL(EG(class_table), zv) {
4702 preload_move_user_classes(CG(class_table), &script->script.class_table);
4704 zend_hash_sort_ex(&script->script.class_table, preload_sort_classes, NULL, 0);
4717 ZEND_HASH_FOREACH_PTR(&script->script.class_table, ce) {
4745 if (zend_hash_num_elements(&script->script.class_table) > 1) {
4746 zend_hash_sort_ex(&script->script.class_table, preload_sort_classes, NULL, 0);