/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TestMessageFormat.java | 446 String formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in TestSetLocale() local 462 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale() 477 msg.applyPattern(formatStr); in TestSetLocale() 493 msg.applyPattern(formatStr); in TestSetLocale() 514 String formatStr = "On {0,date}, it began."; in TestFormat() local 517 MessageFormat msg = new MessageFormat(formatStr); in TestFormat() 613 String formatStr = "{0,date},{1},{2,number}"; in TestAdopt() local 615 MessageFormat msg = new MessageFormat(formatStr); in TestAdopt() 616 MessageFormat msgCmp = new MessageFormat(formatStr); in TestAdopt() 680 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() [all …]
|
D | NumberFormatTest.java | 1341 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1342 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad() 1343 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad() 1344 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad() 1345 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad() 1346 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad() 1347 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad() 1348 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad() 1349 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad() 1351 expect2(new DecimalFormat(formatStr, US), 10, "xxxxxxxxxxxx10.0"); in TestPad() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TestMessageFormat.java | 443 String formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in TestSetLocale() local 459 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale() 474 msg.applyPattern(formatStr); in TestSetLocale() 490 msg.applyPattern(formatStr); in TestSetLocale() 511 String formatStr = "On {0,date}, it began."; in TestFormat() local 514 MessageFormat msg = new MessageFormat(formatStr); in TestFormat() 610 String formatStr = "{0,date},{1},{2,number}"; in TestAdopt() local 612 MessageFormat msg = new MessageFormat(formatStr); in TestAdopt() 613 MessageFormat msgCmp = new MessageFormat(formatStr); in TestAdopt() 677 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() [all …]
|
D | NumberFormatTest.java | 1338 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1339 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad() 1340 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad() 1341 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad() 1342 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad() 1343 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad() 1344 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad() 1345 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad() 1346 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad() 1348 expect2(new DecimalFormat(formatStr, US), 10, "xxxxxxxxxxxx10.0"); in TestPad() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureCompressedFormatTests.cpp | 255 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populateTextureCompressedFormatTests() local 256 const string nameBase = de::toLower(formatStr.substr(10)); in populateTextureCompressedFormatTests() 267 …"_2d_" + sizes[sizeNdx].name + backingModes[backingNdx].name).c_str(), (formatStr + ", TEXTURETYPE… in populateTextureCompressedFormatTests()
|
D | vktTextureSwizzleTests.cpp | 365 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests() local 366 const string caseDesc = formatStr + ", TEXTURETYPE_2D"; in populateTextureSwizzleTests() 367 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | QuantityFormatter.java | 66 String formatStr = numberFormat.format(number); in format() local 73 return formatter.format(formatStr); in format()
|
D | RelativeDateTimeFormatter.java | 452 StringBuffer formatStr = new StringBuffer(); in format() local 455 numberFormat, pluralRules, formatStr, fieldPosition); in format() 458 result = SimpleFormatterImpl.formatCompiledPattern(formatter, formatStr); in format()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | QuantityFormatter.java | 65 String formatStr = numberFormat.format(number); in format() local 72 return formatter.format(formatStr); in format()
|
D | RelativeDateTimeFormatter.java | 508 StringBuffer formatStr = new StringBuffer(); in format() local 511 numberFormat, pluralRules, formatStr, fieldPosition); in format() 514 result = SimpleFormatterImpl.formatCompiledPattern(formatter, formatStr); in format()
|
/external/icu/icu4c/source/test/intltest/ |
D | tmsgfmt.cpp | 990 UnicodeString formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in testSetLocale() local 1005 MessageFormat msg( formatStr, err); in testSetLocale() 1036 msg.applyPattern( formatStr, err); in testSetLocale() 1076 UnicodeString formatStr = "On {0,date}, it began."; in testFormat() local 1080 MessageFormat msg( formatStr, err); in testFormat() 1198 UnicodeString formatStr("{0,date},{1},{2,number}", ""); in testAdopt() local 1201 MessageFormat msg( formatStr, err); in testAdopt() 1202 MessageFormat msgCmp( formatStr, err); in testAdopt() 1275 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt() 1323 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt() [all …]
|
D | numfmtst.cpp | 1633 const char *formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1634 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1636 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1638 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1640 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1642 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1644 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1646 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1648 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1651 expect2(new DecimalFormat(formatStr, US, status), in TestPad() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSparseRenderTargetTests.cpp | 654 const std::string formatStr = de::toString(format); in formatToName() local 657 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 659 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassMultisampleResolveTests.cpp | 1622 const std::string formatStr = de::toString(format); in formatToName() local 1625 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 1627 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassMultisampleTests.cpp | 1987 const std::string formatStr = de::toString(format); in formatToName() local 1990 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 1992 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassSubpassDependencyTests.cpp | 1900 const std::string formatStr = de::toString(format); in formatToName() local 1903 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 1905 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassTests.cpp | 5986 const std::string formatStr = de::toString(format); in formatToName() local 5989 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 5991 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
/external/pdfium/fxjs/ |
D | cfxjse_formcalc_context.cpp | 1196 ByteString formatStr = in DateFmt() local 1198 args.GetReturnValue()->SetString(formatStr.AsStringView()); in DateFmt() 1306 ByteString formatStr = in LocalDateFmt() local 1308 args.GetReturnValue()->SetString(formatStr.AsStringView()); in LocalDateFmt() 1344 ByteString formatStr = in LocalTimeFmt() local 1346 args.GetReturnValue()->SetString(formatStr.AsStringView()); in LocalTimeFmt() 1718 ByteString formatStr = in TimeFmt() local 1720 args.GetReturnValue()->SetString(formatStr.AsStringView()); in TimeFmt() 4221 ByteString formatStr = "%"; in Str() local 4223 formatStr += "."; in Str() [all …]
|