Home
last modified time | relevance | path

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

/PHP-7.4/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.4/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.4/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp115 zend_string *u8str; in PHP_FUNCTION() local
118 u8str = intl_charFromString(rules, BREAKITER_ERROR_CODE_P(bio)); in PHP_FUNCTION()
119 if (!u8str) in PHP_FUNCTION()
126 RETVAL_STR(u8str); in PHP_FUNCTION()
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_format_object.cpp234 zend_string *u8str; in PHP_FUNCTION() local
238 u8str = intl_charFromString(result, &status); in PHP_FUNCTION()
239 if (!u8str) { in PHP_FUNCTION()
246 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.4/ext/intl/formatter/
H A Dformatter_parse.c130 zend_string *u8str; in PHP_FUNCTION() local
170 u8str = intl_convert_utf16_to_utf8(currency, u_strlen(currency), &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
173 ZVAL_NEW_STR(zcurrency, u8str); in PHP_FUNCTION()
/PHP-7.4/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.4/ext/intl/timezone/
H A Dtimezone_methods.cpp308 zend_string *u8str =intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION() local
311 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
390 zend_string *u8str; in PHP_FUNCTION() local
392 u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION()
395 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
414 zend_string *u8str; in PHP_FUNCTION() local
416 u8str = intl_convert_utf16_to_utf8( in PHP_FUNCTION()
420 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
556 …zend_string *u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), TIMEZONE_ERRO… in PHP_FUNCTION() local
560 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()
296 zend_string *u8str; in TimeZone_get_debug_info() local
317 u8str = intl_convert_utf16_to_utf8( in TimeZone_get_debug_info()
319 if (!u8str) { in TimeZone_get_debug_info()
322 ZVAL_NEW_STR(&zv, u8str); in TimeZone_get_debug_info()
/PHP-7.4/ext/intl/idn/
H A Didn.c185 zend_string *u8str; in php_intl_idn_to() local
231 u8str = intl_convert_utf16_to_utf8(converted, converted_ret_len, &status); in php_intl_idn_to()
233 if (!u8str) { in php_intl_idn_to()
244 RETVAL_NEW_STR(u8str); in php_intl_idn_to()
/PHP-7.4/ext/intl/normalizer/
H A Dnormalizer_normalize.c120 zend_string* u8str; in PHP_FUNCTION() local
234 u8str = intl_convert_utf16_to_utf8(uret_buf, uret_len, &status ); in PHP_FUNCTION()
236 if( !u8str ) in PHP_FUNCTION()
244 RETVAL_NEW_STR( u8str ); in PHP_FUNCTION()
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp639 zend_string *u8str; in umsg_parse_helper() local
666 u8str = intl_convert_utf16_to_utf8(temp.getBuffer(), temp.length(), status); in umsg_parse_helper()
667 if(!u8str) { in umsg_parse_helper()
671 ZVAL_NEW_STR(&(*args)[i], u8str); in umsg_parse_helper()
/PHP-7.4/ext/intl/uchar/
H A Duchar.c547 zend_string *u8str; in IC_METHOD() local
569 u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error); in IC_METHOD()
572 RETVAL_NEW_STR(u8str); in IC_METHOD()
/PHP-7.4/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