Home
last modified time | relevance | path

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

/external/chromium_org/net/tools/epoll_server/
Depoll_server.cc167 inline void EpollServer::AddToReadyList(CBAndEventMask* cb_and_mask) { in AddToReadyList() argument
168 if (cb_and_mask->entry.le_prev == NULL) { in AddToReadyList()
169 LIST_INSERT_HEAD(&ready_list_, cb_and_mask, entry); in AddToReadyList()
175 const CBAndEventMask& cb_and_mask) { in RemoveFromReadyList() argument
176 if (cb_and_mask.entry.le_prev != NULL) { in RemoveFromReadyList()
177 LIST_REMOVE(&cb_and_mask, entry); in RemoveFromReadyList()
181 cb_and_mask.entry.le_prev = NULL; in RemoveFromReadyList()
337 CBAndEventMask* cb_and_mask = const_cast<CBAndEventMask*>(&*fd_i); in HandleEvent() local
338 AddToReadyList(cb_and_mask); in HandleEvent()
419 CBAndEventMask* cb_and_mask = const_cast<CBAndEventMask*>(&*fd_i); in SetFDReady() local
[all …]
Depoll_server.h536 bool operator==(const CBAndEventMask& cb_and_mask) const {
537 return fd == cb_and_mask.fd;
646 void AddToReadyList(CBAndEventMask* cb_and_mask);
652 void RemoveFromReadyList(const CBAndEventMask& cb_and_mask);