Home
last modified time | relevance | path

Searched refs:expected_bytes (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dbyte_io_unittest.cc85 uint8_t expected_bytes[B + kAlignments]; in TestWrite() local
90 PopulateTestData(expected_bytes + i, test_value, B, big_endian); in TestWrite()
98 EXPECT_EQ(expected_bytes[i + j], bytes[i + j]); in TestWrite()
/external/chromium_org/cc/resources/
Dscoped_resource_unittest.cc64 size_t expected_bytes = 30 * 30 * 4; in TEST() local
65 EXPECT_EQ(expected_bytes, texture->bytes()); in TEST()
/external/chromium_org/base/files/
Dfile_proxy_unittest.cc246 int expected_bytes = arraysize(expected_data); in TEST_F() local
247 ASSERT_EQ(expected_bytes, in TEST_F()
248 base::WriteFile(test_path(), expected_data, expected_bytes)); in TEST_F()
259 EXPECT_EQ(expected_bytes, static_cast<int>(buffer_.size())); in TEST_F()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dprofiledata_unittest.cc170 size_t expected_bytes = num_slots * sizeof filedata[0]; in CheckWithSkips() local
171 ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes); in CheckWithSkips()
172 if (expected_bytes != bytes_read) in CheckWithSkips()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dprofiledata_unittest.cc170 size_t expected_bytes = num_slots * sizeof filedata[0]; in CheckWithSkips() local
171 ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes); in CheckWithSkips()
172 if (expected_bytes != bytes_read) in CheckWithSkips()
/external/chromium_org/content/browser/service_worker/
Dservice_worker_cache.cc146 void DidWriteDataToEntry(int expected_bytes, int rv) { in DidWriteDataToEntry() argument
147 if (rv != expected_bytes) { in DidWriteDataToEntry()
178 int expected_bytes,
307 int expected_bytes, in PutDidWriteHeaders() argument
309 if (rv != expected_bytes) { in PutDidWriteHeaders()
/external/chromium_org/chrome/browser/safe_browsing/
Dprefix_set.cc206 const size_t expected_bytes = sizeof(header) + in LoadFile() local
208 if (static_cast<int64>(expected_bytes) != size_64) in LoadFile()
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc102 void EncodeDecodeTest(size_t expected_bytes, int tolerance, double mse, in EncodeDecodeTest() argument
126 if (expected_bytes) { in EncodeDecodeTest()
127 EXPECT_EQ(expected_bytes, encoded_bytes_); in EncodeDecodeTest()
/external/chromium_org/net/server/
Dhttp_server_unittest.cc98 bool Read(std::string* message, int expected_bytes) { in Read() argument
101 while (total_bytes_received < expected_bytes) { in Read()