Lines Matching refs:formatters
34 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
35 formatters[i] = NULL; in QuantityFormatter()
40 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
41 if (other.formatters[i] == NULL) { in QuantityFormatter()
42 formatters[i] = NULL; in QuantityFormatter()
44 formatters[i] = new SimpleFormatter(*other.formatters[i]); in QuantityFormatter()
54 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in operator =()
55 delete formatters[i]; in operator =()
56 if (other.formatters[i] == NULL) { in operator =()
57 formatters[i] = NULL; in operator =()
59 formatters[i] = new SimpleFormatter(*other.formatters[i]); in operator =()
66 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in ~QuantityFormatter()
67 delete formatters[i]; in ~QuantityFormatter()
72 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in reset()
73 delete formatters[i]; in reset()
74 formatters[i] = NULL; in reset()
86 if (formatters[pluralIndex] != NULL) { in addIfAbsent()
98 formatters[pluralIndex] = newFmt; in addIfAbsent()
103 return formatters[StandardPlural::OTHER] != NULL; in isValid()
110 const SimpleFormatter *pattern = formatters[pluralIndex]; in getByVariant()
112 pattern = formatters[StandardPlural::OTHER]; in getByVariant()
129 const SimpleFormatter *pattern = formatters[p]; in format()
131 pattern = formatters[StandardPlural::OTHER]; in format()