/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureCompressedFormatTests.cpp | 161 const string formatStr = de::toString(getFormatStr(etc2Formats[formatNdx].format)); in populateTextureCompressedFormatTests() local 162 const string nameBase = de::toLower(formatStr.substr(10)); in populateTextureCompressedFormatTests() 172 …tInstance>(testCtx, (nameBase + "_2d_" + sizes[sizeNdx].name).c_str(), (formatStr + ", TEXTURETYPE… in populateTextureCompressedFormatTests()
|
/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 458 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale() 473 msg.applyPattern(formatStr); in TestSetLocale() 489 msg.applyPattern(formatStr); in TestSetLocale() 510 String formatStr = "On {0,date}, it began."; in TestFormat() local 513 MessageFormat msg = new MessageFormat(formatStr); in TestFormat() 609 String formatStr = "{0,date},{1},{2,number}"; in TestAdopt() local 611 MessageFormat msg = new MessageFormat(formatStr); in TestAdopt() 612 MessageFormat msgCmp = new MessageFormat(formatStr); in TestAdopt() 676 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() [all …]
|
D | NumberFormatTest.java | 1309 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1310 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad() 1311 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad() 1312 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad() 1313 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad() 1314 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad() 1315 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad() 1316 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad() 1317 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad() 1319 expect2(new DecimalFormat(formatStr, US), 10, "xxxxxxxxxxxx10.0"); in TestPad() [all …]
|
/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 461 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale() 476 msg.applyPattern(formatStr); in TestSetLocale() 492 msg.applyPattern(formatStr); in TestSetLocale() 513 String formatStr = "On {0,date}, it began."; in TestFormat() local 516 MessageFormat msg = new MessageFormat(formatStr); in TestFormat() 612 String formatStr = "{0,date},{1},{2,number}"; in TestAdopt() local 614 MessageFormat msg = new MessageFormat(formatStr); in TestAdopt() 615 MessageFormat msgCmp = new MessageFormat(formatStr); in TestAdopt() 679 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() [all …]
|
D | NumberFormatTest.java | 1312 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1313 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad() 1314 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad() 1315 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad() 1316 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad() 1317 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad() 1318 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad() 1319 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad() 1320 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad() 1322 expect2(new DecimalFormat(formatStr, US), 10, "xxxxxxxxxxxx10.0"); in TestPad() [all …]
|
/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/icu4c/source/i18n/ |
D | compactdecimalformat.cpp | 161 …fixSuffix(const char* variant, int32_t log10Value, const UnicodeString& formatStr, UHashtable* res… 662 const UnicodeString formatStr = value.getUnicodeString(errorCode); in put() local 667 pluralVariant, log10Value, formatStr, in put() 770 …const char* variant, int32_t log10Value, const UnicodeString& formatStr, UHashtable* result, UBool… in populatePrefixSuffix() argument 777 int32_t semiPos = formatStr.indexOf(';', 0); in populatePrefixSuffix() 779 semiPos = formatStr.length(); in populatePrefixSuffix() 781 UnicodeString positivePart = formatStr.tempSubString(0, semiPos); in populatePrefixSuffix()
|
/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 | 989 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() 1034 msg.applyPattern( formatStr, err); in testSetLocale() 1074 UnicodeString formatStr = "On {0,date}, it began."; in testFormat() local 1078 MessageFormat msg( formatStr, err); in testFormat() 1196 UnicodeString formatStr("{0,date},{1},{2,number}", ""); in testAdopt() local 1199 MessageFormat msg( formatStr, err); in testAdopt() 1200 MessageFormat msgCmp( formatStr, err); in testAdopt() 1273 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt() 1321 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt() [all …]
|
D | numfmtst.cpp | 1966 const char *formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1967 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1969 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1971 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1973 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1975 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1977 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1979 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1981 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1984 expect2(new DecimalFormat(formatStr, US, status), in TestPad() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 1635 const std::string formatStr = de::toString(format); in formatToName() local 1638 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 1640 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassMultisampleTests.cpp | 2233 const std::string formatStr = de::toString(format); in formatToName() local 2236 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 2238 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassTests.cpp | 5573 const std::string formatStr = de::toString(format); in formatToName() local 5576 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 5578 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 …]
|