Home
last modified time | relevance | path

Searched refs:nfo (Results 1 – 8 of 8) sorted by relevance

/PHP-8.3/ext/intl/formatter/
H A Dformatter_format.c66 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
70 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
80 …_len = unum_formatInt64(FORMATTER_OBJECT(nfo), value, formatted, formatted_len, NULL, &INTL_DATA_E… in PHP_FUNCTION()
82 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
84 …_len = unum_formatInt64(FORMATTER_OBJECT(nfo), value, formatted, formatted_len, NULL, &INTL_DATA_E… in PHP_FUNCTION()
85 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
97 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
99 …unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_D… in PHP_FUNCTION()
100 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
160 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
[all …]
H A Dformatter_attr.c110 INTL_DATA_ERROR_CODE(nfo) = U_ZERO_ERROR; in PHP_FUNCTION()
112 …ength = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, length, &INTL_DATA_ERROR_C… in PHP_FUNCTION()
113 if(U_FAILURE(INTL_DATA_ERROR_CODE(nfo))) { in PHP_FUNCTION()
202 …unum_setTextAttribute(FORMATTER_OBJECT(nfo), attribute, svalue, slength, &INTL_DATA_ERROR_CODE(nfo in PHP_FUNCTION()
236 …length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value_buf, length, &INTL_DATA_ERROR_CODE(nf… in PHP_FUNCTION()
241 length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
283 unum_setSymbol(FORMATTER_OBJECT(nfo), symbol, svalue, slength, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
311 length = unum_toPattern(FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
316 length = unum_toPattern( FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo) ); in PHP_FUNCTION()
351 …unum_applyPattern(FORMATTER_OBJECT(nfo), 0, svalue, slength, &spattern_error, &INTL_DATA_ERROR_COD… in PHP_FUNCTION()
[all …]
H A Dformatter_class.c38 zend_object_std_dtor( &nfo->zo ); in NumberFormatter_object_free()
40 formatter_data_free( &nfo->nf_data ); in NumberFormatter_object_free()
61 NumberFormatter_object *nfo, *new_nfo; in NumberFormatter_object_clone() local
64 nfo = php_intl_number_format_fetch_object(object); in NumberFormatter_object_clone()
65 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in NumberFormatter_object_clone()
70 zend_objects_clone_members(&new_nfo->zo, &nfo->zo); in NumberFormatter_object_clone()
72 if (FORMATTER_OBJECT(nfo) != NULL) { in NumberFormatter_object_clone()
73 FORMATTER_OBJECT(new_nfo) = unum_clone(FORMATTER_OBJECT(nfo), in NumberFormatter_object_clone()
74 &INTL_DATA_ERROR_CODE(nfo)); in NumberFormatter_object_clone()
75 if (U_FAILURE(INTL_DATA_ERROR_CODE(nfo))) { in NumberFormatter_object_clone()
[all …]
H A Dformatter_parse.c62 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
63 INTL_METHOD_CHECK_STATUS( nfo, "String conversion to UTF-16 failed" ); in PHP_FUNCTION()
73 … val32 = unum_parse(FORMATTER_OBJECT(nfo), sstr, sstr_len, position_p, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
77 …val64 = unum_parseInt64(FORMATTER_OBJECT(nfo), sstr, sstr_len, position_p, &INTL_DATA_ERROR_CODE(n… in PHP_FUNCTION()
85 …val_double = unum_parseDouble(FORMATTER_OBJECT(nfo), sstr, sstr_len, position_p, &INTL_DATA_ERROR_… in PHP_FUNCTION()
118 INTL_METHOD_CHECK_STATUS( nfo, "Number parsing failed" ); in PHP_FUNCTION()
148 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
149 INTL_METHOD_CHECK_STATUS( nfo, "String conversion to UTF-16 failed" ); in PHP_FUNCTION()
156 …unum_parseDoubleCurrency(FORMATTER_OBJECT(nfo), sstr, sstr_len, position_p, currency, &INTL_DATA_E… in PHP_FUNCTION()
163 INTL_METHOD_CHECK_STATUS( nfo, "Number parsing failed" ); in PHP_FUNCTION()
[all …]
H A Dformatter_main.c51 if (FORMATTER_OBJECT(nfo)) { in numfmt_ctor()
58 …_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(nfo)); in numfmt_ctor()
59 INTL_CTOR_CHECK_STATUS(nfo, "numfmt_create: error converting pattern to UTF-16"); in numfmt_ctor()
67 …FORMATTER_OBJECT(nfo) = unum_open(style, spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CO… in numfmt_ctor()
73 INTL_CTOR_CHECK_STATUS(nfo, "numfmt_create: number formatter creation failed"); in numfmt_ctor()
119 nfo = Z_INTL_NUMBERFORMATTER_P(object); in PHP_FUNCTION()
122 RETURN_LONG( INTL_DATA_ERROR_CODE(nfo) ); in PHP_FUNCTION()
139 nfo = Z_INTL_NUMBERFORMATTER_P(object); in PHP_FUNCTION()
142 message = intl_error_get_message( INTL_DATA_ERROR_P(nfo) ); in PHP_FUNCTION()
H A Dformatter_class.h40 #define FORMATTER_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(NumberFormatter, nfo)
41 #define FORMATTER_OBJECT(nfo) (nfo)->nf_data.unum argument
42 #define FORMATTER_METHOD_FETCH_OBJECT_NO_CHECK INTL_METHOD_FETCH_OBJECT(INTL_NUMBERFORMATTER, nfo)
45 if (FORMATTER_OBJECT(nfo) == NULL) \
/PHP-8.3/ext/fileinfo/tests/
H A Dmagic30170 !:ext nfo
H A Dmagic私はガラスを食べられます30170 !:ext nfo

Completed in 177 milliseconds