Lines Matching refs:nfo
77 formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), in PHP_FUNCTION()
78 formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
79 if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { in PHP_FUNCTION()
80 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
82 formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), in PHP_FUNCTION()
83 formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
84 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
88 INTL_METHOD_CHECK_STATUS( nfo, "Number formatting failed" ); in PHP_FUNCTION()
94 …_len = unum_formatInt64(FORMATTER_OBJECT(nfo), value, formatted, formatted_len, NULL, &INTL_DATA_E… in PHP_FUNCTION()
95 if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { in PHP_FUNCTION()
96 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
98 …_len = unum_formatInt64(FORMATTER_OBJECT(nfo), value, formatted, formatted_len, NULL, &INTL_DATA_E… in PHP_FUNCTION()
99 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
103 INTL_METHOD_CHECK_STATUS( nfo, "Number formatting failed" ); in PHP_FUNCTION()
109 … unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_… in PHP_FUNCTION()
110 if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { in PHP_FUNCTION()
111 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
113 …unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_D… in PHP_FUNCTION()
114 if (U_FAILURE( INTL_DATA_ERROR_CODE(nfo) ) ) { in PHP_FUNCTION()
118 INTL_METHOD_CHECK_STATUS( nfo, "Number formatting failed" ); in PHP_FUNCTION()
127 INTL_METHOD_RETVAL_UTF8( nfo, formatted, formatted_len, ( formatted != format_buf ) ); in PHP_FUNCTION()
162 …vert_utf8_to_utf16(&scurrency, &scurrency_len, currency, currency_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
163 INTL_METHOD_CHECK_STATUS( nfo, "Currency conversion to UTF-16 failed" ); in PHP_FUNCTION()
166 …matDoubleCurrency(FORMATTER_OBJECT(nfo), number, scurrency, formatted, formatted_len, NULL, &INTL_… in PHP_FUNCTION()
172 if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { in PHP_FUNCTION()
173 intl_error_reset(INTL_DATA_ERROR_P(nfo)); in PHP_FUNCTION()
175 …matDoubleCurrency(FORMATTER_OBJECT(nfo), number, scurrency, formatted, formatted_len, NULL, &INTL_… in PHP_FUNCTION()
178 if( U_FAILURE( INTL_DATA_ERROR_CODE((nfo)) ) ) { in PHP_FUNCTION()
179 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((nfo)) ); in PHP_FUNCTION()
180 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(nfo), "Number formatting failed", 0 ); in PHP_FUNCTION()
186 INTL_METHOD_RETVAL_UTF8( nfo, formatted, formatted_len, ( formatted != format_buf ) ); in PHP_FUNCTION()