Home
last modified time | relevance | path

Searched refs:formatStr (Results 1 – 25 of 25) sorted by relevance

/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dtest_create_context.cpp59 std::string formatStr; in context_create() local
61 SurfaceFormatToString(surfaceFormat, formatStr); in context_create()
66 adapterStr.c_str(), formatStr.c_str(), sharedHandleStr.c_str()); in context_create()
355 std::string formatStr; in test_context_create() local
357 SurfaceFormatToString(formats[formatIdx], formatStr); in test_context_create()
363 adapterTypeStr.c_str(), formatStr.c_str(), in test_context_create()
Dtest_interop_sync.cpp62 std::string formatStr; in interop_user_sync() local
64 SurfaceFormatToString(surfaceFormat, formatStr); in interop_user_sync()
69 adapterStr.c_str(), formatStr.c_str(), in interop_user_sync()
401 std::string formatStr; in test_interop_user_sync() local
403 formatStr); in test_interop_user_sync()
408 adapterStr.c_str(), formatStr.c_str(), in test_interop_user_sync()
Dtest_functions_kernel.cpp93 std::string formatStr; in kernel_functions() local
95 SurfaceFormatToString(surfaceFormat, formatStr); in kernel_functions()
100 adapterStr.c_str(), formatStr.c_str(), sharedHandleStr.c_str()); in kernel_functions()
Dtest_other_data_types.cpp110 std::string formatStr; in other_data_types() local
112 SurfaceFormatToString(surfaceFormat, formatStr); in other_data_types()
117 adapterStr.c_str(), formatStr.c_str(), sharedHandleStr.c_str()); in other_data_types()
125 std::string formatStr; in other_data_types() local
127 SurfaceFormatToString(surfaceFormat, formatStr); in other_data_types()
131 adapterStr.c_str(), formatStr.c_str(), in other_data_types()
Dtest_memory_access.cpp65 std::string formatStr; in memory_access() local
67 SurfaceFormatToString(surfaceFormat, formatStr); in memory_access()
72 adapterStr.c_str(), formatStr.c_str(), sharedHandleStr.c_str()); in memory_access()
Dtest_functions_api.cpp78 std::string formatStr; in api_functions() local
80 SurfaceFormatToString(surfaceFormat, formatStr); in api_functions()
85 adapterStr.c_str(), formatStr.c_str(), sharedHandleStr.c_str()); in api_functions()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureCompressedFormatTests.cpp405 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populateTextureCompressedFormatTests() local
406 const string nameBase = de::toLower(formatStr.substr(10)); in populateTextureCompressedFormatTests()
418 …"_2d_" + sizes[sizeNdx].name + backingModes[backingNdx].name).c_str(), (formatStr + ", TEXTURETYPE… in populateTextureCompressedFormatTests()
430 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populate3DTextureCompressedFormatTests() local
431 const string nameBase = de::toLower(formatStr.substr(10)); in populate3DTextureCompressedFormatTests()
444 …"_3d_" + sizes[sizeNdx].name + backingModes[backingNdx].name).c_str(), (formatStr + ", TEXTURETYPE… in populate3DTextureCompressedFormatTests()
DvktTextureSwizzleTests.cpp474 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests() local
475 const string caseDesc = formatStr + ", TEXTURETYPE_2D"; in populateTextureSwizzleTests()
476 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
501 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests() local
502 const string caseDesc = formatStr + ", TEXTURETYPE_2D"; in populateTextureSwizzleTests()
503 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java64 String formatStr = numberFormat.format(number); in format() local
71 return formatter.format(formatStr); in format()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DQuantityFormatter.java65 String formatStr = numberFormat.format(number); in format() local
72 return formatter.format(formatStr); in format()
/external/oboe/samples/RhythmGame/src/main/cpp/audio/
DNDKExtractor.cpp77 const char *formatStr = AMediaFormat_toString(format); in decode() local
78 LOGD("Output format %s", formatStr); in decode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java448 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 …]
DNumberFormatTest.java1362 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 …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java445 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 …]
DNumberFormatTest.java1359 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 …]
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp991 UnicodeString formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in testSetLocale() local
1006 MessageFormat msg( formatStr, err); in testSetLocale()
1037 msg.applyPattern( formatStr, err); in testSetLocale()
1077 UnicodeString formatStr = "On {0,date}, it began."; in testFormat() local
1081 MessageFormat msg( formatStr, err); in testFormat()
1199 UnicodeString formatStr("{0,date},{1},{2,number}", ""); in testAdopt() local
1202 MessageFormat msg( formatStr, err); in testAdopt()
1203 MessageFormat msgCmp( formatStr, err); in testAdopt()
1276 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt()
1324 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt()
[all …]
Dnumfmtst.cpp1681 const char *formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local
1682 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1684 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1686 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1688 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1690 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1692 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1694 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1696 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1699 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DDateDeserializers.java98 DateFormat format, String formatStr) { in DateBasedDeserializer() argument
101 _formatString = formatStr; in DateBasedDeserializer()
104 protected abstract DateBasedDeserializer<T> withDateFormat(DateFormat df, String formatStr); in withDateFormat() argument
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DStdDateFormat.java647 String formatStr; in _parseAsISO8601() local
659 formatStr = DATE_FORMAT_STR_PLAIN; in _parseAsISO8601()
735 formatStr = DATE_FORMAT_STR_ISO8601; in _parseAsISO8601()
740 dateStr, formatStr, _lenient), in _parseAsISO8601()
/external/angle/src/compiler/translator/
DCommon.h217 const char *formatStr = std::numeric_limits<T>::is_signed ? "%d" : "%u"; in str() local
218 snprintf(buffer, sizeof(buffer), formatStr, i); in str()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp656 const std::string formatStr = de::toString(format); in formatToName() local
659 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName()
661 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
DvktRenderPassMultisampleTests.cpp2105 const std::string formatStr = de::toString(format); in formatToName() local
2108 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName()
2110 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
DvktRenderPassMultisampleResolveTests.cpp2591 const std::string formatStr = de::toString(format); in formatToName() local
2594 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName()
2596 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
DvktRenderPassSubpassDependencyTests.cpp3870 const std::string formatStr = de::toString(format); in formatToName() local
3873 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName()
3875 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
DvktRenderPassTests.cpp6187 const std::string formatStr = de::toString(format); in formatToName() local
6190 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName()
6192 return de::toLower(formatStr.substr(prefix.length())); in formatToName()