Lines Matching refs:nullptr
32 : loop(loop), e(nullptr), timeout({}), callback(callback), enabled(false) { in IOEvent()
36 if (e != nullptr) { in ~IOEvent()
43 : ebase_(nullptr), has_error_(false), use_precise_timer_(false), in_loop_(false) {} in IOEventLoop()
47 if (ebase_ != nullptr) { in ~IOEventLoop()
53 if (ebase_ != nullptr) { in UsePreciseTimer()
61 if (ebase_ == nullptr) { in EnsureInit()
63 if (cfg != nullptr) { in EnsureInit()
87 if (ebase_ == nullptr) { in EnsureInit()
115 return nullptr; in AddReadEvent()
117 return AddEvent(fd, EV_READ | EV_PERSIST, nullptr, callback); in AddReadEvent()
123 return nullptr; in AddWriteEvent()
125 return AddEvent(fd, EV_WRITE | EV_PERSIST, nullptr, callback); in AddWriteEvent()
130 return AddEvent(sig, EV_SIGNAL | EV_PERSIST, nullptr, callback) != nullptr; in AddSignalEvent()
150 return nullptr; in AddEvent()
154 if (e->e == nullptr) { in AddEvent()
156 return nullptr; in AddEvent()
160 return nullptr; in AddEvent()
162 if (timeout != nullptr) { in AddEvent()
208 &ref->timeout : nullptr; in EnableEvent()