Home
last modified time | relevance | path

Searched refs:CompletionOnceCallback (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/external/cronet/net/disk_cache/simple/
Dsimple_entry_impl.h96 net::Error DoomEntry(CompletionOnceCallback callback);
126 CompletionOnceCallback callback) override;
131 CompletionOnceCallback callback,
136 CompletionOnceCallback callback) override;
140 CompletionOnceCallback callback) override;
146 net::Error ReadyForSparseIO(CompletionOnceCallback callback) override;
193 void PostClientCallback(CompletionOnceCallback callback, int result);
245 CompletionOnceCallback callback);
251 CompletionOnceCallback callback,
257 CompletionOnceCallback callback);
[all …]
Dsimple_entry_operation.h28 typedef net::CompletionOnceCallback CompletionOnceCallback; typedef
70 CompletionOnceCallback callback);
78 CompletionOnceCallback callback);
84 CompletionOnceCallback callback);
90 CompletionOnceCallback callback);
97 CompletionOnceCallback callback);
102 CompletionOnceCallback ReleaseCallback() { return std::move(callback_); } in ReleaseCallback()
124 CompletionOnceCallback callback,
137 CompletionOnceCallback callback_;
Dsimple_entry_operation.cc25 SimpleEntryOperation op(entry, nullptr, CompletionOnceCallback(), 0, 0, 0, in OpenOperation()
37 SimpleEntryOperation op(entry, nullptr, CompletionOnceCallback(), 0, 0, 0, in CreateOperation()
50 SimpleEntryOperation op(entry, nullptr, CompletionOnceCallback(), 0, 0, 0, in OpenOrCreateOperation()
60 return SimpleEntryOperation(entry, nullptr, CompletionOnceCallback(), 0, 0, 0, in CloseOperation()
71 CompletionOnceCallback callback) { in ReadOperation()
86 CompletionOnceCallback callback) { in WriteOperation()
98 CompletionOnceCallback callback) { in ReadSparseOperation()
110 CompletionOnceCallback callback) { in WriteSparseOperation()
122 SimpleEntryOperation op(entry, nullptr, CompletionOnceCallback(), 0, in GetAvailableRangeOperation()
132 net::CompletionOnceCallback callback) { in DoomOperation()
[all …]
Dsimple_backend_impl.h84 void Init(CompletionOnceCallback completion_callback);
100 CompletionOnceCallback callback) override;
115 CompletionOnceCallback callback) override;
116 net::Error DoomAllEntries(CompletionOnceCallback callback) override;
119 CompletionOnceCallback callback) override;
121 CompletionOnceCallback callback) override;
167 void InitializeIndex(CompletionOnceCallback callback,
174 CompletionOnceCallback callback,
231 CompletionOnceCallback callback);
247 CompletionOnceCallback callback,
[all …]
/external/cronet/net/socket/
Dsocket_posix.h59 CompletionOnceCallback callback);
65 int Connect(const SockaddrStorage& address, CompletionOnceCallback callback);
75 int Read(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
81 int ReadIfReady(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
85 CompletionOnceCallback callback,
92 int WaitForWrite(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
134 CompletionOnceCallback accept_callback_;
141 CompletionOnceCallback read_callback_;
144 CompletionOnceCallback read_if_ready_callback_;
150 CompletionOnceCallback write_callback_;
Dtcp_socket_posix.h82 CompletionOnceCallback callback);
87 int Connect(const IPEndPoint& address, CompletionOnceCallback callback);
97 int Read(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
98 int ReadIfReady(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
105 CompletionOnceCallback callback,
185 CompletionOnceCallback callback,
193 void ConnectCompleted(CompletionOnceCallback callback, int rv);
199 CompletionOnceCallback callback,
201 void ReadIfReadyCompleted(CompletionOnceCallback callback, int rv);
206 CompletionOnceCallback callback,
Dtcp_socket_win.h69 CompletionOnceCallback callback);
71 int Connect(const IPEndPoint& address, CompletionOnceCallback callback);
77 int Read(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
78 int ReadIfReady(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
82 CompletionOnceCallback callback,
181 CompletionOnceCallback accept_callback_;
194 CompletionOnceCallback read_callback_;
199 CompletionOnceCallback read_if_ready_callback_;
202 CompletionOnceCallback write_callback_;
Dsocket_test_util.h737 CompletionOnceCallback callback) override = 0;
740 CompletionOnceCallback callback,
751 int Connect(CompletionOnceCallback callback) override = 0;
765 void RunCallbackAsync(CompletionOnceCallback callback, int result);
766 void RunCallback(CompletionOnceCallback callback, int result);
796 CompletionOnceCallback callback) override;
799 CompletionOnceCallback callback) override;
803 CompletionOnceCallback callback,
815 int Connect(CompletionOnceCallback callback) override;
837 CompletionOnceCallback callback);
[all …]
Dfuzzed_datagram_client_socket.h46 CompletionOnceCallback callback) override;
49 CompletionOnceCallback callback) override;
51 CompletionOnceCallback callback) override;
67 CompletionOnceCallback callback) override;
70 CompletionOnceCallback callback,
78 void OnReadComplete(net::CompletionOnceCallback callback, int result);
79 void OnWriteComplete(net::CompletionOnceCallback callback, int result);
Dtcp_client_socket.h98 int Connect(CompletionOnceCallback callback) override;
117 CompletionOnceCallback callback) override;
120 CompletionOnceCallback callback) override;
124 CompletionOnceCallback callback,
160 const CompletionOnceCallback callback,
181 void DidCompleteReadWrite(CompletionOnceCallback callback, int result);
213 CompletionOnceCallback connect_callback_;
214 CompletionOnceCallback read_callback_;
215 CompletionOnceCallback write_callback_;
Dwebsocket_transport_client_socket_pool.h73 CompletionOnceCallback callback,
81 CompletionOnceCallback callback,
113 CompletionOnceCallback callback,
133 CompletionOnceCallback release_callback() { return std::move(callback_); } in release_callback()
143 CompletionOnceCallback callback_;
158 CompletionOnceCallback callback,
169 CompletionOnceCallback callback;
191 CompletionOnceCallback callback,
194 CompletionOnceCallback callback,
Dfuzzed_socket.h66 CompletionOnceCallback callback) override;
69 CompletionOnceCallback callback,
77 int Connect(CompletionOnceCallback callback) override;
96 void OnReadComplete(CompletionOnceCallback callback, int result);
97 void OnWriteComplete(CompletionOnceCallback callback, int result);
98 void OnConnectComplete(CompletionOnceCallback callback, int result);
/external/cronet/net/disk_cache/blockfile/
Din_flight_backend_io.h38 net::CompletionOnceCallback callback);
159 net::CompletionOnceCallback callback_;
204 void Init(net::CompletionOnceCallback callback);
208 void DoomEntry(const std::string& key, net::CompletionOnceCallback callback);
209 void DoomAllEntries(net::CompletionOnceCallback callback);
212 net::CompletionOnceCallback callback);
214 net::CompletionOnceCallback callback);
215 void CalculateSizeOfAllEntries(net::CompletionOnceCallback callback);
222 void FlushQueue(net::CompletionOnceCallback callback);
223 void RunTask(base::OnceClosure task, net::CompletionOnceCallback callback);
[all …]
Dentry_impl.h61 CompletionOnceCallback callback);
66 CompletionOnceCallback callback,
71 CompletionOnceCallback callback);
75 CompletionOnceCallback callback);
78 int ReadyForSparseIOImpl(CompletionOnceCallback callback);
183 CompletionOnceCallback callback) override;
188 CompletionOnceCallback callback,
193 CompletionOnceCallback callback) override;
197 CompletionOnceCallback callback) override;
203 net::Error ReadyForSparseIO(CompletionOnceCallback callback) override;
[all …]
Dsparse_control.h36 typedef net::CompletionOnceCallback CompletionOnceCallback; typedef
72 CompletionOnceCallback callback);
83 int ReadyToUse(CompletionOnceCallback completion_callback);
172 CompletionOnceCallback user_callback_;
173 std::vector<CompletionOnceCallback> abort_callbacks_;
/external/cronet/net/base/
Dfile_stream_context.h76 int Read(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
78 int Write(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
93 CompletionOnceCallback callback);
95 void Close(CompletionOnceCallback callback);
101 CompletionOnceCallback callback);
103 void Flush(CompletionOnceCallback callback);
142 void OnOpenCompleted(CompletionOnceCallback callback, OpenResult open_result);
146 Int64CompletionOnceCallback IntToInt64(CompletionOnceCallback callback);
164 void IOCompletionIsPending(CompletionOnceCallback callback, IOBuffer* buf);
229 CompletionOnceCallback callback_;
Dfile_stream.h62 CompletionOnceCallback callback);
68 virtual int Close(CompletionOnceCallback callback);
101 virtual int Read(IOBuffer* buf, int buf_len, CompletionOnceCallback callback);
127 CompletionOnceCallback callback);
137 CompletionOnceCallback callback);
158 virtual int Flush(CompletionOnceCallback callback);
Dupload_bytes_element_reader_unittest.cc27 ASSERT_THAT(reader_->Init(CompletionOnceCallback()), IsOk()); in SetUp()
44 CompletionOnceCallback())); in TEST_F()
56 CompletionOnceCallback())); in TEST_F()
61 CompletionOnceCallback())); in TEST_F()
71 CompletionOnceCallback())); in TEST_F()
85 CompletionOnceCallback())); in TEST_F()
90 ASSERT_THAT(reader_->Init(CompletionOnceCallback()), IsOk()); in TEST_F()
97 CompletionOnceCallback())); in TEST_F()
Dmock_file_stream.cc37 CompletionOnceCallback callback) { in Read()
38 CompletionOnceCallback wrapped_callback = in Read()
48 CompletionOnceCallback callback) { in Write()
49 CompletionOnceCallback wrapped_callback = in Write()
57 int MockFileStream::Flush(CompletionOnceCallback callback) { in Flush()
58 CompletionOnceCallback wrapped_callback = in Flush()
81 void MockFileStream::DoCallback(CompletionOnceCallback callback, int result) { in DoCallback()
100 int MockFileStream::ErrorCallback(CompletionOnceCallback callback) { in ErrorCallback()
/external/cronet/components/nacl/browser/
Dpnacl_translation_cache.h31 typedef base::OnceCallback<void(int)> CompletionOnceCallback; typedef
51 CompletionOnceCallback callback);
56 int InitInMemory(CompletionOnceCallback callback);
64 CompletionOnceCallback callback);
82 CompletionOnceCallback callback);
95 CompletionOnceCallback callback);
100 CompletionOnceCallback init_callback_;
/external/cronet/net/dns/
Dmock_mdns_socket_factory.h36 CompletionOnceCallback callback));
41 CompletionOnceCallback callback) override;
46 CompletionOnceCallback callback));
80 CompletionOnceCallback callback);
85 CompletionOnceCallback callback);
107 CompletionOnceCallback callback);
114 CompletionOnceCallback callback);
122 CompletionOnceCallback recv_callback_;
/external/cronet/net/websockets/
Dwebsocket_basic_stream_adapters.h37 CompletionOnceCallback callback) override;
40 CompletionOnceCallback callback,
84 CompletionOnceCallback callback) override;
90 CompletionOnceCallback callback,
139 CompletionOnceCallback read_callback_;
147 CompletionOnceCallback write_callback_;
193 CompletionOnceCallback callback) override;
196 CompletionOnceCallback callback,
219 CompletionOnceCallback read_callback_;
/external/cronet/net/quic/
Dquic_chromium_client_stream.h60 CompletionOnceCallback callback);
69 CompletionOnceCallback callback);
78 CompletionOnceCallback callback);
96 CompletionOnceCallback callback);
103 CompletionOnceCallback callback);
176 void SetCallback(CompletionOnceCallback new_callback,
177 CompletionOnceCallback* callback);
179 void ResetAndRun(CompletionOnceCallback callback, int rv);
188 CompletionOnceCallback read_headers_callback_;
193 CompletionOnceCallback read_body_callback_;
[all …]
Dquic_proxy_client_socket.h53 int RestartWithAuth(CompletionOnceCallback callback) override;
57 int Connect(CompletionOnceCallback callback) override;
72 CompletionOnceCallback callback) override;
75 CompletionOnceCallback callback,
119 CompletionOnceCallback connect_callback_;
121 CompletionOnceCallback read_callback_;
125 CompletionOnceCallback write_callback_;
/external/cronet/net/http/
Dhttp_transaction.h61 CompletionOnceCallback callback)>;
86 CompletionOnceCallback callback,
99 virtual int RestartIgnoringLastError(CompletionOnceCallback callback) = 0;
105 CompletionOnceCallback callback) = 0;
109 CompletionOnceCallback callback) = 0;
135 CompletionOnceCallback callback) = 0;

12345678910>>...14