Home
last modified time | relevance | path

Searched refs:error_callback (Results 1 – 25 of 38) sorted by relevance

12

/external/libbrillo/brillo/streams/
Dstream.cc30 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()
[all …]
Dstream.h207 const ErrorCallback& error_callback,
219 const ErrorCallback& error_callback,
293 const ErrorCallback& error_callback,
305 const ErrorCallback& error_callback,
357 const ErrorCallback& error_callback,
416 const ErrorCallback& error_callback,
435 const ErrorCallback& error_callback,
450 const ErrorCallback& error_callback,
468 const ErrorCallback& error_callback,
476 const ErrorCallback& error_callback,
[all …]
Dtls_stream.cc80 const Stream::ErrorCallback& error_callback,
110 const Stream::ErrorCallback& error_callback);
112 const Stream::ErrorCallback& error_callback,
342 const Stream::ErrorCallback& error_callback, in Init() argument
393 error_callback)); in Init()
395 DoHandshake(success_callback, error_callback); in Init()
402 const Stream::ErrorCallback& error_callback, in RetryHandshake() argument
405 DoHandshake(success_callback, error_callback); in RetryHandshake()
410 const Stream::ErrorCallback& error_callback) { in DoHandshake() argument
426 success_callback, error_callback), in DoHandshake()
[all …]
Dstream_utils.cc26 CopyDataErrorCallback error_callback; member
32 state->error_callback.Run(std::move(state->in_stream), in OnCopyDataError()
191 const CopyDataErrorCallback& error_callback) { in CopyData() argument
194 error_callback); in CopyData()
202 const CopyDataErrorCallback& error_callback) { in CopyData() argument
210 state->error_callback = error_callback; in CopyData()
Dstream_unittest.cc107 auto error_callback = [&failed](const Error* /* error */) { failed = true; }; in TEST() local
122 base::Bind(error_callback), nullptr)); in TEST()
132 base::Bind(error_callback), &error)); in TEST()
153 auto error_callback = [&failed](const Error* /* error */) { failed = true; }; in TEST() local
166 base::Bind(error_callback), nullptr)); in TEST()
178 base::Bind(error_callback), &error)); in TEST()
193 auto error_callback = [&failed](const Error* /* error */) { failed = true; }; in TEST() local
208 base::Bind(error_callback), in TEST()
243 auto error_callback = [&failed](const Error* error) { in TEST() local
260 base::Bind(error_callback), in TEST()
[all …]
Dstream_utils.h95 const CopyDataErrorCallback& error_callback);
109 const CopyDataErrorCallback& error_callback);
/external/libbrillo/brillo/http/
Dhttp_utils.cc36 const ErrorCallback& error_callback) { in Get() argument
42 error_callback); in Get()
55 const ErrorCallback& error_callback) { in Head() argument
61 error_callback); in Head()
80 const ErrorCallback& error_callback) { in PostText() argument
88 error_callback); in PostText()
129 const ErrorCallback& error_callback) { in SendRequest() argument
139 FROM_HERE, base::Bind(error_callback, in SendRequest()
144 return request.GetResponse(success_callback, error_callback); in SendRequest()
155 const ErrorCallback& error_callback) { in SendRequest() argument
[all …]
Dhttp_utils.h88 const ErrorCallback& error_callback);
104 const ErrorCallback& error_callback);
115 const ErrorCallback& error_callback);
134 const ErrorCallback& error_callback);
151 const ErrorCallback& error_callback);
175 const ErrorCallback& error_callback);
190 const ErrorCallback& error_callback);
213 const ErrorCallback& error_callback);
235 const ErrorCallback& error_callback);
257 const ErrorCallback& error_callback);
[all …]
Dhttp_connection_fake.cc62 const ErrorCallback& error_callback) { in FinishRequestAsync() argument
66 auto callback = [connection, success_callback, error_callback] { in FinishRequestAsync()
67 connection->FinishRequestAsyncHelper(success_callback, error_callback); in FinishRequestAsync()
75 const ErrorCallback& error_callback) { in FinishRequestAsyncHelper() argument
78 error_callback.Run(1, error.get()); in FinishRequestAsyncHelper()
Dhttp_transport_curl.cc92 ErrorCallback error_callback; member
211 const ErrorCallback& error_callback) { in StartAsyncTransfer() argument
215 FROM_HERE, base::Bind(error_callback, 0, base::Owned(error.release()))); in StartAsyncTransfer()
227 request_data->error_callback = error_callback; in StartAsyncTransfer()
241 FROM_HERE, base::Bind(error_callback, 0, base::Owned(error.release()))); in StartAsyncTransfer()
446 base::Bind(request_data->error_callback, in OnTransferComplete()
458 base::Bind(request_data->error_callback, in OnTransferComplete()
Dhttp_connection_fake.h35 const ErrorCallback& error_callback) override;
46 const ErrorCallback& error_callback);
Dhttp_utils_unittest.cc79 auto error_callback = [](RequestID /* id */, const Error* /* error */) { in TEST() local
90 base::Bind(error_callback)); in TEST()
166 auto error_callback = [](RequestID /* request_id */, in TEST() local
175 base::Bind(error_callback)); in TEST()
473 auto error_callback = [](RequestID /* request_id */, const Error* error) { in TEST() local
483 base::Bind(error_callback)); in TEST()
Dhttp_request.cc145 const ErrorCallback& error_callback) { in GetResponse() argument
149 FROM_HERE, base::Bind(error_callback, 0, base::Owned(error.release()))); in GetResponse()
153 connection_->FinishRequestAsync(success_callback, error_callback); in GetResponse()
Dhttp_connection.h71 const ErrorCallback& error_callback) = 0;
Dhttp_connection_curl.cc171 const ErrorCallback& error_callback) { in FinishRequestAsync() argument
173 return transport_->StartAsyncTransfer(this, success_callback, error_callback); in FinishRequestAsync()
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker.h257 const AsyncErrorCallback& error_callback, in TranslateSuccessResponse() argument
267 !error_callback.is_null()) { in TranslateSuccessResponse()
268 error_callback.Run(error.get()); in TranslateSuccessResponse()
289 const AsyncErrorCallback& error_callback, in CallMethodWithTimeout() argument
296 base::Bind(&TranslateErrorResponse, error_callback); in CallMethodWithTimeout()
298 &TranslateSuccessResponse<OutArgs...>, success_callback, error_callback); in CallMethodWithTimeout()
310 const AsyncErrorCallback& error_callback, in CallMethod() argument
317 error_callback, in CallMethod()
/external/libchrome/dbus/
Dobject_proxy.h148 ErrorCallback error_callback);
204 ErrorCallback error_callback,
210 ErrorCallback error_callback; member
219 ErrorCallback error_callback,
225 ErrorCallback error_callback,
230 ErrorCallback error_callback,
Dobject_proxy.cc129 ErrorCallback error_callback) { in CallMethodWithErrorCallback() argument
141 error_callback, in CallMethodWithErrorCallback()
159 error_callback, in CallMethodWithErrorCallback()
243 error_callback(in_error_callback), in OnPendingCallIsCompleteData()
253 ErrorCallback error_callback, in StartAsyncMethodCall() argument
263 error_callback, in StartAsyncMethodCall()
279 new OnPendingCallIsCompleteData(this, response_callback, error_callback, in StartAsyncMethodCall()
297 ErrorCallback error_callback, in OnPendingCallIsComplete() argument
305 error_callback, in OnPendingCallIsComplete()
316 ErrorCallback error_callback, in RunResponseCallback() argument
[all …]
Dmock_object_proxy.h52 ErrorCallback error_callback));
/external/flac/include/FLAC/
Dstream_decoder.h1082 FLAC__StreamDecoderErrorCallback error_callback,
1163 FLAC__StreamDecoderErrorCallback error_callback,
1209 FLAC__StreamDecoderErrorCallback error_callback,
1259 FLAC__StreamDecoderErrorCallback error_callback,
1301 FLAC__StreamDecoderErrorCallback error_callback,
1347 FLAC__StreamDecoderErrorCallback error_callback,
/external/opencv/cxcore/src/
Dcxerror.cpp61 CvErrorCallback error_callback; member
81 context->error_callback = CV_DEFAULT_ERROR_CALLBACK; in icvCreateContext()
219 CvErrorCallback old = context->error_callback; in cvRedirectError()
224 context->error_callback = func; in cvRedirectError()
229 context->error_callback = CV_DEFAULT_ERROR_CALLBACK; in cvRedirectError()
355 int terminate = context->error_callback( code, func_name, err_msg, in cvError()
/external/chromium-trace/catapult/third_party/Paste/paste/
Dwsgilib.py171 def catch_errors(application, environ, start_response, error_callback, argument
182 error_callback(sys.exc_info())
190 return _wrap_app_iter(app_iter, error_callback, ok_callback)
194 def __init__(self, app_iterable, error_callback, ok_callback): argument
197 self.error_callback = error_callback
213 self.error_callback(sys.exc_info())
/external/flac/libFLAC/
Dstream_decoder.c138 FLAC__StreamDecoderErrorCallback error_callback; member
355 FLAC__StreamDecoderErrorCallback error_callback, in init_stream_internal_() argument
373 0 == error_callback || in init_stream_internal_()
441 decoder->private_->error_callback = error_callback; in init_stream_internal_()
469 FLAC__StreamDecoderErrorCallback error_callback, in FLAC__stream_decoder_init_stream() argument
482 error_callback, in FLAC__stream_decoder_init_stream()
497 FLAC__StreamDecoderErrorCallback error_callback, in FLAC__stream_decoder_init_ogg_stream() argument
510 error_callback, in FLAC__stream_decoder_init_ogg_stream()
521 FLAC__StreamDecoderErrorCallback error_callback, in init_FILE_internal_() argument
532 if(0 == write_callback || 0 == error_callback) in init_FILE_internal_()
[all …]
/external/skia/experimental/GLFWTest/
Dglfw_main.cpp23 static void error_callback(int error, const char* description) { in error_callback() function
59 glfwSetErrorCallback(error_callback); in main()
/external/freetype/src/sfnt/
Dpngshim.c123 error_callback( png_structp png, in error_callback() function
223 error_callback, in Load_SBit_Png()

12