Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 - 25 of 72) sorted by relevance

123

/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Ddataflow.cpp214 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local
215 expected_result[11] = {11, 12, 13}; in TEST_F()
216 expected_result[12] = {11, 12, 13}; in TEST_F()
217 expected_result[13] = {11, 12, 13}; in TEST_F()
218 expected_result[14] = {11, 12, 13}; in TEST_F()
219 expected_result[15] = {11, 12, 13, 14}; in TEST_F()
220 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
H A Dcfg_test.cpp68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local
69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local
155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
H A Dfold_test.cpp64 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase()
68 ResultType expected_result; member
99 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P()
800 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
802 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P()
891 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
893 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P()
944 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
946 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetFloat()); in TEST_P()
1011 EXPECT_EQ(result->value(), tc.expected_result); in TEST_P()
2840 ResultType expected_result; global() member
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Ddataflow.cpp214 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local
215 expected_result[11] = {11, 12, 13}; in TEST_F()
216 expected_result[12] = {11, 12, 13}; in TEST_F()
217 expected_result[13] = {11, 12, 13}; in TEST_F()
218 expected_result[14] = {11, 12, 13}; in TEST_F()
219 expected_result[15] = {11, 12, 13, 14}; in TEST_F()
220 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
H A Dcfg_test.cpp68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local
69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local
155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
H A Dfold_test.cpp64 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase()
68 ResultType expected_result; member
99 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P()
802 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
804 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P()
893 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
895 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P()
946 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
948 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetFloat()); in TEST_P()
1013 EXPECT_EQ(result->value(), tc.expected_result); in TEST_P()
2910 ResultType expected_result; global() member
[all...]
/third_party/spirv-tools/test/opt/
H A Ddataflow.cpp213 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local
214 expected_result[11] = {11, 12, 13}; in TEST_F()
215 expected_result[12] = {11, 12, 13}; in TEST_F()
216 expected_result[13] = {11, 12, 13}; in TEST_F()
217 expected_result[14] = {11, 12, 13}; in TEST_F()
218 expected_result[15] = {11, 12, 13, 14}; in TEST_F()
219 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
H A Dcfg_test.cpp68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local
69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local
155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
226 const std::string expected_result = R"(OpCapability Shader in TEST_F() local
271 EXPECT_EQ(optimized_asm, expected_result); in TEST_F()
316 std::list<BasicBlock*> expected_result = {context->get_instr_block(9), in TEST_F() local
319 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
H A Dfold_test.cpp63 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase()
67 ResultType expected_result; member
103 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P()
965 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
967 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P()
1074 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
1076 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetS32()); in TEST_P()
1150 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
1152 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P()
1275 EXPECT_EQ(componenets.size(), tc.expected_result in TEST_P()
3390 ResultType expected_result; global() member
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dtest_eu_validate.cpp199 bool expected_result; in TEST_P() member
229 EXPECT_EQ(test_case[i].expected_result, validate(p)); in TEST_P()
286 bool expected_result; in TEST_P() member
311 if (test_case[i].expected_result) { in TEST_P()
394 bool expected_result; in TEST_P() member
410 if (test_case[i].expected_result) { in TEST_P()
475 bool expected_result; in TEST_P() member
501 if (test_case[i].expected_result) { in TEST_P()
567 bool expected_result; in TEST_P() member
580 EXPECT_EQ(test_case[i].expected_result, validat in TEST_P()
835 bool expected_result; TEST_P() member
1165 bool expected_result; TEST_P() member
1253 bool expected_result; TEST_P() member
1440 bool expected_result; TEST_P() member
1502 bool expected_result; TEST_P() member
1710 bool expected_result; TEST_P() member
1853 bool expected_result; TEST_P() member
1910 bool expected_result; TEST_P() member
1963 bool expected_result; TEST_P() member
2013 bool expected_result; TEST_P() member
2068 bool expected_result; TEST_P() member
2105 bool expected_result; TEST_P() member
2156 bool expected_result; TEST_P() member
2345 bool expected_result; TEST_P() member
2479 bool expected_result; TEST_P() member
2633 bool expected_result; TEST_P() member
2715 bool expected_result; TEST_P() member
2845 bool expected_result; TEST_P() member
[all...]
H A Dtest_fs_copy_propagation.cpp164 bool expected_result; in TEST_F() member
166 /* conditional mod, imm, expected_result */ in TEST_F()
201 EXPECT_EQ(test[i].expected_result, copy_propagation(v)); in TEST_F()
212 EXPECT_EQ(test[i].expected_result, sel->saturate); in TEST_F()
214 if (test[i].expected_result) { in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_replace_boolean_constant_with_constant_binary.cpp179 bool expected_result = (boolean_constant->opcode() == SpvOpConstantTrue); in IsApplicable() local
191 expected_result)) { in IsApplicable()
198 expected_result)) { in IsApplicable()
210 binary_opcode, expected_result)) { in IsApplicable()
217 binary_opcode, expected_result)) { in IsApplicable()
225 binary_opcode, expected_result)) { in IsApplicable()
232 binary_opcode, expected_result)) { in IsApplicable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_replace_boolean_constant_with_constant_binary.cpp179 bool expected_result = (boolean_constant->opcode() == SpvOpConstantTrue); in IsApplicable() local
191 expected_result)) { in IsApplicable()
198 expected_result)) { in IsApplicable()
210 binary_opcode, expected_result)) { in IsApplicable()
217 binary_opcode, expected_result)) { in IsApplicable()
225 binary_opcode, expected_result)) { in IsApplicable()
232 binary_opcode, expected_result)) { in IsApplicable()
/third_party/openssl/test/
H A Decstresstest.c71 BIGNUM *result = NULL, *expected_result = NULL; in test_curve() local
89 if (!TEST_true(BN_hex2bn(&expected_result, kP256DefaultResult)) in test_curve()
90 || !TEST_ptr(expected_result) in test_curve()
91 || !TEST_BN_eq(result, expected_result)) in test_curve()
100 BN_free(expected_result); in test_curve()
H A Dssl_test_ctx_test.c83 || !TEST_int_eq(ctx->expected_result, ctx2->expected_result) in testctx_eq()
155 fixture->expected_ctx->expected_result = SSL_TEST_SUCCESS; in test_empty_configuration()
169 fixture->expected_ctx->expected_result = SSL_TEST_SERVER_FAIL; in test_good_configuration()
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_replace_boolean_constant_with_constant_binary.cpp180 bool expected_result = in IsApplicable() local
193 expected_result)) { in IsApplicable()
200 expected_result)) { in IsApplicable()
212 binary_opcode, expected_result)) { in IsApplicable()
219 binary_opcode, expected_result)) { in IsApplicable()
227 binary_opcode, expected_result)) { in IsApplicable()
234 binary_opcode, expected_result)) { in IsApplicable()
/third_party/jerryscript/tests/unit-ext/module/
H A Djerry-module-test.c175 assert_number (jerry_value_t js_value, double expected_result) in assert_number() argument
178 TEST_ASSERT (jerry_get_number_value (js_value) == expected_result); in assert_number()
182 eval_one (const char *the_string, double expected_result) in eval_one() argument
187 assert_number (js_eval_result, expected_result); in eval_one()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl27.c109 int lc, expected_result = -1; in main() local
120 expected_result = -1; in main()
136 if (TEST_RETURN == expected_result) { in main()
H A Dfcntl28.c106 int lc, expected_result = -1; in main() local
117 expected_result = -1; in main()
133 if (TEST_RETURN == expected_result) { in main()
/third_party/curl/tests/unit/
H A Dunit1655.c84 const DOHcode expected_result; member
115 fail_unless(d == playlist[i].expected_result,
117 if(d == playlist[i].expected_result) {
H A Dunit1604.c83 SANITIZEcode expected_result; member
312 if(res == data[i].expected_result &&
324 expected_ccstr = getcurlcodestr(data[i].expected_result);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
H A DesextcGPUShader5SSBOArrayIndexing.cpp186 glw::GLuint expected_result[m_n_arrays] = { 0, 36, 0, 36 }; in iterate() local
199 if (compute_SSBO[0] != expected_result[index]) in iterate()
201 m_testCtx.getLog() << tcu::TestLog::Message << "Expected Data (" << expected_result[index] << ") " in iterate()
H A DesextcGPUShader5FmaAccuracy.cpp348 * rel_err = delta / expected_result
349 * delta = | expected_result - result |
352 * @param expected_result Expected value
355 void GPUShader5FmaAccuracyTest::calculateRelativeError(glw::GLfloat result, glw::GLfloat expected_result, in calculateRelativeError() argument
358 const glw::GLfloat delta = de::abs(expected_result - result); in calculateRelativeError()
360 relative_error = delta / expected_result; in calculateRelativeError()
/third_party/python/Lib/distutils/tests/
H A Dtest_text_file.py50 def test_input(count, description, file, expected_result):
52 self.assertEqual(result, expected_result)
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cShaderImageSizeTests.cpp457 long Run(int stage, ivec4 expected_result[4]) in Run() argument
548 if (!Equal(map_data[i], expected_result[i])) in Run()
552 << map_data[i][2] << " " << map_data[i][3] << "). Expected value is: (" << expected_result[i][0] in Run()
553 << " " << expected_result[i][1] << " " << expected_result[i][2] << " " << expected_result[i][3] in Run()

Completed in 17 milliseconds

123