Lines Matching refs:executor_globals
263 …NI_ALL, OnUpdateAssertions, assertions, zend_executor_globals, executor_globals)
271 …, "0", ZEND_INI_ALL, OnUpdateBool, exception_ignore_args, zend_executor_globals, executor_globals)
272 …ceptionStringParamMaxLen, exception_string_param_max_len, zend_executor_globals, executor_globals)
273 …END_INI_ALL, OnUpdateFiberStackSize, fiber_stack_size, zend_executor_globals, executor_globals)
276 …TEM, OnUpdateMaxAllowedStackSize, max_allowed_stack_size, zend_executor_globals, executor_globals)
278 …I_SYSTEM, OnUpdateReservedStackSize, reserved_stack_size, zend_executor_globals, executor_globals)
799 static void executor_globals_ctor(zend_executor_globals *executor_globals) /* {{{ */ in executor_globals_ctor() argument
802 zend_copy_constants(executor_globals->zend_constants, GLOBAL_CONSTANTS_TABLE); in executor_globals_ctor()
806 memset(&executor_globals->trampoline, 0, sizeof(zend_op_array)); in executor_globals_ctor()
807 executor_globals->capture_warnings_during_sccp = 0; in executor_globals_ctor()
808 executor_globals->user_error_handler_error_reporting = 0; in executor_globals_ctor()
809 ZVAL_UNDEF(&executor_globals->user_error_handler); in executor_globals_ctor()
810 ZVAL_UNDEF(&executor_globals->user_exception_handler); in executor_globals_ctor()
811 executor_globals->in_autoload = NULL; in executor_globals_ctor()
812 executor_globals->current_execute_data = NULL; in executor_globals_ctor()
813 executor_globals->current_module = NULL; in executor_globals_ctor()
814 executor_globals->exit_status = 0; in executor_globals_ctor()
816 executor_globals->saved_fpu_cw = 0; in executor_globals_ctor()
818 executor_globals->saved_fpu_cw_ptr = NULL; in executor_globals_ctor()
819 executor_globals->active = 0; in executor_globals_ctor()
820 executor_globals->bailout = NULL; in executor_globals_ctor()
821 executor_globals->error_handling = EH_NORMAL; in executor_globals_ctor()
822 executor_globals->exception_class = NULL; in executor_globals_ctor()
823 executor_globals->exception = NULL; in executor_globals_ctor()
824 executor_globals->objects_store.object_buckets = NULL; in executor_globals_ctor()
825 executor_globals->current_fiber_context = NULL; in executor_globals_ctor()
826 executor_globals->main_fiber_context = NULL; in executor_globals_ctor()
827 executor_globals->active_fiber = NULL; in executor_globals_ctor()
829 zend_get_windows_version_info(&executor_globals->windows_version_info); in executor_globals_ctor()
831 executor_globals->flags = EG_FLAGS_INITIAL; in executor_globals_ctor()
832 executor_globals->record_errors = false; in executor_globals_ctor()
833 executor_globals->num_errors = 0; in executor_globals_ctor()
834 executor_globals->errors = NULL; in executor_globals_ctor()
835 executor_globals->filename_override = NULL; in executor_globals_ctor()
836 executor_globals->lineno_override = -1; in executor_globals_ctor()
838 executor_globals->stack_limit = (void*)0; in executor_globals_ctor()
839 executor_globals->stack_base = (void*)0; in executor_globals_ctor()
842 executor_globals->pid = 0; in executor_globals_ctor()
843 executor_globals->oldact = (struct sigaction){0}; in executor_globals_ctor()
845 memset(executor_globals->strtod_state.freelist, 0, in executor_globals_ctor()
846 sizeof(executor_globals->strtod_state.freelist)); in executor_globals_ctor()
847 executor_globals->strtod_state.p5s = NULL; in executor_globals_ctor()
848 executor_globals->strtod_state.result = NULL; in executor_globals_ctor()
854 zend_executor_globals *executor_globals = storage; in executor_globals_persistent_list_dtor() local
856 if (&executor_globals->persistent_list != global_persistent_list) { in executor_globals_persistent_list_dtor()
857 zend_destroy_rsrc_list(&executor_globals->persistent_list); in executor_globals_persistent_list_dtor()
861 static void executor_globals_dtor(zend_executor_globals *executor_globals) /* {{{ */ in executor_globals_dtor() argument
863 zend_ini_dtor(executor_globals->ini_directives); in executor_globals_dtor()
865 if (executor_globals->zend_constants != GLOBAL_CONSTANTS_TABLE) { in executor_globals_dtor()
866 zend_hash_destroy(executor_globals->zend_constants); in executor_globals_dtor()
867 free(executor_globals->zend_constants); in executor_globals_dtor()
920 zend_executor_globals *executor_globals; in zend_startup() local
1025 executor_globals = ts_resource(executor_globals_id); in zend_startup()
1036 zend_hash_destroy(executor_globals->zend_constants); in zend_startup()
1037 *executor_globals->zend_constants = *GLOBAL_CONSTANTS_TABLE; in zend_startup()
1096 zend_executor_globals *executor_globals = ts_resource(executor_globals_id); in zend_post_startup() local
1113 *GLOBAL_CONSTANTS_TABLE = *executor_globals->zend_constants; in zend_post_startup()
1142 executor_globals_ctor(executor_globals); in zend_post_startup()