Lines Matching refs:error_callback

30                        const ErrorCallback& error_callback,  in ReadAsync()  argument
42 return ReadAsyncImpl(buffer, size_to_read, callback, error_callback, error, in ReadAsync()
49 const ErrorCallback& error_callback, in ReadAllAsync() argument
60 size_to_read, success_callback, error_callback); in ReadAllAsync()
61 return ReadAsyncImpl(buffer, size_to_read, callback, error_callback, error, in ReadAllAsync()
105 const ErrorCallback& error_callback, in WriteAsync() argument
115 return WriteAsyncImpl(buffer, size_to_write, success_callback, error_callback, in WriteAsync()
122 const ErrorCallback& error_callback, in WriteAllAsync() argument
133 size_to_write, success_callback, error_callback); in WriteAllAsync()
134 return WriteAsyncImpl(buffer, size_to_write, callback, error_callback, error, in WriteAllAsync()
178 const ErrorCallback& error_callback, in FlushAsync() argument
182 success_callback, error_callback); in FlushAsync()
198 const ErrorCallback& error_callback, in ReadAsyncImpl() argument
228 buffer, size_to_read, success_callback, error_callback), in ReadAsyncImpl()
245 const ErrorCallback& error_callback, in OnReadAvailable() argument
253 if (!ReadAsyncImpl(buffer, size_to_read, success_callback, error_callback, in OnReadAvailable()
255 error_callback.Run(error.get()); in OnReadAvailable()
263 const ErrorCallback& error_callback, in WriteAsyncImpl() argument
291 buffer, size_to_write, success_callback, error_callback), in WriteAsyncImpl()
307 const ErrorCallback& error_callback, in OnWriteAvailable() argument
315 if (!WriteAsyncImpl(buffer, size, success_callback, error_callback, &error, in OnWriteAvailable()
317 error_callback.Run(error.get()); in OnWriteAvailable()
324 const ErrorCallback& error_callback, in ReadAllAsyncCallback() argument
331 error_callback.Run(error.get()); in ReadAllAsyncCallback()
339 size_to_read, success_callback, error_callback); in ReadAllAsyncCallback()
340 if (!ReadAsyncImpl(buffer, size_to_read, callback, error_callback, &error, in ReadAllAsyncCallback()
342 error_callback.Run(error.get()); in ReadAllAsyncCallback()
352 const ErrorCallback& error_callback, in WriteAllAsyncCallback() argument
358 error_callback.Run(error.get()); in WriteAllAsyncCallback()
366 size_to_write, success_callback, error_callback); in WriteAllAsyncCallback()
367 if (!WriteAsyncImpl(buffer, size_to_write, callback, error_callback, &error, in WriteAllAsyncCallback()
369 error_callback.Run(error.get()); in WriteAllAsyncCallback()
377 const ErrorCallback& error_callback) { in FlushAsyncCallback() argument
382 error_callback.Run(error.get()); in FlushAsyncCallback()