/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cVertexAttribBindingTests.cpp | 377 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 …]
|
D | gl4cES31CompatibilityShaderStorageBufferObjectTests.cpp | 3600 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 …]
|
D | gl4cShaderStorageBufferObjectTests.cpp | 3807 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 …]
|
D | gl4cTextureViewTests.cpp | 9792 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/ |
D | es31cVertexAttribBindingTests.cpp | 425 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 …]
|
D | es31cShaderStorageBufferObjectTests.cpp | 3610 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/ |
D | esextcTextureBorderClampParameterTextureBorderColor.hpp | 91 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);
|
D | esextcTextureBorderClampParameterTextureBorderColor.cpp | 416 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/ |
D | tcp_client.pl | 71 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)),
|
D | test_generate_test_code.py | 1861 expected_data = '''My test 1 1882 self.assertEqual(out_data_f.getvalue(), expected_data)
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_helpers_unittest.cc | 156 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/ |
D | esextcTextureBufferBufferParameters.cpp | 107 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()
|
D | esextcTextureBufferBufferParameters.hpp | 122 …: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/ |
D | sancov_formatter_test.py | 216 for file_name, expected_data in EXPECTED_SPLIT_FILES: 220 self.assertEquals(expected_data, json.load(f))
|
/third_party/lwip/test/unit/tcp/ |
D | test_tcp_oos.c | 174 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()
|
D | test_tcp.c | 176 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()
|
D | tcp_helper.h | 18 char* expected_data; member
|
D | tcp_helper.c | 196 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/ |
D | adaptive_demux_common.c | 188 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()
|
D | adaptive_demux_common.h | 74 const guint8* expected_data; member
|
/third_party/googletest/googletest/test/ |
D | googletest-listener-test.cc | 245 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/ |
D | esextcGeometryShaderLimits.cpp | 1398 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()
|
D | esextcGeometryShaderLayeredRendering.cpp | 466 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/ |
D | glcRobustBufferAccessBehaviorTests.cpp | 3353 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/ |
D | debugger.c | 739 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()
|