Home
last modified time | relevance | path

Searched refs:EG (Results 26 – 50 of 156) sorted by relevance

1234567

/PHP-7.0/Zend/
H A Dzend_globals_macros.h44 # define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v) macro
46 # define EG(v) (executor_globals.v) macro
H A Dzend_gc.c369 if ((zend_array*)ref != &EG(symbol_table)) { in gc_scan_black()
474 if (((zend_array*)ref) == &EG(symbol_table)) { in gc_mark_grey()
482 if (UNEXPECTED(!EG(objects_store).object_buckets) && in gc_mark_grey()
517 UNEXPECTED(!EG(objects_store).object_buckets)) { in gc_mark_grey()
532 UNEXPECTED(!EG(objects_store).object_buckets)) { in gc_mark_grey()
600 if ((zend_array*)ref == &EG(symbol_table)) { in gc_scan()
1067 if (EG(objects_store).object_buckets) {
1120 if (EG(objects_store).object_buckets &&
1121 IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle])) {
1132 …SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[obj->handle], EG(objects_store).free_list_h…
[all …]
H A Dzend_interfaces.c63 fci.function_table = !object ? EG(function_table) : NULL; in zend_call_method()
76 function_table = EG(function_table); in zend_call_method()
93 zend_class_entry *called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_call_method()
112 if (!EG(exception)) { in zend_call_method()
218 if (!EG(exception)) { in zend_user_it_get_current_key()
292 if (!EG(exception)) { in zend_user_it_get_new_iterator()
422 if (Z_TYPE(retval) == IS_UNDEF || EG(exception)) { in zend_user_serialize()
442 if (result == FAILURE && !EG(exception)) { in zend_user_serialize()
464 if (EG(exception)) { in zend_user_unserialize()
H A Dzend.h225 JMP_BUF *__orig_bailout = EG(bailout); \
228 EG(bailout) = &__bailout; \
232 EG(bailout) = __orig_bailout;
235 EG(bailout) = __orig_bailout; \
237 #define zend_first_try EG(bailout)=NULL; zend_try
H A Dzend_vm_execute.h625 EG(scope) = NULL;
651 EG(scope) = NULL;
1011 if (!EG(exception)) {
1277 if (!EG(no_extensions)) {
1289 if (!EG(no_extensions)) {
1395 EG(ticks_count) = 0;
1506 EG(exception) = NULL;
6029 EG(scope) = ce;
9723 EG(exception) = NULL;
17958 EG(scope) = ce;
[all …]
H A Dzend_hash.c343 idx = iter - EG(ht_iterators); in zend_hash_iterator_add()
345 EG(ht_iterators_used) = idx + 1; in zend_hash_iterator_add()
351 if (EG(ht_iterators) == EG(ht_iterators_slots)) { in zend_hash_iterator_add()
352 EG(ht_iterators) = emalloc(sizeof(HashTableIterator) * (EG(ht_iterators_count) + 8)); in zend_hash_iterator_add()
353 …memcpy(EG(ht_iterators), EG(ht_iterators_slots), sizeof(HashTableIterator) * EG(ht_iterators_count… in zend_hash_iterator_add()
355EG(ht_iterators) = erealloc(EG(ht_iterators), sizeof(HashTableIterator) * (EG(ht_iterators_count) … in zend_hash_iterator_add()
357 iter = EG(ht_iterators) + EG(ht_iterators_count); in zend_hash_iterator_add()
358 EG(ht_iterators_count) += 8; in zend_hash_iterator_add()
362 idx = iter - EG(ht_iterators); in zend_hash_iterator_add()
363 EG(ht_iterators_used) = idx + 1; in zend_hash_iterator_add()
[all …]
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_sigsafe.c18 if (*EG(bailout)) { in ZEND_EXTERN_MODULE_GLOBALS()
19 LONGJMP(*EG(bailout), FAILURE); in ZEND_EXTERN_MODULE_GLOBALS()
H A Dphpdbg_list.c194 HashTable *func_table = EG(function_table); in phpdbg_list_function_byname()
201 if (EG(scope)) { in phpdbg_list_function_byname()
205 func_table = &EG(scope)->function_table; in phpdbg_list_function_byname()
210 } else if (!EG(function_table)) { in phpdbg_list_function_byname()
214 func_table = EG(function_table); in phpdbg_list_function_byname()
H A Dphpdbg_utils.c193 func = zend_hash_find_ptr(EG(function_table), lfname); in phpdbg_get_function()
323 if (!EG(current_execute_data) || !EG(current_execute_data)->func) { in phpdbg_rebuild_symtable()
400 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup()
683 …phpdbg_xml("<float refstatus=\"%s\" value=\"%.*G\" />", COMMON, (int) EG(precision), Z_DVAL_P(zv)); in phpdbg_xml_var_dump()
747 if (execute_data->opline >= EG(exception_op) && execute_data->opline < EG(exception_op) + 3) { in phpdbg_check_caught_ex()
748 op = EG(opline_before_exception); in phpdbg_check_caught_ex()
H A Dphpdbg_bp.c563 HashTable *func_table = EG(function_table); in phpdbg_resolve_opline_break()
567 if (EG(current_execute_data) == NULL) { in phpdbg_resolve_opline_break()
577 zend_execute_data *execute_data = EG(current_execute_data); in phpdbg_resolve_opline_break()
912 …if (EG(current_execute_data) && (brake = zend_hash_index_find_ptr(breaks, EG(current_execute_data)… in phpdbg_find_breakpoint_file()
1067 zend_function *orig_func = EG(current_execute_data)->func; in phpdbg_find_conditional_breakpoint()
1068 zval *orig_retval = EG(current_execute_data)->return_value; in phpdbg_find_conditional_breakpoint()
1080 EG(no_extensions) = 1; in phpdbg_find_conditional_breakpoint()
1092 EG(no_extensions) = 1; in phpdbg_find_conditional_breakpoint()
1093 EG(current_execute_data)->opline = orig_opline; in phpdbg_find_conditional_breakpoint()
1094 EG(current_execute_data)->func = orig_func; in phpdbg_find_conditional_breakpoint()
[all …]
/PHP-7.0/ext/opcache/Optimizer/
H A Dpass1_5.c88 er = EG(error_reporting); in zend_optimizer_pass1()
89 EG(error_reporting) = 0; in zend_optimizer_pass1()
92 EG(error_reporting) = er; in zend_optimizer_pass1()
95 EG(error_reporting) = er; in zend_optimizer_pass1()
156 er = EG(error_reporting); in zend_optimizer_pass1()
157 EG(error_reporting) = 0; in zend_optimizer_pass1()
159 EG(error_reporting) = er; in zend_optimizer_pass1()
162 EG(error_reporting) = er; in zend_optimizer_pass1()
257 EG(current_execute_data) = &fake_execute_data; in zend_optimizer_pass1()
266 EG(current_execute_data) = orig_execute_data; in zend_optimizer_pass1()
[all …]
/PHP-7.0/ext/standard/
H A Dincomplete_class.c57 return &EG(error_zval); in incomplete_class_get_property()
59 return &EG(uninitialized_zval); in incomplete_class_get_property()
73 return &EG(error_zval); in incomplete_class_get_property_ptr_ptr()
H A Dassert.c57 if (EG(current_execute_data)) { in PHP_INI_MH()
167 zend_class_entry *orig_scope = EG(scope); in PHP_FUNCTION()
172 old_error_reporting = EG(error_reporting); in PHP_FUNCTION()
173 EG(error_reporting) = 0; in PHP_FUNCTION()
194 EG(error_reporting) = old_error_reporting; in PHP_FUNCTION()
197 EG(scope) = orig_scope; in PHP_FUNCTION()
/PHP-7.0/ext/readline/
H A Dreadline_cli.c435 zend_array *symbol_table = &EG(symbol_table); in cli_completion_generator_var()
451 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL); in cli_completion_generator_ini()
476 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
544 …rator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function_table : EG(function_table)); in cli_completion_generator()
550 …rator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_constants)); in cli_completion_generator()
611 EG(exit_status) = 0; in readline_shell_run()
683 if (EG(exception)) { in readline_shell_run()
684 zend_exception_error(EG(exception), E_WARNING); in readline_shell_run()
697 return EG(exit_status); in readline_shell_run()
/PHP-7.0/main/
H A Dphp_variables.c113 if (symtable1 == &EG(symbol_table) && in php_register_variable_ex()
585 zend_hash_str_update(&EG(symbol_table), "argv", sizeof("argv")-1, &arr); in php_build_argv()
586 zend_hash_str_add(&EG(symbol_table), "argc", sizeof("argc")-1, &argc); in php_build_argv()
637 int globals_check = (dest == (&EG(symbol_table))); in php_autoglobal_merge()
687 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
706 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
721 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
733 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_FILES]); in php_auto_globals_create_files()
781 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
797 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
[all …]
/PHP-7.0/Zend/tests/
H A Dbug71841.phpt2 Bug #71841 (EG(error_zval) is not handled well)
H A Dbug61273.phpt8 * we should trick EG(argument_stack) into growing
/PHP-7.0/ext/standard/tests/array/
H A Dbug30074.phpt2 Bug #30074 (EG(uninitialized_zval_ptr) gets set to reference using EXTR_REFS, affecting later value…
/PHP-7.0/ext/filter/
H A Dcallback_filter.c38 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval, 1, args, 0, NULL); in php_filter_callback()
/PHP-7.0/ext/spl/tests/
H A Darray_026.phpt2 SPL: ArrayObject indirect offsetGet overwriting EG(uninitialized_zvar_ptr)
/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd_net.c158 origin_dtor = EG(regular_list).pDestructor; in MYSQLND_METHOD()
159 EG(regular_list).pDestructor = NULL; in MYSQLND_METHOD()
161 EG(regular_list).pDestructor = origin_dtor; in MYSQLND_METHOD()
231 origin_dtor = EG(persistent_list).pDestructor; in MYSQLND_METHOD()
237 EG(persistent_list).pDestructor = NULL; in MYSQLND_METHOD()
238 zend_hash_str_del(&EG(persistent_list), hashed_details, hashed_details_len); in MYSQLND_METHOD()
239 EG(persistent_list).pDestructor = origin_dtor; in MYSQLND_METHOD()
254 origin_dtor = EG(regular_list).pDestructor; in MYSQLND_METHOD()
255 EG(regular_list).pDestructor = NULL; in MYSQLND_METHOD()
259 EG(regular_list).pDestructor = origin_dtor; in MYSQLND_METHOD()
[all …]
/PHP-7.0/ext/intl/collator/
H A Dcollator_create.c84 if (!EG(exception)) { in PHP_METHOD()
/PHP-7.0/sapi/cli/
H A Dphp_cli.c978 exit_status = EG(exit_status); in do_cli()
1030 zend_hash_str_update(&EG(symbol_table), "argn", sizeof("argn")-1, &argn); in do_cli()
1032 zend_hash_str_update(&EG(symbol_table), "argi", sizeof("argi")-1, &argi); in do_cli()
1044 exit_status = EG(exit_status); in do_cli()
1091 EG(current_execute_data) = &execute_data; in do_cli()
1094 if (EG(exception)) { in do_cli()
1097 ZVAL_OBJ(&tmp, EG(exception)); in do_cli()
1101 EG(exception) = NULL; in do_cli()
1150 exit_status = EG(exit_status); in do_cli()
/PHP-7.0/ext/session/
H A Dmod_user.c33 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv) == FAILURE) { in ps_call_handler()
63 if (!EG(exception)) { \
/PHP-7.0/ext/json/
H A Djson_encoder.c107 php_gcvt(d, (int)EG(precision), '.', 'e', &num[0]); in php_json_encode_double()
469 …if (FAILURE == call_user_function_ex(EG(function_table), val, &fname, &retval, 0, NULL, 1, NULL) |… in php_json_encode_serializable_object()
470 if (!EG(exception)) { in php_json_encode_serializable_object()
479 if (EG(exception)) { in php_json_encode_serializable_object()

Completed in 302 milliseconds

1234567