Lines Matching refs:Formattable
39 virtual UnicodeString& format(const Formattable& obj,
63 Formattable& result,
70 Formattable& result,
412 Formattable result;
415 float floatResult = (float) (result.getType() == Formattable::kDouble
435 Formattable result;
589 Formattable d;
744 Formattable d2;
1328 Formattable num;
1413 Formattable num;
1492 Formattable num;
1523 Formattable result;
1942 Formattable num;
2084 Formattable n;
2097 // Formattable apparently does not and never did interconvert... too bad.
2127 Formattable n;
2164 Formattable num;
2167 if (num.getType() == Formattable::kDouble &&
2202 Formattable n;
2205 if (n.getType() != Formattable::kLong
2489 Formattable num;
2492 if (num.getType() != Formattable::kLong &&
2493 num.getType() != Formattable::kDouble) {
2497 double d = num.getType() == Formattable::kDouble ?
2617 Formattable val;
2620 if (val.getType() == Formattable::kDouble &&
2721 // Note: Retrieving parsed values from a Formattable as a reduced-precision type
2725 Formattable val;
2728 TEST_ASSERT(Formattable::kDouble == val.getType());
2739 TEST_ASSERT(Formattable::kDouble == val.getType());
2748 TEST_ASSERT(Formattable::kInt64 == val.getType());
2756 TEST_ASSERT(Formattable::kInt64 == val.getType());
2768 TEST_ASSERT(Formattable::kInt64 == val.getType());
2777 TEST_ASSERT(Formattable::kDouble == val.getType());
2787 TEST_ASSERT(Formattable::kDouble == val.getType());
2806 TEST_ASSERT(Formattable::kDouble == val.getType());
2815 TEST_ASSERT(Formattable::kDouble == val.getType());
2824 TEST_ASSERT(Formattable::kDouble == val.getType());
2834 Formattable val;
2873 Formattable n;
2877 if (n.getType() != Formattable::kLong
2885 Formattable n;
2889 if (n.getType() != Formattable::kLong