Lines Matching refs:to

29 	Transliterator_object *to;  in create_transliterator()  local
47 …ert_utf8_to_utf16( &ustr_id, &ustr_id_len, str_id, str_id_len, TRANSLITERATOR_ERROR_CODE_P( to ) ); in create_transliterator()
48 if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to ) ) ) in create_transliterator()
50 intl_error_set_code( NULL, TRANSLITERATOR_ERROR_CODE( to ) ); in create_transliterator()
58 NULL, -1, &parse_error, TRANSLITERATOR_ERROR_CODE_P( to ) ); in create_transliterator()
63 if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to ) ) ) in create_transliterator()
66 intl_error_set_code( NULL, TRANSLITERATOR_ERROR_CODE( to ) ); in create_transliterator()
82 transliterator_object_construct( object, utrans, TRANSLITERATOR_ERROR_CODE_P( to ) ); in create_transliterator()
84 if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to ) ) ) in create_transliterator()
86 intl_error_set_code( NULL, TRANSLITERATOR_ERROR_CODE( to ) ); in create_transliterator()
106 (void) to; /* unused */ in PHP_FUNCTION()
154 str_rules, str_rules_len, TRANSLITERATOR_ERROR_CODE_P( to ) ); in PHP_FUNCTION()
157 INTL_METHOD_CHECK_STATUS_OR_NULL( to, "String conversion of rules to UTF-16 failed" ); in PHP_FUNCTION()
161 ustr_rules, ustr_rules_len, &parse_error, TRANSLITERATOR_ERROR_CODE_P( to ) ); in PHP_FUNCTION()
166 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE( to ) ); in PHP_FUNCTION()
167 if( U_FAILURE( INTL_DATA_ERROR_CODE( to ) ) ) in PHP_FUNCTION()
177 intl_errors_set_custom_msg( INTL_DATA_ERROR_P( to ), msg, 1 ); in PHP_FUNCTION()
183 transliterator_object_construct( object, utrans, TRANSLITERATOR_ERROR_CODE_P( to ) ); in PHP_FUNCTION()
185 …INTL_METHOD_CHECK_STATUS_OR_NULL( to, "transliterator_create_from_rules: internal constructor call… in PHP_FUNCTION()
203 to_orig = to; in PHP_FUNCTION()
209 utrans = utrans_openInverse( to_orig->utrans, TRANSLITERATOR_ERROR_CODE_P( to ) ); in PHP_FUNCTION()
210 INTL_METHOD_CHECK_STATUS_OR_NULL( to, "transliterator_create_inverse: could not create " in PHP_FUNCTION()
212 transliterator_object_construct( object, utrans, TRANSLITERATOR_ERROR_CODE_P( to ) ); in PHP_FUNCTION()
214 INTL_METHOD_CHECK_STATUS_OR_NULL( to, "transliterator_create: internal constructor call failed" ); in PHP_FUNCTION()
339 intl_convert_utf8_to_utf16(&ustr, &ustr_len, str, str_len, TRANSLITERATOR_ERROR_CODE_P(to)); in PHP_FUNCTION()
340 …INTL_METHOD_CHECK_STATUS_OR_GOTO(to, "String conversion of string to UTF-16 failed", cleanup_objec… in PHP_FUNCTION()
353 intl_errors_set( TRANSLITERATOR_ERROR_P( to ), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
369 utrans_transUChars( to->utrans, uresult, &uresult_len, capacity, (int32_t) start, in PHP_FUNCTION()
370 &temp_limit, TRANSLITERATOR_ERROR_CODE_P( to ) ); in PHP_FUNCTION()
371 if( TRANSLITERATOR_ERROR_CODE( to ) == U_BUFFER_OVERFLOW_ERROR ) in PHP_FUNCTION()
378 intl_error_reset( TRANSLITERATOR_ERROR_P( to ) ); in PHP_FUNCTION()
380 else if(TRANSLITERATOR_ERROR_CODE( to ) == U_STRING_NOT_TERMINATED_WARNING ) in PHP_FUNCTION()
384 intl_error_reset( TRANSLITERATOR_ERROR_P( to ) ); in PHP_FUNCTION()
387 else if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to ) ) ) in PHP_FUNCTION()
389 intl_error_set_code( NULL, TRANSLITERATOR_ERROR_CODE( to ) ); in PHP_FUNCTION()
390 intl_errors_set_custom_msg( TRANSLITERATOR_ERROR_P( to ), in PHP_FUNCTION()
408 INTL_METHOD_RETVAL_UTF8( to, uresult, uresult_len, 1 ); in PHP_FUNCTION()
442 to = Z_INTL_TRANSLITERATOR_P( object ); in PHP_FUNCTION()
443 if (to == NULL ) in PHP_FUNCTION()
446 RETURN_LONG( (zend_long) TRANSLITERATOR_ERROR_CODE( to ) ); in PHP_FUNCTION()
465 to = Z_INTL_TRANSLITERATOR_P( object ); in PHP_FUNCTION()
466 if (to == NULL ) in PHP_FUNCTION()
470 message = intl_error_get_message( TRANSLITERATOR_ERROR_P( to ) ); in PHP_FUNCTION()