/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | EncodingContext.h | 60 const char* formatStr, in ConsumedError() argument 66 absl::UntypedFormatSpec format(formatStr); in ConsumedError() 71 "[Failed to format error message: \"%s\"].", formatStr)); in ConsumedError() 110 const char* formatStr, in TryEncode() argument 116 return !ConsumedError(encodeFunction(&mPendingCommands), formatStr, args...); in TryEncode()
|
D | Device.h | 83 bool ConsumedError(MaybeError maybeError, const char* formatStr, const Args&... args) { in ConsumedError() argument 88 absl::UntypedFormatSpec format(formatStr); in ConsumedError() 93 absl::StrFormat("[Failed to format error: \"%s\"]", formatStr)); in ConsumedError() 105 const char* formatStr, in ConsumedError() argument 111 absl::UntypedFormatSpec format(formatStr); in ConsumedError() 116 absl::StrFormat("[Failed to format error: \"%s\"]", formatStr)); in ConsumedError()
|
/third_party/node/lib/internal/crypto/ |
D | keys.js | 257 function parseKeyFormat(formatStr, defaultFormat, optionName) { argument 258 if (formatStr === undefined && defaultFormat !== undefined) 260 else if (formatStr === 'pem') 262 else if (formatStr === 'der') 264 else if (formatStr === 'jwk') 266 throw new ERR_INVALID_ARG_VALUE(optionName, formatStr); 299 const { format: formatStr, type: typeStr } = enc; 302 const format = parseKeyFormat(formatStr,
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | TestMessageFormat.java | 448 String formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in TestSetLocale() local 464 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale() 479 msg.applyPattern(formatStr); in TestSetLocale() 495 msg.applyPattern(formatStr); in TestSetLocale() 516 String formatStr = "On {0,date}, it began."; in TestFormat() local 519 MessageFormat msg = new MessageFormat(formatStr); in TestFormat() 615 String formatStr = "{0,date},{1},{2,number}"; in TestAdopt() local 617 MessageFormat msg = new MessageFormat(formatStr); in TestAdopt() 618 MessageFormat msgCmp = new MessageFormat(formatStr); in TestAdopt() 682 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() [all …]
|
D | NumberFormatTest.java | 1362 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1363 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad() 1364 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad() 1365 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad() 1366 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad() 1367 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad() 1368 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad() 1369 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad() 1370 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad() 1372 expect2(new DecimalFormat(formatStr, US), 10, "xxxxxxxxxxxx10.0"); in TestPad() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TestMessageFormat.java | 445 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 | 1359 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1360 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad() 1361 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad() 1362 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad() 1363 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad() 1364 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad() 1365 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad() 1366 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad() 1367 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad() 1369 expect2(new DecimalFormat(formatStr, US), 10, "xxxxxxxxxxxx10.0"); in TestPad() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | QuantityFormatter.java | 65 String formatStr = numberFormat.format(number); in format() local 72 return formatter.format(formatStr); in format()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | QuantityFormatter.java | 64 String formatStr = numberFormat.format(number); in format() local 71 return formatter.format(formatStr); in format()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureSwizzleTests.cpp | 477 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests() local 478 const string caseDesc = formatStr + ", TEXTURETYPE_2D"; in populateTextureSwizzleTests() 479 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests() 504 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests() local 505 const string caseDesc = formatStr + ", TEXTURETYPE_2D"; in populateTextureSwizzleTests() 506 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
|
D | vktTextureCompressedFormatTests.cpp | 596 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populateTextureCompressedFormatTests() local 597 const string nameBase = de::toLower(formatStr.substr(10)); in populateTextureCompressedFormatTests() 610 …"_2d_" + sizes[sizeNdx].name + backingModes[backingNdx].name).c_str(), (formatStr + ", TEXTURETYPE… in populateTextureCompressedFormatTests() 622 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populate3DTextureCompressedFormatTests() local 623 const string nameBase = de::toLower(formatStr.substr(10)); in populate3DTextureCompressedFormatTests() 637 …"_3d_" + sizes[sizeNdx].name + backingModes[backingNdx].name).c_str(), (formatStr + ", TEXTURETYPE… in populate3DTextureCompressedFormatTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureSwizzleTests.cpp | 477 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests() local 478 const string caseDesc = formatStr + ", TEXTURETYPE_2D"; in populateTextureSwizzleTests() 479 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests() 504 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests() local 505 const string caseDesc = formatStr + ", TEXTURETYPE_2D"; in populateTextureSwizzleTests() 506 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
|
D | vktTextureCompressedFormatTests.cpp | 596 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populateTextureCompressedFormatTests() local 597 const string nameBase = de::toLower(formatStr.substr(10)); in populateTextureCompressedFormatTests() 610 …"_2d_" + sizes[sizeNdx].name + backingModes[backingNdx].name).c_str(), (formatStr + ", TEXTURETYPE… in populateTextureCompressedFormatTests() 622 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populate3DTextureCompressedFormatTests() local 623 const string nameBase = de::toLower(formatStr.substr(10)); in populate3DTextureCompressedFormatTests() 637 …"_3d_" + sizes[sizeNdx].name + backingModes[backingNdx].name).c_str(), (formatStr + ", TEXTURETYPE… in populate3DTextureCompressedFormatTests()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/ |
D | NDKExtractor.cpp | 77 const char *formatStr = AMediaFormat_toString(format); in decode() local 78 LOGD("Output format %s", formatStr); in decode()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tmsgfmt.cpp | 993 UnicodeString formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in testSetLocale() local 1008 MessageFormat msg( formatStr, err); in testSetLocale() 1039 msg.applyPattern( formatStr, err); in testSetLocale() 1079 UnicodeString formatStr = "On {0,date}, it began."; in testFormat() local 1083 MessageFormat msg( formatStr, err); in testFormat() 1201 UnicodeString formatStr("{0,date},{1},{2,number}", ""); in testAdopt() local 1204 MessageFormat msg( formatStr, err); in testAdopt() 1205 MessageFormat msgCmp( formatStr, err); in testAdopt() 1278 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt() 1326 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt() [all …]
|
D | numfmtst.cpp | 1686 const char *formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local 1687 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1689 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1691 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1693 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1695 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1697 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1699 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1701 expect2(new DecimalFormat(formatStr, US, status), in TestPad() 1704 expect2(new DecimalFormat(formatStr, US, status), in TestPad() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Common.h | 217 const char *formatStr = std::numeric_limits<T>::is_signed ? "%d" : "%u"; in str() local 218 snprintf(buffer, sizeof(buffer), formatStr, i); in str()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassSparseRenderTargetTests.cpp | 797 const std::string formatStr = de::toString(format); in formatToName() local 800 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 802 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassMultisampleTests.cpp | 2103 const std::string formatStr = de::toString(format); in formatToName() local 2106 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 2108 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassMultisampleResolveTests.cpp | 2970 const std::string formatStr = de::toString(format); in formatToName() local 2973 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 2975 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSparseRenderTargetTests.cpp | 797 const std::string formatStr = de::toString(format); in formatToName() local 800 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 802 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassMultisampleTests.cpp | 2103 const std::string formatStr = de::toString(format); in formatToName() local 2106 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 2108 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
D | vktRenderPassMultisampleResolveTests.cpp | 2970 const std::string formatStr = de::toString(format); in formatToName() local 2973 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 2975 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageDepthStencilDescriptorTests.cpp | 1324 const auto formatStr = de::toString(format); in createImageDepthStencilDescriptorTests() local 1325 const auto formatGroupName = de::toLower(formatStr.substr(kFormatPrefixLen)); in createImageDepthStencilDescriptorTests() 1326 const auto formatGroupDesc = "Tests using the " + formatStr + " format"; in createImageDepthStencilDescriptorTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageDepthStencilDescriptorTests.cpp | 1324 const auto formatStr = de::toString(format); in createImageDepthStencilDescriptorTests() local 1325 const auto formatGroupName = de::toLower(formatStr.substr(kFormatPrefixLen)); in createImageDepthStencilDescriptorTests() 1326 const auto formatGroupDesc = "Tests using the " + formatStr + " format"; in createImageDepthStencilDescriptorTests()
|