/external/libbrillo/brillo/streams/ |
D | stream.cc | 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() [all …]
|
D | stream.h | 206 const base::Callback<void(size_t)>& success_callback, 218 const base::Closure& success_callback, 292 const base::Callback<void(size_t)>& success_callback, 304 const base::Closure& success_callback, 356 virtual bool FlushAsync(const base::Closure& success_callback, 400 const base::Callback<void(size_t)>& success_callback, 415 const base::Callback<void(size_t, bool)>& success_callback, 425 const base::Callback<void(size_t, bool)>& success_callback, 434 const base::Callback<void(size_t, bool)>& success_callback, 449 const base::Callback<void(size_t)>& success_callback, [all …]
|
D | tls_stream.cc | 79 const base::Closure& success_callback, 109 void DoHandshake(const base::Closure& success_callback, 111 void RetryHandshake(const base::Closure& success_callback, 341 const base::Closure& success_callback, in Init() argument 392 success_callback, in Init() 395 DoHandshake(success_callback, error_callback); in Init() 401 const base::Closure& success_callback, in RetryHandshake() argument 405 DoHandshake(success_callback, error_callback); in RetryHandshake() 409 const base::Closure& success_callback, in DoHandshake() argument 415 success_callback.Run(); in DoHandshake() [all …]
|
D | stream_utils.cc | 25 CopyDataSuccessCallback success_callback; member 43 state->success_callback.Run(std::move(state->in_stream), in PerformWrite() 190 const CopyDataSuccessCallback& success_callback, in CopyData() argument 193 std::numeric_limits<uint64_t>::max(), 4096, success_callback, in CopyData() 201 const CopyDataSuccessCallback& success_callback, in CopyData() argument 209 state->success_callback = success_callback; in CopyData()
|
D | stream_unittest.cc | 103 auto success_callback = [&read_size, &succeeded](size_t size) { in TEST() local 121 base::Bind(success_callback), in TEST() 131 base::Bind(success_callback), in TEST() 152 auto success_callback = [&succeeded](size_t /* size */) { succeeded = true; }; in TEST() local 165 base::Bind(success_callback), in TEST() 177 base::Bind(success_callback), in TEST() 192 auto success_callback = [&succeeded]() { succeeded = true; }; in TEST() local 207 base::Bind(success_callback), in TEST() 242 auto success_callback = [&succeeded]() { succeeded = true; }; in TEST() local 259 base::Bind(success_callback), in TEST() [all …]
|
D | stream_utils.h | 94 const CopyDataSuccessCallback& success_callback, 108 const CopyDataSuccessCallback& success_callback,
|
D | tls_stream.h | 35 const base::Callback<void(StreamPtr)>& success_callback,
|
D | file_stream_unittest.cc | 374 auto success_callback = [&read_size](size_t size) { read_size = size; }; in TEST_F() local 383 base::Bind(success_callback), in TEST_F() 513 auto success_callback = [&write_size](size_t size) { write_size = size; }; in TEST_F() local 522 base::Bind(success_callback), in TEST_F() 1036 auto success_callback = [&succeeded, &buffer](size_t size) { in TEST_F() local 1061 EXPECT_TRUE(stream->ReadAsync(buffer, 100, base::Bind(success_callback), in TEST_F() 1087 auto success_callback = [&succeeded, &data](int read_fd, size_t /* size */) { in TEST_F() local 1101 base::Bind(success_callback, fds[0]), in TEST_F()
|
/external/libbrillo/brillo/http/ |
D | http_utils.cc | 35 const SuccessCallback& success_callback, in Get() argument 41 success_callback, in Get() 54 const SuccessCallback& success_callback, in Head() argument 60 success_callback, in Head() 79 const SuccessCallback& success_callback, in PostText() argument 87 success_callback, in PostText() 128 const SuccessCallback& success_callback, in SendRequest() argument 144 return request.GetResponse(success_callback, error_callback); in SendRequest() 154 const SuccessCallback& success_callback, in SendRequest() argument 162 success_callback, in SendRequest() [all …]
|
D | http_utils.h | 87 const SuccessCallback& success_callback, 103 const SuccessCallback& success_callback, 114 const SuccessCallback& success_callback, 133 const SuccessCallback& success_callback, 150 const SuccessCallback& success_callback, 174 const SuccessCallback& success_callback, 189 const SuccessCallback& success_callback, 212 const SuccessCallback& success_callback, 234 const SuccessCallback& success_callback, 256 const SuccessCallback& success_callback, [all …]
|
D | http_connection_fake.cc | 61 const SuccessCallback& success_callback, in FinishRequestAsync() argument 66 auto callback = [connection, success_callback, error_callback] { in FinishRequestAsync() 67 connection->FinishRequestAsyncHelper(success_callback, error_callback); in FinishRequestAsync() 74 const SuccessCallback& success_callback, in FinishRequestAsyncHelper() argument 81 success_callback.Run(1, std::move(response)); in FinishRequestAsyncHelper()
|
D | http_request_unittest.cc | 159 auto success_callback = in TEST_F() local 178 [this, &read_data, &resp_data](const SuccessCallback& success_callback) { in TEST_F() argument 187 success_callback.Run(23, std::move(resp)); in TEST_F() 198 EXPECT_EQ(23, request.GetResponse(base::Bind(success_callback), {})); in TEST_F()
|
D | http_connection_fake.h | 34 RequestID FinishRequestAsync(const SuccessCallback& success_callback, 45 void FinishRequestAsyncHelper(const SuccessCallback& success_callback,
|
D | http_transport_curl.cc | 91 SuccessCallback success_callback; member 210 const SuccessCallback& success_callback, in StartAsyncTransfer() argument 226 request_data->success_callback = success_callback; in StartAsyncTransfer() 464 base::Bind(request_data->success_callback, in OnTransferComplete()
|
D | http_utils_unittest.cc | 71 auto success_callback = in TEST() local 89 base::Bind(success_callback), in TEST() 161 auto success_callback = in TEST() local 174 base::Bind(success_callback), in TEST() 468 auto success_callback = in TEST() local 482 base::Bind(success_callback), in TEST()
|
D | http_connection.h | 70 virtual RequestID FinishRequestAsync(const SuccessCallback& success_callback,
|
D | http_connection_curl.cc | 170 const SuccessCallback& success_callback, in FinishRequestAsync() argument 173 return transport_->StartAsyncTransfer(this, success_callback, error_callback); in FinishRequestAsync()
|
D | http_transport.h | 70 const SuccessCallback& success_callback,
|
D | http_connection_curl.h | 38 const SuccessCallback& success_callback,
|
D | http_request.cc | 144 RequestID Request::GetResponse(const SuccessCallback& success_callback, in GetResponse() argument 153 connection_->FinishRequestAsync(success_callback, error_callback); in GetResponse()
|
D | http_transport_curl.h | 55 const SuccessCallback& success_callback,
|
D | http_transport_curl_unittest.cc | 208 auto success_callback = [&success_call_count, &run_loop]( in TEST_F() local 237 base::Bind(success_callback), in TEST_F()
|
D | http_transport_fake.h | 98 const SuccessCallback& success_callback,
|
/external/libbrillo/brillo/dbus/ |
D | dbus_method_invoker.h | 256 const base::Callback<void(OutArgs...)>& success_callback, in TranslateSuccessResponse() argument 259 auto callback = [&success_callback](const OutArgs&... params) { in TranslateSuccessResponse() 260 if (!success_callback.is_null()) { in TranslateSuccessResponse() 261 success_callback.Run(params...); in TranslateSuccessResponse() 288 const base::Callback<void(OutArgs...)>& success_callback, in CallMethodWithTimeout() argument 298 &TranslateSuccessResponse<OutArgs...>, success_callback, error_callback); in CallMethodWithTimeout() 309 const base::Callback<void(OutArgs...)>& success_callback, in CallMethod() argument 316 success_callback, in CallMethod()
|
D | dbus_method_invoker_unittest.cc | 221 dbus::ObjectProxy::ResponseCallback success_callback, in HandleCall() argument 233 success_callback.Run(response.get()); in HandleCall()
|