Home
last modified time | relevance | path

Searched refs:CBAndEventMask (Results 1 – 2 of 2) sorted by relevance

/external/chromium/net/tools/flip_server/
Depoll_server.cc167 inline void EpollServer::AddToReadyList(CBAndEventMask* cb_and_mask) { in AddToReadyList()
175 const CBAndEventMask& cb_and_mask) { in RemoveFromReadyList()
193 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd)); in RegisterFD()
214 cb_map_.insert(CBAndEventMask(cb, event_mask, fd)); in RegisterFD()
271 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd)); in UnregisterFD()
328 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd)); in HandleEvent()
337 CBAndEventMask* cb_and_mask = const_cast<CBAndEventMask*>(&*fd_i); in HandleEvent()
413 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd)); in SetFDReady()
419 CBAndEventMask* cb_and_mask = const_cast<CBAndEventMask*>(&*fd_i); in SetFDReady()
434 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd)); in SetFDNotReady()
[all …]
Depoll_server.h517 struct CBAndEventMask { struct
518 CBAndEventMask() in CBAndEventMask() function
529 CBAndEventMask(EpollCallbackInterface* cb, in CBAndEventMask() function
541 bool operator==(const CBAndEventMask& cb_and_mask) const {
548 mutable LIST_ENTRY(CBAndEventMask) entry; argument
564 size_t operator()(const CBAndEventMask& cb_and_eventmask) const { in operator() argument
569 typedef __gnu_cxx::hash_set<CBAndEventMask, CBAndEventMaskHash> FDToCBMap;
651 void AddToReadyList(CBAndEventMask* cb_and_mask);
657 void RemoveFromReadyList(const CBAndEventMask& cb_and_mask);
710 LIST_HEAD(ReadyList, CBAndEventMask) ready_list_;
[all …]