Lines Matching refs:Formattable
148 Formattable result; in testBug3()
206 std::ostream& operator<<(std::ostream& stream, const Formattable& obj);
214 const Formattable& obj)
220 case Formattable::kDate :
227 case Formattable::kDouble :
232 case Formattable::kLong :
235 case Formattable::kString:
238 case Formattable::kArray:
240 const Formattable* array;
256 Formattable testArgs[] = { in PatternTest()
257 Formattable(double(1)), Formattable(double(3456)), in PatternTest()
258 Formattable("Disk"), Formattable(UDate((int32_t)1000000000L), Formattable::kIsDate) in PatternTest()
352 Formattable* values = form->parse(result, parseCount, success); in PatternTest()
386 Formattable testArgs1[] = { abc, def }; in sample()
398 Formattable arguments[] = { in testStaticFormat()
400 Formattable(UDate(8.71068e+011), Formattable::kIsDate), in testStaticFormat()
434 Formattable arguments[] = { in TestTurkishCasing()
436 Formattable(UDate(8.71068e+011), Formattable::kIsDate), in TestTurkishCasing()
469 Formattable testArgs1[] = {(int32_t)0, "MyDisk"}; in testSimpleFormat()
470 Formattable testArgs2[] = {(int32_t)1, "MyDisk"}; in testSimpleFormat()
471 Formattable testArgs3[] = {(int32_t)12, "MyDisk"}; in testSimpleFormat()
516 Formattable testArgs1[] = {(int32_t)0, "MyDisk"}; in testMsgFormatChoice()
524 Formattable testArgs2[] = {(int32_t)1, "MyDisk"}; in testMsgFormatChoice()
532 Formattable testArgs3[] = {(int32_t)1273, "MyDisk"}; in testMsgFormatChoice()
559 Formattable testArgs1((int32_t)0); in testMsgFormatPlural()
589 Formattable testArgs2((int32_t)4); in testMsgFormatPlural()
622 Formattable testArgs3((int32_t)0); in testMsgFormatPlural()
646 Formattable args[] = { (int32_t)3, UNICODE_STRING_SIMPLE("x") }; in testApostropheInPluralAndSelect()
653 Formattable* args , int32_t numOfArgs , in internalFormat()
699 Formattable testArgs10[] = {"Kirti","female"}; in testMsgFormatSelect()
700 Formattable testArgs11[] = {"Victor","other"}; in testMsgFormatSelect()
701 Formattable testArgs12[] = {"Ash","unknown"}; in testMsgFormatSelect()
702 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12}; in testMsgFormatSelect()
721 Formattable testArgs10[] = {"Kirti","female"}; in testMsgFormatSelect()
722 Formattable testArgs11[] = {"Victor","other"}; in testMsgFormatSelect()
723 Formattable testArgs12[] = {"Ash","male"}; in testMsgFormatSelect()
724 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12}; in testMsgFormatSelect()
743 Formattable testArgs10[] = {"female"}; in testMsgFormatSelect()
744 Formattable testArgs11[] = {"other"}; in testMsgFormatSelect()
745 Formattable testArgs12[] = {"male"}; in testMsgFormatSelect()
746 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12}; in testMsgFormatSelect()
766 Formattable testArgs10[] = {"Kirti","female",(int32_t)6}; in testMsgFormatSelect()
767 Formattable testArgs11[] = {"Kirti","female",100.100}; in testMsgFormatSelect()
768 Formattable testArgs12[] = {"Kirti","other",(int32_t)6}; in testMsgFormatSelect()
769 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12}; in testMsgFormatSelect()
789 Formattable testArgs10[] = {"Kirti",(int32_t)6,"female"}; in testMsgFormatSelect()
790 Formattable testArgs11[] = {"Kirti",(int32_t)1,"female"}; in testMsgFormatSelect()
791 Formattable testArgs12[] = {"Ash",(int32_t)1,"other"}; in testMsgFormatSelect()
792 Formattable testArgs13[] = {"Ash",(int32_t)5,"other"}; in testMsgFormatSelect()
793 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12,testArgs13}; in testMsgFormatSelect()
814 Formattable testArgs10[] = {"Kirti","other",(int32_t)1,"other"}; in testMsgFormatSelect()
815 Formattable testArgs11[] = {"Kirti","other",(int32_t)6,"other"}; in testMsgFormatSelect()
816 Formattable testArgs12[] = {"Kirti","other",(int32_t)1,"female"}; in testMsgFormatSelect()
817 Formattable testArgs13[] = {"Kirti","other",(int32_t)3,"female"}; in testMsgFormatSelect()
818 Formattable testArgs14[] = {"Kirti","female",(int32_t)1,"female"}; in testMsgFormatSelect()
819 Formattable testArgs15[] = {"Kirti","female",(int32_t)5,"female"}; in testMsgFormatSelect()
820 Formattable testArgs16[] = {"Kirti","female",(int32_t)1,"other"}; in testMsgFormatSelect()
821 Formattable testArgs17[] = {"Kirti","female",(int32_t)5,"other"}; in testMsgFormatSelect()
822 Formattable testArgs18[] = {"Kirti","mixed",(int32_t)1,"mixed"}; in testMsgFormatSelect()
823 Formattable testArgs19[] = {"Kirti","mixed",(int32_t)1,"other"}; in testMsgFormatSelect()
824 Formattable testArgs20[] = {"Kirti","female",(int32_t)1,"mixed"}; in testMsgFormatSelect()
825 Formattable testArgs21[] = {"Kirti","mixed",(int32_t)5,"mixed"}; in testMsgFormatSelect()
826 Formattable testArgs22[] = {"Kirti","mixed",(int32_t)5,"other"}; in testMsgFormatSelect()
827 Formattable testArgs23[] = {"Kirti","female",(int32_t)5,"mixed"}; in testMsgFormatSelect()
828 Formattable* testArgs[] = {testArgs10,testArgs11,testArgs12,testArgs13, in testMsgFormatSelect()
982 Formattable arguments[] = { in testSetLocale()
984 Formattable(UDate(8.71068e+011), Formattable::kIsDate), in testSetLocale()
1065 const Formattable ftarray[] = in testFormat()
1067 Formattable( UDate(8.71068e+011), Formattable::kIsDate ) in testFormat()
1070 Formattable ft_arr( ftarray, ft_cnt ); in testFormat()
1072 Formattable* fmt = new Formattable(UDate(8.71068e+011), Formattable::kIsDate); in testFormat()
1128 Formattable* fmt_arr = msg.parse( source, count, err ); in testParse()
1136 if ((fmt_arr[0].getType() == Formattable::kString) in testParse()
1137 && (fmt_arr[1].getType() == Formattable::kString) in testParse()
1158 if ((fmt_arr[0].getType() == Formattable::kString) in testParse()
1159 && (fmt_arr[1].getType() == Formattable::kString) in testParse()
1171 Formattable fmta; in testParse()
1182 if ((fmta[0].getType() == Formattable::kString) in testParse()
1183 && (fmta[1].getType() == Formattable::kString) in testParse()
1416 const Formattable fargs( d, Formattable::kIsDate ); in _testCopyConstructor2()
1483 const Formattable ARGS[] = { in TestUnlimitedArgsAndSubformats()
1484 Formattable(UDate(1e13), Formattable::kIsDate), in TestUnlimitedArgsAndSubformats()
1485 Formattable((int32_t)1303), in TestUnlimitedArgsAndSubformats()
1486 Formattable((int32_t)1202), in TestUnlimitedArgsAndSubformats()
1487 Formattable(1303.0/1202 - 1), in TestUnlimitedArgsAndSubformats()
1488 Formattable("Glimmung"), in TestUnlimitedArgsAndSubformats()
1489 Formattable("the printers"), in TestUnlimitedArgsAndSubformats()
1490 Formattable("Nick"), in TestUnlimitedArgsAndSubformats()
1491 Formattable("his father"), in TestUnlimitedArgsAndSubformats()
1492 Formattable("his mother"), in TestUnlimitedArgsAndSubformats()
1493 Formattable("the spiddles"), in TestUnlimitedArgsAndSubformats()
1494 Formattable("of course"), in TestUnlimitedArgsAndSubformats()
1495 Formattable("Horace"), in TestUnlimitedArgsAndSubformats()
1498 Formattable ARGS_OBJ(ARGS, ARGS_LENGTH); in TestUnlimitedArgsAndSubformats()
1542 Formattable args[1]; in TestRBNF()
1566 Formattable* parseResult = fmt->parse(result, count, ec); in TestRBNF()
1651 Formattable zero0[] = { (int32_t)0 }; in TestCompatibleApostrophe()
1855 Formattable args[1] = { (int32_t)2 }; in TestTrimArgumentName()
1880 Formattable args[1] = { (int32_t)21 }; in TestSelectOrdinal()
1907 Formattable args[1] = { (int32_t)1 }; in TestDecimals()
1976 Formattable args[3]; in TestArgIsPrefixOfAnother()
2025 Formattable argsArray[] = {{cas.arg}}; in TestMessageFormatNumberSkeleton()
2026 Formattable args(argsArray, 1); in TestMessageFormatNumberSkeleton()
2041 Formattable argsArray[] = { Formattable(testDate, Formattable::kIsDate) }; in doTheRealDateTimeSkeletonTesting()
2042 Formattable args(argsArray, 1); in doTheRealDateTimeSkeletonTesting()