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()
336 intl_convert_utf8_to_utf16(&ustr, &ustr_len, str, str_len, TRANSLITERATOR_ERROR_CODE_P(to)); in PHP_FUNCTION()
337 …INTL_METHOD_CHECK_STATUS_OR_GOTO(to, "String conversion of string to UTF-16 failed", cleanup_objec… in PHP_FUNCTION()
350 intl_errors_set( TRANSLITERATOR_ERROR_P( to ), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
366 utrans_transUChars( to->utrans, uresult, &uresult_len, capacity, (int32_t) start, in PHP_FUNCTION()
367 &temp_limit, TRANSLITERATOR_ERROR_CODE_P( to ) ); in PHP_FUNCTION()
368 if( TRANSLITERATOR_ERROR_CODE( to ) == U_BUFFER_OVERFLOW_ERROR ) in PHP_FUNCTION()
375 intl_error_reset( TRANSLITERATOR_ERROR_P( to ) ); in PHP_FUNCTION()
377 else if(TRANSLITERATOR_ERROR_CODE( to ) == U_STRING_NOT_TERMINATED_WARNING ) in PHP_FUNCTION()
381 intl_error_reset( TRANSLITERATOR_ERROR_P( to ) ); in PHP_FUNCTION()
384 else if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to ) ) ) in PHP_FUNCTION()
386 intl_error_set_code( NULL, TRANSLITERATOR_ERROR_CODE( to ) ); in PHP_FUNCTION()
387 intl_errors_set_custom_msg( TRANSLITERATOR_ERROR_P( to ), in PHP_FUNCTION()
405 INTL_METHOD_RETVAL_UTF8( to, uresult, uresult_len, 1 ); in PHP_FUNCTION()
439 to = Z_INTL_TRANSLITERATOR_P( object ); in PHP_FUNCTION()
440 if (to == NULL ) in PHP_FUNCTION()
443 RETURN_LONG( (zend_long) TRANSLITERATOR_ERROR_CODE( to ) ); in PHP_FUNCTION()
462 to = Z_INTL_TRANSLITERATOR_P( object ); in PHP_FUNCTION()
463 if (to == NULL ) in PHP_FUNCTION()
467 message = intl_error_get_message( TRANSLITERATOR_ERROR_P( to ) ); in PHP_FUNCTION()