/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | comparisons_test.cc | 166 bool expected_data[] = {true, false, false, true}; in TF_LITE_MICRO_TEST() local 172 input2_data, expected_data, expected_dim, output_data); in TF_LITE_MICRO_TEST() 182 bool expected_data[] = {true, false, false, false}; in TF_LITE_MICRO_TEST() local 188 input2_data, expected_data, expected_dim, output_data); in TF_LITE_MICRO_TEST() 198 bool expected_data[] = {false, false, true, false}; in TF_LITE_MICRO_TEST() local 203 input2_data, expected_data, expected_dim, output_data); in TF_LITE_MICRO_TEST() 213 bool expected_data[] = {false, false, true, false}; in TF_LITE_MICRO_TEST() local 219 input2_data, expected_data, expected_dim, output_data); in TF_LITE_MICRO_TEST() 229 bool expected_data[] = {false, false, false, false, in TF_LITE_MICRO_TEST() local 236 input2_data, expected_data, expected_dim, output_data); in TF_LITE_MICRO_TEST() [all …]
|
/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/ |
D | format_converter_test.cc | 41 const std::vector<int> expected_data = {6, 0, 9, 8, 0, 0, 0, 0, 5, 0, 0, 7}; in TEST() local 42 EXPECT_EQ(expected_data, data); in TEST() 44 converter.SparseToDense(expected_data.data()); in TEST() 49 converter.SparseToDense(expected_data.data(), dense_data.size(), in TEST() 72 const std::vector<int> expected_data = {6, 0, 9, 8, 5, 0, 0, 7}; in TEST() local 73 EXPECT_EQ(expected_data, data); in TEST() 75 converter.SparseToDense(expected_data.data()); in TEST() 80 converter.SparseToDense(expected_data.data(), dense_data.size(), in TEST() 103 const std::vector<int> expected_data = {6, 9, 8, 5, 7}; in TEST() local 104 EXPECT_EQ(expected_data, data); in TEST() [all …]
|
/external/deqp/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 …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cVertexAttribBindingTests.cpp | 377 Vec4 expected_data[64]; member in gl4cts::__anonb14fc6780111::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 …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cVertexAttribBindingTests.cpp | 425 Vec4 expected_data[60]; member in glcts::__anon333a7d290111::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 …]
|
/external/angle/src/tests/deqp_support/ |
D | es31cVertexAttribBindingTests_override.cpp | 410 Vec4 expected_data[60]; member in glcts::__anon3efc2d7d0111::BasicInputBase 419 expected_data[i] = Vec4(0.0f); in Setup() 488 std::vector<GLubyte> zero(sizeof(expected_data)); in Run() 490 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(expected_data), &zero[0], in Run() 515 if (!ColorEqual(expected_data[i], data[i], Vec4(0.01f))) in Run() 520 << ", data should be: " << expected_data[i][0] << " " << expected_data[i][1] in Run() 521 << " " << expected_data[i][2] << " " << expected_data[i][3] in Run() 572 expected_data[1] = Vec4(1.0f, 2.0f, 3.0f, 1.0f); in Run() 573 expected_data[16] = Vec4(4.0f, 5.0f, 6.0f, 1.0f); in Run() 628 expected_data[0] = Vec4(1.0f, 2.0f, 0.0f, 1.0f); in Run() [all …]
|
/external/scapy/test/tls/ |
D | travis_test_server.py | 40 def check_output_for_data(out, err, expected_data): argument 45 if expected_data: 48 if line == expected_data: 54 def run_tls_test_server(expected_data, q): argument 66 correct, out_e = check_output_for_data(out, err, expected_data)
|
/external/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()
|
/external/libchrome/base/ |
D | linux_util.cc | 158 pid_t FindThreadIDWithSyscall(pid_t pid, const std::string& expected_data, in FindThreadIDWithSyscall() argument 167 std::unique_ptr<char[]> syscall_data(new char[expected_data.length()]); in FindThreadIDWithSyscall() 176 bool read_ret = ReadFromFD(fd, syscall_data.get(), expected_data.length()); in FindThreadIDWithSyscall() 181 if (0 == strncmp(expected_data.c_str(), syscall_data.get(), in FindThreadIDWithSyscall() 182 expected_data.length())) { in FindThreadIDWithSyscall()
|
D | linux_util.h | 33 const std::string& expected_data,
|
/external/deqp/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);
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs_test.py | 53 self.expected_data = { 88 self.assertEquals(len(prefs), len(self.expected_data)) 89 self.assertEquals(prefs.AsDict(), self.expected_data) 96 self.assertEquals(prefs.AsDict(), self.expected_data) 157 self.assertEquals(prefs.AsDict(), self.expected_data) # loaded and ready 191 self.assertEquals(prefs.AsDict(), self.expected_data)
|
/external/libbrillo/brillo/http/ |
D | http_form_data_test.cc | 101 const char expected_data[] = in TEST() local 121 EXPECT_EQ(expected_data, GetFormFieldData(&form_field)); in TEST() 177 const char expected_data[] = in TEST() local 200 EXPECT_EQ(expected_data, (std::string{data.begin(), data.end()})); in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | convolution_variants_test.cc | 415 std::vector<float> expected_data = {1, 2, 3, 4, 5, 6, 7, 8, in XLA_TEST_F() local 417 Array4D<float> expected(16, 1, 1, 1, expected_data); in XLA_TEST_F() 444 std::vector<float> expected_data(bs); in XLA_TEST_F() local 446 expected_data[i] = 10 * (i + 1); in XLA_TEST_F() 448 Array4D<float> expected(bs, 1, 1, 1, expected_data); in XLA_TEST_F() 475 std::vector<float> expected_data = { in XLA_TEST_F() local 480 Array4D<float> expected(bs, 1, 1, 1, expected_data); in XLA_TEST_F() 504 std::vector<float> expected_data = { in XLA_TEST_F() local 508 Array4D<float> expected(16, 1, 1, 1, expected_data); in XLA_TEST_F() 586 std::vector<float> expected_data = { in XLA_TEST_F() local [all …]
|
/external/pdfium/core/fxcodec/gif/ |
D | cfx_lzwdecompressor_unittest.cpp | 117 uint8_t expected_data[] = {0x00}; in TEST() local 118 uint8_t output_data[FX_ArraySize(expected_data)]; in TEST() 127 EXPECT_TRUE(0 == memcmp(expected_data, output_data, sizeof(expected_data))); in TEST()
|
/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/python/ |
D | format_converter_extension_test.py | 65 expected_data = [1.0, 0.0, 0.0, 4.0, 2.0, 3.0, 0.0, 0.0, 5.0, 0.0, 0.0, 6.0] 67 self.assertTrue(np.allclose(expected_data, sparse_data))
|
/external/openscreen/discovery/mdns/ |
D | mdns_sender_unittest.cc | 27 ACTION_P(VoidPointerMatchesBytes, expected_data) { in ACTION_P() argument 29 for (size_t i = 0; i < expected_data.size(); ++i) { in ACTION_P() 30 EXPECT_EQ(actual_data[i], expected_data[i]); in ACTION_P()
|
/external/fonttools/Tests/ttLib/tables/ |
D | T_S_I__0_test.py | 84 def test_compile(table, numGlyphs, indices, extra_indices, expected_data): argument 89 assert data == expected_data
|
/external/pigweed/pw_hdlc/ |
D | encoder_test.cc | 37 constexpr auto expected_data = (__VA_ARGS__); \ 38 EXPECT_EQ(writer_.bytes_written(), expected_data.size()); \ 41 writer_.data(), expected_data.data(), writer_.bytes_written()), \
|
/external/openscreen/osp/impl/presentation/ |
D | presentation_connection_unittest.cc | 200 const std::vector<uint8_t> expected_data = data; in TEST_F() local 202 MakeEchoResponse(expected_data); in TEST_F() 207 EXPECT_CALL(mock_receiver_delegate, OnBinaryMessage(expected_data)) in TEST_F()
|
/external/libchrome/base/files/ |
D | file_proxy_unittest.cc | 266 const char expected_data[] = "bleh"; in TEST_F() local 267 int expected_bytes = arraysize(expected_data); in TEST_F() 269 base::WriteFile(TestPath(), expected_data, expected_bytes)); in TEST_F() 283 EXPECT_EQ(expected_data[i], buffer_[i]); in TEST_F()
|
/external/oss-fuzz/infra/build/functions/ |
D | update_build_status_test.py | 270 expected_data = { 297 expected_data, status_filename)
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_compare.py | 35 def comparator_test_helper(self, comparator, expected_data) : argument 36 data = expected_data[:] 53 self.assertEqual(data, expected_data, 55 % (comparator, expected_data, data))
|