Home
last modified time | relevance | path

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

1234

/third_party/typescript/tests/baselines/reference/
DconstEnum3.types2 const enum TestType { foo, bar }
3 >TestType : TestType
4 >foo : TestType.foo
5 >bar : TestType.bar
7 type TestTypeStr = keyof typeof TestType;
9 >TestType : typeof TestType
11 function f1(f: TestType) { }
12 >f1 : (f: TestType) => void
13 >f : TestType
19 f1(TestType.foo)
[all …]
DconstEnum3.symbols2 const enum TestType { foo, bar }
3 >TestType : Symbol(TestType, Decl(constEnum3.ts, 0, 0))
4 >foo : Symbol(TestType.foo, Decl(constEnum3.ts, 0, 21))
5 >bar : Symbol(TestType.bar, Decl(constEnum3.ts, 0, 26))
7 type TestTypeStr = keyof typeof TestType;
9 >TestType : Symbol(TestType, Decl(constEnum3.ts, 0, 0))
11 function f1(f: TestType) { }
14 >TestType : Symbol(TestType, Decl(constEnum3.ts, 0, 0))
21 f1(TestType.foo)
23 >TestType.foo : Symbol(TestType.foo, Decl(constEnum3.ts, 0, 21))
[all …]
DdeclarationEmitNoNonRequiredParens.symbols11 export type TestType = typeof Test;
12 >TestType : Symbol(TestType, Decl(declarationEmitNoNonRequiredParens.ts, 2, 1))
15 export const bar = (null as TestType[Extract<keyof TestType, string>][]);
17 >TestType : Symbol(TestType, Decl(declarationEmitNoNonRequiredParens.ts, 2, 1))
19 >TestType : Symbol(TestType, Decl(declarationEmitNoNonRequiredParens.ts, 2, 1))
DdeclarationEmitNoNonRequiredParens.types11 export type TestType = typeof Test;
12 >TestType : typeof Test
15 export const bar = (null as TestType[Extract<keyof TestType, string>][]);
17 >(null as TestType[Extract<keyof TestType, string>][]) : Test[]
18 >null as TestType[Extract<keyof TestType, string>][] : Test[]
DconstEnum3.js2 const enum TestType { foo, bar }
3 type TestTypeStr = keyof typeof TestType;
5 function f1(f: TestType) { } argument
8 f1(TestType.foo)
9 f1(TestType.bar)
DdeclarationEmitNoNonRequiredParens.js6 export type TestType = typeof Test;
8 export const bar = (null as TestType[Extract<keyof TestType, string>][]);
29 export declare type TestType = typeof Test;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingMiscTests.cpp100 enum class TestType enum
284 TestType type;
289 : type (TestType::COUNT), in CaseDef()
296 CaseDef(const TestType& inType) in CaseDef()
304 CaseDef(const TestType& inType, in CaseDef()
3806 ShaderRecordBlockTest( const TestType& testType, const std::vector<VariableType>& varTypesToTest) in ShaderRecordBlockTest()
3852 static std::vector<VariableType> getVarsToTest(const TestType& testType) in getVarsToTest()
3854TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_1) || (testType == TestType::SHADER_RECORD_BL… in getVarsToTest()
3855TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_2) || (testType == TestType::SHADER_RECORD_BL… in getVarsToTest()
3856TestType::SHADER_RECORD_BLOCK_EXPLICIT_SCALAR_OFFSET_3) || (testType == TestType::SHADER_RECORD_BL… in getVarsToTest()
[all …]
/third_party/openh264/test/encoder_binary_comparison/
Drun_Main.sh31 echo "TestType is ${TestType}"
32 if [ "${TestType}" = "LocalTest" ]
35 elif [ "${TestType}" = "UpdateSHA1Table" ]
105 local TestType=$1
113 runTestTypeCheck ${TestType}
132 ./run_OneBitStream.sh ${BitStreamName} ${TestType}
140 if [ ${TestType} = "LocalTest" ]
143 elif [ ${TestType} = "UpdateSHA1Table" ]
148 TestType=$1
149 runMain ${TestType}
Drun_OneBitStream.sh148 if [ ${TestType} = "TravisTest" ]
167 TestType=$2
210 TestType=$2
211 runMain "${BitSteamName}" "${TestType}"
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cNumberParsingTests.cpp80 enum struct TestType enum
88 TestType testType;
102 TestType::NORMAL, // TestType testType
111 TestType::NORMAL, // TestType testType
120 TestType::NORMAL, // TestType testType
129 TestType::NORMAL, // TestType testType
138 TestType::NORMAL, // TestType testType
147 TestType::NORMAL, // TestType testType
156 TestType::NORMAL, // TestType testType
165 TestType::NORMAL, // TestType testType
[all …]
/third_party/boost/libs/variant/test/
Dvariant_get_test.cpp58 template <class TypeInVariant, class V, class TestType>
61 typedef typename boost::add_reference<TestType>::type ref_test_t; in check_polymorphic_get_on_types_impl_single_type()
62 typedef typename boost::add_reference<const TestType>::type cref_test_t; in check_polymorphic_get_on_types_impl_single_type()
63 const bool exact_same = !!boost::is_same<TypeInVariant, TestType>::value; in check_polymorphic_get_on_types_impl_single_type()
67 BOOST_TEST(boost::polymorphic_get<TestType>(v)); in check_polymorphic_get_on_types_impl_single_type()
68 BOOST_TEST(boost::polymorphic_get<const TestType>(v)); in check_polymorphic_get_on_types_impl_single_type()
69 BOOST_TEST(boost::polymorphic_strict_get<TestType>(v)); in check_polymorphic_get_on_types_impl_single_type()
70 BOOST_TEST(boost::polymorphic_strict_get<const TestType>(v)); in check_polymorphic_get_on_types_impl_single_type()
71 BOOST_TEST(boost::polymorphic_relaxed_get<TestType>(v)); in check_polymorphic_get_on_types_impl_single_type()
72 BOOST_TEST(boost::polymorphic_relaxed_get<const TestType>(v)); in check_polymorphic_get_on_types_impl_single_type()
[all …]
/third_party/openh264/
Drun_Test.sh53 local TestType=$2
63 ./test/encoder_binary_comparison/run_OneBitStream.sh ${TestBitStream} ${TestType}
69 local TestType=$1
71 runInputParamCheck ${TestType} ${TestBitStream}
78 if [ "${TestType}" = "UnitTest" ]
84 if [ "${TestType}" = "BinaryCompare" ]
91 TestType=$1
93 runMain ${TestType} ${TestBitStream}
/third_party/typescript/tests/cases/conformance/constEnums/
DconstEnum3.ts1 const enum TestType { foo, bar } enum
2 type TestTypeStr = keyof typeof TestType;
4 function f1(f: TestType) { }
7 f1(TestType.foo)
8 f1(TestType.bar)
/third_party/boost/boost/test/tree/
Dtest_case_template.hpp67 template<typename TestCaseTemplate,typename TestType>
70 void operator()() { TestCaseTemplate::run( (boost::type<TestType>*)0 ); } in operator ()()
86 template<typename TestType>
87 void operator()( mpl::identity<TestType> ) in operator ()()
93 … full_name += boost::core::demangle(typeid(TestType).name()); // same as execution_monitor.ipp in operator ()()
107 typedef typename boost::remove_reference<TestType>::type TestTypewoRef; in operator ()()
112 if( boost::is_rvalue_reference<TestType>::value ) in operator ()()
114 else if( boost::is_lvalue_reference<TestType>::value ) in operator ()()
122 … test_case_template_invoker<TestCaseTemplate,TestType>() ) ); in operator ()()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedFormatsTests.cpp186 enum class TestType enum
193 void fillImageCreateInfo (VkImageCreateInfo& imageCreateInfo, TestType testType, VkFormat format) in fillImageCreateInfo()
195 …const VkImageCreateFlags imageFlags = ((testType == TestType::SPARSE_READ) ? (VK_IMAGE_CREATE_SPA… in fillImageCreateInfo()
224 const TestType type,
233 const TestType m_type;
241 const TestType type, in MismatchedFormatTest()
256 if (m_type == TestType::SPARSE_READ) in checkSupport()
290 if (m_type == TestType::READ) in initPrograms()
303 else if (m_type == TestType::WRITE) in initPrograms()
316 else if (m_type == TestType::SPARSE_READ) in initPrograms()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmNonSemanticInfoTests.cpp40 enum TestType enum
75 SpvAsmSpirvNonSemanticInfoBasicInstance (Context& ctx, TestType type);
80 TestType m_testType;
83 …vNonSemanticInfoBasicInstance::SpvAsmSpirvNonSemanticInfoBasicInstance(Context& ctx, TestType type) in SpvAsmSpirvNonSemanticInfoBasicInstance()
98 SpvAsmSpirvNonSemanticInfoBasicCase (tcu::TestContext& testCtx, const char* name, TestType type);
105 TestType m_testType;
108 …se::SpvAsmSpirvNonSemanticInfoBasicCase(tcu::TestContext& testCtx, const char* name, TestType type) in SpvAsmSpirvNonSemanticInfoBasicCase()
343 TestType type; in createNonSemanticInfoGroup()
DvktSpvAsmImageSamplerTests.cpp48 enum TestType enum
90 bool isValidTestCase (TestType testType, DescriptorType descriptorType, ReadOp readOp) in isValidTestCase()
154 const char* getTestTypeName (TestType testType) in getTestTypeName()
289 std::string getFunctionDstVariableStr (ReadOp readOp, DescriptorType descType, TestType testType) in getFunctionDstVariableStr()
434 std::string getFunctionSrcVariableStr (ReadOp readOp, DescriptorType descType, TestType testType) in getFunctionSrcVariableStr()
510 std::string getFunctionParamTypeStr (TestType testType) in getFunctionParamTypeStr()
527 std::string getFunctionSrcParamStr (TestType testType) in getFunctionSrcParamStr()
544 std::string getFunctionDstParamStr (ReadOp readOp, TestType testType) in getFunctionDstParamStr()
657 …ypeStr (DescriptorType descType, ReadOp readOp, deUint32 depthProperty, TestType testType, int for… in getImageSamplerTypeStr()
774 if (!isValidTestCase((TestType)testNdx, (DescriptorType)descNdx, (ReadOp)opNdx)) in addComputeImageSamplerTest()
[all …]
/third_party/typescript/tests/cases/compiler/
DdeclarationEmitNoNonRequiredParens.ts6 export type TestType = typeof Test; alias
8 export const bar = (null as TestType[Extract<keyof TestType, string>][]);
/third_party/flutter/skia/tests/
DCachedDecodingPixelRefTest.cpp26 enum TestType { enum in TestImageGenerator
37 TestImageGenerator(TestType type, skiatest::Reporter* reporter, in TestImageGenerator()
83 const TestType fType;
92 const TestImageGenerator::TestType testTypes[] = { in DEF_TEST()
101 TestImageGenerator::TestType test = testTypes[i]; in DEF_TEST()
/third_party/skia/tests/
DCachedDecodingPixelRefTest.cpp25 enum TestType { enum in TestImageGenerator
36 TestImageGenerator(TestType type, skiatest::Reporter* reporter, in TestImageGenerator()
82 const TestType fType;
91 const TestImageGenerator::TestType testTypes[] = { in DEF_TEST()
100 TestImageGenerator::TestType test = testTypes[i]; in DEF_TEST()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcGLSLVectorConstructorTests.cpp62 enum struct TestType enum
157 TestType testType;
198 …result.push_back({ testNameVs.str(), testDescriptionVs.str(), TestType::VERTEX_SHADER, outputType,… in generateTestParams()
199 …result.push_back({ testNameFs.str(), testDescriptionFs.str(), TestType::FRAGMENT_SHADER, outputTyp… in generateTestParams()
206 …result.push_back({ testNameInvalidVs.str(), testDescriptionVs.str(), TestType::VERTEX_SHADER_ERROR… in generateTestParams()
207 …result.push_back({ testNameInvalidFs.str(), testDescriptionFs.str(), TestType::FRAGMENT_SHADER_ERR… in generateTestParams()
434 case TestType::VERTEX_SHADER_ERROR: in GLSLVectorConstructorTestCase()
435 case TestType::VERTEX_SHADER: in GLSLVectorConstructorTestCase()
439 case TestType::FRAGMENT_SHADER_ERROR: in GLSLVectorConstructorTestCase()
440 case TestType::FRAGMENT_SHADER: in GLSLVectorConstructorTestCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsBuiltinMaskVarTests.cpp41 enum TestType enum
85 TestType testType;
92 static inline string getTestSpirvBuiltinName (TestType testType) in getTestSpirvBuiltinName()
97 static inline string getTestName (TestType testType) in getTestName()
102 static inline string getTestVarName (TestType testType) in getTestVarName()
107 static inline string getTestMathOp (TestType testType) in getTestMathOp()
112 static inline string getTestSpirvOp (TestType testType) in getTestSpirvOp()
1314 const TestType allStagesBuiltinVars[] = in createSubgroupsBuiltinMaskVarTests()
1337 const TestType testType = allStagesBuiltinVars[a]; in createSubgroupsBuiltinMaskVarTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp45 const char* generateShaderVarString (TestType testType) in generateShaderVarString()
57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString()
75 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, Buff… in initBufferValidatorPrograms()
/third_party/boost/libs/math/doc/internals/
Drelative_error.qbk90 static const boost::array<boost::array<TestType, 3>, NumberOfTests>
101 TestType (*funcp)(TestType) = boost::math::tgamma;
104 test_result<TestType> result;
110 bind(funcp, ret<TestType>(_1[0])), // calls tgamma with factorials[row][0]
111 ret<TestType>(_1[1]) // extracts the expected result from factorials[row][1]
125 bind(funcp, ret<TestType>(_1[0])), // calls tgamma with factorials[row][0]
126 ret<TestType>(_1[2]) // extracts the expected result from factorials[row][2]
/third_party/boost/boost/test/
Dunit_test_suite.hpp236 template<typename TestType> \
237 static void run( boost::type<TestType>* = 0 ) \
240 test_name<TestType> t; \
288 template<typename TestType> \
289 static void run( boost::type<TestType>* frwrd = 0 ) \

1234