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

/external/chromium_org/cc/resources/
H A Dscoped_resource_unittest.cc64 size_t expected_bytes = 30 * 30 * 4; local
65 EXPECT_EQ(expected_bytes, texture->bytes());
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dbyte_io_unittest.cc85 uint8_t expected_bytes[B + kAlignments]; local
90 PopulateTestData(expected_bytes + i, test_value, B, big_endian);
98 EXPECT_EQ(expected_bytes[i + j], bytes[i + j]);
/external/chromium_org/base/files/
H A Dfile_proxy_unittest.cc246 int expected_bytes = arraysize(expected_data); local
247 ASSERT_EQ(expected_bytes,
248 base::WriteFile(test_path(), expected_data, expected_bytes));
259 EXPECT_EQ(expected_bytes, static_cast<int>(buffer_.size()));
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiledata_unittest.cc170 size_t expected_bytes = num_slots * sizeof filedata[0]; local
171 ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes);
172 if (expected_bytes != bytes_read)
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiledata_unittest.cc170 size_t expected_bytes = num_slots * sizeof filedata[0]; local
171 ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes);
172 if (expected_bytes != bytes_read)
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_cache.cc146 void DidWriteDataToEntry(int expected_bytes, int rv) { argument
147 if (rv != expected_bytes) {
178 int expected_bytes,
307 int expected_bytes,
309 if (rv != expected_bytes) {
302 PutDidWriteHeaders(scoped_ptr<ServiceWorkerResponse> response, const ServiceWorkerCache::ErrorCallback& callback, disk_cache::ScopedEntryPtr entry, scoped_ptr<storage::BlobDataHandle> blob_data_handle, net::URLRequestContext* request_context, int expected_bytes, int rv) argument
/external/chromium_org/chrome/browser/safe_browsing/
H A Dprefix_set.cc206 const size_t expected_bytes = sizeof(header) + local
208 if (static_cast<int64>(expected_bytes) != size_64)
/external/chromium_org/net/server/
H A Dhttp_server_unittest.cc98 bool Read(std::string* message, int expected_bytes) { argument
101 while (total_bytes_received < expected_bytes) {
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_decoder_unittest.cc99 // with |mse|. The encoded stream should contain |expected_bytes|. For stereo
102 void EncodeDecodeTest(size_t expected_bytes, int tolerance, double mse, argument
125 // such codecs. In this case expected_bytes is set to 0.
126 if (expected_bytes) {
127 EXPECT_EQ(expected_bytes, encoded_bytes_);

Completed in 1081 milliseconds