Home
last modified time | relevance | path

Searched refs:handler_ (Results 1 – 25 of 96) sorted by relevance

1234

/external/cronet/net/third_party/quiche/src/quiche/quic/core/qpack/
Dqpack_decoder_test.cc50 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/
Dquality_scaler_unittest.cc74 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 …]
Dbandwidth_quality_scaler_unittest.cc99 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/
Dwrapped_handler.hpp52 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 …]
Dbind_handler.hpp30 : 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 …]
Dreactive_null_buffers_op.hpp36 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
Dresolve_endpoint_op.hpp47 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
Dreactive_socket_send_op.hpp73 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
Dreactive_socket_recv_op.hpp76 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
Dresolve_op.hpp48 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
Dreactive_socket_recvmsg_op.hpp77 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
Dreactive_socket_sendto_op.hpp76 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
Dreactive_socket_connect_op.hpp58 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/
Ddwarf2diehandler.cc47 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/
Dhttp_auth_controller.cc98 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/
Dwrite.hpp98 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 …]
Dread.hpp100 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/
Dtransfer_test.cc113 : 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/
Ddbus_object_internal_impl.h78 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/
Dstream_reset_handler_test.cc118 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/
Dgoogletest_handler_adapter.cc23 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/
Dhttp_server_unittest.cc94 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/
Dhpack_decoder_adapter.cc117 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/
Dqbone_control_stream.h49 : 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/
Dstabs_reader.cc76 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()

1234