Lines Matching refs:Formattable
140 Formattable result;
199 std::ostream& operator<<(std::ostream& stream, const Formattable& obj);
207 const Formattable& obj)
213 case Formattable::kDate :
220 case Formattable::kDouble :
225 case Formattable::kLong :
228 case Formattable::kString:
231 case Formattable::kArray:
233 const Formattable* array;
249 Formattable testArgs[] = {
250 Formattable(double(1)), Formattable(double(3456)),
251 Formattable("Disk"), Formattable(UDate((int32_t)1000000000L), Formattable::kIsDate)
345 Formattable* values = form->parse(result, parseCount, success);
380 Formattable testArgs1[] = { abc, def };
392 Formattable arguments[] = {
394 Formattable(UDate(8.71068e+011), Formattable::kIsDate),
428 Formattable arguments[] = {
430 Formattable(UDate(8.71068e+011), Formattable::kIsDate),
463 Formattable testArgs1[] = {(int32_t)0, "MyDisk"};
464 Formattable testArgs2[] = {(int32_t)1, "MyDisk"};
465 Formattable testArgs3[] = {(int32_t)12, "MyDisk"};
510 Formattable testArgs1[] = {(int32_t)0, "MyDisk"};
518 Formattable testArgs2[] = {(int32_t)1, "MyDisk"};
526 Formattable testArgs3[] = {(int32_t)1273, "MyDisk"};
553 Formattable testArgs1((int32_t)0);
583 Formattable testArgs2((int32_t)4);
616 Formattable testArgs3((int32_t)0);
640 Formattable args[] = { (int32_t)3, UNICODE_STRING_SIMPLE("x") };
647 Formattable* args , int32_t numOfArgs ,
693 Formattable testArgs10[] = {"Kirti","female"};
694 Formattable testArgs11[] = {"Victor","other"};
695 Formattable testArgs12[] = {"Ash","unknown"};
696 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12};
715 Formattable testArgs10[] = {"Kirti","female"};
716 Formattable testArgs11[] = {"Victor","other"};
717 Formattable testArgs12[] = {"Ash","male"};
718 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12};
737 Formattable testArgs10[] = {"female"};
738 Formattable testArgs11[] = {"other"};
739 Formattable testArgs12[] = {"male"};
740 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12};
759 Formattable testArgs10[] = {"Kirti","female",(int32_t)6};
760 Formattable testArgs11[] = {"Kirti","female",100.100};
761 Formattable testArgs12[] = {"Kirti","other",(int32_t)6};
762 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12};
782 Formattable testArgs10[] = {"Kirti",(int32_t)6,"female"};
783 Formattable testArgs11[] = {"Kirti",(int32_t)1,"female"};
784 Formattable testArgs12[] = {"Ash",(int32_t)1,"other"};
785 Formattable testArgs13[] = {"Ash",(int32_t)5,"other"};
786 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12,testArgs13};
806 Formattable testArgs10[] = {"Kirti","other",(int32_t)1,"other"};
807 Formattable testArgs11[] = {"Kirti","other",(int32_t)6,"other"};
808 Formattable testArgs12[] = {"Kirti","other",(int32_t)1,"female"};
809 Formattable testArgs13[] = {"Kirti","other",(int32_t)3,"female"};
810 Formattable testArgs14[] = {"Kirti","female",(int32_t)1,"female"};
811 Formattable testArgs15[] = {"Kirti","female",(int32_t)5,"female"};
812 Formattable testArgs16[] = {"Kirti","female",(int32_t)1,"other"};
813 Formattable testArgs17[] = {"Kirti","female",(int32_t)5,"other"};
814 Formattable testArgs18[] = {"Kirti","mixed",(int32_t)1,"mixed"};
815 Formattable testArgs19[] = {"Kirti","mixed",(int32_t)1,"other"};
816 Formattable
817 Formattable testArgs21[] = {"Kirti","mixed",(int32_t)5,"mixed"};
818 Formattable testArgs22[] = {"Kirti","mixed",(int32_t)5,"other"};
819 Formattable testArgs23[] = {"Kirti","female",(int32_t)5,"mixed"};
820 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12,testArgs13,
975 Formattable arguments[] = {
977 Formattable(UDate(8.71068e+011), Formattable::kIsDate),
1057 const Formattable ftarray[] =
1059 Formattable( UDate(8.71068e+011), Formattable::kIsDate )
1061 const int32_t ft_cnt = sizeof(ftarray) / sizeof(Formattable);
1062 Formattable ft_arr( ftarray, ft_cnt );
1064 Formattable* fmt = new Formattable(UDate(8.71068e+011), Formattable::kIsDate);
1099 logln("MSG format( Formattable&, ... ) expected:" + compareStr);
1100 logln("MSG format( Formattable&, ... ) result:" + result);
1102 dataerrln("*** MSG format( Formattable&, .... ) err. - %s", u_errorName(err));
1104 logln("MSG format( Formattable&, ... ) tested.");
1120 Formattable* fmt_arr = msg.parse( source, count, err );
1128 if ((fmt_arr[0].getType() == Formattable::kString)
1129 && (fmt_arr[1].getType() == Formattable::kString)
1150 if ((fmt_arr[0].getType() == Formattable::kString)
1151 && (fmt_arr[1].getType() == Formattable::kString)
1163 Formattable fmta;
1167 errln("*** MSG parse (ustring, Formattable, parsepos ) error.");
1172 errln("*** MSG parse (ustring, Formattable, parsepos ) count err.");
1174 if ((fmta[0].getType() == Formattable::kString)
1175 && (fmta[1].getType() == Formattable::kString)
1178 logln("MSG parse (ustring, Formattable, parsepos ) tested.");
1180 errln("*** MSG parse (ustring, Formattable, parsepos ) result err.");
1408 const Formattable fargs( d, Formattable::kIsDate );
1475 const Formattable ARGS[] = {
1476 Formattable(UDate(1e13), Formattable::kIsDate),
1477 Formattable((int32_t)1303),
1478 Formattable((int32_t)1202),
1479 Formattable(1303.0/1202 - 1),
1480 Formattable("Glimmung"),
1481 Formattable("the printers"),
1482 Formattable("Nick"),
1483 Formattable("his father"),
1484 Formattable("his mother"),
1485 Formattable("the spiddles"),
1486 Formattable("of course"),
1487 Formattable("Horace"),
1490 Formattable ARGS_OBJ(ARGS, ARGS_LENGTH);
1534 Formattable args[1];
1559 Formattable* parseResult = fmt->parse(result, count, ec);
1645 Formattable zero0[] = { (int32_t)0 };
1849 Formattable args[1] = { (int32_t)2 };
1874 Formattable args[1] = { (int32_t)21 };