• Home
  • Raw
  • Download

Lines Matching refs:success_callback

29                        const base::Callback<void(size_t)>& success_callback,  in ReadAsync()  argument
39 auto callback = base::Bind(&Stream::IgnoreEOSCallback, success_callback); in ReadAsync()
48 const base::Closure& success_callback, in ReadAllAsync() argument
60 size_to_read, success_callback, error_callback); in ReadAllAsync()
104 const base::Callback<void(size_t)>& success_callback, in WriteAsync() argument
115 return WriteAsyncImpl(buffer, size_to_write, success_callback, error_callback, in WriteAsync()
121 const base::Closure& success_callback, in WriteAllAsync() argument
133 size_to_write, success_callback, error_callback); in WriteAllAsync()
177 bool Stream::FlushAsync(const base::Closure& success_callback, in FlushAsync() argument
182 success_callback, error_callback); in FlushAsync()
188 const base::Callback<void(size_t)>& success_callback, in IgnoreEOSCallback() argument
191 success_callback.Run(bytes); in IgnoreEOSCallback()
197 const base::Callback<void(size_t, bool)>& success_callback, in ReadAsyncImpl() argument
218 success_callback, read, eos)); in ReadAsyncImpl()
221 success_callback.Run(read, eos); in ReadAsyncImpl()
229 buffer, size_to_read, success_callback, error_callback), in ReadAsyncImpl()
235 const base::Callback<void(size_t, bool)>& success_callback, in OnReadAsyncDone() argument
239 success_callback.Run(bytes_read, eos); in OnReadAsyncDone()
245 const base::Callback<void(size_t, bool)>& success_callback, in OnReadAvailable() argument
254 if (!ReadAsyncImpl(buffer, size_to_read, success_callback, error_callback, in OnReadAvailable()
263 const base::Callback<void(size_t)>& success_callback, in WriteAsyncImpl() argument
283 success_callback, written)); in WriteAsyncImpl()
286 success_callback.Run(written); in WriteAsyncImpl()
293 buffer, size_to_write, success_callback, error_callback), in WriteAsyncImpl()
299 const base::Callback<void(size_t)>& success_callback, in OnWriteAsyncDone() argument
302 success_callback.Run(size_written); in OnWriteAsyncDone()
308 const base::Callback<void(size_t)>& success_callback, in OnWriteAvailable() argument
317 if (!WriteAsyncImpl(buffer, size, success_callback, error_callback, &error, in OnWriteAvailable()
325 const base::Closure& success_callback, in ReadAllAsyncCallback() argument
341 size_to_read, success_callback, error_callback); in ReadAllAsyncCallback()
347 success_callback.Run(); in ReadAllAsyncCallback()
353 const base::Closure& success_callback, in WriteAllAsyncCallback() argument
368 size_to_write, success_callback, error_callback); in WriteAllAsyncCallback()
374 success_callback.Run(); in WriteAllAsyncCallback()
378 void Stream::FlushAsyncCallback(const base::Closure& success_callback, in FlushAsyncCallback() argument
382 success_callback.Run(); in FlushAsyncCallback()