Lines Matching defs:it
39 // FIXME This is too slow, despite the name it is used during writing
59 NBLog::FormatEntry::FormatEntry(const NBLog::FormatEntry::iterator &it) : FormatEntry(it.ptr) {}
70 auto it = begin();
72 ++it;
74 ++it;
76 if (it->type == EVENT_AUTHOR) {
77 ++it;
79 return it;
83 auto it = begin();
85 ++it;
86 return it.payload<timespec>();
90 auto it = begin();
92 ++it;
94 ++it;
95 // if there is an author entry, return it, return -1 otherwise
96 if (it->type == EVENT_AUTHOR) {
97 return it.payload<int>();
104 auto it = begin();
106 it.copyTo(dst);
108 (++it).copyTo(dst);
119 while ((++it)->type != EVENT_END_FMT) {
120 it.copyTo(dst);
122 it.copyTo(dst);
123 ++it;
124 return it;
438 // TODO Perhaps it makes sense to display truncated data or at least a
652 // it ends in a complete entry (which is not an END_FMT). So is safe to traverse backwards.
719 // log to push it out. Consider keeping the timestamp/body between calls to readAt().
827 // get a snapshot, dump it
1015 // copy it to the log, increasing offset
1055 // If mTimeoutUs is negative, wait on the condition variable until it's positive.
1056 // If it's positive, wait kThreadSleepPeriodUs and then merge