Lines Matching refs:CG

608 	ZEND_HASH_FOREACH_BUCKET(CG(function_table), p) {  in accel_copy_permanent_strings()
637 ZEND_HASH_FOREACH_BUCKET(CG(class_table), p) { in accel_copy_permanent_strings()
704 ZEND_HASH_FOREACH_BUCKET(CG(auto_globals), p) { in accel_copy_permanent_strings()
1445 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 64); in store_script_in_file_cache()
1449 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 8); in store_script_in_file_cache()
1452 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used); in store_script_in_file_cache()
1486 orig_compiler_options = CG(compiler_options); in cache_script_in_file_cache()
1487 CG(compiler_options) |= ZEND_COMPILE_WITH_FILE_CACHE; in cache_script_in_file_cache()
1489 CG(compiler_options) = orig_compiler_options; in cache_script_in_file_cache()
1492 CG(compiler_options) = orig_compiler_options; in cache_script_in_file_cache()
1504 orig_compiler_options = CG(compiler_options); in cache_script_in_shared_memory()
1506 CG(compiler_options) |= ZEND_COMPILE_WITH_FILE_CACHE; in cache_script_in_shared_memory()
1509 CG(compiler_options) = orig_compiler_options; in cache_script_in_shared_memory()
1512 CG(compiler_options) = orig_compiler_options; in cache_script_in_shared_memory()
1783 orig_active_op_array = CG(active_op_array); in opcache_compile_file()
1795 orig_compiler_options = CG(compiler_options); in opcache_compile_file()
1796 CG(compiler_options) |= ZEND_COMPILE_HANDLE_OP_ARRAY; in opcache_compile_file()
1797 CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES; in opcache_compile_file()
1798 CG(compiler_options) |= ZEND_COMPILE_DELAYED_BINDING; in opcache_compile_file()
1799 CG(compiler_options) |= ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION; in opcache_compile_file()
1800 CG(compiler_options) |= ZEND_COMPILE_IGNORE_OTHER_FILES; in opcache_compile_file()
1802 CG(compiler_options) |= ZEND_COMPILE_WITH_FILE_CACHE; in opcache_compile_file()
1805 CG(compiler_options) = orig_compiler_options; in opcache_compile_file()
1809 CG(compiler_options) = orig_compiler_options; in opcache_compile_file()
1813 CG(active_op_array) = orig_active_op_array; in opcache_compile_file()
1832 …zend_accel_move_user_functions(CG(function_table), CG(function_table)->nNumUsed - orig_functions_c… in opcache_compile_file()
1833 …zend_accel_move_user_classes(CG(class_table), CG(class_table)->nNumUsed - orig_class_count, &new_p… in opcache_compile_file()
2315 if (ZCSG(map_ptr_last) > CG(map_ptr_last)) { in zend_accel_inheritance_cache_get()
2458 ZCSG(map_ptr_last) = CG(map_ptr_last); in zend_accel_inheritance_cache_add()
2610 ZCSG(map_ptr_last) = CG(map_ptr_last); in zend_reset_cache_vars()
3315 if ((func = zend_hash_str_find_ptr(CG(function_table), "chdir", sizeof("chdir")-1)) != NULL &&
3809 CG(in_compilation) = 0;
3842 if (!zend_hash_exists(CG(class_table), key)) {
3926 void *checkpoint = zend_arena_checkpoint(CG(arena));
3940 CG(in_compilation) = 1;
3941 CG(compiled_filename) = ce->info.user.filename;
3942 CG(zend_lineno) = ce->info.user.line_start;
3956 if (CG(delayed_variance_obligations)) {
3958 CG(delayed_variance_obligations), (uintptr_t) Z_CE_P(zv));
3965 zend_arena_release(&CG(arena), checkpoint);
3974 CG(in_compilation) = 0;
3975 CG(compiled_filename) = NULL;
3994 CG(in_compilation) = 1; /* prevent autoloading */
3998 CG(in_compilation) = 0;
4339 zend_hash_extend(CG(function_table),
4340 CG(function_table)->nNumUsed + script->function_table.nNumUsed, 0);
4342 _zend_hash_append_ptr_ex(CG(function_table), p->key, Z_PTR(p->val), 1);
4350 zend_hash_extend(CG(class_table),
4351 CG(class_table)->nNumUsed + script->class_table.nNumUsed, 0);
4353 _zend_hash_append_ex(CG(class_table), p->key, &p->val, 1);
4366 if (CG(map_ptr_last) != ZCSG(map_ptr_last)) {
4367 size_t old_map_ptr_last = CG(map_ptr_last);
4368 CG(map_ptr_last) = ZCSG(map_ptr_last);
4369 CG(map_ptr_size) = ZEND_MM_ALIGNED_SIZE_EX(CG(map_ptr_last) + 1, 4096);
4370 CG(map_ptr_real_base) = perealloc(CG(map_ptr_real_base), CG(map_ptr_size) * sizeof(void*), 1);
4371 CG(map_ptr_base) = ZEND_MAP_PTR_BIASED_BASE(CG(map_ptr_real_base));
4372 memset((void **) CG(map_ptr_real_base) + old_map_ptr_last, 0,
4373 (CG(map_ptr_last) - old_map_ptr_last) * sizeof(void *));
4392 orig_map_ptr_last = CG(map_ptr_last);
4400 orig_compiler_options = CG(compiler_options);
4402 CG(compiler_options) |= ZEND_COMPILE_PRELOAD_IN_CHILD;
4404 CG(compiler_options) |= ZEND_COMPILE_PRELOAD;
4405 CG(compiler_options) |= ZEND_COMPILE_HANDLE_OP_ARRAY;
4406 CG(compiler_options) |= ZEND_COMPILE_DELAYED_BINDING;
4407 CG(compiler_options) |= ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION;
4408 CG(compiler_options) |= ZEND_COMPILE_IGNORE_OTHER_FILES;
4409 CG(skip_shebang) = 1;
4430 CG(unclean_shutdown) = 1;
4441 CG(unclean_shutdown) = 1;
4500 CG(map_ptr_last) = orig_map_ptr_last;
4512 CG(map_ptr_last) = orig_map_ptr_last;
4523 CG(compiled_filename) = zend_string_init("$PRELOAD$", sizeof("$PRELOAD$") - 1, 0);
4545 script->script.filename = CG(compiled_filename);
4546 CG(compiled_filename) = NULL;
4550 preload_move_user_functions(CG(function_table), &script->script.function_table);
4551 preload_move_user_classes(CG(class_table), &script->script.class_table);
4594 CG(map_ptr_last) = orig_map_ptr_last;
4598 CG(compiler_options) = orig_compiler_options;