Home
last modified time | relevance | path

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

/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.h109 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/tensorflow/tensorflow/core/framework/
Drun_handler.cc92 handlers_.emplace_back(new RunHandler::Impl(this)); in Impl()
93 free_handlers_.push_back(handlers_.back().get()); in Impl()
121 DCHECK_EQ(handlers_.size(), max_handlers_); in ~Impl()
122 DCHECK_EQ(free_handlers_.size(), handlers_.size()); in ~Impl()
193 std::vector<std::unique_ptr<RunHandler::Impl>> handlers_ GUARDED_BY(mu_);
/external/libbrillo/brillo/dbus/
Ddbus_object.cc63 for (const auto& pair : handlers_) { in ExportAsync()
97 for (const auto& pair : handlers_) { in ExportAndBlock()
141 auto pair = handlers_.find(method_name); in HandleMethodCall()
142 if (pair == handlers_.end()) { in HandleMethodCall()
159 auto res = handlers_.insert(std::make_pair(method_name, std::move(handler))); in AddHandlerImpl()
Ddbus_object.h495 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
/external/v8/src/compiler/
Dcode-generator.cc61 handlers_(zone()), in CodeGenerator()
308 if (!handlers_.empty()) { in AssembleCode()
310 tasm(), static_cast<int>(handlers_.size())); in AssembleCode()
311 for (size_t i = 0; i < handlers_.size(); ++i) { in AssembleCode()
312 HandlerTable::EmitReturnEntry(tasm(), handlers_[i].pc_offset, in AssembleCode()
313 handlers_[i].handler->pos()); in AssembleCode()
875 handlers_.push_back({GetLabel(handler_rpo), tasm()->pc_offset()}); in RecordCallPosition()
Dcode-generator.h404 ZoneVector<HandlerInfo> handlers_; variable