Home
last modified time | relevance | path

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

12

/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp377 Vec4 expected_data[64]; member in gl4cts::__anon6b795bda0111::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/
Des31cVertexAttribBindingTests.cpp420 Vec4 expected_data[60]; member in glcts::__anon2442bfcb0111::BasicInputBase
429 expected_data[i] = Vec4(0.0f); in Setup()
490 std::vector<GLubyte> zero(sizeof(expected_data)); in Run()
492 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(expected_data), &zero[0], GL_DYNAMIC_DRAW); in Run()
515 if (!ColorEqual(expected_data[i], data[i], Vec4(0.01f))) in Run()
519 … << " " << data[i][3] << ", data should be: " << expected_data[i][0] << " " << expected_data[i][1] in Run()
520 << " " << expected_data[i][2] << " " << expected_data[i][3] << ", index is: " << i in Run()
571 expected_data[1] = Vec4(1.0f, 2.0f, 3.0f, 1.0f); in Run()
572 expected_data[16] = Vec4(4.0f, 5.0f, 6.0f, 1.0f); in Run()
627 expected_data[0] = Vec4(1.0f, 2.0f, 0.0f, 1.0f); in Run()
[all …]
/external/deqp/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 …]
/external/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor_unittest.cpp117 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()
139 uint8_t expected_data[] = { in TEST() local
150 uint8_t output_data[FX_ArraySize(expected_data)]; in TEST()
159 EXPECT_TRUE(0 == memcmp(expected_data, output_data, sizeof(expected_data))); in TEST()
173 uint8_t expected_data[] = { in TEST() local
185 uint8_t output_data[FX_ArraySize(expected_data)]; in TEST()
194 EXPECT_TRUE(0 == memcmp(expected_data, output_data, sizeof(expected_data))); in TEST()
/external/webrtc/webrtc/base/
Dhttpbase_unittest.cc89 void VerifyDocumentContents(const char* expected_data,
95 void ReadDocumentStreamData(const char* expected_data);
99 void VerifySourceContents(const char* expected_data,
172 void HttpBaseTest::VerifyDocumentContents(const char* expected_data, in VerifyDocumentContents() argument
177 expected_length = strlen(expected_data); in VerifyDocumentContents()
184 EXPECT_TRUE(0 == memcmp(expected_data, mem->GetBuffer(), length)); in VerifyDocumentContents()
222 void HttpBaseTest::ReadDocumentStreamData(const char* expected_data) { in ReadDocumentStreamData() argument
230 const size_t expected_length = strlen(expected_data); in ReadDocumentStreamData()
238 EXPECT_TRUE(0 == memcmp(expected_data + verified_length, buffer, read)); in ReadDocumentStreamData()
282 void HttpBaseTest::VerifySourceContents(const char* expected_data, in VerifySourceContents() argument
[all …]
/external/scapy/test/tls/
Dtravis_test_server.py40 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/
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()
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dmtb_unittest.py205 def _test_finger_path(self, filename, tid, expected_slot, expected_data, argument
211 for time, xy, z in expected_data])
240 expected_data = [# (syn_time, (x, y), z)
267 self._test_finger_path(filename, tid, expected_slot, expected_data)
280 expected_data = [# (syn_time, (x, y), z)
290 self._test_finger_path(filename, tid, expected_slot, expected_data)
310 expected_data = [# (syn_time, (x, y), z)
333 self._test_finger_path(filename, tid, expected_slot, expected_data)
348 expected_data = [# (syn_time, (x, y), z)
365 self._test_finger_path(filename, tid, expected_slot, expected_data,
/external/deqp/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);
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py55 self.expected_data = {'databaseVersion': 107,
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)
151 self.assertEquals(prefs.AsDict(), self.expected_data) # loaded and ready
185 self.assertEquals(prefs.AsDict(), self.expected_data)
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconvolution_variants_test.cc415 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 …]
Dwhile_test.cc349 auto expected_data = in XLA_TEST_F() local
351 auto expected = LiteralUtil::MakeTuple({&expected_data}); in XLA_TEST_F()
510 auto expected_data = LiteralUtil::CreateR1<float>( in XLA_TEST_F() local
512 auto expected = LiteralUtil::MakeTuple({&expected_counter, &expected_data}); in XLA_TEST_F()
602 auto expected_data = LiteralUtil::CreateR0<int32>(7); in XLA_TEST_F() local
603 auto expected = LiteralUtil::MakeTuple({&expected_counter, &expected_data}); in XLA_TEST_F()
882 auto expected_data = LiteralUtil::CreateR1<float>( in XLA_TEST_F() local
884 auto expected = LiteralUtil::MakeTuple({&expected_counter, &expected_data}); in XLA_TEST_F()
/external/u-boot/test/py/tests/
Dtest_fit.py271 expected_data = read_file(expected_fname)
273 assert expected_data == actual_data, failure_msg
283 expected_data = read_file(expected_fname)
285 assert expected_data != actual_data, failure_msg
/external/libbrillo/brillo/http/
Dhttp_form_data_unittest.cc100 const char expected_data[] = in TEST() local
120 EXPECT_EQ(expected_data, GetFormFieldData(&form_field)); in TEST()
176 const char expected_data[] = in TEST() local
199 EXPECT_EQ(expected_data, (std::string{data.begin(), data.end()})); in TEST()
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_arrays_test.py36 expected_data = input_data * 3
38 expected_data))
/external/fonttools/Tests/ttLib/tables/
DT_S_I__0_test.py85 def test_compile(table, numGlyphs, indices, extra_indices, expected_data): argument
90 assert data == expected_data
/external/v8/tools/sanitizers/
Dsancov_formatter_test.py216 for file_name, expected_data in EXPECTED_SPLIT_FILES:
220 self.assertEquals(expected_data, json.load(f))
/external/google-breakpad/src/testing/gtest/test/
Dgtest-listener_test.cc181 const char* const* expected_data, in VerifyResults() argument
193 ASSERT_STREQ(expected_data[i], data[i].c_str()) in VerifyResults()
/external/tensorflow/tensorflow/python/keras/utils/
Dcomposite_tensor_support_test.py119 expected_data = np.concatenate((input_data * 3, input_data * .5), axis=-1)
125 history = model.fit(input_data, expected_data, epochs=10, verbose=0)
/external/python/cpython2/Lib/bsddb/test/
Dtest_compare.py35 def comparator_test_helper(self, comparator, expected_data) : argument
36 data = expected_data[:]
53 self.assertEqual(data, expected_data,
55 % (comparator, expected_data, data))
/external/u-boot/scripts/kconfig/tests/
Dconftest.py227 expected_data = f.read()
228 return compare(self, expected_data)
/external/autotest/client/site_tests/peerd_AdvertiseServices/
Dpeerd_AdvertiseServices.py73 def _check_txt_record_data(self, expected_data, actual_data): argument
75 expected_entries = expected_data.copy()
/external/googletest/googletest/test/
Dgoogletest-listener-test.cc243 const char* const* expected_data, in VerifyResults() argument
255 ASSERT_STREQ(expected_data[i], data[i].c_str()) in VerifyResults()

12