• Home
  • Raw
  • Download

Lines Matching refs:it

158         LogBufferElementCollection::iterator it = mLogElements.begin();  in init()  local
159 while((it != mLogElements.end())) { in init()
160 LogBufferElement *e = *it; in init()
170 ++it; in init()
235 LogBufferElementCollection::iterator it = mLogElements.end(); in log() local
236 LogBufferElementCollection::iterator last = it; in log()
238 --it; in log()
239 if ((*it)->getRealTime() <= realtime) { in log()
242 last = it; in log()
312 LogBufferElementCollection::iterator it, bool coalesce) { in erase() argument
313 LogBufferElement *element = *it; in erase()
320 && (it == found->second)) { in erase()
330 && (it == found->second)) { in erase()
338 doSetLast |= setLast[i] = mLastSet[i] && (it == mLast[i]); in erase()
340 it = mLogElements.erase(it); in erase()
344 if (it == mLogElements.end()) { // unlikely in erase()
347 mLast[i] = it; in erase()
359 return it; in erase()
399 LogBufferElementMap::iterator it = map.find(key.getKey()); in coalesce() local
400 if (it != map.end()) { in coalesce()
401 LogBufferElement *found = it->second; in coalesce()
404 map.erase(it); in coalesce()
427 for(LogBufferElementMap::iterator it = map.begin(); it != map.end();) { in clear() local
428 LogBufferElement *mapElement = it->second; in clear()
431 it = map.erase(it); in clear()
433 ++it; in clear()
508 LogBufferElementCollection::iterator it; in prune() local
512 it = mLastSet[id] ? mLast[id] : mLogElements.begin(); in prune()
513 while (it != mLogElements.end()) { in prune()
514 LogBufferElement *element = *it; in prune()
517 ++it; in prune()
522 mLast[id] = it; in prune()
536 it = erase(it); in prune()
594 it = mLastSet[id] ? mLast[id] : mLogElements.begin(); in prune()
606 it = found->second; in prune()
616 it = found->second; in prune()
627 while (it != mLogElements.end()) { in prune()
628 LogBufferElement *element = *it; in prune()
639 ++it; in prune()
644 mLast[id] = it; in prune()
652 it = erase(it); in prune()
657 it = erase(it, true); in prune()
663 it = erase(it); in prune()
694 mLastWorstPidOfSystem[id][element->getUid()] = it; in prune()
699 mLastWorstUid[id][element->getUid()] = it; in prune()
701 ++it; in prune()
709 ++it; in prune()
724 it = erase(it); in prune()
729 it = erase(it, true); in prune()
735 mLastWorstPidOfSystem[id][worstPid] = it; in prune()
739 mLastWorstUid[id][worst] = it; in prune()
741 ++it; in prune()
758 it = mLastSet[id] ? mLast[id] : mLogElements.begin(); in prune()
759 while((pruneRows > 0) && (it != mLogElements.end())) { in prune()
760 LogBufferElement *element = *it; in prune()
763 it++; in prune()
768 mLast[id] = it; in prune()
792 it++; in prune()
796 it = erase(it); in prune()
802 it = mLastSet[id] ? mLast[id] : mLogElements.begin(); in prune()
803 while((it != mLogElements.end()) && (pruneRows > 0)) { in prune()
804 LogBufferElement *element = *it; in prune()
807 ++it; in prune()
812 mLast[id] = it; in prune()
829 it = erase(it); in prune()
913 LogBufferElementCollection::iterator it; in flushTo() local
921 it = mLogElements.begin(); in flushTo()
925 for (it = mLogElements.end(); it != mLogElements.begin(); /* do nothing */) { in flushTo()
926 --it; in flushTo()
927 LogBufferElement *element = *it; in flushTo()
929 it++; in flushTo()
935 for (; it != mLogElements.end(); ++it) { in flushTo()
936 LogBufferElement *element = *it; in flushTo()