Home
last modified time | relevance | path

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

/php-src/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
38 if (error_handling != NULL) { in collator_ctor()
39 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in collator_ctor()
71 zend_error_handling error_handling; in PHP_METHOD() local
75 …if (collator_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == … in PHP_METHOD()
81 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/php-src/ext/intl/formatter/
H A Dformatter_main.c27 static int numfmt_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *err… in numfmt_ctor() argument
44 if (error_handling != NULL) { in numfmt_ctor()
45 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in numfmt_ctor()
98 zend_error_handling error_handling; in PHP_METHOD() local
102 …if (numfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == FA… in PHP_METHOD()
108 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/php-src/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()
216 zend_error_handling error_handling; in PHP_METHOD() local
222 …if (datefmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == F… in PHP_METHOD()
230 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/php-src/ext/intl/spoofchecker/
H A Dspoofchecker_create.c29 zend_error_handling error_handling; in PHP_METHOD() local
34 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling); in PHP_METHOD()
59 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/php-src/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp82 …INTERNAL_FUNCTION_PARAMETERS, bool is_constructor, zend_error_handling *error_handling, bool *erro… in _php_intlgregcal_constructor_body() argument
130 if (error_handling != NULL) { in _php_intlgregcal_constructor_body()
131 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in _php_intlgregcal_constructor_body()
221 zend_error_handling error_handling; in PHP_METHOD() local
227 zend_restore_error_handling(&error_handling); in PHP_METHOD()
235 zend_error_handling error_handling; in PHP_METHOD() local
251 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling); in PHP_METHOD()
264 zend_restore_error_handling(&error_handling); in PHP_METHOD()
272 zend_error_handling error_handling; in PHP_METHOD() local
294 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling); in PHP_METHOD()
[all …]
/php-src/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
46 if (error_handling != NULL) { in msgfmt_ctor()
47 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in msgfmt_ctor()
120 zend_error_handling error_handling; in PHP_METHOD() local
124 …if (msgfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == F… in PHP_METHOD()
132 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/php-src/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp35 …_constructor_body(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *error_h… in _php_intlrbbi_constructor_body() argument
56 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in _php_intlrbbi_constructor_body()
102 zend_error_handling error_handling; in PHP_METHOD() local
106 …_php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_… in PHP_METHOD()
108 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/php-src/ext/intl/resourcebundle/
H A Dresourcebundle_class.c75 static int resourcebundle_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, b… in resourcebundle_ctor() argument
95 if (error_handling != NULL) { in resourcebundle_ctor()
96 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in resourcebundle_ctor()
145 zend_error_handling error_handling; in PHP_METHOD() local
149 …if (resourcebundle_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replace… in PHP_METHOD()
155 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/php-src/main/
H A Dphp.h301 static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling in BEGIN_EXTERN_C()
303 zend_replace_error_handling(error_handling, exception_class, NULL); in BEGIN_EXTERN_C()
H A Dmain.c1303 if (EG(error_handling) == EH_THROW) { in php_error_cb()
/php-src/ext/spl/
H A Dspl_directory.c503 zend_error_handling error_handling; in spl_filesystem_object_create_type() local
571 zend_restore_error_handling(&error_handling); in spl_filesystem_object_create_type()
576 zend_restore_error_handling(&error_handling); in spl_filesystem_object_create_type()
696 zend_error_handling error_handling; in spl_filesystem_object_construct() local
735 zend_restore_error_handling(&error_handling); in spl_filesystem_object_construct()
1150 zend_error_handling error_handling; \
1159 zend_restore_error_handling(&error_handling); \
2030 zend_error_handling error_handling; in PHP_METHOD() local
2050 zend_restore_error_handling(&error_handling); in PHP_METHOD()
2078 zend_error_handling error_handling; in PHP_METHOD() local
[all …]
H A Dspl_iterators.c1272 zend_error_handling error_handling; in spl_dual_it_construct() local
1370 zend_replace_error_handling(EH_THROW, spl_ce_InvalidArgumentException, &error_handling); in spl_dual_it_construct()
1372 zend_restore_error_handling(&error_handling); in spl_dual_it_construct()
/php-src/Zend/
H A Dzend_globals.h241 zend_error_handling_t error_handling; member
H A Dzend.h443 ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *e…
H A Dzend_API.c5236 current->handling = EG(error_handling); in zend_save_error_handling()
5241 ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *e… in zend_replace_error_handling() argument
5246 ZEND_ASSERT(error_handling == EH_THROW || exception_class == NULL); in zend_replace_error_handling()
5247 EG(error_handling) = error_handling; in zend_replace_error_handling()
5254 EG(error_handling) = saved->handling; in zend_restore_error_handling()
H A Dzend.c821 executor_globals->error_handling = EH_NORMAL; in executor_globals_ctor()
1494 || EG(error_handling) != EH_NORMAL) { in zend_error_zstr_at()
H A Dzend_execute_API.c151 EG(error_handling) = EH_NORMAL; in init_executor()
/php-src/ext/tidy/
H A Dtidy.c1384 zend_error_handling error_handling; in PHP_METHOD() local
1385 zend_replace_error_handling(EH_THROW, NULL, &error_handling); in PHP_METHOD()
1387 zend_restore_error_handling(&error_handling); in PHP_METHOD()
1391 zend_restore_error_handling(&error_handling); in PHP_METHOD()

Completed in 73 milliseconds