Home
last modified time | relevance | path

Searched refs:test_case (Results 1 - 25 of 160) sorted by relevance

1234567

/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
H A Dtest_util.py367 def ExpectAllFieldsSet(test_case, message):
369 test_case.assertTrue(message.HasField('optional_int32'))
370 test_case.assertTrue(message.HasField('optional_int64'))
371 test_case.assertTrue(message.HasField('optional_uint32'))
372 test_case.assertTrue(message.HasField('optional_uint64'))
373 test_case.assertTrue(message.HasField('optional_sint32'))
374 test_case.assertTrue(message.HasField('optional_sint64'))
375 test_case.assertTrue(message.HasField('optional_fixed32'))
376 test_case.assertTrue(message.HasField('optional_fixed64'))
377 test_case
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Dtest_util.py408 def ExpectAllFieldsSet(test_case, message):
410 test_case.assertTrue(message.HasField('optional_int32'))
411 test_case.assertTrue(message.HasField('optional_int64'))
412 test_case.assertTrue(message.HasField('optional_uint32'))
413 test_case.assertTrue(message.HasField('optional_uint64'))
414 test_case.assertTrue(message.HasField('optional_sint32'))
415 test_case.assertTrue(message.HasField('optional_sint64'))
416 test_case.assertTrue(message.HasField('optional_fixed32'))
417 test_case.assertTrue(message.HasField('optional_fixed64'))
418 test_case
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cCopyImageTests.cpp2578 const testCase& test_case = m_test_cases[m_test_case_index]; in iterate() local
2587 prepareDstPxls(test_case.m_dst, dst_pixels); in iterate()
2588 prepareSrcPxls(test_case.m_src, test_case.m_dst.m_internal_format, src_pixels); in iterate()
2591 m_dst_tex_name = prepareTexture(test_case.m_dst, (const GLubyte**)dst_pixels, m_dst_buf_name); in iterate()
2593 if (GL_RENDERBUFFER == test_case.m_src.m_target) in iterate()
2595 targetDesc desc = test_case.m_src; in iterate()
2598 m_rb_name = prepareTexture(test_case.m_src, (const GLubyte**)src_pixels, m_src_buf_name); in iterate()
2603 m_src_tex_name = prepareTexture(test_case.m_src, (const GLubyte**)src_pixels, m_src_buf_name); in iterate()
2607 result = copyAndVerify(test_case, (cons in iterate()
2703 copyAndVerify(const testCase& test_case, const GLubyte** dst_pixels, const GLubyte** src_pixels) copyAndVerify() argument
2980 getCleanRegions(const testCase& test_case, GLuint dst_level, GLuint out_regions[4][4], GLuint& out_n_regions) const getCleanRegions() argument
3308 testCase test_case = { prepareTestCases() local
3426 verify(const testCase& test_case, GLuint dst_layer, const GLubyte** dst_pixels, GLuint src_layer, const GLubyte** src_pixels, GLuint depth) verify() argument
3631 const testCase test_case = { target, GL_RGBA32UI, GL_RGBA_INTEGER, GL_UNSIGNED_INT }; SmokeTest() local
3643 const testCase test_case = { GL_TEXTURE_2D, internal_format, format, type }; SmokeTest() local
3704 compareImages(const testCase& test_case, const GLubyte* left_data, const GLubyte* right_data) const compareImages() argument
3768 copyAndVerify(const testCase& test_case, const GLubyte* src_pixels) copyAndVerify() argument
3839 getPixels(GLuint name, const SmokeTest::testCase& test_case, GLubyte* out_pixels) const getPixels() argument
3876 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
3952 prepareDstPxls(const SmokeTest::testCase& test_case, GLubyte*& out_pixels) const prepareDstPxls() argument
3987 prepareSrcPxls(const SmokeTest::testCase& test_case, GLubyte*& out_pixels) const prepareSrcPxls() argument
4049 prepareTexture(const testCase& test_case, const GLubyte* pixels, GLuint& out_buf_id) prepareTexture() argument
4069 verify(const testCase& test_case, const GLubyte* src_pixels) verify() argument
4135 testCase test_case = { src_target, dst_target, GL_NO_ERROR }; InvalidTargetTest() local
4153 const testCase test_case = { src_target, dst_target, GL_INVALID_ENUM }; InvalidTargetTest() local
4166 const testCase test_case = { src_target, dst_target, GL_INVALID_ENUM }; InvalidTargetTest() local
4179 const testCase test_case = { src_target, dst_target, GL_INVALID_ENUM }; InvalidTargetTest() local
4196 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
4263 const testCase& test_case = m_test_cases[m_test_case_index]; clean() local
4308 testCase test_case = { tex_target, src_target, dst_target, GL_INVALID_ENUM }; TargetMismatchTest() local
4340 testCase test_case = { tex_target, src_target, dst_target, GL_INVALID_ENUM }; TargetMismatchTest() local
4375 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
4481 testCase test_case = { tex_target, false, false, GL_INVALID_OPERATION }; IncompleteTexTest() local
4516 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
4631 testCase test_case = { tex_target, GL_RGBA8UI, GL_RGBA_INTEGER, GL_UNSIGNED_BYTE, IncompatibleFormatsTest() local
4648 testCase test_case = { tex_target, GL_RGBA8UI, GL_RGBA_INTEGER, GL_UNSIGNED_BYTE, IncompatibleFormatsTest() local
4665 testCase test_case = { tex_target, GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, IncompatibleFormatsTest() local
4682 testCase test_case = { tex_target, GL_RGBA32UI, GL_RGBA_INTEGER, GL_UNSIGNED_INT, IncompatibleFormatsTest() local
4699 testCase test_case = { tex_target, GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, IncompatibleFormatsTest() local
4722 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
4790 const testCase& test_case = m_test_cases[m_test_case_index]; clean() local
4824 testCase test_case; SamplesMismatchTest() local
4869 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
5004 testCase test_case = { IncompatibleFormatsCompressionTest() local
5014 testCase test_case = { IncompatibleFormatsCompressionTest() local
5035 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
5141 const testCase test_case = { arg_types[dst], !!dst_valid, arg_types[src], !!src_valid, InvalidObjectTest() local
5162 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
5258 const testCase& test_case = m_test_cases[m_test_case_index]; clean() local
5303 testCase test_case = { tex_target, 0, 0, GL_NO_ERROR }; NonExistentMipMapTest() local
5340 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
5513 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
5583 const testCase& test_case = m_test_cases[m_test_case_index]; clean() local
5662 const testCase& test_case = m_test_cases[m_test_case_index]; iterate() local
5768 const testCase& test_case = testCases[m_test_case_index]; iterate() local
[all...]
H A Dgl3cTextureSwizzleTests.hpp220 void captureAndVerify(const testCase& test_case, size_t output_format_index, glw::GLint output_channel_size,
228 void executeTestCase(const testCase& test_case);
232 std::string getFragmentShader(const testCase& test_case, size_t output_format_index, bool is_tested_stage);
234 std::string getVertexShader(const testCase& test_case, bool is_tested_stage);
242 void logTestCaseDetials(const testCase& test_case);
244 void prepareAndTestProgram(const testCase& test_case, size_t output_format_index, glw::GLint output_channel_size,
247 std::string prepareArguments(const testCase& test_case);
248 std::string prepareCoordinates(const testCase& test_case);
250 std::string prepareDerivatives(const testCase& test_case, size_t index);
252 std::string prepareOffsets(const testCase& test_case);
337 wrongResults(const FunctionalTest::testCase& test_case) wrongResults() argument
[all...]
H A Dgl4cEnhancedLayoutsTests.cpp5577 GLuint test_case = DEBUG_REPEATED_TEST_CASE; in test() local
5581 for (GLuint test_case = 0; test_case < n_test_cases; ++test_case) in test()
5586 if (!testCase(test_case)) in test()
5588 const std::string& test_case_name = getTestCaseName(test_case); in test()
5597 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Test case (" << test_case in test()
8295 testCase& test_case = m_test_cases[test_case_index]; in test() local
8297 if (Utils::Shader::COMPUTE == test_case.m_stage) in test()
8303 Utils::replaceToken("CONSTANT", position, getConstantName(test_case in test()
8389 testCase test_case = { (CONSTANTS)constant, (Utils::Shader::STAGES)stage }; test() local
8984 testCase& test_case = m_test_cases[test_case_index]; test() local
9086 testCase test_case = { (QUALIFIERS)qualifier, (Utils::Shader::STAGES)stage }; test() local
9390 testCase& test_case = m_test_cases[test_case_index]; test() local
9466 testCase& test_case = m_test_cases[test_case_index]; test() local
9563 testCase test_case = { offset, should_fail, (Utils::Shader::STAGES)stage, type }; test() local
9574 testCase test_case = { offset, should_fail, (Utils::Shader::STAGES)stage, type }; test() local
9861 testCase& test_case = m_test_cases[test_case_index]; test() local
9943 testCase& test_case = m_test_cases[test_case_index]; test() local
10021 testCase test_case = { b_offset, b_type, a_before_off, a_type, test() local
10029 testCase test_case = { b_offset, b_type, a_after_off, a_type, test() local
10036 testCase test_case = { b_offset, b_type, b_offset, a_type, (Utils::Shader::STAGES)stage }; test() local
10350 testCase& test_case = m_test_cases[test_case_index]; test() local
10425 testCase& test_case = m_test_cases[test_case_index]; test() local
10512 testCase test_case = { align, type, should_fail, (Utils::Shader::STAGES)stage }; test() local
10982 testCase& test_case = m_test_cases[test_case_index]; test() local
11139 testCase test_case = { (QUALIFIERS)qualifier, (Utils::Shader::STAGES)stage }; test() local
11448 testCase& test_case = m_test_cases[test_case_index]; test() local
11822 testCase& test_case = m_test_cases[test_case_index]; test() local
12195 testCase& test_case = m_test_cases[test_case_index]; test() local
13338 testCase& test_case = m_test_cases[test_case_index]; test() local
13427 testCase& test_case = m_test_cases[test_case_index]; test() local
13844 testCase& test_case = m_test_cases[test_case_index]; test() local
13931 testCase& test_case = m_test_cases[test_case_index]; test() local
14258 testCase& test_case = m_test_cases[test_case_index]; test() local
14342 testCase& test_case = m_test_cases[test_case_index]; test() local
14633 testCase& test_case = m_test_cases[test_case_index]; test() local
14743 testCase& test_case = m_test_cases[test_case_index]; test() local
14788 const testCase& test_case = m_test_cases[test_case_index]; test() local
14856 const testCase& test_case = m_test_cases[test_case_index]; test() local
14899 const testCase& test_case = m_test_cases[test_case_index]; test() local
15072 prepareShaderStage(Utils::Shader::STAGES stage, const Utils::Type& vector_type, Utils::ProgramInterface& program_interface, const testCase& test_case, Utils::VaryingPassthrough& varying_passthrough) test() argument
15569 testCase& test_case = m_test_cases[test_case_index]; test() local
15695 testCase& test_case = m_test_cases[test_case_index]; test() local
16037 testCase& test_case = m_test_cases[test_case_index]; test() local
16159 testCase& test_case = m_test_cases[test_case_index]; test() local
16470 testCase& test_case = m_test_cases[test_case_index]; test() local
16572 testCase& test_case = m_test_cases[test_case_index]; test() local
16916 testCase& test_case = m_test_cases[test_case_index]; test() local
17110 testCase& test_case = m_test_cases[test_case_index]; test() local
17481 testCase& test_case = m_test_cases[test_case_index]; test() local
17589 testCase& test_case = m_test_cases[test_case_index]; test() local
17626 testCase& test_case = m_test_cases[test_case_index]; test() local
17663 testCase test_case = { *it_gohan, *it_goten, (Utils::Shader::STAGES)stage, type }; test() local
17893 testCase& test_case = m_test_cases[test_case_index]; test() local
17985 testCase& test_case = m_test_cases[test_case_index]; test() local
18051 testCase test_case = { *it_gohan, *it_goten, (Utils::Shader::STAGES)stage, type }; test() local
18288 testCase& test_case = m_test_cases[test_case_index]; test() local
18429 testCase& test_case = m_test_cases[test_case_index]; test() local
18775 testCase& test_case = m_test_cases[test_case_index]; test() local
18906 testCase& test_case = m_test_cases[test_case_index]; test() local
19324 testCase& test_case = m_test_cases[test_case_index]; test() local
19490 testCase& test_case = m_test_cases[test_case_index]; test() local
20243 testCase& test_case = m_test_cases[test_case_index]; test() local
20330 testCase& test_case = m_test_cases[test_case_index]; test() local
20386 testCase test_case = { (QUALIFIERS)qualifier, (Utils::Shader::STAGES)stage }; test() local
21355 testCase& test_case = m_test_cases[test_case_index]; test() local
21464 testCase& test_case = m_test_cases[test_case_index]; test() local
21533 testCase test_case = { (CASES)c, (Utils::Shader::STAGES)stage }; test() local
21697 testCase& test_case = m_test_cases[test_case_index]; test() local
21805 testCase& test_case = m_test_cases[test_case_index]; test() local
21853 testCase& test_case = m_test_cases[test_case_index]; test() local
21878 testCase test_case = { static_cast<CASES>(c), static_cast<Utils::Shader::STAGES>(stage), type }; test() local
22054 Utils::Shader::STAGES test_case = m_test_cases[test_case_index]; test() local
22537 testCase& test_case = m_test_cases[test_case_index]; test() local
22633 testCase& test_case = m_test_cases[test_case_index]; test() local
22680 testCase& test_case = m_test_cases[test_case_index]; test() local
22700 testCase test_case = { (CASES)c, (Utils::Shader::STAGES)stage }; test() local
22853 const test_Case& test_case = m_test_cases[test_case_index]; test() local
22935 const test_Case& test_case = m_test_cases[test_case_index]; test() local
22990 const test_Case& test_case = m_test_cases[test_case_index]; test() local
23085 const test_Case& test_case = m_test_cases[test_case_index]; test() local
23932 testCase& test_case = m_test_cases[test_case_index]; test() local
24046 testCase& test_case = m_test_cases[test_case_index]; test() local
24103 testCase test_case = { (CASES)c, (Utils::Shader::STAGES)stage }; test() local
24269 testCase& test_case = m_test_cases[test_case_index]; test() local
24386 testCase& test_case = m_test_cases[test_case_index]; test() local
24443 testCase test_case = { (CASES)c, (Utils::Shader::STAGES)stage }; test() local
24641 const _testCase& test_case = m_test_cases[test_case_index]; test() local
24776 const _testCase& test_case = m_test_cases[test_case_index]; test() local
24844 const testCase& test_case = m_test_cases[test_case_index]; test() local
24873 const testCase& test_case = m_test_cases[test_case_index]; test() local
24942 const testCase& test_case = m_test_cases[test_case_index]; test() local
25014 const testCase& test_case = m_test_cases[test_case_index]; test() local
25073 const testCase& test_case = m_test_cases[test_case_index]; test() local
25124 const testCase& test_case = m_test_cases[test_case_index]; test() local
25160 testCase test_case = { (Utils::Shader::STAGES)stage, type }; test() local
25309 testCase& test_case = m_test_cases[test_case_index]; test() local
25394 testCase& test_case = m_test_cases[test_case_index]; test() local
25434 testCase test_case = { (Utils::Shader::STAGES)stage }; test() local
25584 testCase& test_case = m_test_cases[test_case_index]; test() local
25676 testCase& test_case = m_test_cases[test_case_index]; test() local
25734 testCase test_case = { basic_type_size /* offset */, (Utils::Shader::STAGES)stage, type }; test() local
25882 testCase& test_case = m_test_cases[test_case_index]; test() local
25974 testCase& test_case = m_test_cases[test_case_index]; test() local
26024 testCase test_case = { offset, (Utils::Shader::STAGES)stage, type }; test() local
27587 testCase& test_case = m_test_cases[test_case_index]; test() local
27637 testCase& test_case = m_test_cases[test_case_index]; test() local
27679 testCase test_case = { (Utils::Shader::STAGES)stage }; test() local
27705 const testCase& test_case = m_test_cases[test_case_index]; test() local
27734 const testCase& test_case = m_test_cases[test_case_index]; test() local
27817 const testCase& test_case = m_test_cases[test_case_index]; test() local
27881 const testCase& test_case = m_test_cases[test_case_index]; test() local
27953 const testCase& test_case = m_test_cases[test_case_index]; test() local
28004 const testCase& test_case = m_test_cases[test_case_index]; test() local
28048 testCase test_case = { (Utils::Shader::STAGES)stage, type, 0 }; test() local
28057 testCase test_case = { (Utils::Shader::STAGES)stage, type, array_size }; test() local
28088 const testCase& test_case = m_test_cases[test_case_index]; test() local
28117 const testCase& test_case = m_test_cases[test_case_index]; test() local
28256 const testCase& test_case = m_test_cases[test_case_index]; test() local
28336 const testCase& test_case = m_test_cases[test_case_index]; test() local
28404 const testCase& test_case = m_test_cases[test_case_index]; test() local
28455 const testCase& test_case = m_test_cases[test_case_index]; test() local
[all...]
H A Dgl4cGPUShaderFP64Tests.hpp1058 bool executeIteration(const _test_case& test_case);
1063 std::string getVertexShaderBody(const _test_case& test_case);
1064 void initIteration(_test_case& test_case);
1067 bool verifyXFBData(const unsigned char* data_ptr, const _test_case& test_case);
1156 bool executeIteration(const _test_case& test_case);
1157 std::string getComputeShaderBody(const _test_case& test_case);
1158 std::string getFragmentShaderBody(const _test_case& test_case);
1159 std::string getGeometryShaderBody(const _test_case& test_case);
1160 std::string getTessellationControlShaderBody(const _test_case& test_case);
1161 std::string getTessellationEvaluationShaderBody(const _test_case& test_case);
[all...]
H A Dgl3cGPUShader5Tests.cpp437 const testCase& test_case = test_cases[i]; in iterate() local
439 executeTestCase(test_case); in iterate()
535 * @param test_case Defines test case parameters
537 void GPUShader5ImplicitConversionsTest::executeTestCase(const testCase& test_case) in executeTestCase() argument
548 const std::string& vs = getVertexShader(test_case.m_destination_type, test_case.m_source_type); in executeTestCase()
558 program.setUniform(test_case.m_source_variable_type, "u1", test_case.m_u1_data); in executeTestCase()
559 program.setUniform(test_case.m_source_variable_type, "u2", test_case in executeTestCase()
1039 const testCase& test_case = test_cases[i]; iterate() local
1057 execute(const testCase& test_case) execute() argument
[all...]
H A Dgl4cShadingLanguage420PackTests.cpp4304 const testCase& test_case = m_test_cases[test_case_index]; in prepareNextTestCase() local
4307 << "T1:" << Utils::getTypeName(test_case.m_types.m_t1, test_case.m_n_cols, in prepareNextTestCase()
4308 test_case.m_n_rows) in prepareNextTestCase()
4309 << " T2:" << Utils::getTypeName(test_case.m_types.m_t2, test_case.m_n_cols, in prepareNextTestCase()
4310 test_case.m_n_rows) in prepareNextTestCase()
4505 const testCase& test_case = getCurrentTestCase(); in prepareShaderSource() local
4506 const GLchar* t1 = Utils::getTypeName(test_case.m_types.m_t1, test_case in prepareShaderSource()
4565 const testCase& test_case = getCurrentTestCase(); prepareUniforms() local
4619 testCase test_case = { types, 1, 1 }; testInit() local
4628 testCase test_case = { types, col, row }; testInit() local
5954 const Utils::qualifierSet& test_case = getCurrentTestCase(); prepareShaderSource() local
6337 const Utils::qualifierSet& test_case = getCurrentTestCase(); prepareShaderSource() local
6706 const Utils::qualifierSet& test_case = getCurrentTestCase(); prepareShaderSource() local
9811 getCaseString(TESTCASES test_case) getCaseString() argument
11562 getCaseString(TESTCASES test_case) getCaseString() argument
13400 getCaseString(TESTCASES test_case) getCaseString() argument
13719 testCase test_case = { l_init, 1, 1 }; testInit() local
13790 const testCase& test_case = m_test_cases[m_current_test_case_index]; getArrayDefinition() local
13837 const testCase& test_case = m_test_cases[m_current_test_case_index]; getExpectedValue() local
13903 const testCase& test_case = m_test_cases[m_current_test_case_index]; getInitialization() local
14216 const testCase& test_case = m_test_cases[m_current_test_case_index]; logTestCaseName() local
14303 const testCase& test_case = m_test_cases[m_current_test_case_index]; getSum() local
14414 const testCase& test_case = m_test_cases[m_current_test_case_index]; getTypeDefinition() local
14493 const testCase& test_case = m_test_cases[m_current_test_case_index]; getTypeName() local
15341 const testCase& test_case = m_test_cases[m_current_test_case_index]; prepareNextTestCase() local
15395 const testCase& test_case = m_test_cases[m_current_test_case_index]; prepareUniforms() local
15437 const testCase& test_case = m_test_cases[m_current_test_case_index]; prepareVertexBuffer() local
15524 testCase test_case = { Utils::UINT, 1 /* n_cols */, row }; testInit() local
15531 testCase test_case = { Utils::INT, 1 /* n_cols */, row }; testInit() local
15538 testCase test_case = { Utils::FLOAT, 1 /* n_cols */, row }; testInit() local
15548 testCase test_case = { Utils::FLOAT, col, row }; testInit() local
15565 const testCase& test_case = m_test_cases[m_current_test_case_index]; getExpectedValue() local
15627 const testCase& test_case = m_test_cases[m_current_test_case_index]; getInitialization() local
15974 const testCase& test_case = m_test_cases[m_current_test_case_index]; prepareDrawShaderSource() local
16164 const testCase& test_case = m_test_cases[m_current_test_case_index]; prepareComputeShaderSource() local
[all...]
H A Dgl4cGPUShaderFP64Tests.cpp7280 * @param test_case Test case descriptor to use.
7285 bool GPUShaderFP64Test5::executeIteration(const _test_case& test_case) in executeIteration() argument
7292 Utils::_variable_type base_value_type = Utils::getBaseVariableType(test_case.src_type); in executeIteration()
7393 result &= verifyXFBData((const unsigned char*)xfb_data_ptr, test_case); in executeIteration()
7591 * @param test_case Descriptor to use for the query.
7595 std::string GPUShaderFP64Test5::getVertexShaderBody(const _test_case& test_case) in getVertexShaderBody() argument
7598 const std::string base_type_string = Utils::getVariableTypeString(Utils::getBaseVariableType(test_case.src_type)); in getVertexShaderBody()
7599 const std::string dst_type_string = Utils::getVariableTypeString(test_case.dst_type); in getVertexShaderBody()
7600 const unsigned int n_dst_components = Utils::getNumberOfComponentsForVariableType(test_case.dst_type); in getVertexShaderBody()
7601 const unsigned int n_src_components = Utils::getNumberOfComponentsForVariableType(test_case in getVertexShaderBody()
7729 initIteration(_test_case& test_case) initIteration() argument
7909 _test_case& test_case = test_cases[n_test_case]; iterate() local
7943 verifyXFBData(const unsigned char* data_ptr, const _test_case& test_case) verifyXFBData() argument
8252 executeIteration(const _test_case& test_case) executeIteration() argument
8341 getComputeShaderBody(const _test_case& test_case) getComputeShaderBody() argument
8397 getFragmentShaderBody(const _test_case& test_case) getFragmentShaderBody() argument
8450 getGeometryShaderBody(const _test_case& test_case) getGeometryShaderBody() argument
8507 getTessellationControlShaderBody(const _test_case& test_case) getTessellationControlShaderBody() argument
8567 getTessellationEvaluationShaderBody(const _test_case& test_case) getTessellationEvaluationShaderBody() argument
8627 getVertexShaderBody(const _test_case& test_case) getVertexShaderBody() argument
8703 initIteration(_test_case& test_case) initIteration() argument
8802 _test_case& test_case = test_cases[n_test_case]; iterate() local
10446 executeIteration(const _test_case& test_case) executeIteration() argument
10702 getComputeShaderBody(const _test_case& test_case) getComputeShaderBody() argument
10727 getFragmentShaderBody(const _test_case& test_case) getFragmentShaderBody() argument
10750 getGeneralBody(const _test_case& test_case) getGeneralBody() argument
10798 getGeometryShaderBody(const _test_case& test_case) getGeometryShaderBody() argument
10824 getTessellationControlShaderBody(const _test_case& test_case) getTessellationControlShaderBody() argument
10849 getTessellationEvaluationShaderBody(const _test_case& test_case) getTessellationEvaluationShaderBody() argument
10874 getVertexShaderBody(const _test_case& test_case) getVertexShaderBody() argument
10916 initIteration(_test_case& test_case) initIteration() argument
10985 _test_case test_case; iterate() local
11071 executeTestIteration(const _test_case& test_case) executeTestIteration() argument
11389 getVertexShaderBody(_test_case& test_case) getVertexShaderBody() argument
11576 initTestIteration(_test_case& test_case) initTestIteration() argument
11667 _test_case test_case; iterate() local
11702 verifyXFBData(const _test_case& test_case, const unsigned char* xfb_data) verifyXFBData() argument
[all...]
/third_party/node/test/fixtures/wpt/url/
H A Durl-setters-a-area.window.js18 var test_case = test_cases[i];
19 var name = "Setting <" + test_case.href + ">." + attribute_to_be_set +
20 " = '" + test_case.new_value + "'";
21 if ("comment" in test_case) {
22 name += " " + test_case.comment;
24 const key = test_case.href.split(":")[0];
27 url.href = test_case.href;
28 url[attribute_to_be_set] = test_case.new_value;
29 for (var attribute in test_case.expected) {
30 assert_equals(url[attribute], test_case
[all...]
H A Durl-setters.any.js18 var test_case = test_cases[i];
19 var name = "Setting <" + test_case.href + ">." + attribute_to_be_set +
20 " = '" + test_case.new_value + "'";
21 if ("comment" in test_case) {
22 name += " " + test_case.comment;
24 const key = test_case.href.split(":")[0];
26 var url = new URL(test_case.href);
27 url[attribute_to_be_set] = test_case.new_value;
28 for (var attribute in test_case.expected) {
29 assert_equals(url[attribute], test_case
[all...]
/third_party/ltp/testcases/kernel/syscalls/pivot_root/
H A Dpivot_root01.c64 static const struct test_case { struct
65 int test_case; member
91 static void run(unsigned int test_case) in run() argument
118 if (test_cases[test_case].test_case != NEW_ROOT_ON_CURRENT_ROOT) in run()
126 if (test_cases[test_case].test_case == PUT_OLD_NOT_UNDERNEATH_NEW_ROOT) { in run()
134 if (test_cases[test_case].test_case == PUT_OLD_NOT_DIR) in run()
140 if (test_cases[test_case] in run()
[all...]
/third_party/mesa3d/src/util/tests/
H A Dfast_urem_by_const_test.cpp66 test_case(uint32_t n, uint32_t d) in test_case() function
84 test_case(n, d); in TEST()
90 test_case(0, 1); in TEST()
91 test_case(0, UINT32_MAX); in TEST()
92 test_case(UINT32_MAX, 1); in TEST()
93 test_case(1, UINT32_MAX); in TEST()
94 test_case(UINT32_MAX, UINT32_MAX); in TEST()
95 test_case(UINT32_MAX, UINT32_MAX - 1); in TEST()
96 test_case(UINT32_MAX - 1, UINT32_MAX - 1); in TEST()
97 test_case(UINT32_MA in TEST()
[all...]
/third_party/ltp/testcases/kernel/syscalls/get_mempolicy/
H A Dget_mempolicy01.c40 struct test_case { struct
45 int (*pre_test)(struct test_case *tc);
46 int (*alloc)(struct test_case *tc);
50 static int test_set_mempolicy_default(struct test_case *tc);
51 static int test_set_mempolicy_none(struct test_case *tc);
52 static int test_mbind_none(struct test_case *tc);
53 static int test_mbind_default(struct test_case *tc);
55 static struct test_case tcase[] = {
112 static int test_set_mempolicy_default(struct test_case *tc) in test_set_mempolicy_default()
118 static int test_set_mempolicy_none(struct test_case *t
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dpow10_helper_test.cc110 for (const TestCase& test_case : kTestCases) { in TEST()
111 EXPECT_EQ(Pow10(test_case.power), in TEST()
112 std::ldexp(test_case.significand, test_case.radix)) in TEST()
113 << absl::StrFormat("Failure for Pow10(%d): %a vs %a", test_case.power, in TEST()
114 Pow10(test_case.power), in TEST()
115 std::ldexp(test_case.significand, test_case.radix)); in TEST()
/third_party/ltp/testcases/network/lib6/
H A Din6_02.c30 } test_case[] = { variable
52 for (i = 0; i < ARRAY_SIZE(test_case); ++i) { in if_nametoindex_test()
53 if (test_case[i].name == NULL) { in if_nametoindex_test()
58 TEST(if_nametoindex(test_case[i].name)); in if_nametoindex_test()
59 if (!TST_RET != !test_case[i].nonzero) { in if_nametoindex_test()
61 test_case[i].name, TST_RET, in if_nametoindex_test()
62 test_case[i].nonzero ? "non" : ""); in if_nametoindex_test()
67 if (!pifn || strcmp(test_case[i].name, pifn)) { in if_nametoindex_test()
70 test_case[i].name, TST_RET, in if_nametoindex_test()
76 test_case[ in if_nametoindex_test()
[all...]
/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod07.c87 static void mknod_verify(const struct test_case_t *test_case);
152 static void mknod_verify(const struct test_case_t *test_case) in mknod_verify() argument
154 TEST(mknod(test_case->pathname, test_case->mode, in mknod_verify()
155 makedev(test_case->major, test_case->minor))); in mknod_verify()
162 if (TEST_ERRNO == test_case->exp_errno) { in mknod_verify()
167 "%d - %s", test_case->exp_errno, in mknod_verify()
168 strerror(test_case->exp_errno)); in mknod_verify()
/third_party/ltp/testcases/kernel/syscalls/mprotect/
H A Dmprotect01.c52 struct test_case { struct
57 void (*setupfunc) (struct test_case *self);
62 static void setup1(struct test_case *self);
63 static void setup2(struct test_case *self);
64 static void setup3(struct test_case *self);
68 struct test_case TC[] = {
123 static void setup1(struct test_case *self) in setup1()
128 static void setup2(struct test_case *self) in setup2()
139 static void setup3(struct test_case *self) in setup3()
/third_party/python/Lib/unittest/test/
H A Dtest_result.py219 test_case, formatted_exc = result.failures[0]
220 self.assertIs(test_case, test)
378 test_case, formatted_exc = result.errors[0]
379 self.assertIs(test_case, test)
398 test_case, formatted_exc = result.errors[0]
428 test_case, formatted_exc = result.errors[0]
429 self.assertIs(test_case, subtest)
431 test_case, formatted_exc = result.failures[0]
432 self.assertIs(test_case, subtest)
918 test_case, formatted_ex
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dcmap_test.cc104 ::std::ostream& operator<<(::std::ostream& os, const CMapTestCase *test_case) { in operator <<() argument
106 << test_case->font_name() << ", " in operator <<()
107 << test_case->first_platform_id() << ", " in operator <<()
108 << test_case->first_encoding_id() << ", " in operator <<()
109 << test_case->first_charset_name() << ", " in operator <<()
110 << test_case->second_platform_id() << ", " in operator <<()
111 << test_case->second_encoding_id() << ", " in operator <<()
112 << test_case->second_charset_name() << ", " in operator <<()
113 << test_case->low_char() << ", " in operator <<()
114 << test_case in operator <<()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dfreeze_spec_const_test.cpp38 auto& test_case = GetParam(); in TEST_P() local
41 test_case.type_decl, test_case.spec_const}; in TEST_P()
44 test_case.type_decl, test_case.expected_frozen_const}; in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dfreeze_spec_const_test.cpp38 auto& test_case = GetParam(); in TEST_P() local
41 test_case.type_decl, test_case.spec_const}; in TEST_P()
44 test_case.type_decl, test_case.expected_frozen_const}; in TEST_P()
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dtest_data_generation.py34 from . import test_case namespace
96 def create_test_case(self) -> test_case.TestCase:
98 tc = test_case.TestCase()
108 def generate_function_tests(cls) -> Iterator[test_case.TestCase]:
134 def generate_tests(cls) -> Iterator[test_case.TestCase]:
169 test_cases: Iterable[test_case.TestCase]) -> None:
175 test_case.write_data_file(filename, test_cases)
179 targets = {} # type: Dict[str, Callable[..., Iterable[test_case.TestCase]]]
/third_party/spirv-tools/test/opt/
H A Dfreeze_spec_const_test.cpp37 auto& test_case = GetParam(); in TEST_P() local
40 test_case.type_decl, test_case.spec_const}; in TEST_P()
43 test_case.type_decl, test_case.expected_frozen_const}; in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
H A DesextcDrawElementsBaseVertexTests.cpp643 const _test_case& test_case = *test_cases_iterator; in executeTestCases() local
648 switch (test_case.index_type) in executeTestCases()
664 } /* switch (test_case.index_type) */ in executeTestCases()
667 setUpFunctionalTestObjects(test_case.use_clientside_vertex_data, test_case.use_clientside_index_data, in executeTestCases()
668 test_case.use_tessellation_shader_stage, test_case.use_geometry_shader_stage, in executeTestCases()
669 test_case.use_vertex_attrib_binding, test_case.use_overflow_test_vertices); in executeTestCases()
677 switch (test_case in executeTestCases()
[all...]

Completed in 55 milliseconds

1234567