Lines Matching refs:CDFUnit
66 struct CDFUnit : public UMemory { struct
69 inline CDFUnit() : prefix(), suffix() { in CDFUnit() argument
72 inline ~CDFUnit() {} in ~CDFUnit() argument
133 delete [] (icu::CDFUnit*) ptr; in deleteCDFUnits()
160 static CDFUnit* createCDFUnit(const char* variant, int32_t log10Value, UHashtable* table, UErrorCod…
161 static const CDFUnit* getCDFUnitFallback(const UHashtable* table, const UnicodeString& variant, int…
263 const CDFUnit* unit = getCDFUnitFallback(_unitsByVariant, variant, baseIdx); in format()
776 CDFUnit* unit = createCDFUnit(variant, log10Value, result, status); in populatePrefixSuffix()
857 const CDFUnit* otherUnits = in fillInMissing()
858 (const CDFUnit*) uhash_get(result->unitsByVariant, gOther); in fillInMissing()
874 CDFUnit* units = (CDFUnit*) element->value.pointer; in fillInMissing()
911 static CDFUnit* createCDFUnit(const char* variant, int32_t log10Value, UHashtable* table, UErrorCod… in createCDFUnit()
915 CDFUnit *cdfUnit = (CDFUnit*) uhash_get(table, variant); in createCDFUnit()
917 cdfUnit = new CDFUnit[MAX_DIGITS]; in createCDFUnit()
927 CDFUnit* result = &cdfUnit[log10Value]; in createCDFUnit()
936 static const CDFUnit* getCDFUnitFallback(const UHashtable* table, const UnicodeString& variant, int… in getCDFUnitFallback()
939 const CDFUnit *cdfUnit = NULL; in getCDFUnitFallback()
942 cdfUnit = (const CDFUnit*) uhash_get(table, cvariant.data()); in getCDFUnitFallback()
945 cdfUnit = (const CDFUnit*) uhash_get(table, gOther); in getCDFUnitFallback()