Searched refs:expected_bytes (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | byte_io_unittest.cc | 85 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/ |
D | scoped_resource_unittest.cc | 64 size_t expected_bytes = 30 * 30 * 4; in TEST() local 65 EXPECT_EQ(expected_bytes, texture->bytes()); in TEST()
|
/external/chromium_org/base/files/ |
D | file_proxy_unittest.cc | 246 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/ |
D | profiledata_unittest.cc | 170 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/ |
D | profiledata_unittest.cc | 170 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/ |
D | service_worker_cache.cc | 146 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/ |
D | prefix_set.cc | 206 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/ |
D | audio_decoder_unittest.cc | 102 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/ |
D | http_server_unittest.cc | 98 bool Read(std::string* message, int expected_bytes) { in Read() argument 101 while (total_bytes_received < expected_bytes) { in Read()
|