Lines Matching refs:format
72 PluralFormat::PluralFormat(const PluralFormat& other) : Format(other) {
250 PluralFormat::format(const Formattable& obj,
261 return format((int32_t)obj.getDouble(), appendTo, pos, status);
265 return format(number, appendTo, pos, status);
268 return format((int32_t)obj.getInt64(), appendTo, pos, status);
276 PluralFormat::format(int32_t number, UErrorCode& status) const {
283 return format(number, result, fpos, status);
287 PluralFormat::format(double number, UErrorCode& status) const {
294 return format(number, result, fpos, status);
299 PluralFormat::format(int32_t number,
303 return format((double)number, appendTo, pos, status);
307 PluralFormat::format(double number,
314 return numberFormat->format(number, appendTo, pos);
317 replacedNumberFormat->format(number, appendTo, pos);
399 PluralFormat::setNumberFormat(const NumberFormat* format, UErrorCode& /*status*/) {
402 replacedNumberFormat = (NumberFormat *)format;
405 Format*
445 PluralFormat::operator==(const Format& other) const {
449 // Format::operator== guarantees that this cast is safe
456 PluralFormat::operator!=(const Format& other) const {
480 appendTo = numberFormat->format(number, appendTo, pos);