/external/skia/src/gpu/ |
D | GrShaderVar.cpp | 25 const char* formatStr = nullptr; in setImageStorageFormat() local 28 formatStr = "rgba8"; in setImageStorageFormat() 31 formatStr = "rgba8i"; in setImageStorageFormat() 34 formatStr = "rgba16f"; in setImageStorageFormat() 37 formatStr = "rgba32f"; in setImageStorageFormat() 40 this->addLayoutQualifier(formatStr); in setImageStorageFormat() 41 SkASSERT(formatStr); in setImageStorageFormat()
|
/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 774 int32_t firstIdx = formatStr.indexOf(kZero, UPRV_LENGTHOF(kZero), 0); in populatePrefixSuffix() 780 int32_t lastIdx = formatStr.lastIndexOf(kZero, UPRV_LENGTHOF(kZero), firstIdx); in populatePrefixSuffix() 793 unit->prefix = formatStr.tempSubString(0, firstIdx); in populatePrefixSuffix() 796 unit->suffix = formatStr.tempSubString(lastIdx + 1); in populatePrefixSuffix() 807 while (idx <= lastIdx && formatStr.charAt(idx) == u_0) { in populatePrefixSuffix()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TestMessageFormat.java | 439 String formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in TestSetLocale() local 454 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale() 469 msg.applyPattern(formatStr); in TestSetLocale() 485 msg.applyPattern(formatStr); in TestSetLocale() 506 String formatStr = "On {0,date}, it began."; in TestFormat() local 509 MessageFormat msg = new MessageFormat(formatStr); in TestFormat() 605 String formatStr = "{0,date},{1},{2,number}"; in TestAdopt() local 607 MessageFormat msg = new MessageFormat(formatStr); in TestAdopt() 608 MessageFormat msgCmp = new MessageFormat(formatStr); in TestAdopt() 672 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() [all …]
|
D | NumberFormatTest.java | 1615 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1616 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad() 1617 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad() 1618 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad() 1619 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad() 1620 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad() 1621 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad() 1622 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad() 1623 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad() 1625 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 | 440 String formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in TestSetLocale() local 455 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale() 470 msg.applyPattern(formatStr); in TestSetLocale() 486 msg.applyPattern(formatStr); in TestSetLocale() 507 String formatStr = "On {0,date}, it began."; in TestFormat() local 510 MessageFormat msg = new MessageFormat(formatStr); in TestFormat() 606 String formatStr = "{0,date},{1},{2,number}"; in TestAdopt() local 608 MessageFormat msg = new MessageFormat(formatStr); in TestAdopt() 609 MessageFormat msgCmp = new MessageFormat(formatStr); in TestAdopt() 673 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() [all …]
|
D | NumberFormatTest.java | 1616 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1617 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad() 1618 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad() 1619 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad() 1620 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad() 1621 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad() 1622 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad() 1623 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad() 1624 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad() 1626 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 | 467 StringBuffer formatStr = new StringBuffer(); in format() local 470 numberFormat, pluralRules, formatStr, fieldPosition); in format() 473 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 | 523 StringBuffer formatStr = new StringBuffer(); in format() local 526 numberFormat, pluralRules, formatStr, fieldPosition); in format() 529 result = SimpleFormatterImpl.formatCompiledPattern(formatter, formatStr); in format()
|
/external/icu/icu4c/source/test/intltest/ |
D | tmsgfmt.cpp | 987 UnicodeString formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in testSetLocale() local 1003 MessageFormat msg( formatStr, err); in testSetLocale() 1032 msg.applyPattern( formatStr, err); in testSetLocale() 1072 UnicodeString formatStr = "On {0,date}, it began."; in testFormat() local 1076 MessageFormat msg( formatStr, err); in testFormat() 1194 UnicodeString formatStr("{0,date},{1},{2,number}", ""); in testAdopt() local 1197 MessageFormat msg( formatStr, err); in testAdopt() 1198 MessageFormat msgCmp( formatStr, err); in testAdopt() 1271 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt() 1319 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt() [all …]
|
D | numfmtst.cpp | 1924 const char *formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1925 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1927 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1929 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1931 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1933 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1935 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1937 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1939 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1942 expect2(new DecimalFormat(formatStr, US, status), in TestPad() [all …]
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | xfa_fm2jscontext.cpp | 1104 CFX_ByteString formatStr; in DateFmt() local 1105 GetStandardDateFormat(pThis, iStyle, szLocal.AsStringC(), formatStr); in DateFmt() 1106 args.GetReturnValue()->SetString(formatStr.AsStringC()); in DateFmt() 1221 CFX_ByteString formatStr; in LocalDateFmt() local 1222 GetLocalDateFormat(pThis, iStyle, szLocal.AsStringC(), formatStr, false); in LocalDateFmt() 1223 args.GetReturnValue()->SetString(formatStr.AsStringC()); in LocalDateFmt() 1259 CFX_ByteString formatStr; in LocalTimeFmt() local 1260 GetLocalTimeFormat(pThis, iStyle, szLocal.AsStringC(), formatStr, false); in LocalTimeFmt() 1261 args.GetReturnValue()->SetString(formatStr.AsStringC()); in LocalTimeFmt() 1639 CFX_ByteString formatStr; in TimeFmt() local [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 | 2210 const std::string formatStr = de::toString(format); in formatToName() local 2213 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 2215 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassTests.cpp | 5575 const std::string formatStr = de::toString(format); in formatToName() local 5578 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 5580 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|