Home | History | Annotate | Download | only in i18n

Lines Matching full:numberformat

122     void adoptCurrencyFormat(int32_t widthIndex, NumberFormat *nfToAdopt) {
126 const NumberFormat *getCurrencyFormat(UMeasureFormatWidth width) const {
129 void adoptIntegerFormat(NumberFormat *nfToAdopt) {
133 const NumberFormat *getIntegerFormat() const {
145 NumberFormat *currencyFormats[WIDTH_INDEX_COUNT];
146 NumberFormat *integerFormat;
489 result->adoptCurrencyFormat(i, NumberFormat::createInstance(
495 NumberFormat *inf = NumberFormat::createInstance(
579 numberFormat(NULL),
589 NumberFormat *nfToAdopt,
592 numberFormat(NULL),
602 numberFormat(other.numberFormat),
607 numberFormat->addRef();
618 SharedObject::copyPtr(other.numberFormat, numberFormat);
628 numberFormat(NULL),
638 if (numberFormat != NULL) {
639 numberFormat->removeRef();
677 // Locales same, check NumberFormat if shared data differs.
679 numberFormat == rhs.numberFormat ||
680 **numberFormat == **rhs.numberFormat);
698 *amount, **numberFormat, appendTo, pos, status);
726 newMeasure, **numberFormat, appendTo, pos, status);
732 measure, **numberFormat, result, fpos, status),
759 return formatMeasure(measures[0], **numberFormat, appendTo, pos, status);
778 const NumberFormat *nf = cache->getIntegerFormat();
780 nf = numberFormat->get();
797 NumberFormat *nfToAdopt,
800 LocalPointer<NumberFormat> nf(nfToAdopt);
820 const SharedNumberFormat *shared = NumberFormat::createSharedInstance(
825 SharedObject::copyPtr(shared, numberFormat);
842 NumberFormat *nfToAdopt, UErrorCode &status) {
843 LocalPointer<NumberFormat> nf(nfToAdopt);
853 SharedObject::copyPtr(shared, numberFormat);
864 const NumberFormat &MeasureFormat::getNumberFormat() const {
865 return **numberFormat;
882 const NumberFormat &nf,
983 // Format the smallest amount with this object's NumberFormat
990 (*numberFormat)->format(
1154 const NumberFormat *nf = cache->getIntegerFormat();
1156 nf = numberFormat->get();