Home
last modified time | relevance | path

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

/PHP-8.0/ext/intl/transliterator/
H A Dtransliterator_class.c133 Transliterator_object *to_orig, in Transliterator_clone_obj() local
138 to_orig = php_intl_transliterator_fetch_object( object ); in Transliterator_clone_obj()
139 intl_error_reset( INTL_DATA_ERROR_P( to_orig ) ); in Transliterator_clone_obj()
143 zend_objects_clone_members( &to_new->zo, &to_orig->zo ); in Transliterator_clone_obj()
145 if( to_orig->utrans != NULL ) in Transliterator_clone_obj()
150 UTransliterator *utrans = utrans_clone( to_orig->utrans, TRANSLITERATOR_ERROR_CODE_P( to_orig ) ); in Transliterator_clone_obj()
152 if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to_orig ) ) ) in Transliterator_clone_obj()
157 TRANSLITERATOR_ERROR_CODE_P( to_orig ) ); in Transliterator_clone_obj()
159 if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to_orig ) ) ) in Transliterator_clone_obj()
169 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE( to_orig ) ); in Transliterator_clone_obj()
[all …]
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.0/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 13 milliseconds