Home | History | Annotate | Download | only in intltest

Lines Matching refs:Formattable

97         Formattable params [] = {
98 Formattable(UnicodeString("BUG")),
99 Formattable(0, Formattable::kIsDate)
113 // do we want to verify that the Formattable* array is not NULL,
192 Formattable params []= {
193 Formattable((int32_t)7)
203 Formattable *objs = messageFormatter->parse(tempBuffer, pp, count);
213 Formattable obj = objs[i];
215 if(obj.getType() == Formattable::kString)
220 case Formattable::kLong: fmt->format(obj.getLong(), temp); break;
221 case Formattable::kInt64: fmt->format(obj.getInt64(), temp); break;
222 case Formattable::kDouble: fmt->format(obj.getDouble(), temp); break;
228 Formattable obj1 = params[i];
230 if(obj1.getType() == Formattable::kString)
235 case Formattable::kLong: fmt->format(obj1.getLong(), temp1); break;
236 case Formattable::kInt64: fmt->format(obj1.getInt64(), temp1); break;
237 case Formattable::kDouble: fmt->format(obj1.getDouble(), temp1); break;
251 // {sfb} does this apply? no way to really pass a null Formattable,
306 Formattable obj;
492 Formattable *array = mf->parse(UnicodeString(""), pp, count);
532 Formattable *objs1 = NULL;
533 //Formattable objs2 [] = {};
534 //Formattable *objs3 [] = {NULL};
596 logln("Format with -INF : " + fmt->format(Formattable(-uprv_getInfinity()), str, bogus, status));
599 logln("Format with -1.0 : " + fmt->format(Formattable(-1.0), str, bogus, status));
602 logln("Format with -1.0 : " + fmt->format(Formattable(-1.0), str, bogus, status));
605 logln("Format with 0 : " + fmt->format(Formattable((int32_t)0), str, bogus, status));
608 logln("Format with 0.9 : " + fmt->format(Formattable(0.9), str, bogus, status));
611 logln("Format with 1.0 : " + fmt->format(Formattable(1.0), str, bogus, status));
614 logln("Format with 1.5 : " + fmt->format(Formattable(1.5), str, bogus, status));
617 logln("Format with 2 : " + fmt->format(Formattable((int32_t)2), str, bogus, status));
620 logln("Format with 2.1 : " + fmt->format(Formattable(2.1), str, bogus, status));
623 logln("Format with NaN : " + fmt->format(Formattable(uprv_getNaN()), str, bogus, status));
626 logln("Format with +INF : " + fmt->format(Formattable(uprv_getInfinity()), str, bogus, status));
655 logln("Format with -INF : " + fmt->format(Formattable(-uprv_getInfinity()), str, bogus, status));
658 logln("Format with -1.0 : " + fmt->format(Formattable(-1.0), str, bogus, status));
661 logln("Format with -1.0 : " + fmt->format(Formattable(-1.0), str, bogus, status));
664 logln("Format with 0 : " + fmt->format(Formattable((int32_t)0), str, bogus, status));
667 logln("Format with 0.9 : " + fmt->format(Formattable(0.9), str, bogus, status));
670 logln("Format with 1.0 : " + fmt->format(Formattable(1.0), str, bogus, status));
673 logln("Format with 1.5 : " + fmt->format(Formattable(1.5), str, bogus, status));
676 logln("Format with 2 : " + fmt->format(Formattable((int32_t)2), str, bogus, status));
679 logln("Format with 2.1 : " + fmt->format(Formattable(2.1), str, bogus, status));
682 logln("Format with NaN : " + fmt->format(Formattable(uprv_getNaN()), str, bogus, status));
685 logln("Format with +INF : " + fmt->format(Formattable(uprv_getInfinity()), str, bogus, status));
701 Formattable *objs = 0;
720 if(objs[0].getType() == Formattable::kString)
723 logln((UnicodeString)" " + (objs[0].getType() == Formattable::kLong ? objs[0].getLong() : objs[0].getDouble()));
744 Formattable *objs = mf->parse(forParsing, pp, count);
754 Formattable oldobjs [] = {Formattable(3.1415)};
768 Formattable *newobjs = mf->parse(result, pp, count1);
804 Formattable testArgs [] = {
805 Formattable((int32_t)12373),
806 Formattable((UnicodeString)"MyDisk")
841 Formattable *objs = mf->parse(texts[i], pp, count);
884 Formattable objs [] = {
885 Formattable((int32_t)i)