Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp377 Vec4 expected_data[64]; member in gl4cts::__anon99bd9f110111::BasicInputBase
386 expected_data[i] = Vec4(0.0f); in Setup()
429 std::vector<GLubyte> zero(sizeof(expected_data)); in Run()
431 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(expected_data), &zero[0], GL_DYNAMIC_DRAW); in Run()
453 if (!ColorEqual(expected_data[i], data[i], Vec4(0.01f))) in Run()
457 … << " " << data[i][3] << ", data should be: " << expected_data[i][0] << " " << expected_data[i][1] in Run()
458 << " " << expected_data[i][2] << " " << expected_data[i][3] << ", index is: " << i in Run()
509 expected_data[1] = Vec4(1.0f, 2.0f, 3.0f, 1.0f); in Run()
510 expected_data[17] = Vec4(4.0f, 5.0f, 6.0f, 1.0f); in Run()
565 expected_data[0] = Vec4(1.0f, 2.0f, 0.0f, 1.0f); in Run()
[all …]
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp3600 std::vector<GLubyte> expected_data; in Run() local
3601 const char* glsl_vs = GetInput(in_data, expected_data); in Run()
3614 std::vector<GLubyte> zero(expected_data.size()); in Run()
3616 …glBufferData(GL_SHADER_STORAGE_BUFFER, (GLsizeiptr)expected_data.size(), &zero[0], GL_STATIC_DRAW); in Run()
3637 …(GLubyte*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, (GLsizeiptr)expected_data.size(), GL_MAP_R… in Run()
3642 for (size_t i = 0; i < expected_data.size(); ++i) in Run()
3644 if (expected_data[i] != out_data[i]) in Run()
3648 << tcu::toHex(expected_data[i]) << tcu::TestLog::EndMessage; in Run()
3686 std::vector<GLubyte> expected_data; in Run() local
3689 ss << "layout(local_size_x = 1) in;\n" << GetInput(in_data, expected_data); in Run()
[all …]
Dgl4cShaderStorageBufferObjectTests.cpp3807 std::vector<GLubyte> expected_data; in Run() local
3808 const char* glsl_vs = GetInput(in_data, expected_data); in Run()
3819 std::vector<GLubyte> zero(expected_data.size()); in Run()
3821 …glBufferData(GL_SHADER_STORAGE_BUFFER, (GLsizeiptr)expected_data.size(), &zero[0], GL_STATIC_DRAW); in Run()
3834 std::vector<GLubyte> out_data(expected_data.size()); in Run()
3842 if (expected_data[i] != out_data[i]) in Run()
3846 << tcu::toHex(expected_data[i]) << tcu::TestLog::EndMessage; in Run()
3883 std::vector<GLubyte> expected_data; in Run() local
3886 ss << "layout(local_size_x = 1) in;\n" << GetInput(in_data, expected_data); in Run()
3896 std::vector<GLubyte> zero(expected_data.size()); in Run()
[all …]
Dgl4cTextureViewTests.cpp9792 const unsigned char expected_data[] = { in iterate() local
9799 if (de::abs(expected_data[0] - pixel_data_ptr[0]) > epsilon || in iterate()
9800 de::abs(expected_data[1] - pixel_data_ptr[1]) > epsilon || in iterate()
9801 de::abs(expected_data[2] - pixel_data_ptr[2]) > epsilon || in iterate()
9802 de::abs(expected_data[3] - pixel_data_ptr[3]) > epsilon) in iterate()
9808 << expected_data[0] << ", " << expected_data[1] << ", " << expected_data[2] in iterate()
9809 << ", " << expected_data[3] << ")" in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp425 Vec4 expected_data[60]; member in glcts::__anona6f49d620111::BasicInputBase
434 expected_data[i] = Vec4(0.0f); in Setup()
493 std::vector<GLubyte> zero(sizeof(expected_data)); in Run()
495 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(expected_data), &zero[0], GL_DYNAMIC_DRAW); in Run()
518 if (!ColorEqual(expected_data[i], data[i], Vec4(0.01f))) in Run()
522 … << " " << data[i][3] << ", data should be: " << expected_data[i][0] << " " << expected_data[i][1] in Run()
523 << " " << expected_data[i][2] << " " << expected_data[i][3] << ", index is: " << i in Run()
574 expected_data[1] = Vec4(1.0f, 2.0f, 3.0f, 1.0f); in Run()
575 expected_data[16] = Vec4(4.0f, 5.0f, 6.0f, 1.0f); in Run()
630 expected_data[0] = Vec4(1.0f, 2.0f, 0.0f, 1.0f); in Run()
[all …]
Des31cShaderStorageBufferObjectTests.cpp3610 std::vector<GLubyte> expected_data; in Run() local
3611 const char* glsl_vs = GetInput(in_data, expected_data); in Run()
3624 std::vector<GLubyte> zero(expected_data.size()); in Run()
3626 …glBufferData(GL_SHADER_STORAGE_BUFFER, (GLsizeiptr)expected_data.size(), &zero[0], GL_STATIC_DRAW); in Run()
3647 …(GLubyte*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, (GLsizeiptr)expected_data.size(), GL_MAP_R… in Run()
3652 for (size_t i = 0; i < expected_data.size(); ++i) in Run()
3654 if (expected_data[i] != out_data[i]) in Run()
3658 << tcu::toHex(expected_data[i]) << tcu::TestLog::EndMessage; in Run()
3696 std::vector<GLubyte> expected_data; in Run() local
3699 ss << "layout(local_size_x = 1) in;\n" << GetInput(in_data, expected_data); in Run()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampParameterTextureBorderColor.hpp91 const glw::GLfloat* expected_data);
94 const glw::GLint* expected_data);
97 const glw::GLint* expected_data);
100 const glw::GLuint* expected_data);
102 bool verifyGLGetTexParameterfvResult(glw::GLenum target, const glw::GLfloat* expected_data);
104 bool verifyGLGetTexParameterivResult(glw::GLenum target, const glw::GLint* expected_data);
106 bool verifyGLGetTexParameterIivResult(glw::GLenum target, const glw::GLint* expected_data);
108 bool verifyGLGetTexParameterIuivResult(glw::GLenum target, const glw::GLuint* expected_data);
DesextcTextureBorderClampParameterTextureBorderColor.cpp416 glw::GLuint sampler_id, glw::GLenum target, const glw::GLfloat* expected_data) in verifyGLGetSamplerParameterfvResult() argument
430 if (expected_data[i] != buffer[i]) in verifyGLGetSamplerParameterfvResult()
434 expectedDataStream << expected_data[j] << ","; in verifyGLGetSamplerParameterfvResult()
462 const glw::GLint* expected_data) in verifyGLGetSamplerParameterivResult() argument
476 if (expected_data[i] != buffer[i]) in verifyGLGetSamplerParameterivResult()
480 expectedDataStream << expected_data[j] << ","; in verifyGLGetSamplerParameterivResult()
505 glw::GLuint sampler_id, glw::GLenum target, const glw::GLint* expected_data) in verifyGLGetSamplerParameterIivResult() argument
519 if (expected_data[i] != buffer[i]) in verifyGLGetSamplerParameterIivResult()
523 expectedDataStream << expected_data[j] << ","; in verifyGLGetSamplerParameterIivResult()
547 glw::GLuint sampler_id, glw::GLenum target, const glw::GLuint* expected_data) in verifyGLGetSamplerParameterIuivResult() argument
[all …]
/third_party/mbedtls/tests/scripts/
Dtcp_client.pl71 my $expected_data = parse_hex($expected_hex);
73 while ($start_offset < length($expected_data)) {
75 my $ok = $connection->recv($actual_data, length($expected_data));
79 if (($actual_data ^ substr($expected_data, $start_offset)) =~ /[^\000]/) {
82 ord(substr($expected_data, $start_offset + $-[0], 1)),
Dtest_generate_test_code.py1861 expected_data = '''My test 1
1882 self.assertEqual(out_data_f.getvalue(), expected_data)
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers_unittest.cc156 uint8 expected_data[] = { in TEST() local
163 string expected((const char*)expected_data, sizeof(expected_data)); in TEST()
181 uint8 expected_data[] = { in TEST() local
199 string expected((const char*)expected_data, sizeof(expected_data)); in TEST()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferBufferParameters.cpp107 glw::GLint expected_data) in queryBufferParameteriv() argument
118 if (result != expected_data) in queryBufferParameteriv()
123 << result << " which is not equal to expected value " << expected_data << "." in queryBufferParameteriv()
139 glw::GLint64 expected_data) in queryBufferParameteri64v() argument
150 if (result != expected_data) in queryBufferParameteri64v()
155 << result << " which is not equal to expected value " << expected_data << "." in queryBufferParameteri64v()
DesextcTextureBufferBufferParameters.hpp122 …:GLboolean queryBufferParameteriv(glw::GLenum target, glw::GLenum pname, glw::GLint expected_data);
123 …oolean queryBufferParameteri64v(glw::GLenum target, glw::GLenum pname, glw::GLint64 expected_data);
/third_party/node/deps/v8/tools/sanitizers/
Dsancov_formatter_test.py216 for file_name, expected_data in EXPECTED_SPLIT_FILES:
220 self.assertEquals(expected_data, json.load(f))
/third_party/lwip/test/unit/tcp/
Dtest_tcp_oos.c174 counters.expected_data = data; in START_TEST()
310 counters.expected_data = data; in START_TEST()
480 counters.expected_data = data_full_wnd; in START_TEST()
567 counters.expected_data = data_full_wnd; in START_TEST()
653 counters.expected_data = data_full_wnd; in START_TEST()
728 counters.expected_data = data_full_wnd; in START_TEST()
825 counters.expected_data = data_full_wnd; in test_tcp_recv_ooseq_double_FINs()
Dtest_tcp.c176 counters.expected_data = data; in START_TEST()
184 p = tcp_create_rx_segment(pcb, counters.expected_data, data_len, 0, 0, 0); in START_TEST()
224 counters.expected_data = data; in START_TEST()
232 …p = tcp_create_rx_segment(pcb, counters.expected_data, data_len, (u32_t)(0-(data_len-new_data_len)… in START_TEST()
314 counters.expected_data = &data; in START_TEST()
350 counters.expected_data = &data; in START_TEST()
399 counters.expected_data = data; in START_TEST()
407 p = tcp_create_rx_segment(pcb, counters.expected_data, data_len, 0, 0, 0); in START_TEST()
591 p1 = tcp_create_rx_segment(pcb, counters.expected_data, data_len, 0, 0, 0); in START_TEST()
Dtcp_helper.h18 char* expected_data; member
Dtcp_helper.c196 if(counters->expected_data == NULL) { in test_tcp_counters_check_rxdata()
205 EXPECT_RET(data[i] == counters->expected_data[received]); in test_tcp_counters_check_rxdata()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dadaptive_demux_common.c188 if (testOutputStreamData->expected_data) { in gst_adaptive_demux_test_check_received_data()
191 &testOutputStreamData->expected_data[streamOffset], size) == 0) { in gst_adaptive_demux_test_check_received_data()
207 if (testOutputStreamData->expected_data) { in gst_adaptive_demux_test_check_received_data()
209 expected = testOutputStreamData->expected_data[streamOffset + i]; in gst_adaptive_demux_test_check_received_data()
Dadaptive_demux_common.h74 const guint8* expected_data; member
/third_party/googletest/googletest/test/
Dgoogletest-listener-test.cc245 const char* const* expected_data, in VerifyResults() argument
257 ASSERT_STREQ(expected_data[i], data[i].c_str()) << "at position " << i; in VerifyResults()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLimits.cpp1398 const glw::GLint expected_data = ((1 + m_max_uniform_components) * m_max_uniform_components) / 2; in verifyResult() local
1404 if (0 != memcmp(transform_feedback_data, &expected_data, m_buffer_size)) in verifyResult()
1406 m_testCtx.getLog() << tcu::TestLog::Message << "Wrong result! Expected: " << expected_data in verifyResult()
1583 const glw::GLint expected_data = ((1 + m_max_uniform_blocks) * m_max_uniform_blocks) / 2; in verifyResult() local
1589 if (0 != memcmp(transform_feedback_data, &expected_data, m_buffer_size)) in verifyResult()
1591 m_testCtx.getLog() << tcu::TestLog::Message << "Wrong result! Expected: " << expected_data in verifyResult()
1721 …const glw::GLint expected_data = ((1 + m_max_geometry_input_components) * m_max_geometry_input_com… in verifyResult() local
1727 if (0 != memcmp(transform_feedback_data, &expected_data, m_buffer_size)) in verifyResult()
1729 m_testCtx.getLog() << tcu::TestLog::Message << "Wrong result! Expected: " << expected_data in verifyResult()
DesextcGeometryShaderLayeredRendering.cpp466 const unsigned char* expected_data = in iterate() local
600 if (memcmp(data_ptr, expected_data, TEXTURE_N_COMPONENTS) != 0) in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp3353 const GLfloat* expected_data = 0; in verifyResults() local
3359 expected_data = expected_data_valid; in verifyResults()
3395 expected_data = expected_data_invalid_source; in verifyResults()
3434 expected_data = expected_data_invalid_destination; in verifyResults()
3445 if (0 != memcmp(expected_data, buffer_data, size)) in verifyResults()
3609 const GLfloat* expected_data = 0; in verifyResults() local
3614 expected_data = expected_data_valid; in verifyResults()
3618 expected_data = expected_data_invalid_source; in verifyResults()
3626 if (0 != memcmp(expected_data, buffer_data, size)) in verifyResults()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c739 uint32_t expected_data = uint8_data_p->uint8_size - uint8_data_p->uint8_offset; in jerry_debugger_process_message() local
743 if (message_size > expected_data) in jerry_debugger_process_message()
756 if (message_size < expected_data) in jerry_debugger_process_message()

12