Home
last modified time | relevance | path

Searched refs:error_handling (Results 1 – 19 of 19) sorted by relevance

/PHP-8.1/ext/intl/collator/
H A Dcollator_create.c25 static int collator_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *e… in collator_ctor() argument
41 if (error_handling != NULL) { in collator_ctor()
42 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in collator_ctor()
74 zend_error_handling error_handling; in PHP_METHOD() local
78 …if (collator_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == … in PHP_METHOD()
84 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.1/ext/intl/formatter/
H A Dformatter_main.c26 static int numfmt_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *err… in numfmt_ctor() argument
43 if (error_handling != NULL) { in numfmt_ctor()
44 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in numfmt_ctor()
92 zend_error_handling error_handling; in PHP_METHOD() local
96 …if (numfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == FA… in PHP_METHOD()
102 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.1/ext/intl/dateformat/
H A Ddatepatterngenerator_methods.cpp33 static zend_result dtpg_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, boo… in dtpg_ctor() argument
47 if (error_handling != NULL) { in dtpg_ctor()
48 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in dtpg_ctor()
90 zend_error_handling error_handling; in PHP_METHOD() local
96 …if (dtpg_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == FAIL… in PHP_METHOD()
104 zend_restore_error_handling(&error_handling); in PHP_METHOD()
H A Ddateformat_create.cpp48 static zend_result datefmt_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, … in datefmt_ctor() argument
84 if (error_handling != NULL) { in datefmt_ctor()
85 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in datefmt_ctor()
215 zend_error_handling error_handling; in PHP_METHOD() local
221 …if (datefmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == F… in PHP_METHOD()
229 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.1/ext/intl/spoofchecker/
H A Dspoofchecker_create.c29 zend_error_handling error_handling; in PHP_METHOD() local
36 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling); in PHP_METHOD()
60 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.1/ext/intl/msgformat/
H A Dmsgformat.c28 static int msgfmt_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *err… in msgfmt_ctor() argument
48 if (error_handling != NULL) { in msgfmt_ctor()
49 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in msgfmt_ctor()
122 zend_error_handling error_handling; in PHP_METHOD() local
126 …if (msgfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == F… in PHP_METHOD()
134 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.1/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp47 …INTERNAL_FUNCTION_PARAMETERS, bool is_constructor, zend_error_handling *error_handling, bool *erro… in _php_intlgregcal_constructor_body() argument
87 if (error_handling != NULL) { in _php_intlgregcal_constructor_body()
88 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in _php_intlgregcal_constructor_body()
201 zend_error_handling error_handling; in PHP_METHOD() local
205 …ctor_body(INTERNAL_FUNCTION_PARAM_PASSTHRU, /* is_constructor */ 1, &error_handling, &error_handli… in PHP_METHOD()
207 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.1/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp34 …_constructor_body(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *error_h… in _php_intlrbbi_constructor_body() argument
54 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in _php_intlrbbi_constructor_body()
100 zend_error_handling error_handling; in PHP_METHOD() local
104 …_php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_… in PHP_METHOD()
106 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.1/ext/intl/resourcebundle/
H A Dresourcebundle_class.c77 static int resourcebundle_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, b… in resourcebundle_ctor() argument
96 if (error_handling != NULL) { in resourcebundle_ctor()
97 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in resourcebundle_ctor()
146 zend_error_handling error_handling; in PHP_METHOD() local
150 …if (resourcebundle_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replace… in PHP_METHOD()
156 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.1/main/
H A Dphp.h318 static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling in BEGIN_EXTERN_C()
320 zend_replace_error_handling(error_handling, exception_class, NULL); in BEGIN_EXTERN_C()
H A Dmain.c1230 if (EG(error_handling) == EH_THROW) { in php_error_cb()
/PHP-8.1/ext/spl/
H A Dspl_directory.c488 zend_error_handling error_handling; in spl_filesystem_object_create_type() local
573 zend_restore_error_handling(&error_handling); in spl_filesystem_object_create_type()
578 zend_restore_error_handling(&error_handling); in spl_filesystem_object_create_type()
716 zend_error_handling error_handling; in spl_filesystem_object_construct() local
761 zend_restore_error_handling(&error_handling); in spl_filesystem_object_construct()
1166 zend_error_handling error_handling; \
1175 zend_restore_error_handling(&error_handling); \
2032 zend_error_handling error_handling; in PHP_METHOD() local
2049 zend_restore_error_handling(&error_handling); in PHP_METHOD()
2077 zend_error_handling error_handling; in PHP_METHOD() local
[all …]
H A Dspl_iterators.c1290 zend_error_handling error_handling; in spl_dual_it_construct() local
1389 zend_replace_error_handling(EH_THROW, spl_ce_InvalidArgumentException, &error_handling); in spl_dual_it_construct()
1391 zend_restore_error_handling(&error_handling); in spl_dual_it_construct()
/PHP-8.1/Zend/
H A Dzend_globals.h212 zend_error_handling_t error_handling; member
H A Dzend.h398 ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *e…
H A Dzend_API.c4783 current->handling = EG(error_handling); in zend_save_error_handling()
4788 ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *e… in zend_replace_error_handling() argument
4793 ZEND_ASSERT(error_handling == EH_THROW || exception_class == NULL); in zend_replace_error_handling()
4794 EG(error_handling) = error_handling; in zend_replace_error_handling()
4801 EG(error_handling) = saved->handling; in zend_restore_error_handling()
H A Dzend.c795 executor_globals->error_handling = EH_NORMAL; in executor_globals_ctor()
1439 || EG(error_handling) != EH_NORMAL) { in zend_error_zstr_at()
H A Dzend_execute_API.c149 EG(error_handling) = EH_NORMAL; in init_executor()
/PHP-8.1/ext/date/
H A Dphp_date.c3521 zend_error_handling error_handling; in PHP_METHOD() local
3527 zend_replace_error_handling(EH_THROW, NULL, &error_handling); in PHP_METHOD()
3530 zend_restore_error_handling(&error_handling); in PHP_METHOD()

Completed in 112 milliseconds