Lines Matching refs:Formattable
145 Formattable result; in testBug3()
204 std::ostream& operator<<(std::ostream& stream, const Formattable& obj);
212 const Formattable& obj)
218 case Formattable::kDate :
225 case Formattable::kDouble :
230 case Formattable::kLong :
233 case Formattable::kString:
236 case Formattable::kArray:
238 const Formattable* array;
254 Formattable testArgs[] = { in PatternTest()
255 Formattable(double(1)), Formattable(double(3456)), in PatternTest()
256 Formattable("Disk"), Formattable(UDate((int32_t)1000000000L), Formattable::kIsDate) in PatternTest()
350 Formattable* values = form->parse(result, parseCount, success); in PatternTest()
385 Formattable testArgs1[] = { abc, def }; in sample()
397 Formattable arguments[] = { in testStaticFormat()
399 Formattable(UDate(8.71068e+011), Formattable::kIsDate), in testStaticFormat()
433 Formattable arguments[] = { in TestTurkishCasing()
435 Formattable(UDate(8.71068e+011), Formattable::kIsDate), in TestTurkishCasing()
468 Formattable testArgs1[] = {(int32_t)0, "MyDisk"}; in testSimpleFormat()
469 Formattable testArgs2[] = {(int32_t)1, "MyDisk"}; in testSimpleFormat()
470 Formattable testArgs3[] = {(int32_t)12, "MyDisk"}; in testSimpleFormat()
515 Formattable testArgs1[] = {(int32_t)0, "MyDisk"}; in testMsgFormatChoice()
523 Formattable testArgs2[] = {(int32_t)1, "MyDisk"}; in testMsgFormatChoice()
531 Formattable testArgs3[] = {(int32_t)1273, "MyDisk"}; in testMsgFormatChoice()
558 Formattable testArgs1((int32_t)0); in testMsgFormatPlural()
588 Formattable testArgs2((int32_t)4); in testMsgFormatPlural()
621 Formattable testArgs3((int32_t)0); in testMsgFormatPlural()
645 Formattable args[] = { (int32_t)3, UNICODE_STRING_SIMPLE("x") }; in testApostropheInPluralAndSelect()
652 Formattable* args , int32_t numOfArgs , in internalFormat()
698 Formattable testArgs10[] = {"Kirti","female"}; in testMsgFormatSelect()
699 Formattable testArgs11[] = {"Victor","other"}; in testMsgFormatSelect()
700 Formattable testArgs12[] = {"Ash","unknown"}; in testMsgFormatSelect()
701 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12}; in testMsgFormatSelect()
720 Formattable testArgs10[] = {"Kirti","female"}; in testMsgFormatSelect()
721 Formattable testArgs11[] = {"Victor","other"}; in testMsgFormatSelect()
722 Formattable testArgs12[] = {"Ash","male"}; in testMsgFormatSelect()
723 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12}; in testMsgFormatSelect()
742 Formattable testArgs10[] = {"female"}; in testMsgFormatSelect()
743 Formattable testArgs11[] = {"other"}; in testMsgFormatSelect()
744 Formattable testArgs12[] = {"male"}; in testMsgFormatSelect()
745 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12}; in testMsgFormatSelect()
765 Formattable testArgs10[] = {"Kirti","female",(int32_t)6}; in testMsgFormatSelect()
766 Formattable testArgs11[] = {"Kirti","female",100.100}; in testMsgFormatSelect()
767 Formattable testArgs12[] = {"Kirti","other",(int32_t)6}; in testMsgFormatSelect()
768 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12}; in testMsgFormatSelect()
788 Formattable testArgs10[] = {"Kirti",(int32_t)6,"female"}; in testMsgFormatSelect()
789 Formattable testArgs11[] = {"Kirti",(int32_t)1,"female"}; in testMsgFormatSelect()
790 Formattable testArgs12[] = {"Ash",(int32_t)1,"other"}; in testMsgFormatSelect()
791 Formattable testArgs13[] = {"Ash",(int32_t)5,"other"}; in testMsgFormatSelect()
792 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12,testArgs13}; in testMsgFormatSelect()
812 Formattable testArgs10[] = {"Kirti","other",(int32_t)1,"other"}; in testMsgFormatSelect()
813 Formattable testArgs11[] = {"Kirti","other",(int32_t)6,"other"}; in testMsgFormatSelect()
814 Formattable testArgs12[] = {"Kirti","other",(int32_t)1,"female"}; in testMsgFormatSelect()
815 Formattable testArgs13[] = {"Kirti","other",(int32_t)3,"female"}; in testMsgFormatSelect()
816 Formattable testArgs14[] = {"Kirti","female",(int32_t)1,"female"}; in testMsgFormatSelect()
817 Formattable testArgs15[] = {"Kirti","female",(int32_t)5,"female"}; in testMsgFormatSelect()
818 Formattable testArgs16[] = {"Kirti","female",(int32_t)1,"other"}; in testMsgFormatSelect()
819 Formattable testArgs17[] = {"Kirti","female",(int32_t)5,"other"}; in testMsgFormatSelect()
820 Formattable testArgs18[] = {"Kirti","mixed",(int32_t)1,"mixed"}; in testMsgFormatSelect()
821 Formattable testArgs19[] = {"Kirti","mixed",(int32_t)1,"other"}; in testMsgFormatSelect()
822 Formattable testArgs20[] = {"Kirti","female",(int32_t)1,"mixed"}; in testMsgFormatSelect()
823 Formattable testArgs21[] = {"Kirti","mixed",(int32_t)5,"mixed"}; in testMsgFormatSelect()
824 Formattable testArgs22[] = {"Kirti","mixed",(int32_t)5,"other"}; in testMsgFormatSelect()
825 Formattable testArgs23[] = {"Kirti","female",(int32_t)5,"mixed"}; in testMsgFormatSelect()
826 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12,testArgs13, in testMsgFormatSelect()
981 Formattable arguments[] = { in testSetLocale()
983 Formattable(UDate(8.71068e+011), Formattable::kIsDate), in testSetLocale()
1064 const Formattable ftarray[] = in testFormat()
1066 Formattable( UDate(8.71068e+011), Formattable::kIsDate ) in testFormat()
1069 Formattable ft_arr( ftarray, ft_cnt ); in testFormat()
1071 Formattable* fmt = new Formattable(UDate(8.71068e+011), Formattable::kIsDate); in testFormat()
1127 Formattable* fmt_arr = msg.parse( source, count, err ); in testParse()
1135 if ((fmt_arr[0].getType() == Formattable::kString) in testParse()
1136 && (fmt_arr[1].getType() == Formattable::kString) in testParse()
1157 if ((fmt_arr[0].getType() == Formattable::kString) in testParse()
1158 && (fmt_arr[1].getType() == Formattable::kString) in testParse()
1170 Formattable fmta; in testParse()
1181 if ((fmta[0].getType() == Formattable::kString) in testParse()
1182 && (fmta[1].getType() == Formattable::kString) in testParse()
1415 const Formattable fargs( d, Formattable::kIsDate ); in _testCopyConstructor2()
1482 const Formattable ARGS[] = { in TestUnlimitedArgsAndSubformats()
1483 Formattable(UDate(1e13), Formattable::kIsDate), in TestUnlimitedArgsAndSubformats()
1484 Formattable((int32_t)1303), in TestUnlimitedArgsAndSubformats()
1485 Formattable((int32_t)1202), in TestUnlimitedArgsAndSubformats()
1486 Formattable(1303.0/1202 - 1), in TestUnlimitedArgsAndSubformats()
1487 Formattable("Glimmung"), in TestUnlimitedArgsAndSubformats()
1488 Formattable("the printers"), in TestUnlimitedArgsAndSubformats()
1489 Formattable("Nick"), in TestUnlimitedArgsAndSubformats()
1490 Formattable("his father"), in TestUnlimitedArgsAndSubformats()
1491 Formattable("his mother"), in TestUnlimitedArgsAndSubformats()
1492 Formattable("the spiddles"), in TestUnlimitedArgsAndSubformats()
1493 Formattable("of course"), in TestUnlimitedArgsAndSubformats()
1494 Formattable("Horace"), in TestUnlimitedArgsAndSubformats()
1497 Formattable ARGS_OBJ(ARGS, ARGS_LENGTH); in TestUnlimitedArgsAndSubformats()
1541 Formattable args[1]; in TestRBNF()
1565 Formattable* parseResult = fmt->parse(result, count, ec); in TestRBNF()
1650 Formattable zero0[] = { (int32_t)0 }; in TestCompatibleApostrophe()
1854 Formattable args[1] = { (int32_t)2 }; in TestTrimArgumentName()
1879 Formattable args[1] = { (int32_t)21 }; in TestSelectOrdinal()
1906 Formattable args[1] = { (int32_t)1 }; in TestDecimals()
1975 Formattable args[3]; in TestArgIsPrefixOfAnother()
2024 Formattable argsArray[] = {{cas.arg}}; in TestMessageFormatNumberSkeleton()
2025 Formattable args(argsArray, 1); in TestMessageFormatNumberSkeleton()