Home
last modified time | relevance | path

Searched refs:to_orig (Results 1 – 3 of 3) sorted by relevance

/PHP-8.3/ext/intl/transliterator/
H A Dtransliterator_class.c131 Transliterator_object *to_orig, in Transliterator_clone_obj() local
136 to_orig = php_intl_transliterator_fetch_object( object ); in Transliterator_clone_obj()
137 intl_error_reset( INTL_DATA_ERROR_P( to_orig ) ); in Transliterator_clone_obj()
141 zend_objects_clone_members( &to_new->zo, &to_orig->zo ); in Transliterator_clone_obj()
143 if( to_orig->utrans != NULL ) in Transliterator_clone_obj()
146 UTransliterator *utrans = utrans_clone( to_orig->utrans, TRANSLITERATOR_ERROR_CODE_P( to_orig ) ); in Transliterator_clone_obj()
148 if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to_orig ) ) ) { in Transliterator_clone_obj()
156 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE( to_orig ) ); in Transliterator_clone_obj()
157 intl_errors_set_custom_msg( TRANSLITERATOR_ERROR_P( to_orig ), in Transliterator_clone_obj()
160 err_msg = intl_error_get_message( TRANSLITERATOR_ERROR_P( to_orig ) ); in Transliterator_clone_obj()
H A Dtransliterator_methods.c192 Transliterator_object *to_orig; in PHP_FUNCTION() local
203 to_orig = to; in PHP_FUNCTION()
209 utrans = utrans_openInverse( to_orig->utrans, TRANSLITERATOR_ERROR_CODE_P( to ) ); in PHP_FUNCTION()
/PHP-8.3/ext/intl/timezone/
H A Dtimezone_class.cpp227 TimeZone_object *to_orig, in TimeZone_clone_obj() local
232 to_orig = php_intl_timezone_fetch_object(object); in TimeZone_clone_obj()
233 intl_error_reset(TIMEZONE_ERROR_P(to_orig)); in TimeZone_clone_obj()
238 zend_objects_clone_members(&to_new->zo, &to_orig->zo); in TimeZone_clone_obj()
240 if (to_orig->utimezone != NULL) { in TimeZone_clone_obj()
243 newTimeZone = to_orig->utimezone->clone(); in TimeZone_clone_obj()
247 intl_errors_set_code(TIMEZONE_ERROR_P(to_orig), in TimeZone_clone_obj()
249 intl_errors_set_custom_msg(TIMEZONE_ERROR_P(to_orig), in TimeZone_clone_obj()
251 err_msg = intl_error_get_message(TIMEZONE_ERROR_P(to_orig)); in TimeZone_clone_obj()

Completed in 9 milliseconds