Home
last modified time | relevance | path

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

/PHP-8.3/ext/intl/
H A Dintl_error.c209 zend_string *u8str; in intl_parse_error_to_string() local
238 u8str = intl_convert_utf16_to_utf8(pe->preContext, -1, &status ); in intl_parse_error_to_string()
239 if( !u8str ) in intl_parse_error_to_string()
244 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
245 zend_string_release_ex( u8str, 0 ); in intl_parse_error_to_string()
257 u8str = intl_convert_utf16_to_utf8(pe->postContext, -1, &status ); in intl_parse_error_to_string()
258 if( !u8str ) in intl_parse_error_to_string()
264 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
265 zend_string_release_ex( u8str, 0 ); in intl_parse_error_to_string()
H A Dintl_data.h105 zend_string *u8str; \
106 u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
111 RETVAL_NEW_STR(u8str); \
/PHP-8.3/ext/intl/transliterator/
H A Dtransliterator_class.c37 zend_string *u8str; in transliterator_object_construct() local
50 u8str = intl_convert_utf16_to_utf8(ustr_id, (int ) ustr_id_len, status ); in transliterator_object_construct()
51 if( !u8str ) in transliterator_object_construct()
56 ZVAL_NEW_STR(&tmp, u8str); in transliterator_object_construct()
59 GC_DELREF(u8str); in transliterator_object_construct()
/PHP-8.3/ext/intl/collator/
H A Dcollator_convert.c82 zend_string* u8str; in collator_convert_hash_item_from_utf16_to_utf8() local
93 u8str = intl_convert_utf16_to_utf8( in collator_convert_hash_item_from_utf16_to_utf8()
95 if( !u8str ) in collator_convert_hash_item_from_utf16_to_utf8()
99 ZVAL_NEW_STR( &znew_val, u8str); in collator_convert_hash_item_from_utf16_to_utf8()
161 zend_string* u8str; in collator_convert_zstr_utf16_to_utf8() local
165 u8str = intl_convert_utf16_to_utf8( in collator_convert_zstr_utf16_to_utf8()
167 if( !u8str ) { in collator_convert_zstr_utf16_to_utf8()
171 ZVAL_NEW_STR( rv, u8str ); in collator_convert_zstr_utf16_to_utf8()
/PHP-8.3/ext/intl/timezone/
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()
298 zend_string *u8str; in TimeZone_get_debug_info() local
319 u8str = intl_convert_utf16_to_utf8( in TimeZone_get_debug_info()
321 if (!u8str) { in TimeZone_get_debug_info()
324 ZVAL_NEW_STR(&zv, u8str); in TimeZone_get_debug_info()
H A Dtimezone_methods.cpp288 zend_string *u8str =intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION() local
291 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
366 zend_string *u8str; in PHP_FUNCTION() local
368 u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION()
371 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
388 zend_string *u8str; in PHP_FUNCTION() local
390 u8str = intl_convert_utf16_to_utf8( in PHP_FUNCTION()
394 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
520 …zend_string *u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), TIMEZONE_ERRO… in PHP_FUNCTION() local
524 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
/PHP-8.3/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp122 zend_string *u8str; in PHP_METHOD() local
125 u8str = intl_charFromString(rules, BREAKITER_ERROR_CODE_P(bio)); in PHP_METHOD()
126 if (!u8str) in PHP_METHOD()
133 RETVAL_STR(u8str); in PHP_METHOD()
/PHP-8.3/ext/intl/dateformat/
H A Ddateformat_format_object.cpp223 zend_string *u8str; in PHP_FUNCTION() local
227 u8str = intl_charFromString(result, &status); in PHP_FUNCTION()
228 if (!u8str) { in PHP_FUNCTION()
235 RETVAL_STR(u8str); in PHP_FUNCTION()
H A Ddateformat_attrcpp.cpp40 zend_string *u8str; in PHP_FUNCTION() local
52 u8str = intl_charFromString(res, &INTL_DATA_ERROR_CODE(dfo)); in PHP_FUNCTION()
55 RETVAL_STR(u8str); in PHP_FUNCTION()
H A Ddatepatterngenerator_methods.cpp138 zend_string *u8str = intl_charFromString(result, DTPATTERNGEN_ERROR_CODE_P(dtpgo)); in PHP_METHOD() local
142 RETVAL_STR(u8str); in PHP_METHOD()
/PHP-8.3/ext/intl/formatter/
H A Dformatter_parse.c129 zend_string *u8str; in PHP_FUNCTION() local
166 u8str = intl_convert_utf16_to_utf8(currency, u_strlen(currency), &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
169 ZVAL_NEW_STR(zcurrency, u8str); in PHP_FUNCTION()
/PHP-8.3/ext/intl/normalizer/
H A Dnormalizer_normalize.c95 zend_string* u8str; in PHP_FUNCTION() local
204 u8str = intl_convert_utf16_to_utf8(uret_buf, uret_len, &status ); in PHP_FUNCTION()
206 if( !u8str ) in PHP_FUNCTION()
214 RETVAL_NEW_STR( u8str ); in PHP_FUNCTION()
/PHP-8.3/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp637 zend_string *u8str; in umsg_parse_helper() local
664 u8str = intl_convert_utf16_to_utf8(temp.getBuffer(), temp.length(), status); in umsg_parse_helper()
665 if(!u8str) { in umsg_parse_helper()
669 ZVAL_NEW_STR(&(*args)[i], u8str); in umsg_parse_helper()
/PHP-8.3/ext/intl/uchar/
H A Duchar.c498 zend_string *u8str; in IC_METHOD() local
519 u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error); in IC_METHOD()
522 RETVAL_NEW_STR(u8str); in IC_METHOD()
/PHP-8.3/ext/intl/locale/
H A Dlocale_methods.c568 zend_string* u8str; in get_icu_disp_value_src_php() local
667 u8str = intl_convert_utf16_to_utf8(disp_name, buflen, &status ); in get_icu_disp_value_src_php()
669 if( !u8str ) in get_icu_disp_value_src_php()
677 RETVAL_NEW_STR( u8str ); in get_icu_disp_value_src_php()

Completed in 44 milliseconds