/external/cronet/net/third_party/quiche/src/quiche/quic/core/qpack/ |
D | qpack_decoder_test.cc | 50 ON_CALL(handler_, OnDecodingErrorDetected(_, _)) in SetUp() 63 return qpack_decoder_.CreateProgressiveDecoder(stream_id, &handler_); in CreateProgressiveDecoder() 101 StrictMock<MockHeadersHandler> handler_; member in quic::test::__anonc37e77c20111::QpackDecoderTest 114 EXPECT_CALL(handler_, in TEST_P() 127 EXPECT_CALL(handler_, in TEST_P() 136 EXPECT_CALL(handler_, OnDecodingCompleted()); in TEST_P() 142 EXPECT_CALL(handler_, OnHeaderDecoded(Eq(""), Eq("foo"))); in TEST_P() 143 EXPECT_CALL(handler_, OnDecodingCompleted()); in TEST_P() 149 EXPECT_CALL(handler_, OnHeaderDecoded(Eq("foo"), Eq(""))); in TEST_P() 150 EXPECT_CALL(handler_, OnDecodingCompleted()); in TEST_P() [all …]
|
/external/webrtc/modules/video_coding/utility/ |
D | quality_scaler_unittest.cc | 74 handler_(std::make_unique<FakeQpUsageHandler>()) { in QualityScalerTest() 78 handler_.get(), VideoEncoder::QpThresholds(kLowQp, kHighQp))); in QualityScalerTest() 111 std::unique_ptr<FakeQpUsageHandler> handler_; member in webrtc::QualityScalerTest 123 EXPECT_TRUE(handler_->event.Wait(kDefaultTimeout)); in TEST_P() 124 EXPECT_EQ(1, handler_->adapt_down_events_); in TEST_P() 125 EXPECT_EQ(0, handler_->adapt_up_events_); in TEST_P() 130 EXPECT_FALSE(handler_->event.Wait(kDefaultTimeout)); in TEST_P() 131 EXPECT_EQ(0, handler_->adapt_down_events_); in TEST_P() 132 EXPECT_EQ(0, handler_->adapt_up_events_); in TEST_P() 137 EXPECT_TRUE(handler_->event.Wait(kDefaultTimeout)); in TEST_P() [all …]
|
D | bandwidth_quality_scaler_unittest.cc | 99 handler_(std::make_unique<FakeBandwidthQualityScalerHandler>()) { in BandwidthQualityScalerTest() 104 new BandwidthQualityScalerUnderTest(handler_.get())); in BandwidthQualityScalerTest() 189 std::unique_ptr<FakeBandwidthQualityScalerHandler> handler_; member in webrtc::BandwidthQualityScalerTest 208 EXPECT_FALSE(handler_->event_.Wait(TimeDelta::Millis( in TEST_P() 210 EXPECT_EQ(0, handler_->adapt_down_event_count_); in TEST_P() 211 EXPECT_EQ(0, handler_->adapt_up_event_count_); in TEST_P() 222 EXPECT_TRUE(handler_->event_.Wait(TimeDelta::Millis( in TEST_P() 224 EXPECT_EQ(0, handler_->adapt_down_event_count_); in TEST_P() 225 EXPECT_EQ(1, handler_->adapt_up_event_count_); in TEST_P() 236 EXPECT_TRUE(handler_->event_.Wait(TimeDelta::Millis( in TEST_P() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | wrapped_handler.hpp | 52 handler_(ASIO_MOVE_CAST(Handler)(handler)) in wrapped_handler() 58 handler_(other.handler_) in wrapped_handler() 64 handler_(ASIO_MOVE_CAST(Handler)(other.handler_)) in wrapped_handler() 70 dispatcher_.dispatch(ASIO_MOVE_CAST(Handler)(handler_)); in operator ()() 75 dispatcher_.dispatch(handler_); in operator ()() 81 dispatcher_.dispatch(detail::bind_handler(handler_, arg1)); in operator ()() 87 dispatcher_.dispatch(detail::bind_handler(handler_, arg1)); in operator ()() 93 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2)); in operator ()() 99 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2)); in operator ()() 105 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2, arg3)); in operator ()() [all …]
|
D | bind_handler.hpp | 30 : handler_(handler), in binder1() 36 : handler_(ASIO_MOVE_CAST(Handler)(handler)), in binder1() 43 handler_(static_cast<const Arg1&>(arg1_)); in operator ()() 48 handler_(arg1_); in operator ()() 52 Handler handler_; member in asio::detail::binder1 61 size, this_handler->handler_); in asio_handler_allocate() 69 pointer, size, this_handler->handler_); in asio_handler_deallocate() 77 this_handler->handler_); in asio_handler_is_continuation() 85 function, this_handler->handler_); in asio_handler_invoke() 93 function, this_handler->handler_); in asio_handler_invoke() [all …]
|
D | reactive_null_buffers_op.hpp | 36 handler_(ASIO_MOVE_CAST(Handler)(handler)) in reactive_null_buffers_op() 51 ptr p = { asio::detail::addressof(o->handler_), o, o }; in do_complete() 62 handler(o->handler_, o->ec_, o->bytes_transferred_); in do_complete() 63 p.h = asio::detail::addressof(handler.handler_); in do_complete() 71 asio_handler_invoke_helpers::invoke(handler, handler.handler_); in do_complete() 77 Handler handler_; member in asio::detail::reactive_null_buffers_op
|
D | resolve_endpoint_op.hpp | 47 handler_(ASIO_MOVE_CAST(Handler)(handler)) in resolve_endpoint_op() 57 ptr p = { asio::detail::addressof(o->handler_), o, o }; in do_complete() 90 handler(o->handler_, o->ec_, o->iter_); in do_complete() 91 p.h = asio::detail::addressof(handler.handler_); in do_complete() 98 asio_handler_invoke_helpers::invoke(handler, handler.handler_); in do_complete() 108 Handler handler_; member in asio::detail::resolve_endpoint_op
|
D | reactive_socket_send_op.hpp | 73 handler_(ASIO_MOVE_CAST(Handler)(handler)) in reactive_socket_send_op() 83 ptr p = { asio::detail::addressof(o->handler_), o, o }; in do_complete() 94 handler(o->handler_, o->ec_, o->bytes_transferred_); in do_complete() 95 p.h = asio::detail::addressof(handler.handler_); in do_complete() 103 asio_handler_invoke_helpers::invoke(handler, handler.handler_); in do_complete() 109 Handler handler_; member in asio::detail::reactive_socket_send_op
|
D | reactive_socket_recv_op.hpp | 76 handler_(ASIO_MOVE_CAST(Handler)(handler)) in reactive_socket_recv_op() 86 ptr p = { asio::detail::addressof(o->handler_), o, o }; in do_complete() 97 handler(o->handler_, o->ec_, o->bytes_transferred_); in do_complete() 98 p.h = asio::detail::addressof(handler.handler_); in do_complete() 106 asio_handler_invoke_helpers::invoke(handler, handler.handler_); in do_complete() 112 Handler handler_; member in asio::detail::reactive_socket_recv_op
|
D | resolve_op.hpp | 48 handler_(ASIO_MOVE_CAST(Handler)(handler)), in resolve_op() 65 ptr p = { asio::detail::addressof(o->handler_), o, o }; in do_complete() 95 handler(o->handler_, o->ec_, iterator_type()); in do_complete() 96 p.h = asio::detail::addressof(handler.handler_); in do_complete() 108 asio_handler_invoke_helpers::invoke(handler, handler.handler_); in do_complete() 118 Handler handler_; member in asio::detail::resolve_op
|
D | reactive_socket_recvmsg_op.hpp | 77 handler_(ASIO_MOVE_CAST(Handler)(handler)) in reactive_socket_recvmsg_op() 88 ptr p = { asio::detail::addressof(o->handler_), o, o }; in do_complete() 99 handler(o->handler_, o->ec_, o->bytes_transferred_); in do_complete() 100 p.h = asio::detail::addressof(handler.handler_); in do_complete() 108 asio_handler_invoke_helpers::invoke(handler, handler.handler_); in do_complete() 114 Handler handler_; member in asio::detail::reactive_socket_recvmsg_op
|
D | reactive_socket_sendto_op.hpp | 76 handler_(ASIO_MOVE_CAST(Handler)(handler)) in reactive_socket_sendto_op() 86 ptr p = { asio::detail::addressof(o->handler_), o, o }; in do_complete() 97 handler(o->handler_, o->ec_, o->bytes_transferred_); in do_complete() 98 p.h = asio::detail::addressof(handler.handler_); in do_complete() 106 asio_handler_invoke_helpers::invoke(handler, handler.handler_); in do_complete() 112 Handler handler_; member in asio::detail::reactive_socket_sendto_op
|
D | reactive_socket_connect_op.hpp | 58 handler_(ASIO_MOVE_CAST(Handler)(handler)) in reactive_socket_connect_op() 69 ptr p = { asio::detail::addressof(o->handler_), o, o }; in do_complete() 80 handler(o->handler_, o->ec_); in do_complete() 81 p.h = asio::detail::addressof(handler.handler_); in do_complete() 95 Handler handler_; member in asio::detail::reactive_socket_connect_op
|
/external/google-breakpad/src/common/dwarf/ |
D | dwarf2diehandler.cc | 47 if (entry.handler_ != root_handler_) in ~DIEDispatcher() 48 delete entry.handler_; in ~DIEDispatcher() 67 if (parent && parent->handler_ && !parent->reported_attributes_end_) { in StartDIE() 69 if (!parent->handler_->EndAttributes()) { in StartDIE() 72 parent->handler_->Finish(); in StartDIE() 73 if (parent->handler_ != root_handler_) in StartDIE() 74 delete parent->handler_; in StartDIE() 75 parent->handler_ = NULL; in StartDIE() 83 if (parent->handler_) in StartDIE() 85 handler = parent->handler_->FindChildHandler(offset, tag); in StartDIE() [all …]
|
/external/cronet/net/http/ |
D | http_auth_controller.cc | 98 int rv = handler_->GenerateAuthToken( in MaybeGenerateAuthToken() 148 handler_.swap(handler_preemptive); in SelectPreemptiveAuth() 187 handler_.get(), *headers, target_, disabled_schemes_, &challenge_used); in HandleAuthChallenge() 199 auth_scheme_host_port_, target_, handler_->realm(), in HandleAuthChallenge() 200 handler_->auth_scheme(), network_anonymization_key_, in HandleAuthChallenge() 232 if (!handler_.get() && can_send_auth) { in HandleAuthChallenge() 237 disabled_schemes_, net_log_, host_resolver_, &handler_); in HandleAuthChallenge() 240 if (!handler_.get()) { in HandleAuthChallenge() 256 if (handler_->NeedsIdentity()) { in HandleAuthChallenge() 269 if (!handler_->AllowsExplicitCredentials()) { in HandleAuthChallenge() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/impl/ |
D | write.hpp | 98 handler_(ASIO_MOVE_CAST(WriteHandler)(handler)) in write_op() 108 handler_(other.handler_) in write_op() 118 handler_(ASIO_MOVE_CAST(WriteHandler)(other.handler_)) in write_op() 142 handler_(ec, static_cast<const std::size_t&>(total_transferred_)); in operator ()() 152 WriteHandler handler_; member in asio::detail::write_op 172 handler_(ASIO_MOVE_CAST(WriteHandler)(handler)) in write_op() 182 handler_(other.handler_) in write_op() 192 handler_(ASIO_MOVE_CAST(WriteHandler)(other.handler_)) in write_op() 217 handler_(ec, static_cast<const std::size_t&>(total_transferred_)); in operator ()() 226 WriteHandler handler_; member in asio::detail::write_op [all …]
|
D | read.hpp | 100 handler_(ASIO_MOVE_CAST(ReadHandler)(handler)) in read_op() 110 handler_(other.handler_) in read_op() 120 handler_(ASIO_MOVE_CAST(ReadHandler)(other.handler_)) in read_op() 144 handler_(ec, static_cast<const std::size_t&>(total_transferred_)); in operator ()() 154 ReadHandler handler_; member in asio::detail::read_op 173 handler_(ASIO_MOVE_CAST(ReadHandler)(handler)) in read_op() 183 handler_(other.handler_) in read_op() 193 handler_(ASIO_MOVE_CAST(ReadHandler)(other.handler_)) in read_op() 218 handler_(ec, static_cast<const std::size_t&>(total_transferred_)); in operator ()() 227 ReadHandler handler_; member in asio::detail::read_op [all …]
|
/external/pigweed/pw_transfer/ |
D | transfer_test.cc | 113 : handler_(3, kData), in ReadTransfer() 118 ctx_.service().RegisterHandler(handler_); in ReadTransfer() 120 PW_CHECK(!handler_.prepare_read_called); in ReadTransfer() 121 PW_CHECK(!handler_.finalize_read_called); in ReadTransfer() 132 SimpleReadTransfer handler_; member in pw::transfer::test::__anon88b3d5bc0111::ReadTransfer 151 EXPECT_TRUE(handler_.prepare_read_called); in TEST_F() 152 EXPECT_FALSE(handler_.finalize_read_called); in TEST_F() 175 EXPECT_TRUE(handler_.finalize_read_called); in TEST_F() 176 EXPECT_EQ(handler_.finalize_read_status, OkStatus()); in TEST_F() 188 EXPECT_TRUE(handler_.prepare_read_called); in TEST_F() [all …]
|
/external/libbrillo/brillo/dbus/ |
D | dbus_object_internal_impl.h | 78 const base::Callback<R(Args...)>& handler) : handler_(handler) {} in SimpleDBusInterfaceMethodHandler() 84 method_response.Return(handler_.Run(args...)); in HandleMethod() 99 base::Callback<R(Args...)> handler_; 112 const base::Callback<void(Args...)>& handler) : handler_(handler) {} in SimpleDBusInterfaceMethodHandler() 118 handler_.Run(args...); in HandleMethod() 136 base::Callback<void(Args...)> handler_; 158 : handler_(handler) {} in SimpleDBusInterfaceMethodHandlerWithError() 165 if (!handler_.Run(&error, args...)) { in HandleMethod() 186 base::Callback<bool(ErrorPtr*, Args...)> handler_; 209 : handler_(handler) {} in SimpleDBusInterfaceMethodHandlerWithErrorAndMessage() [all …]
|
/external/webrtc/net/dcsctp/socket/ |
D | stream_reset_handler_test.cc | 118 handler_( 143 handler_->HandleReConfig(std::move(chunk)); in HandleAndCatchResponse() 182 EXPECT_TRUE(handler_->GetHandoverReadiness().IsReady()); in PerformHandover() 188 handler_->AddHandoverState(state); in PerformHandover() 208 handler_ = std::make_unique<StreamResetHandler>( in PerformHandover() 223 std::unique_ptr<StreamResetHandler> handler_; member in dcsctp::__anon8e0175480111::StreamResetHandlerTest 229 handler_->HandleReConfig(ReConfigChunk(Parameters())); in TEST_F() 244 handler_->HandleReConfig(ReConfigChunk(builder.Build())); in TEST_F() 351 handler_->ResetStreams(std::vector<StreamID>({StreamID(42)})); in TEST_F() 357 absl::optional<ReConfigChunk> reconfig = handler_->MakeStreamResetRequest(); in TEST_F() [all …]
|
/external/pigweed/pw_unit_test/ |
D | googletest_handler_adapter.cc | 23 handler_.TestProgramStart( in OnTestProgramStart() 29 handler_.EnvironmentsSetUpEnd(); in OnEnvironmentsSetUpEnd() 34 handler_.TestSuiteStart({ts.name(), ts.test_to_run_count()}); in OnTestSuiteStart() 38 handler_.TestCaseStart({ti.test_suite_name(), ti.name(), ti.file()}); in OnTestStart() 43 handler_.TestCaseExpect( in OnTestPartResult() 57 handler_.TestCaseEnd({ti.test_suite_name(), ti.name(), ti.file()}, result); in OnTestEnd() 61 handler_.TestSuiteEnd({ts.name(), ts.test_to_run_count()}); in OnTestSuiteEnd() 66 handler_.EnvironmentsTearDownEnd(); in OnEnvironmentsTearDownEnd() 71 handler_.TestProgramEnd({unit_test.test_to_run_count(), in OnTestProgramEnd()
|
/external/perfetto/src/base/http/ |
D | http_server_unittest.cc | 94 HttpServerTest() : srv_(&task_runner_, &handler_) { srv_.Start(kTestPort); } in HttpServerTest() 97 MockHttpHandler handler_; member in perfetto::base::__anon1186eda70111::HttpServerTest 103 EXPECT_CALL(handler_, OnHttpRequest(_)) in TEST_F() 116 EXPECT_CALL(handler_, OnHttpConnectionClosed(_)).Times(kIterations); in TEST_F() 138 EXPECT_CALL(handler_, OnHttpRequest(_)) in TEST_F() 145 EXPECT_CALL(handler_, OnHttpConnectionClosed(_)); in TEST_F() 156 EXPECT_CALL(handler_, OnHttpRequest(_)) in TEST_F() 169 EXPECT_CALL(handler_, OnHttpConnectionClosed(_)); in TEST_F() 180 EXPECT_CALL(handler_, OnHttpRequest(_)); in TEST_F() 182 EXPECT_CALL(handler_, OnHttpConnectionClosed(_)); in TEST_F() [all …]
|
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/hpack/ |
D | hpack_decoder_adapter.cc | 117 HpackDecoderAdapter::ListenerAdapter::ListenerAdapter() : handler_(nullptr) {} in ListenerAdapter() 122 handler_ = handler; in set_handler() 130 if (handler_ != nullptr) { in OnHeaderListStart() 131 handler_->OnHeaderBlockStart(); in OnHeaderListStart() 140 if (handler_ == nullptr) { in OnHeader() 145 handler_->OnHeader(name, value); in OnHeader() 153 if (handler_ != nullptr) { in OnHeaderListEnd() 154 handler_->OnHeaderBlockEnd(total_uncompressed_bytes_, total_hpack_bytes_); in OnHeaderListEnd() 155 handler_ = nullptr; in OnHeaderListEnd()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/qbone/ |
D | qbone_control_stream.h | 49 : QboneControlStreamBase(session), handler_(handler) {} in QboneControlStream() 52 : QboneControlStreamBase(pending, session), handler_(handler) {} in QboneControlStream() 61 if (handler_ != nullptr) { in OnMessage() 62 handler_->OnControlError(); in OnMessage() 66 if (handler_ != nullptr) { in OnMessage() 67 handler_->OnControlRequest(request); in OnMessage() 72 Handler* handler_;
|
/external/google-breakpad/src/common/ |
D | stabs_reader.cc | 76 handler_(handler), in StabsReader() 84 handler_->Warning("symbol %d: name offset outside the string section\n", in SymbolString() 162 if (! handler_->StartCompilationUnit(current_source_file_, in ProcessCompilationUnit() 213 if (! handler_->EndCompilationUnit(ending_address)) in ProcessCompilationUnit() 233 if (! handler_->StartFunction(name, function_address)) in ProcessFunction() 240 if (!handler_->Line(it->address, it->filename, it->number)) in ProcessFunction() 256 if (! handler_->Line(line_address, current_source_file_, line_number)) in ProcessFunction() 294 if (! handler_->EndFunction(ending_address)) in ProcessFunction() 308 if (!handler_->Extern(SymbolString(), iterator_->value)) in ProcessExtern()
|