/external/chromium_org/third_party/icu/source/i18n/ |
H A D | fmtable_cnv.cpp | 23 // class Formattable 33 Formattable::Formattable(const char* stringToCopy) function in class:Formattable
|
H A D | fmtable.cpp | 33 // class Formattable 38 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Formattable) 70 * Creates a new Formattable array and copies the values from the specified 74 * @return the new Formattable array. 76 static Formattable* createArrayCopy(const Formattable* array, int32_t count) { 77 Formattable *result = new Formattable[count]; 100 void Formattable::init() { 112 Formattable function in class:Formattable 119 Formattable::Formattable(UDate date, ISDATE /*isDate*/) function in class:Formattable 129 Formattable::Formattable(double value) function in class:Formattable 139 Formattable::Formattable(int32_t value) function in class:Formattable 148 Formattable::Formattable(int64_t value) function in class:Formattable 158 Formattable::Formattable(const StringPiece &number, UErrorCode &status) { function in class:Formattable 167 Formattable::Formattable(const UnicodeString& stringToCopy) function in class:Formattable 178 Formattable::Formattable(UnicodeString* stringToAdopt) function in class:Formattable 185 Formattable::Formattable(UObject* objectToAdopt) function in class:Formattable 194 Formattable::Formattable(const Formattable* arrayToCopy, int32_t count) function in class:Formattable 207 Formattable::Formattable(const Formattable &source) function in class:Formattable [all...] |
H A D | curramt.cpp | 20 CurrencyAmount::CurrencyAmount(const Formattable& amount, const UChar* isoCode, 27 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
|
/external/icu/icu4c/source/i18n/ |
H A D | fmtable_cnv.cpp | 23 // class Formattable 33 Formattable::Formattable(const char* stringToCopy) function in class:Formattable
|
H A D | fmtable.cpp | 33 // class Formattable 38 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Formattable) 70 * Creates a new Formattable array and copies the values from the specified 74 * @return the new Formattable array. 76 static Formattable* createArrayCopy(const Formattable* array, int32_t count) { 77 Formattable *result = new Formattable[count]; 100 void Formattable::init() { 112 Formattable function in class:Formattable 119 Formattable::Formattable(UDate date, ISDATE /*isDate*/) function in class:Formattable 129 Formattable::Formattable(double value) function in class:Formattable 139 Formattable::Formattable(int32_t value) function in class:Formattable 148 Formattable::Formattable(int64_t value) function in class:Formattable 158 Formattable::Formattable(const StringPiece &number, UErrorCode &status) { function in class:Formattable 167 Formattable::Formattable(const UnicodeString& stringToCopy) function in class:Formattable 178 Formattable::Formattable(UnicodeString* stringToAdopt) function in class:Formattable 185 Formattable::Formattable(UObject* objectToAdopt) function in class:Formattable 194 Formattable::Formattable(const Formattable* arrayToCopy, int32_t count) function in class:Formattable 207 Formattable::Formattable(const Formattable &source) function in class:Formattable [all...] |
H A D | curramt.cpp | 20 CurrencyAmount::CurrencyAmount(const Formattable& amount, const UChar* isoCode, 27 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
|
H A D | currfmt.h | 66 virtual UnicodeString& format(const Formattable& obj, 75 Formattable& result,
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | fmtable.h | 22 * \brief C++ API: Formattable is a thin wrapper for primitive types used for formatting and parsing 47 * Formattable objects can be passed to the Format class or 48 * its subclasses for formatting. Formattable is a thin wrapper 52 * <p>Internally, a Formattable object is a union of primitive types. 56 * <p>As of ICU 3.0, Formattable may also wrap a UObject pointer, 58 * encapsulated in a Formattable. For legacy reasons and for 60 * within a Formattable. 62 * <p>The Formattable class is not suitable for subclassing. 66 class U_I18N_API Formattable : public UObject { class in inherits:UObject 70 * the Formattable(UDat [all...] |
H A D | measure.h | 57 Measure(const Formattable& number, MeasureUnit* adoptedUnit, 95 * Formattable. 98 inline const Formattable& getNumber() const; 117 Formattable number; 126 inline const Formattable& Measure::getNumber() const {
|
H A D | format.h | 139 UnicodeString& format(const Formattable& obj, 146 * of Formattable objects. If a subclass of Format receives a Formattable 147 * object type it doesn't handle (e.g., if a numeric Formattable is passed 159 virtual UnicodeString& format(const Formattable& obj, 165 * method. This method allows polymorphic formatting of Formattable objects. 166 * If a subclass of Format receives a Formattable object type it doesn't 167 * handle (e.g., if a numeric Formattable is passed to a DateFormat object) 179 virtual UnicodeString& format(const Formattable& obj, 187 * polymorphic parsing of strings into Formattable object [all...] |
H A D | msgfmt.h | 247 * Formattable arguments[] = { 249 * Formattable( (Date) cal.getTime(success), Formattable::kIsDate), 272 * Formattable testArgs[] = {3L, "MyDisk"}; 301 * Formattable testArgs[] = {0L, "MyDisk"}; 629 * Does not take ownership of the Formattable* array or its contents. 644 UnicodeString& format(const Formattable* source, 668 const Formattable* arguments, 675 * string. The array must be stored within a single Formattable 676 * object of type kArray. If the Formattable objec [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
H A D | fmtable.h | 22 * \brief C++ API: Formattable is a thin wrapper for primitive types used for formatting and parsing 47 * Formattable objects can be passed to the Format class or 48 * its subclasses for formatting. Formattable is a thin wrapper 52 * <p>Internally, a Formattable object is a union of primitive types. 56 * <p>As of ICU 3.0, Formattable may also wrap a UObject pointer, 58 * encapsulated in a Formattable. For legacy reasons and for 60 * within a Formattable. 62 * <p>The Formattable class is not suitable for subclassing. 66 class U_I18N_API Formattable : public UObject { class in inherits:UObject 70 * the Formattable(UDat [all...] |
H A D | measure.h | 53 Measure(const Formattable& number, MeasureUnit* adoptedUnit, 91 * Formattable. 94 inline const Formattable& getNumber() const; 139 Formattable number; 148 inline const Formattable& Measure::getNumber() const {
|
H A D | format.h | 139 UnicodeString& format(const Formattable& obj, 146 * of Formattable objects. If a subclass of Format receives a Formattable 147 * object type it doesn't handle (e.g., if a numeric Formattable is passed 159 virtual UnicodeString& format(const Formattable& obj, 165 * method. This method allows polymorphic formatting of Formattable objects. 166 * If a subclass of Format receives a Formattable object type it doesn't 167 * handle (e.g., if a numeric Formattable is passed to a DateFormat object) 179 virtual UnicodeString& format(const Formattable& obj, 187 * polymorphic parsing of strings into Formattable object [all...] |
/external/chromium_org/third_party/icu/source/samples/numfmt/ |
H A D | util.h | 20 UnicodeString formattableToString(const Formattable& f);
|
H A D | util.cpp | 80 UnicodeString formattableToString(const Formattable& f) { 82 case Formattable::kDate: 85 case Formattable::kDouble: 91 case Formattable::kLong: 92 case Formattable::kInt64: 98 case Formattable::kString: 100 case Formattable::kArray: 103 const Formattable* array = f.getArray(count);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | nmfmtrt.h | 41 void test(NumberFormat *fmt, const Formattable& value); 44 static double proportionalError(const Formattable& a, const Formattable& b); 45 static UnicodeString& typeOf(const Formattable& n, UnicodeString& result); 49 isDouble(const Formattable& n) 50 { return (n.getType() == Formattable::kDouble); } 53 isLong(const Formattable& n) 54 { return (n.getType() == Formattable::kLong); }
|
H A D | tfsmalls.cpp | 167 Formattable* ftp = new Formattable(); 168 if (!ftp || !(ftp->getType() == Formattable::kLong) || !(ftp->getLong() == 0)) { 169 it_errln("*** Formattable constructor or getType or getLong"); 173 Formattable fta, ftb; 185 it_errln("*** Formattable setLong or operator== or !="); 195 if ((fta.getType() == Formattable::kDouble) && (fta.getDouble() == 3.0)) { 206 if ((fta.getType() == Formattable::kDate) && (fta.getDate() == 4.0)) { 226 const Formattable ftc(fta); 231 t = (fta.getType() == Formattable [all...] |
/external/icu/icu4c/source/samples/numfmt/ |
H A D | util.h | 20 UnicodeString formattableToString(const Formattable& f);
|
H A D | util.cpp | 80 UnicodeString formattableToString(const Formattable& f) { 82 case Formattable::kDate: 85 case Formattable::kDouble: 91 case Formattable::kLong: 92 case Formattable::kInt64: 98 case Formattable::kString: 100 case Formattable::kArray: 103 const Formattable* array = f.getArray(count);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | nmfmtrt.h | 41 void test(NumberFormat *fmt, const Formattable& value); 44 static double proportionalError(const Formattable& a, const Formattable& b); 45 static UnicodeString& typeOf(const Formattable& n, UnicodeString& result); 49 isDouble(const Formattable& n) 50 { return (n.getType() == Formattable::kDouble); } 53 isLong(const Formattable& n) 54 { return (n.getType() == Formattable::kLong); }
|
H A D | tfsmalls.cpp | 167 Formattable* ftp = new Formattable(); 168 if (!ftp || !(ftp->getType() == Formattable::kLong) || !(ftp->getLong() == 0)) { 169 it_errln("*** Formattable constructor or getType or getLong"); 173 Formattable fta, ftb; 185 it_errln("*** Formattable setLong or operator== or !="); 195 if ((fta.getType() == Formattable::kDouble) && (fta.getDouble() == 3.0)) { 206 if ((fta.getType() == Formattable::kDate) && (fta.getDate() == 4.0)) { 226 const Formattable ftc(fta); 231 t = (fta.getType() == Formattable [all...] |
H A D | numfmtst.h | 186 UBool testFormattableAsUFormattable(const char *file, int line, Formattable &f); 190 static UBool equalValue(const Formattable& a, const Formattable& b); 198 void expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str); 200 void expect3(NumberFormat& fmt, const Formattable& n, const UnicodeString& str); 202 void expect2(NumberFormat& fmt, const Formattable& n, const char* str) { 206 void expect2(NumberFormat* fmt, const Formattable& n, const UnicodeString& str, UErrorCode ec); 208 void expect2(NumberFormat* fmt, const Formattable& n, const char* str, UErrorCode ec) { 212 void expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n); 214 void expect(NumberFormat& fmt, const char *str, const Formattable [all...] |
/external/chromium_org/third_party/icu/source/samples/plurfmtsample/ |
H A D | plurfmtsample.cpp | 47 Formattable argEn[]={Formattable(numbers[i]), Formattable(plfmtEn.format(numbers[i],status))}; 48 Formattable argSl[]={Formattable(numbers[i]), Formattable(plfmtSl.format(numbers[i],status))}; 66 Formattable arg[] = {numbers[i]};
|
/external/icu/icu4c/source/samples/plurfmtsample/ |
H A D | plurfmtsample.cpp | 47 Formattable argEn[]={Formattable(numbers[i]), Formattable(plfmtEn.format(numbers[i],status))}; 48 Formattable argSl[]={Formattable(numbers[i]), Formattable(plfmtSl.format(numbers[i],status))}; 66 Formattable arg[] = {numbers[i]};
|