Home
last modified time | relevance | path

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

12

/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/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp377 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/
Des31cVertexAttribBindingTests.cpp425 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/
Dfilter-streams.c150 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 …]
Dsocket-service.c420 …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/
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)),
/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/mindspore/tests/ut/python/dataset/
Dtest_opt.py41 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/
Dtest_summary_ops.py102 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/
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/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()
Dtcp_helper.h18 char* expected_data; member
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.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/googletest/googletest/test/
Dgoogletest-listener-test.cc247 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/
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/libsoup/tests/
Drequester-test.c651 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/
Dtest-typedarray.c526 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/
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