OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CBAndEventMask
(Results
1 - 2
of
2
) sorted by null
/external/chromium/net/tools/flip_server/
epoll_server.cc
34
//
CBAndEventMask
struct. This enables O(1) lookup in the list for a given
36
// and keep a list::iterator in
CBAndEventMask
to achieve the same effect.
42
// of link pointers makes it easier to retrieve the
CBAndEventMask
from the
43
// list, easier to check whether an
CBAndEventMask
is in the list, uses less
46
// - Embed the fd directly into
CBAndEventMask
and switch to using hash_set.
168
inline void EpollServer::AddToReadyList(
CBAndEventMask
* cb_and_mask) {
176
const
CBAndEventMask
& cb_and_mask) {
194
FDToCBMap::iterator fd_i = cb_map_.find(
CBAndEventMask
(NULL, 0, fd));
215
cb_map_.insert(
CBAndEventMask
(cb, event_mask, fd));
261
FDToCBMap::iterator fd_i = cb_map_.find(
CBAndEventMask
(NULL, 0, fd))
[
all
...]
epoll_server.h
525
struct
CBAndEventMask
{
526
CBAndEventMask
()
537
CBAndEventMask
(EpollCallbackInterface* cb,
547
// standing function. However, since
CBAndEventMask
is a protected type and
549
bool operator==(const
CBAndEventMask
& cb_and_mask) const {
556
mutable LIST_ENTRY(
CBAndEventMask
) entry;
572
size_t operator()(const
CBAndEventMask
& cb_and_eventmask) const {
577
typedef __gnu_cxx::hash_set<
CBAndEventMask
, CBAndEventMaskHash> FDToCBMap;
657
//
CBAndEventMask
to the ready list. If the fd is already on the ready
659
void AddToReadyList(
CBAndEventMask
* cb_and_mask)
[
all
...]
Completed in 197 milliseconds