Home
last modified time | relevance | path

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

/PHP-7.2/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( u8str ); 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( u8str ); 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.2/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.2/ext/intl/normalizer/
H A Dnormalizer_normalize.c48 zend_string* u8str; in PHP_FUNCTION() local
151 u8str = intl_convert_utf16_to_utf8(uret_buf, uret_len, &status ); in PHP_FUNCTION()
153 if( !u8str ) in PHP_FUNCTION()
161 RETVAL_NEW_STR( u8str ); in PHP_FUNCTION()
/PHP-7.2/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp118 zend_string *u8str; in PHP_FUNCTION() local
121 u8str = intl_charFromString(rules, BREAKITER_ERROR_CODE_P(bio)); in PHP_FUNCTION()
122 if (!u8str) in PHP_FUNCTION()
129 RETVAL_STR(u8str); in PHP_FUNCTION()
/PHP-7.2/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_REFCOUNT(u8str)--; in transliterator_object_construct()
/PHP-7.2/ext/intl/dateformat/
H A Ddateformat_format_object.cpp226 zend_string *u8str; in PHP_FUNCTION() local
230 u8str = intl_charFromString(result, &status); in PHP_FUNCTION()
231 if (!u8str) { in PHP_FUNCTION()
238 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.2/ext/intl/formatter/
H A Dformatter_parse.c133 zend_string *u8str; in PHP_FUNCTION() local
176 u8str = intl_convert_utf16_to_utf8(currency, u_strlen(currency), &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
179 ZVAL_NEW_STR(zcurrency, u8str); in PHP_FUNCTION()
/PHP-7.2/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()
392 zend_string *u8str; in PHP_FUNCTION() local
394 u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION()
397 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
416 zend_string *u8str; in PHP_FUNCTION() local
418 u8str = intl_convert_utf16_to_utf8( in PHP_FUNCTION()
422 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.cpp89 zend_string *u8str; in timezone_convert_to_datetimezone() local
91 u8str = intl_charFromString(id, &INTL_ERROR_CODE(*outside_error)); in timezone_convert_to_datetimezone()
92 if (!u8str) { in timezone_convert_to_datetimezone()
98 ZVAL_STR(&arg, u8str); in timezone_convert_to_datetimezone()
292 zend_string *u8str; in TimeZone_get_debug_info() local
314 u8str = intl_convert_utf16_to_utf8( in TimeZone_get_debug_info()
316 if (!u8str) { in TimeZone_get_debug_info()
319 ZVAL_NEW_STR(&zv, u8str); in TimeZone_get_debug_info()
/PHP-7.2/ext/intl/idn/
H A Didn.c205 zend_string *u8str; in php_intl_idn_to() local
251 u8str = intl_convert_utf16_to_utf8(converted, converted_ret_len, &status); in php_intl_idn_to()
253 if (!u8str) { in php_intl_idn_to()
264 RETVAL_NEW_STR(u8str); in php_intl_idn_to()
/PHP-7.2/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp673 zend_string *u8str; in umsg_parse_helper() local
700 u8str = intl_convert_utf16_to_utf8(temp.getBuffer(), temp.length(), status); in umsg_parse_helper()
701 if(!u8str) { in umsg_parse_helper()
705 ZVAL_NEW_STR(&(*args)[i], u8str); in umsg_parse_helper()
/PHP-7.2/ext/intl/uchar/
H A Duchar.c546 zend_string *u8str; in IC_METHOD() local
568 u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error); in IC_METHOD()
571 RETVAL_NEW_STR(u8str); in IC_METHOD()
/PHP-7.2/ext/intl/locale/
H A Dlocale_methods.c501 zend_string* u8str; in get_icu_disp_value_src_php() local
604 u8str = intl_convert_utf16_to_utf8(disp_name, buflen, &status ); in get_icu_disp_value_src_php()
606 if( !u8str ) in get_icu_disp_value_src_php()
614 RETVAL_NEW_STR( u8str ); in get_icu_disp_value_src_php()

Completed in 46 milliseconds