Home
last modified time | relevance | path

Searched refs:handlers_ (Results 1 – 10 of 10) sorted by relevance

/external/libmojo/mojo/message_pump/
Dmessage_pump_mojo.cc100 CHECK_EQ(0u, handlers_.count(handle)); in AddHandler()
106 handlers_[handle] = handler_data; in AddHandler()
129 handlers_.erase(handle); in RemoveHandler()
294 const auto it = handlers_.find(handle); in ProcessReadyHandles()
303 if (it == handlers_.end()) in ProcessReadyHandles()
314 const auto it = handlers_.find(handle); in ProcessReadyHandles()
316 (it == handlers_.end() || it->second.id != ready_handles[handle])) { in ProcessReadyHandles()
370 const auto it = handlers_.find(handle); in RemoveExpiredHandles()
373 DCHECK(it != handlers_.end()); in RemoveExpiredHandles()
378 auto it = handlers_.find(pair.first); in RemoveExpiredHandles()
[all …]
Dmessage_pump_mojo.h147 HandleToHandler handlers_; variable
/external/libbrillo/brillo/http/
Dhttp_transport_fake.cc116 handlers_[GetHandlerMapKey(url, method)] = handler; in AddHandler()
139 auto p = handlers_.find(GetHandlerMapKey(url, method)); in GetHandler()
140 if (p != handlers_.end()) in GetHandler()
143 p = handlers_.find(GetHandlerMapKey(url, "*")); in GetHandler()
144 if (p != handlers_.end()) in GetHandler()
147 p = handlers_.find(GetHandlerMapKey("*", method)); in GetHandler()
148 if (p != handlers_.end()) in GetHandler()
151 p = handlers_.find(GetHandlerMapKey("*", "*")); in GetHandler()
152 return (p != handlers_.end()) ? p->second : HandlerCallback(); in GetHandler()
Dhttp_transport_fake.h107 std::map<std::string, HandlerCallback> handlers_;
/external/webrtc/webrtc/modules/video_coding/test/
Drtp_player.cc196 handlers_() { in SsrcHandlers()
201 while (!handlers_.empty()) { in ~SsrcHandlers()
202 delete handlers_.begin()->second; in ~SsrcHandlers()
203 handlers_.erase(handlers_.begin()); in ~SsrcHandlers()
208 if (handlers_.count(ssrc) > 0) { in RegisterSsrc()
248 handlers_[ssrc] = handler.release(); in RegisterSsrc()
253 for (HandlerMapIt it = handlers_.begin(); it != handlers_.end(); ++it) { in IncomingPacket()
313 HandlerMap handlers_; member in webrtc::rtpplayer::SsrcHandlers
/external/libbrillo/brillo/dbus/
Ddbus_object.cc41 for (const auto& pair : handlers_) { in ExportAsync()
75 for (const auto& pair : handlers_) { in ExportAndBlock()
119 auto pair = handlers_.find(method_name); in HandleMethodCall()
120 if (pair == handlers_.end()) { in HandleMethodCall()
137 auto res = handlers_.insert(std::make_pair(method_name, std::move(handler))); in AddHandlerImpl()
Ddbus_object.h492 handlers_; variable
/external/v8/src/compiler/
Dcode-generator.cc49 handlers_(code->zone()), in CodeGenerator()
230 if (!handlers_.empty()) { in GenerateCode()
233 HandlerTable::LengthForReturn(static_cast<int>(handlers_.size())), in GenerateCode()
235 for (size_t i = 0; i < handlers_.size(); ++i) { in GenerateCode()
236 table->SetReturnOffset(static_cast<int>(i), handlers_[i].pc_offset); in GenerateCode()
237 table->SetReturnHandler(static_cast<int>(i), handlers_[i].handler->pos()); in GenerateCode()
608 handlers_.push_back({GetLabel(handler_rpo), masm()->pc_offset()}); in RecordCallPosition()
Dcode-generator.h272 ZoneVector<HandlerInfo> handlers_; variable
/external/webrtc/webrtc/base/
Dphysicalsocketserver.cc959 HandlerMap::iterator i = handlers_.find(signum); in OnEvent()
960 if (i == handlers_.end()) { in OnEvent()
980 handlers_[signum] = handler; in SetHandler()
984 handlers_.erase(signum); in ClearHandler()
988 return !handlers_.empty(); in HasHandlers()
994 HandlerMap handlers_; member in rtc::PosixSignalDispatcher