/PHP-7.0/ext/intl/ |
H A D | intl_error.c | 247 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 D | intl_data.h | 97 zend_string *u8str; \ 98 u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \ 103 RETVAL_NEW_STR(u8str); \
|
/PHP-7.0/ext/intl/collator/ |
H A D | collator_convert.c | 90 zend_string* u8str; in collator_convert_hash_item_from_utf16_to_utf8() local 101 u8str = intl_convert_utf16_to_utf8( in collator_convert_hash_item_from_utf16_to_utf8() 103 if( !u8str ) in collator_convert_hash_item_from_utf16_to_utf8() 107 ZVAL_NEW_STR( &znew_val, u8str); in collator_convert_hash_item_from_utf16_to_utf8() 169 zend_string* u8str; in collator_convert_zstr_utf16_to_utf8() local 173 u8str = intl_convert_utf16_to_utf8( in collator_convert_zstr_utf16_to_utf8() 175 if( !u8str ) { in collator_convert_zstr_utf16_to_utf8() 179 ZVAL_NEW_STR( rv, u8str ); in collator_convert_zstr_utf16_to_utf8()
|
/PHP-7.0/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 48 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.0/ext/intl/breakiterator/ |
H A D | rulebasedbreakiterator_methods.cpp | 117 zend_string *u8str; in PHP_FUNCTION() local 120 u8str = intl_charFromString(rules, BREAKITER_ERROR_CODE_P(bio)); in PHP_FUNCTION() 121 if (!u8str) in PHP_FUNCTION() 128 RETVAL_STR(u8str); in PHP_FUNCTION()
|
/PHP-7.0/ext/intl/timezone/ |
H A D | timezone_methods.cpp | 308 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 D | timezone_class.cpp | 89 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.0/ext/intl/dateformat/ |
H A D | dateformat_format_object.cpp | 224 zend_string *u8str; in PHP_FUNCTION() local 228 u8str = intl_charFromString(result, &status); in PHP_FUNCTION() 229 if (!u8str) { in PHP_FUNCTION() 236 RETVAL_STR(u8str); in PHP_FUNCTION()
|
H A D | dateformat_attrcpp.cpp | 47 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.0/ext/intl/transliterator/ |
H A D | transliterator_class.c | 39 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.0/ext/intl/formatter/ |
H A D | formatter_parse.c | 132 zend_string *u8str; in PHP_FUNCTION() local 175 u8str = intl_convert_utf16_to_utf8(currency, u_strlen(currency), &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION() 178 ZVAL_NEW_STR(zcurrency, u8str); in PHP_FUNCTION()
|
/PHP-7.0/ext/intl/idn/ |
H A D | idn.c | 207 zend_string *u8str; in php_intl_idn_to() local 241 u8str = intl_convert_utf16_to_utf8(converted, converted_ret_len, &status); in php_intl_idn_to() 243 if (!u8str) { in php_intl_idn_to() 254 RETVAL_NEW_STR(u8str); in php_intl_idn_to()
|
/PHP-7.0/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 651 zend_string *u8str; in umsg_parse_helper() local 678 u8str = intl_convert_utf16_to_utf8(temp.getBuffer(), temp.length(), status); in umsg_parse_helper() 679 if(!u8str) { in umsg_parse_helper() 683 ZVAL_NEW_STR(&(*args)[i], u8str); in umsg_parse_helper()
|
/PHP-7.0/ext/intl/uchar/ |
H A D | uchar.c | 537 zend_string *u8str; in IC_METHOD() local 559 u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error); in IC_METHOD() 562 RETVAL_NEW_STR(u8str); in IC_METHOD()
|
/PHP-7.0/ext/intl/locale/ |
H A D | locale_methods.c | 501 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()
|