Searched refs:eventReadLen (Results 1 – 1 of 1) sorted by relevance
167 auto eventReadLen = read(inotifyFd, inotifyEventBuffer, sizeof(inotifyEventBuffer)); in PowerStateWatcher() local168 if (eventReadLen < 0) { in PowerStateWatcher()172 if (eventReadLen < static_cast<ssize_t>(sizeof(struct inotify_event))) { in PowerStateWatcher()174 << sizeof(struct inotify_event) << ", read size: " << eventReadLen; in PowerStateWatcher()