Home
last modified time | relevance | path

Searched refs:bytes_written_ (Results 1 – 15 of 15) 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_numeric_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()
56 return bytes_written_ == file_info_.size; in IsSnapshotFileWriteComplete()
61 (bytes_written_ > kuint64max - bytes_written) || in AddBytesWritten()
62 (bytes_written_ + bytes_written > file_info_.size)) in AddBytesWritten()
65 bytes_written_ += bytes_written; in AddBytesWritten()
Dsnapshot_file_details.h90 DWORD bytes_written_; variable
/external/chromium_org/webkit/browser/fileapi/
Dfile_writer_delegate.cc28 bytes_written_(0), in FileWriterDelegate()
109 bytes_written_ = 0; in Read()
136 int64 bytes_to_write = bytes_read_ - bytes_written_; in Write()
156 bytes_written_ += write_response; in OnDataWritten()
157 if (bytes_written_ == bytes_read_) in OnDataWritten()
Dfile_writer_delegate.h90 int bytes_written_; variable
/external/chromium_org/base/files/
Dfile_util_proxy.cc166 bytes_written_(0) { in WriteHelper()
171 bytes_written_ = WritePlatformFile(file, offset, buffer_.get(), in RunWork()
178 (bytes_written_ < 0) ? PLATFORM_FILE_ERROR_FAILED : PLATFORM_FILE_OK; in Reply()
179 callback.Run(error, bytes_written_); in Reply()
186 int bytes_written_; member in base::__anonf6df32f30111::WriteHelper
Dfile_util_proxy_unittest.cc29 bytes_written_(-1), in FileUtilProxyTest()
84 bytes_written_ = bytes_written; in DidWrite()
116 int bytes_written_; member in base::FileUtilProxyTest
310 EXPECT_EQ(data_bytes, bytes_written_); in TEST_F()
/external/chromium_org/content/browser/fileapi/
Dfile_system_operation_impl_write_unittest.cc56 bytes_written_(0), in FileSystemOperationImplWriteTest()
96 bytes_written_ += bytes; in add_bytes_written()
100 int64 bytes_written() const { return bytes_written_; } in bytes_written()
162 int64 bytes_written_; member in fileapi::FileSystemOperationImplWriteTest
Dfile_writer_delegate_unittest.cc43 bytes_written_(0), in Result()
47 int64 bytes_written() const { return bytes_written_; } in bytes_written()
56 bytes_written_ += bytes; in DidWrite()
69 int64 bytes_written_; member in fileapi::__anon9ef44da40111::Result
/external/chromium_org/mojo/system/
Dmessage_pipe_dispatcher_unittest.cc393 bytes_written_(bytes_written) { in WriterThread()
395 *bytes_written_ = 0; in WriterThread()
420 *bytes_written_ += bytes_to_write; in Run()
432 size_t* const bytes_written_; member in mojo::system::__anonb5bf37580111::WriterThread
/external/chromium_org/net/tools/quic/test_tools/
Dquic_test_client.cc324 bytes_written_ = 0; in ClearPerRequestState()
401 return bytes_written_; in bytes_written()
417 bytes_written_ = stream_->stream_bytes_written(); in OnClose()
Dquic_test_client.h131 uint64 bytes_written_; variable
/external/chromium/base/
Dfile_util_proxy.cc574 bytes_written_(0) { in RelayWrite()
580 bytes_written_ = base::WritePlatformFile(file_, offset_, buffer_.get(), in RunWork()
582 if (bytes_written_ < 0) in RunWork()
588 callback_->Run(error_code(), bytes_written_); in RunCallback()
599 int bytes_written_; member in __anon12a22cca0111::RelayWrite
/external/chromium_org/chrome/browser/sync_file_system/local/
Dcanned_syncable_file_system.cc149 WriteHelper() : bytes_written_(0) {} in WriteHelper()
152 : bytes_written_(0), in WriteHelper()
171 bytes_written_ += bytes; in DidWrite()
176 ? bytes_written_ : static_cast<int64>(error)); in DidWrite()
180 int64 bytes_written_; member in sync_file_system::__anon0fc723ee0111::WriteHelper