Home
last modified time | relevance | path

Searched refs:u8str (Results 1 – 15 of 15) sorted by relevance

/PHP-7.3/ext/intl/
H A Dintl_error.c247 zend_string *u8str; in intl_parse_error_to_string() local
276 u8str = intl_convert_utf16_to_utf8(pe->preContext, -1, &status ); in intl_parse_error_to_string()
277 if( !u8str ) in intl_parse_error_to_string()
282 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
283 zend_string_release_ex( u8str, 0 ); in intl_parse_error_to_string()
295 u8str = intl_convert_utf16_to_utf8(pe->postContext, -1, &status ); in intl_parse_error_to_string()
296 if( !u8str ) in intl_parse_error_to_string()
302 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
303 zend_string_release_ex( u8str, 0 ); in intl_parse_error_to_string()
H A Dintl_data.h97 zend_string *u8str; \
98 u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
103 RETVAL_NEW_STR(u8str); \
/PHP-7.3/ext/intl/collator/
H A Dcollator_convert.c84 zend_string* u8str; in collator_convert_hash_item_from_utf16_to_utf8() local
95 u8str = intl_convert_utf16_to_utf8( in collator_convert_hash_item_from_utf16_to_utf8()
97 if( !u8str ) in collator_convert_hash_item_from_utf16_to_utf8()
101 ZVAL_NEW_STR( &znew_val, u8str); in collator_convert_hash_item_from_utf16_to_utf8()
163 zend_string* u8str; in collator_convert_zstr_utf16_to_utf8() local
167 u8str = intl_convert_utf16_to_utf8( in collator_convert_zstr_utf16_to_utf8()
169 if( !u8str ) { in collator_convert_zstr_utf16_to_utf8()
173 ZVAL_NEW_STR( rv, u8str ); in collator_convert_zstr_utf16_to_utf8()
/PHP-7.3/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp121 zend_string *u8str; in PHP_FUNCTION() local
124 u8str = intl_charFromString(rules, BREAKITER_ERROR_CODE_P(bio)); in PHP_FUNCTION()
125 if (!u8str) in PHP_FUNCTION()
132 RETVAL_STR(u8str); in PHP_FUNCTION()
/PHP-7.3/ext/intl/transliterator/
H A Dtransliterator_class.c39 zend_string *u8str; in transliterator_object_construct() local
52 u8str = intl_convert_utf16_to_utf8(ustr_id, (int ) ustr_id_len, status ); in transliterator_object_construct()
53 if( !u8str ) in transliterator_object_construct()
58 ZVAL_NEW_STR(&tmp, u8str); in transliterator_object_construct()
61 GC_DELREF(u8str); in transliterator_object_construct()
/PHP-7.3/ext/intl/dateformat/
H A Ddateformat_format_object.cpp232 zend_string *u8str; in PHP_FUNCTION() local
236 u8str = intl_charFromString(result, &status); in PHP_FUNCTION()
237 if (!u8str) { in PHP_FUNCTION()
244 RETVAL_STR(u8str); in PHP_FUNCTION()
H A Ddateformat_attrcpp.cpp47 zend_string *u8str; in PHP_FUNCTION() local
61 u8str = intl_charFromString(res, &INTL_DATA_ERROR_CODE(dfo)); in PHP_FUNCTION()
64 RETVAL_STR(u8str); in PHP_FUNCTION()
/PHP-7.3/ext/intl/formatter/
H A Dformatter_parse.c132 zend_string *u8str; in PHP_FUNCTION() local
174 u8str = intl_convert_utf16_to_utf8(currency, u_strlen(currency), &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
177 ZVAL_NEW_STR(zcurrency, u8str); in PHP_FUNCTION()
/PHP-7.3/ext/intl/timezone/
H A Dtimezone_methods.cpp310 zend_string *u8str =intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION() local
313 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
394 zend_string *u8str; in PHP_FUNCTION() local
396 u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION()
399 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
418 zend_string *u8str; in PHP_FUNCTION() local
420 u8str = intl_convert_utf16_to_utf8( in PHP_FUNCTION()
424 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
562 …zend_string *u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), TIMEZONE_ERRO… in PHP_FUNCTION() local
566 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
H A Dtimezone_class.cpp91 zend_string *u8str; in timezone_convert_to_datetimezone() local
93 u8str = intl_charFromString(id, &INTL_ERROR_CODE(*outside_error)); in timezone_convert_to_datetimezone()
94 if (!u8str) { in timezone_convert_to_datetimezone()
100 ZVAL_STR(&arg, u8str); in timezone_convert_to_datetimezone()
294 zend_string *u8str; in TimeZone_get_debug_info() local
315 u8str = intl_convert_utf16_to_utf8( in TimeZone_get_debug_info()
317 if (!u8str) { in TimeZone_get_debug_info()
320 ZVAL_NEW_STR(&zv, u8str); in TimeZone_get_debug_info()
/PHP-7.3/ext/intl/normalizer/
H A Dnormalizer_normalize.c122 zend_string* u8str; in PHP_FUNCTION() local
236 u8str = intl_convert_utf16_to_utf8(uret_buf, uret_len, &status ); in PHP_FUNCTION()
238 if( !u8str ) in PHP_FUNCTION()
246 RETVAL_NEW_STR( u8str ); in PHP_FUNCTION()
/PHP-7.3/ext/intl/idn/
H A Didn.c211 zend_string *u8str; in php_intl_idn_to() local
257 u8str = intl_convert_utf16_to_utf8(converted, converted_ret_len, &status); in php_intl_idn_to()
259 if (!u8str) { in php_intl_idn_to()
270 RETVAL_NEW_STR(u8str); in php_intl_idn_to()
/PHP-7.3/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp661 zend_string *u8str; in umsg_parse_helper() local
688 u8str = intl_convert_utf16_to_utf8(temp.getBuffer(), temp.length(), status); in umsg_parse_helper()
689 if(!u8str) { in umsg_parse_helper()
693 ZVAL_NEW_STR(&(*args)[i], u8str); in umsg_parse_helper()
/PHP-7.3/ext/intl/uchar/
H A Duchar.c549 zend_string *u8str; in IC_METHOD() local
571 u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error); in IC_METHOD()
574 RETVAL_NEW_STR(u8str); in IC_METHOD()
/PHP-7.3/ext/intl/locale/
H A Dlocale_methods.c499 zend_string* u8str; in get_icu_disp_value_src_php() local
601 u8str = intl_convert_utf16_to_utf8(disp_name, buflen, &status ); in get_icu_disp_value_src_php()
603 if( !u8str ) in get_icu_disp_value_src_php()
611 RETVAL_NEW_STR( u8str ); in get_icu_disp_value_src_php()

Completed in 61 milliseconds