Home
last modified time | relevance | path

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

1234

/third_party/node/test/parallel/
Dtest-process-emitwarning.js11 const testType = 'CustomWarning'; constant
24 this.name = testType;
33 [testMsg, testType],
35 [testMsg, testType, CustomWarning],
36 [testMsg, testType, testCode],
37 [testMsg, { type: testType }],
38 [testMsg, { type: testType, code: testCode }],
39 [testMsg, { type: testType, code: testCode, detail: testDetail }],
42 [testMsg, { type: testType, code: testCode, detail: true }],
43 [testMsg, { type: testType, code: testCode, detail: [] }],
[all …]
Dtest-event-capture-rejections.js280 function testType(obj) { function
300 testType([]);
301 testType({ hello: 42 });
302 testType(42);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp90 bool isValidTestCase (TestType testType, DescriptorType descriptorType, ReadOp readOp) in isValidTestCase() argument
93 switch (testType) in isValidTestCase()
154 const char* getTestTypeName (TestType testType) in getTestTypeName() argument
156 switch (testType) in getTestTypeName()
289 std::string getFunctionDstVariableStr (ReadOp readOp, DescriptorType descType, TestType testType) in getFunctionDstVariableStr() argument
291 …const bool passNdx = (testType == TESTTYPE_LOCAL_VARIABLES) || (testType == TESTTYPE_OPTYPEIMA… in getFunctionDstVariableStr()
292 …const bool passImg = ((testType == TESTTYPE_PASS_IMAGE_TO_FUNCTION) || (testType == TESTTYPE_PAS… in getFunctionDstVariableStr()
293 …const bool passSmp = ((testType == TESTTYPE_PASS_SAMPLER_TO_FUNCTION) || (testType == TESTTYPE_PA… in getFunctionDstVariableStr()
434 std::string getFunctionSrcVariableStr (ReadOp readOp, DescriptorType descType, TestType testType) in getFunctionSrcVariableStr() argument
436 …const bool passImg = ((testType == TESTTYPE_PASS_IMAGE_TO_FUNCTION) || (testType == TESTTYPE_PAS… in getFunctionSrcVariableStr()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsBuiltinMaskVarTests.cpp85 TestType testType; member
92 static inline string getTestSpirvBuiltinName (TestType testType) in getTestSpirvBuiltinName() argument
94 return TestTypeSpirvBuiltins[static_cast<deUint32>(testType)]; in getTestSpirvBuiltinName()
97 static inline string getTestName (TestType testType) in getTestName() argument
99 return de::toLower(getTestSpirvBuiltinName(testType)); in getTestName()
102 static inline string getTestVarName (TestType testType) in getTestVarName() argument
104 return string("gl_") + getTestSpirvBuiltinName(testType); in getTestVarName()
107 static inline string getTestMathOp (TestType testType) in getTestMathOp() argument
109 return TestTypeMathOps[static_cast<deUint32>(testType)]; in getTestMathOp()
112 static inline string getTestSpirvOp (TestType testType) in getTestSpirvOp() argument
[all …]
DvktSubgroupsBuiltinVarTests.cpp59 const char* getTestName (TestType testType) in getTestName() argument
61 return TestTypeNames[static_cast<deUint32>(testType)]; in getTestName()
359 TestType testType; member
1706 switch (caseDef.testType) in noSSBOtest()
1715 switch (caseDef.testType) in noSSBOtest()
1724 switch (caseDef.testType) in noSSBOtest()
1744 switch (caseDef.testType) in test()
1854 switch (caseDef.testType) in test()
1865 switch (caseDef.testType) in test()
1908 const TestType testType = allStagesBuiltinVars[a]; in createSubgroupsBuiltinVarTests() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp45 const char* generateShaderVarString (TestType testType) in generateShaderVarString() argument
47 switch (testType) in generateShaderVarString()
57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString() argument
64 switch (testType) { in generateShaderBufferString()
75 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, Buff… in initBufferValidatorPrograms() argument
160 validatorParams["VAR_TYPE"] = generateShaderVarString(testType); in initBufferValidatorPrograms()
161 validatorParams["BUFFER_TYPE"] = generateShaderBufferString(testType, bufferType); in initBufferValidatorPrograms()
DvktProtectedMemStorageBufferTests.cpp181 const SSBOTestType testType,
203 const SSBOTestType testType, in StorageBufferTestCase() argument
210 : TestCase (testctx, name, getSSBOTestDescription(testType)) in StorageBufferTestCase()
211 , m_testType (testType) in StorageBufferTestCase()
240 const SSBOTestType testType, in StorageBufferTestInstance() argument
245 , m_testType (testType) in StorageBufferTestInstance()
670 SSBOTestType testType, in createSpecifiedStorageBufferTests() argument
675 const std::string testTypeStr = getSSBOTypeString(testType); in createSpecifiedStorageBufferTests()
682 …testGroup->addChild(new StorageBufferTestCase<tcu::UVec4>(testCtx, testType, shaderType, name.c_st… in createSpecifiedStorageBufferTests()
688 tcu::TestCaseGroup* createRandomizedBufferTests (tcu::TestContext& testCtx, SSBOTestType testType, … in createRandomizedBufferTests() argument
[all …]
/third_party/typescript/src/testRunner/
DfourslashRunner.ts6 constructor(private testType: FourSlash.FourSlashTestType) { property in Harness.FourSlashRunner
8 switch (testType) {
30 throw ts.Debug.assertNever(testType);
61 FourSlash.runFourSlashTest(this.basePath, this.testType, fn);
71 constructor(testType: FourSlash.FourSlashTestType) {
72 super(testType);
DcompilerRunner.ts20 constructor(public testType: CompilerTestType) { property in Harness.CompilerBaselineRunner
23 if (testType === CompilerTestType.Conformance) {
26 else if (testType === CompilerTestType.Regressions) {
29 else if (testType === CompilerTestType.Test262) {
32 else if (testType === CompilerTestType.OH) {
/third_party/vk-gl-cts/framework/common/
DtcuAstcUtil.hpp59 const char* getBlockTestTypeName (BlockTestType testType);
60 const char* getBlockTestTypeDescription (BlockTestType testType);
61 bool isBlockTestTypeHDROnly (BlockTestType testType);
62 Vec4 getBlockTestTypeColorScale (BlockTestType testType);
63 Vec4 getBlockTestTypeColorBias (BlockTestType testType);
65 …BlockCaseTestData (std::vector<deUint8>& dst, CompressedTexFormat format, BlockTestType testType);
/third_party/skia/tests/
DGrContextAbandonTest.cpp17 for (int testType = 0; testType < 6; ++testType) { in DEF_GPUTEST() local
23 switch (testType) { in DEF_GPUTEST()
/third_party/flutter/skia/tests/
DGrContextAbandonTest.cpp16 for (int testType = 0; testType < 6; ++testType) { in DEF_GPUTEST() local
22 switch (testType) { in DEF_GPUTEST()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp96 TestType testType; member
1021 …if ((m_parameters.testType == TEST_TYPE_XFB_CLIPDISTANCE || m_parameters.testType == TEST_TYPE_XFB… in TransformFeedbackBuiltinTestInstance()
1023 …if ((m_parameters.testType == TEST_TYPE_XFB_CULLDISTANCE || m_parameters.testType == TEST_TYPE_XFB… in TransformFeedbackBuiltinTestInstance()
1075 …const deUint32 perVertexDataSize = (m_parameters.testType == TEST_TYPE_XFB_POINTSIZE) ? s… in iterate()
1076 …: (m_parameters.testType == TEST_TYPE_XFB_CLIPDISTANCE) ? static_cast<deUint32>(8u * sizeof(float)) in iterate()
1077 …: (m_parameters.testType == TEST_TYPE_XFB_CULLDISTANCE) ? static_cast<deUint32>(8u * sizeof(float)) in iterate()
1078 …: (m_parameters.testType == TEST_TYPE_XFB_CLIP_AND_CULL) ? static_cast<deUint32>(6u * sizeof(float… in iterate()
1264 …const bool geomPointSizeRequired = m_parameters.testType == TEST_TYPE_STREAMS_POINTSIZ… in TransformFeedbackStreamsTestInstance()
1293 if (m_parameters.testType == TEST_TYPE_STREAMS) in verifyImage()
1304 …if (m_parameters.testType == TEST_TYPE_STREAMS_CLIPDISTANCE || m_parameters.testType == TEST_TYPE_… in verifyImage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeCooperativeMatrixTests.cpp93 TestType testType; member
202 if (m_data.testType == TT_MATRIXMULADD || in checkSupport()
203 m_data.testType == TT_MATRIXMULADD_ARRAY) in checkSupport()
313 if (m_data.testType == TT_MATRIXMULADD || in initPrograms()
314 m_data.testType == TT_MATRIXMULADD_ARRAY) in initPrograms()
381 if (m_data.testType == TT_CONSTANT) in initPrograms()
384 if (m_data.testType == TT_FUNC) in initPrograms()
470 if (m_data.testType == TT_COMPOSITE_ARRAY || in initPrograms()
471 m_data.testType == TT_MATRIXMULADD_ARRAY) in initPrograms()
479 switch (m_data.testType) in initPrograms()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fLayoutBindingTests.cpp310 TestType testType,
358 TestType testType, in LayoutBindingRenderCase() argument
367 , m_testType (testType) in LayoutBindingRenderCase()
697 TestType testType,
741 TestType testType, in LayoutBindingNegativeCase() argument
753 , m_testType (testType) in LayoutBindingNegativeCase()
1021 …xt, const char* name, const char* desc, ShaderType shaderType, TestType testType, glw::GLenum samp…
1045 TestType testType, in SamplerBindingRenderCase() argument
1048 …: LayoutBindingRenderCase (context, name, desc, shaderType, testType, GL_MAX_COMBINED_TEXTURE_IMAG… in SamplerBindingRenderCase()
1226 TestType testType,
[all …]
Des31fShaderMultisampleInterpolationStateQueryTests.cpp56 …ase (Context& context, const char* name, const char* desc, QueryType verifier, TestType testType);
67 …tCase (Context& context, const char* name, const char* desc, QueryType verifier, TestType testType) in InterpolationOffsetCase() argument
70 , m_testType (testType) in InterpolationOffsetCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingMiscTests.cpp3806 ShaderRecordBlockTest( const TestType& testType, const std::vector<VariableType>& varTypesToTest) in ShaderRecordBlockTest() argument
3808 m_testType (testType), in ShaderRecordBlockTest()
3852 static std::vector<VariableType> getVarsToTest(const TestType& testType) in getVarsToTest() argument
3854testType == TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_1) || (testType == TestType::SHAD… in getVarsToTest()
3855testType == TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_2) || (testType == TestType::SHAD… in getVarsToTest()
3856testType == TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_3) || (testType == TestType::SHAD… in getVarsToTest()
3857testType == TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_4) || (testType == TestType::SHAD… in getVarsToTest()
3858testType == TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_5) || (testType == TestType::SHAD… in getVarsToTest()
4106 static bool isExplicitScalarOffsetTest(const TestType& testType) in isExplicitScalarOffsetTest() argument
4108 return (testType == TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_1) || in isExplicitScalarOffsetTest()
[all …]
DvktRayTracingCaptureReplayTests.cpp161 SBTReplayTestType testType; // SBT member
405 switch (testParams.testType) in initShaderBindingTables()
480 deUint32 pipelineCount = (testParams.testType == TEST_PIPELINE_SINGLE) ? 1u : 2u; in verifyImage()
798 …if (m_data.testType == TEST_PIPELINE_BEFORE && rayTracingPipelineFeaturesKHR.rayTracingPipelineSha… in checkSupport()
801 …if (m_data.testType != TEST_ACCELERATION_STRUCTURES && rayTracingPipelineFeaturesKHR.rayTracingPip… in checkSupport()
808 …if (m_data.testType == TEST_ACCELERATION_STRUCTURES && accelerationStructureFeaturesKHR.accelerati… in checkSupport()
811 …if (m_data.testType == TEST_ACCELERATION_STRUCTURES && m_data.buildType == VK_ACCELERATION_STRUCTU… in checkSupport()
1019 … pipelineCount = (!replay || ( m_data.testType == TEST_PIPELINE_SINGLE) || (m_data.tes… in runTest()
1100 …bool bottomCompact = m_data.testType == TEST_ACCELERATION_STRUCTURES && m_data.operationT… in runTest()
1101 …bool bottomSerial = m_data.testType == TEST_ACCELERATION_STRUCTURES && m_data.operationTy… in runTest()
[all …]
DvktRayTracingMemGuaranteeTests.cpp66 TestType testType; member
307 …const std::string imageQualifiers = (m_data.testType == TEST_TYPE_BETWEEN_STAGES ? " shadercallco… in initPrograms()
308 …const std::string glslExtensions = (m_data.testType == TEST_TYPE_BETWEEN_STAGES ? "#extension GL_… in initPrograms()
313 …const std::string updateBarrierCaller = (m_data.testType == TEST_TYPE_BETWEEN_STAGES ? " memoryBa… in initPrograms()
314 …const std::string updateBarrierCallee = (m_data.testType == TEST_TYPE_BETWEEN_STAGES ? " memoryBa… in initPrograms()
326 …const std::string updateImageCaller = updateImage0 + (m_data.testType == TEST_TYPE_INSIDE_STAGE ? … in initPrograms()
327 …const std::string updateImageCallee = (m_data.testType == TEST_TYPE_BETWEEN_STAGES ? updateImage1 … in initPrograms()
801 TestType testType; in createMemGuaranteeTests() member
824 testTypes[testTypeNdx].testType, // TestType testType; in createMemGuaranteeTests()
/third_party/skia/gm/
Dcolrv1.cpp44 ColrV1GM(ColrV1TestType testType, SkScalar skewX, SkScalar rotateDeg) in ColrV1GM() argument
45 : fSkewX(skewX), fRotateDeg(rotateDeg), fTestType(testType) {} in ColrV1GM()
48 static SkString testTypeToString(ColrV1TestType testType) { in testTypeToString() argument
49 switch (testType) { in testTypeToString()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderClockTests.cpp80 struct testType struct
133 ShaderClockCase(tcu::TestContext& testCtx, testType operation, glu::ShaderType shaderType) in ShaderClockCase()
220 testType m_operation;
234 static testType operations[] = in addShaderClockTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp84 TestType testType; member
701 bool verifyLayerContent (tcu::TestLog& log, const TestType testType, const tcu::ConstPixelBufferAcc… in verifyLayerContent() argument
707 switch (testType) in verifyLayerContent()
835 …if (verifyLayerContent(log, params.testType, layerImage, layerNdx, image.getNumLayersOrSlices(), d… in verifyResults()
854testType == TEST_TYPE_ALL_LAYERS || params.testType == TEST_TYPE_INVOCATION_PER_LAYER || params.te… in initPrograms()
872 …const int maxVertices = (params.testType == TEST_TYPE_DIFFERENT_CONTENT) ? (numLayers + 1) * nu… in initPrograms()
873 (params.testType == TEST_TYPE_ALL_LAYERS in initPrograms()
874 || params.testType == TEST_TYPE_LAYER_ID in initPrograms()
875 || params.testType == TEST_TYPE_LAYERED_READBACK in initPrograms()
876 || params.testType == TEST_TYPE_SECONDARY_CMD_BUFFER) ? numLayers * 4 : in initPrograms()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ddadrfmt.cpp333 char testType[256] = ""; in processTest() local
348 testSetting.extract(0, testSetting.length(), testType, ""); in processTest()
354 if (!strcmp(testType, "date_format")) { in processTest()
356 } else if (!strcmp(testType, "date_parse")) { in processTest()
359 errln("Unknown type: %s", testType); in processTest()
Ddadrcal.cpp451 char testType[256] = ""; in processTest() local
466 testSetting.extract(0, testSetting.length(), testType, ""); in processTest()
472 if (!strcmp(testType, "convert_fwd")) { in processTest()
474 } else if (!strcmp(testType, "convert_rev")) { in processTest()
476 } else if (!strcmp(testType, "ops")) { in processTest()
479 errln("Unknown type: %s", testType); in processTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp223 TestType testType; member
5226 …m_expected.at(squareNdx) = (testParams.testType == TEST_TYPE_GET_INTERSECTION_TYPE_CANDIDATE) ? (t… in initAccelerationStructures()
5240 …m_expected.at(squareNdx) = (testParams.testType == TEST_TYPE_GET_INTERSECTION_TYPE_CANDIDATE) ? 123 in initAccelerationStructures()
5617 switch (m_data.testType) in RayQueryBuiltinTestInstance()
5859 static inline ShaderBodyTextFunc getShaderBodyTextFunc(const TestType testType) in getShaderBodyTextFunc() argument
5861 switch (testType) in getShaderBodyTextFunc()
5894 static inline CheckSupportFunc getTestConfigCheckSupport(const TestType testType) in getTestConfigCheckSupport() argument
5896 if (testType >= TEST_TYPE_LAST) in getTestConfigCheckSupport()
5899 switch (testType) in getTestConfigCheckSupport()
5946 TestType testType; in createBuiltinTests() member
[all …]

1234