Home
last modified time | relevance | path

Searched refs:io_callback (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/disk_cache/blockfile/
Dentry_impl_v3.cc831 SyncCallback* io_callback = NULL; in InternalReadData() local
833 io_callback = new SyncCallback(this, buf, callback, in InternalReadData()
840 if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { in InternalReadData()
841 if (io_callback) in InternalReadData()
842 io_callback->Discard(); in InternalReadData()
847 if (io_callback && completed) in InternalReadData()
848 io_callback->Discard(); in InternalReadData()
850 if (io_callback) in InternalReadData()
935 SyncCallback* io_callback = NULL; in InternalWriteData() local
937 io_callback = new SyncCallback(this, buf, callback, in InternalWriteData()
[all …]
Dentry_impl.cc1033 SyncCallback* io_callback = NULL; in InternalReadData() local
1035 io_callback = new SyncCallback(this, buf, callback, in InternalReadData()
1042 if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { in InternalReadData()
1043 if (io_callback) in InternalReadData()
1044 io_callback->Discard(); in InternalReadData()
1049 if (io_callback && completed) in InternalReadData()
1050 io_callback->Discard(); in InternalReadData()
1052 if (io_callback) in InternalReadData()
1137 SyncCallback* io_callback = NULL; in InternalWriteData() local
1139 io_callback = new SyncCallback(this, buf, callback, in InternalWriteData()
[all …]
/external/chromium_org/net/http/
Dhttp_cache_transaction.h102 const CompletionCallback& io_callback() { return io_callback_; } in io_callback() function
Dhttp_cache.cc164 trans_->io_callback().Run(result); in NotifyTransaction()
909 pending_queue.front()->io_callback().Run(ERR_CACHE_RACE); in DoneWritingToEntry()
1061 next->io_callback().Run(rv); in OnProcessPendingQueue()