/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/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cVertexAttribBindingTests.cpp | 377 Vec4 expected_data[64]; member in gl4cts::__anonfe71a7d20111::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 …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cVertexAttribBindingTests.cpp | 425 Vec4 expected_data[60]; member in glcts::__anon87a146c30111::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 …]
|
/third_party/glib/gio/tests/ |
D | filter-streams.c | 150 gpointer expected_data; variable 173 g_assert (user_data == expected_data); in in_cb() 243 expected_data = g_malloc (20); in test_input_async() 245 g_input_stream_close_async (f1, 0, NULL, in_cb, expected_data); in test_input_async() 253 g_free (expected_data); in test_input_async() 259 expected_data = g_malloc (20); in test_input_async() 261 g_input_stream_close_async (f2, 0, NULL, in_cb, expected_data); in test_input_async() 269 g_free (expected_data); in test_input_async() 285 g_assert (user_data == expected_data); in out_cb() 346 expected_data = g_malloc (20); in test_output_async() [all …]
|
D | socket-service.c | 420 …const guint8 expected_data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,… in read_read_write_async_cb() local 426 g_assert_cmpmem (expected_data, sizeof expected_data, data->data, bytes_read); in read_read_write_async_cb()
|
/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)),
|
/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/mindspore/tests/ut/python/dataset/ |
D | test_opt.py | 41 expected_data = np.array([[[1], [2]], [[3], [0]]]) 43 np.testing.assert_array_equal(data_row[0], expected_data[i])
|
/third_party/mindspore/tests/st/summary/ |
D | test_summary_ops.py | 102 expected_data = next(ds_train_iter)['image'].asnumpy() 115 assert np.allclose(expected_data, image_data) 116 assert np.allclose(expected_data, tensor_data)
|
/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/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 | tcp_helper.h | 18 char* expected_data; member
|
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.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/googletest/googletest/test/ |
D | googletest-listener-test.cc | 247 const char* const* expected_data, in VerifyResults() argument 259 ASSERT_STREQ(expected_data[i], data[i].c_str()) 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/libsoup/tests/ |
D | requester-test.c | 651 const char *expected_data, int expected_len) in do_null_char_request() argument 682 soup_assert_cmpmem (buf, nread, expected_data, expected_len); in do_null_char_request() 694 const char *expected_data; in do_null_char_test_for_session() member 706 test_cases[i].expected_data, test_cases[i].expected_len); in do_null_char_test_for_session()
|
/third_party/jerryscript/tests/unit-core/ |
D | test-typedarray.c | 526 JERRY_VLA (uint8_t, expected_data, element_count); in main() 527 memset (expected_data, expected_value, element_count); in main() 533 … jerry_length_t written = jerry_arraybuffer_write (buffer, offset, expected_data, element_count); in main()
|
/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()
|