Home
last modified time | relevance | path

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

/external/libbrillo/brillo/http/
Dhttp_transport_fake.cc116 handlers_[GetHandlerMapKey(url, method)] = handler; in AddHandler()
135 auto p = handlers_.find(GetHandlerMapKey(url, method)); in GetHandler()
136 if (p != handlers_.end()) in GetHandler()
139 p = handlers_.find(GetHandlerMapKey(url, "*")); in GetHandler()
140 if (p != handlers_.end()) in GetHandler()
143 p = handlers_.find(GetHandlerMapKey("*", method)); in GetHandler()
144 if (p != handlers_.end()) in GetHandler()
147 p = handlers_.find(GetHandlerMapKey("*", "*")); in GetHandler()
148 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/libweave/examples/provider/
Devent_http_server.cc144 auto it = handlers_.find(path); in ProcessRequest()
145 if (it != handlers_.end()) { in ProcessRequest()
158 handlers_.insert(std::make_pair(path, callback)); in AddHttpRequestHandler()
165 handlers_.insert(std::make_pair(path, callback)); in AddHttpsRequestHandler()
Devent_http_server.h51 std::map<std::string, RequestHandlerCallback> handlers_; variable
/external/v8/src/compiler/
Dcode-generator.cc47 handlers_(code->zone()), in CodeGenerator()
187 if (!handlers_.empty()) { in GenerateCode()
190 HandlerTable::LengthForReturn(static_cast<int>(handlers_.size())), in GenerateCode()
192 for (size_t i = 0; i < handlers_.size(); ++i) { in GenerateCode()
193 int position = handlers_[i].handler->pos(); in GenerateCode()
194 HandlerTable::CatchPrediction prediction = handlers_[i].caught_locally in GenerateCode()
197 table->SetReturnOffset(static_cast<int>(i), handlers_[i].pc_offset); in GenerateCode()
434 handlers_.push_back({caught, GetLabel(handler_rpo), masm()->pc_offset()}); in RecordCallPosition()
Dcode-generator.h212 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
/external/libweave/src/privet/
Dprivet_handler.cc354 for (const auto& pair : handlers_) { in GetHttpPaths()
363 for (const auto& pair : handlers_) in GetHttpsPaths()
475 auto handler = handlers_.find(api); in HandleRequest()
476 if (handler == handlers_.end()) { in HandleRequest()
513 CHECK(handlers_.insert(std::make_pair(path, params)).second); in AddHandler()
523 CHECK(handlers_.insert(std::make_pair(path, params)).second); in AddSecureHandler()
Dprivet_handler.h153 std::map<std::string, HandlerParameters> handlers_; variable