Lines Matching refs:nfo
78 formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), in PHP_FUNCTION()
79 formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
80 if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { in PHP_FUNCTION()
81 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
83 formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), in PHP_FUNCTION()
84 formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
85 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
89 INTL_METHOD_CHECK_STATUS( nfo, "Number formatting failed" ); in PHP_FUNCTION()
95 …_len = unum_formatInt64(FORMATTER_OBJECT(nfo), value, formatted, formatted_len, NULL, &INTL_DATA_E… in PHP_FUNCTION()
96 if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { in PHP_FUNCTION()
97 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
99 …_len = unum_formatInt64(FORMATTER_OBJECT(nfo), value, formatted, formatted_len, NULL, &INTL_DATA_E… in PHP_FUNCTION()
100 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
104 INTL_METHOD_CHECK_STATUS( nfo, "Number formatting failed" ); in PHP_FUNCTION()
110 … unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_… in PHP_FUNCTION()
111 if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { in PHP_FUNCTION()
112 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
114 …unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_D… in PHP_FUNCTION()
115 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
119 INTL_METHOD_CHECK_STATUS( nfo, "Number formatting failed" ); in PHP_FUNCTION()
128 INTL_METHOD_RETVAL_UTF8( nfo, formatted, formatted_len, ( formatted != format_buf ) ); in PHP_FUNCTION()
163 …vert_utf8_to_utf16(&scurrency, &scurrency_len, currency, currency_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
164 INTL_METHOD_CHECK_STATUS( nfo, "Currency conversion to UTF-16 failed" ); in PHP_FUNCTION()
167 …matDoubleCurrency(FORMATTER_OBJECT(nfo), number, scurrency, formatted, formatted_len, NULL, &INTL_… in PHP_FUNCTION()
173 if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { in PHP_FUNCTION()
174 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
176 …matDoubleCurrency(FORMATTER_OBJECT(nfo), number, scurrency, formatted, formatted_len, NULL, &INTL_… in PHP_FUNCTION()
179 if( U_FAILURE( INTL_DATA_ERROR_CODE((nfo)) ) ) { in PHP_FUNCTION()
180 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((nfo)) ); in PHP_FUNCTION()
181 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(nfo), "Number formatting failed", 0 ); in PHP_FUNCTION()
187 INTL_METHOD_RETVAL_UTF8( nfo, formatted, formatted_len, ( formatted != format_buf ) ); in PHP_FUNCTION()