Home
last modified time | relevance | path

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

123

/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.cc86 const Stream::ErrorCallback& error_callback,
116 const Stream::ErrorCallback& error_callback);
118 const Stream::ErrorCallback& error_callback,
348 const Stream::ErrorCallback& error_callback, in Init() argument
399 error_callback)); in Init()
401 DoHandshake(success_callback, error_callback); in Init()
408 const Stream::ErrorCallback& error_callback, in RetryHandshake() argument
411 DoHandshake(success_callback, error_callback); in RetryHandshake()
416 const Stream::ErrorCallback& error_callback) { in DoHandshake() argument
432 success_callback, error_callback), in DoHandshake()
[all …]
Dstream_utils.cc30 CopyDataErrorCallback error_callback; member
36 state->error_callback.Run(std::move(state->in_stream), in OnCopyDataError()
195 const CopyDataErrorCallback& error_callback) { in CopyData() argument
198 error_callback); in CopyData()
206 const CopyDataErrorCallback& error_callback) { in CopyData() argument
214 state->error_callback = error_callback; in CopyData()
Dstream_test.cc126 auto error_callback = base::Bind(&SetToTrue, &failed); in TEST() local
140 error_callback, nullptr)); in TEST()
149 error_callback, &error)); in TEST()
172 auto error_callback = base::Bind(&SetToTrue, &failed); in TEST() local
184 error_callback, nullptr)); in TEST()
195 error_callback, &error)); in TEST()
211 auto error_callback = base::Bind(&SetToTrue, &failed); in TEST() local
225 error_callback, nullptr)); in TEST()
260 auto error_callback = base::Bind([](bool* failed, const Error* error) { in TEST() local
276 error_callback, nullptr)); 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.h89 const ErrorCallback& error_callback);
105 const ErrorCallback& error_callback);
116 const ErrorCallback& error_callback);
135 const ErrorCallback& error_callback);
152 const ErrorCallback& error_callback);
176 const ErrorCallback& error_callback);
191 const ErrorCallback& error_callback);
214 const ErrorCallback& error_callback);
236 const ErrorCallback& error_callback);
258 const ErrorCallback& error_callback);
[all …]
Dhttp_connection_fake.cc62 const ErrorCallback& error_callback) { in FinishRequestAsync() argument
68 const ErrorCallback& error_callback) { in FinishRequestAsync() argument
69 connection->FinishRequestAsyncHelper(success_callback, error_callback); in FinishRequestAsync()
75 error_callback)); in FinishRequestAsync()
81 const ErrorCallback& error_callback) { in FinishRequestAsyncHelper() argument
84 error_callback.Run(1, error.get()); in FinishRequestAsyncHelper()
Dhttp_transport_curl.cc94 ErrorCallback error_callback; member
230 const ErrorCallback& error_callback) { in StartAsyncTransfer() argument
234 FROM_HERE, base::Bind(error_callback, 0, base::Owned(error.release()))); in StartAsyncTransfer()
246 request_data->error_callback = error_callback; in StartAsyncTransfer()
260 FROM_HERE, base::Bind(error_callback, 0, base::Owned(error.release()))); in StartAsyncTransfer()
473 base::Bind(request_data->error_callback, in OnTransferComplete()
487 base::Bind(request_data->error_callback, in OnTransferComplete()
Dhttp_connection_fake.h37 const ErrorCallback& error_callback) override;
48 const ErrorCallback& error_callback);
Dhttp_utils_test.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()
475 auto error_callback = [](RequestID /* request_id */, const Error* error) { in TEST() local
485 base::Bind(error_callback)); in TEST()
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker.h259 const AsyncErrorCallback& error_callback, in TranslateSuccessResponse() argument
269 !error_callback.is_null()) { in TranslateSuccessResponse()
270 error_callback.Run(error.get()); in TranslateSuccessResponse()
291 const AsyncErrorCallback& error_callback, in CallMethodWithTimeout() argument
298 base::Bind(&TranslateErrorResponse, error_callback); in CallMethodWithTimeout()
300 &TranslateSuccessResponse<OutArgs...>, success_callback, error_callback); in CallMethodWithTimeout()
313 const AsyncErrorCallback& error_callback, in CallMethod() argument
317 error_callback, params...); in CallMethod()
/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/libchrome/mojo/public/cpp/system/
Dinvitation.cc61 const ProcessErrorCallback& error_callback, in SendInvitation() argument
74 if (error_callback) { in SendInvitation()
81 reinterpret_cast<uintptr_t>(new ProcessErrorCallback(error_callback)); in SendInvitation()
155 const ProcessErrorCallback& error_callback) { in Send() argument
159 MOJO_SEND_INVITATION_FLAG_NONE, error_callback, ""); in Send()
166 const ProcessErrorCallback& error_callback) { in Send() argument
170 MOJO_SEND_INVITATION_FLAG_NONE, error_callback, ""); in Send()
Dinvitation.h92 const ProcessErrorCallback& error_callback = {});
100 const ProcessErrorCallback& error_callback = {});
/external/python/cpython3/Lib/multiprocessing/
Dpool.py375 error_callback=None): argument
380 callback, error_callback)
451 error_callback=None): argument
456 result = ApplyResult(self, callback, error_callback)
461 error_callback=None): argument
466 error_callback)
469 error_callback=None): argument
486 error_callback=error_callback)
744 def __init__(self, pool, callback, error_callback): argument
750 self._error_callback = error_callback
[all …]
/external/libchrome/dbus/
Dmock_object_proxy.cc34 ErrorCallback error_callback) { in CallMethodWithErrorCallback() argument
36 &error_callback); in CallMethodWithErrorCallback()
Dmock_object_proxy.h61 ErrorCallback error_callback) override;
66 ErrorCallback* error_callback));
/external/flac/examples/c/decode/file/
Dmain.c39 static void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus statu…
94 …coder_init_file(decoder, argv[1], write_callback, metadata_callback, error_callback, /*client_data… in main()
195 void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void… in error_callback() function
/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_test.cc121 if (error != NetEq::kOK && callbacks_.error_callback) { in RunToNextGetAudio()
122 callbacks_.error_callback->OnInsertPacketError(*packet_data); in RunToNextGetAudio()
180 if (callbacks_.error_callback) { in RunToNextGetAudio()
181 callbacks_.error_callback->OnGetAudioError(); in RunToNextGetAudio()
/external/flac/fuzzer/
Dflac_dec_fuzzer.cpp68 static auto error_callback = [](const FLAC__StreamDecoder *, in initDecoder() local
82 metadata_callback, error_callback, client_data); in initDecoder()
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc62 const ProcessErrorCallback& error_callback = {}) { in LaunchChildTestClient() argument
111 std::move(channel_endpoint), error_callback);
122 std::move(server_endpoint), error_callback);
/external/flac/examples/cpp/decode/file/
Dmain.cpp74 virtual void error_callback(::FLAC__StreamDecoderErrorStatus status);
188 void OurDecoder::error_callback(::FLAC__StreamDecoderErrorStatus status) in error_callback() function in OurDecoder
/external/llvm-project/lldb/source/Utility/
DReproducer.cpp275 llvm::function_ref<void(llvm::StringRef)> error_callback, in Verify() argument
279 error_callback("invalid loader"); in Verify()
287 error_callback("unable to read files: " + buffer.getError().message()); in Verify()
294 error_callback("unable to initialize the virtual file system"); in Verify()

123