Home
last modified time | relevance | path

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

/php-src/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-src/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-src/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-src/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.cpp287 zend_string *u8str =intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION() local
290 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
364 zend_string *u8str; in PHP_FUNCTION() local
366 u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION()
368 RETVAL_NEW_STR(u8str); in PHP_FUNCTION()
395 zend_string *u8str = intl_convert_utf16_to_utf8(result.getBuffer(), result.length(), &status); in PHP_FUNCTION() local
398 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()
[all …]
/php-src/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-src/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-src/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-src/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-src/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-src/ext/intl/uchar/
H A Duchar.c497 zend_string *u8str; in IC_METHOD() local
518 u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error); in IC_METHOD()
521 RETVAL_NEW_STR(u8str); in IC_METHOD()
/php-src/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 45 milliseconds