Home
last modified time | relevance | path

Searched refs:CG (Results 26 – 50 of 68) sorted by relevance

123

/PHP-7.0/main/
H A Dmain.c1765 shutdown_memory_manager(CG(unclean_shutdown), 0); in php_request_shutdown_for_hook()
1808 if (CG(unclean_shutdown) && PG(last_error_type) == E_ERROR && in php_request_shutdown()
1877 shutdown_memory_manager(CG(unclean_shutdown) || !report_memleaks, 0); in php_request_shutdown()
2396 shutdown_memory_manager(CG(unclean_shutdown), 1); in php_module_shutdown()
2507 if (CG(start_lineno) && prepend_file_p) { in php_execute_script()
2508 int orig_start_lineno = CG(start_lineno); in php_execute_script()
2510 CG(start_lineno) = 0; in php_execute_script()
2512 CG(start_lineno) = orig_start_lineno; in php_execute_script()
/PHP-7.0/ext/pdo/
H A Dpdo.c87 …if ((pce = zend_hash_str_find_ptr(CG(class_table), "runtimeexception", sizeof("RuntimeException") … in php_pdo_get_exception_base()
/PHP-7.0/Zend/
H A Dzend_ast.c32 return zend_arena_alloc(&CG(ast_arena), size); in zend_ast_alloc()
55 ast->lineno = CG(zend_lineno); in zend_ast_create_znode()
72 return zend_ast_create_zval_with_lineno(zv, attr, CG(zend_lineno)); in zend_ast_create_zval_ex()
85 ast->end_lineno = CG(zend_lineno); in zend_ast_create_decl()
118 ast->lineno = CG(zend_lineno); in zend_ast_create_from_va_list()
154 list->lineno = CG(zend_lineno); in zend_ast_create_list()
H A Dzend_closures.c62 …} else if (call_user_function_ex(CG(function_table), NULL, getThis(), return_value, ZEND_NUM_ARGS(… in ZEND_METHOD()
583 …closure->func.op_array.run_time_cache = func->op_array.run_time_cache = zend_arena_alloc(&CG(arena… in zend_create_closure()
H A Dzend_inheritance.c38 new_property_info = zend_arena_alloc(&CG(arena), sizeof(zend_property_info)); in zend_duplicate_property_info()
66 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function)); in zend_duplicate_function()
84 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in zend_duplicate_function()
621 zend_function *new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in do_inherit_method()
1181 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in zend_add_trait_method()
H A Dzend_ini_scanner.l113 #define ZEND_SYSTEM_INI CG(ini_parser_unbuffered_errors)
H A Dzend_API.c1102CG(static_members_table)[(zend_intptr_t)(class_type->static_members_table)] = emalloc(sizeof(zval)… in zend_update_class_constants()
1124 zend_class_entry **scope = EG(current_execute_data) ? &EG(scope) : &CG(active_class_entry); in zend_update_class_constants()
1947 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
1960 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
2142 target_function_table = CG(function_table); in zend_register_functions()
2439 target_function_table = CG(function_table); in zend_unregister_functions()
2664 zend_hash_update_ptr(CG(class_table), lowercase_name, class_entry); in do_register_internal_class()
2731 ce = zend_hash_add_ptr(CG(class_table), lcname, ce); in zend_register_class_alias_ex()
2778 if ((func = zend_hash_str_find_ptr(CG(function_table), function_name, function_name_length))) { in zend_disable_function()
2816 disabled_class = zend_hash_find_ptr(CG(class_table), key); in zend_disable_class()
[all …]
H A Dzend_string.h58 #define ZSTR_EMPTY_ALLOC() CG(empty_string) in END_EXTERN_C()
H A Dzend_execute.c1357 if (CG(one_char_string)[c]) { in zend_assign_to_string_offset()
1358 ZVAL_INTERNED_STR(result, CG(one_char_string)[c]); in zend_assign_to_string_offset()
1877 if (CG(one_char_string)[c]) { in zend_fetch_dimension_address_read()
1878 ZVAL_INTERNED_STR(result, CG(one_char_string)[c]); in zend_fetch_dimension_address_read()
2182 op_array->run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in i_init_func_execute_data()
2299 op_array->run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in i_init_execute_data()
H A Dzend_constants.c324 scope = CG(active_class_entry); in zend_get_constant_ex()
/PHP-7.0/ext/opcache/
H A Dzend_accelerator_module.c414 …if ((old_function = zend_hash_str_find_ptr(CG(function_table), "file_exists", sizeof("file_exists"…
418 …if ((old_function = zend_hash_str_find_ptr(CG(function_table), "is_file", sizeof("is_file")-1)) !=…
422 …if ((old_function = zend_hash_str_find_ptr(CG(function_table), "is_readable", sizeof("is_readable"…
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_bp.c818 uint32_t cops = CG(compiler_options); in phpdbg_create_conditional_break()
832 cops = CG(compiler_options); in phpdbg_create_conditional_break()
834 CG(compiler_options) = ZEND_COMPILE_DEFAULT_FOR_EVAL; in phpdbg_create_conditional_break()
863 CG(compiler_options) = cops; in phpdbg_create_conditional_break()
H A Dphpdbg_info.c189 zend_hash_apply(CG(auto_globals), (apply_func_t) phpdbg_arm_auto_global); in phpdbg_print_symbols()
H A Dphpdbg_wait.c156 zend_hash_apply(CG(auto_globals), (apply_func_t) phpdbg_dearm_autoglobals); in phpdbg_webdata_decompress()
H A Dphpdbg.c1875 CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; in main()
1982 CG(unclean_shutdown) = 0; in main()
2014 CG(unclean_shutdown) = 0; in main()
2071 CG(unclean_shutdown) = is_exit || PHPDBG_G(unclean_eval); in main()
/PHP-7.0/ext/standard/
H A Duser_filters.c174 if (CG(unclean_shutdown)) { in userfilter_filter()
H A Dvar_unserializer.c180 …if (call_user_function_ex(CG(function_table), zv, &wakeup_name, &retval, 0, 0, 1, NULL) == FAILURE… in var_destroy()
1199 …if (call_user_function_ex(CG(function_table), NULL, &user_func, &retval, 1, args, 0, NULL) != SUCC… in php_var_unserialize_internal()
H A Dvar_unserializer.re178 …if (call_user_function_ex(CG(function_table), zv, &wakeup_name, &retval, 0, 0, 1, NULL) == FAILURE…
878 …if (call_user_function_ex(CG(function_table), NULL, &user_func, &retval, 1, args, 0, NULL) != SUCC…
H A Darray.c2101 if (CG(one_char_string)[low]) {
2102 ZVAL_INTERNED_STR(&tmp, CG(one_char_string)[low]);
2121 if (CG(one_char_string)[low]) {
2122 ZVAL_INTERNED_STR(&tmp, CG(one_char_string)[low]);
2134 if (CG(one_char_string)[low]) {
2135 ZVAL_INTERNED_STR(&tmp, CG(one_char_string)[low]);
/PHP-7.0/ext/readline/
H A Dreadline_cli.c360 if ((CG(short_tags) && !strncmp(code+i-1, "<?", 2)) in cli_is_valid_code()
/PHP-7.0/ext/xmlrpc/
H A Dxmlrpc-epi-php.c897 …call_user_function(CG(function_table), NULL, &pData->php_function, &pData->return_data, 3, callbac… in php_xmlrpc_callback()
923 …if (call_user_function(CG(function_table), NULL, php_function, &retval, 1, callback_params) == SUC… in php_xmlrpc_introspection_callback()
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c2150 CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO;
2403 CG(start_lineno) = 2;
2421 CG(start_lineno) = 2;
/PHP-7.0/ext/phar/
H A Dfunc_interceptors.c1055 if (NULL != (orig = zend_hash_str_find_ptr(CG(function_table), #func, sizeof(#func)-1))) { \
1092 …if (PHAR_G(orig_##func) && NULL != (orig = zend_hash_str_find_ptr(CG(function_table), #func, sizeo…
/PHP-7.0/ext/opcache/Optimizer/
H A Dpass1_5.c547 } else if ((CG(compiler_options) & ZEND_COMPILE_NO_BUILTIN_STRLEN) == 0 && in zend_optimizer_pass1()
/PHP-7.0/ext/soap/
H A Dphp_http.c402 if (call_user_function(CG(function_table), (zval*)NULL, &func, &retval, n, params) == SUCCESS && in make_http_soap_request()
1277 if (call_user_function(CG(function_table), (zval*)NULL, &func, &retval, 1, params) == SUCCESS && in make_http_soap_request()

Completed in 157 milliseconds

123