Home
last modified time | relevance | path

Searched refs:bytes_written_ (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/media_galleries/linux/
Dsnapshot_file_details.cc37 bytes_written_(0), in SnapshotFileDetails()
50 (bytes_written_ > kuint32max - bytes_written) || in AddBytesWritten()
51 (bytes_written_ + bytes_written > file_info_.size)) in AddBytesWritten()
54 bytes_written_ += bytes_written; in AddBytesWritten()
59 return !error_occurred_ && (bytes_written_ == file_info_.size); in IsSnapshotFileWriteComplete()
67 base::checked_cast<uint32>(file_info_.size) - bytes_written_); in BytesToRead()
Dsnapshot_file_details.h59 return bytes_written_; in bytes_written()
104 uint32 bytes_written_; variable
/external/chromium_org/chrome/browser/media_galleries/win/
Dsnapshot_file_details.cc33 bytes_written_(0) { in SnapshotFileDetails()
55 return bytes_written_ == file_info_.size; in IsSnapshotFileWriteComplete()
60 (bytes_written_ > kuint64max - bytes_written) || in AddBytesWritten()
61 (bytes_written_ + bytes_written > file_info_.size)) in AddBytesWritten()
64 bytes_written_ += bytes_written; in AddBytesWritten()
Dsnapshot_file_details.h90 DWORD bytes_written_; variable
/external/chromium_org/webkit/browser/fileapi/
Dfile_writer_delegate.cc30 bytes_written_(0), in FileWriterDelegate()
111 bytes_written_ = 0; in Read()
138 int64 bytes_to_write = bytes_read_ - bytes_written_; in Write()
158 bytes_written_ += write_response; in OnDataWritten()
159 if (bytes_written_ == bytes_read_) in OnDataWritten()
Dfile_writer_delegate.h97 int bytes_written_; variable
/external/chromium_org/base/files/
Dfile_proxy.cc209 bytes_written_(0) { in WriteHelper()
214 bytes_written_ = file_.Write(offset, buffer_.get(), bytes_to_write_); in RunWork()
215 error_ = (bytes_written_ < 0) ? File::FILE_ERROR_FAILED : File::FILE_OK; in RunWork()
221 callback.Run(error_, bytes_written_); in Reply()
227 int bytes_written_; member in base::__anon848bfc100211::WriteHelper
Dfile_proxy_unittest.cc24 bytes_written_(-1), in FileProxyTest()
68 bytes_written_ = bytes_written; in DidWrite()
95 int bytes_written_; member in base::FileProxyTest
195 EXPECT_EQ(4, bytes_written_); in TEST_F()
275 EXPECT_EQ(data_bytes, bytes_written_); in TEST_F()
Dfile_util_proxy_unittest.cc23 bytes_written_(-1), in FileUtilProxyTest()
59 int bytes_written_; member in base::FileUtilProxyTest
/external/chromium_org/content/browser/fileapi/
Dfile_system_operation_impl_write_unittest.cc59 bytes_written_(0), in FileSystemOperationImplWriteTest()
100 bytes_written_ += bytes; in add_bytes_written()
104 int64 bytes_written() const { return bytes_written_; } in bytes_written()
166 int64 bytes_written_; member in content::FileSystemOperationImplWriteTest
Dfile_writer_delegate_unittest.cc48 bytes_written_(0), in Result()
52 int64 bytes_written() const { return bytes_written_; } in bytes_written()
61 bytes_written_ += bytes; in DidWrite()
74 int64 bytes_written_; member in content::__anonc0799f9e0111::Result
/external/chromium_org/mojo/system/
Dmessage_pipe_dispatcher_unittest.cc402 bytes_written_(bytes_written) { in WriterThread()
404 *bytes_written_ = 0; in WriterThread()
429 *bytes_written_ += bytes_to_write; in Run()
441 size_t* const bytes_written_; member in mojo::system::__anonee3b18120111::WriterThread
/external/chromium_org/chrome/browser/sync_file_system/local/
Dcanned_syncable_file_system.cc150 WriteHelper() : bytes_written_(0) {} in WriteHelper()
153 : bytes_written_(0), in WriteHelper()
172 bytes_written_ += bytes; in DidWrite()
177 bytes_written_ : static_cast<int64>(error)); in DidWrite()
181 int64 bytes_written_; member in sync_file_system::__anon359d3ce80111::WriteHelper
/external/chromium_org/net/tools/quic/test_tools/
Dquic_test_client.cc410 bytes_written_ = 0; in ClearPerRequestState()
487 return bytes_written_; in bytes_written()
503 bytes_written_ = in OnClose()
Dquic_test_client.h188 uint64 bytes_written_; variable
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_backing_store.cc2250 bytes_written_(0) {} in LocalWriteClosure()
2256 bytes_written_ += bytes; in Run()
2299 chained_blob_writer_->ReportWriteCompletion(succeeded, bytes_written_); in callBlobCallbackOnIDBTaskRunner()
2304 int64 bytes_written_; member in content::LocalWriteClosure