Searched refs:preIt (Results 1 – 2 of 2) sorted by relevance
293 auto preIt = it; in CalCulateDuration() local297 if (CanCalcDuration(preIt->rawid, it->rawid)) { in CalCulateDuration()298 … uint64_t duration = (it->ts > preIt->ts) ? static_cast<uint64_t>(it->ts - preIt->ts) : 0; in CalCulateDuration()299 Accumulative(preIt->foldStatus, duration, durations); in CalCulateDuration()301 preIt = it; in CalCulateDuration()
10810 auto preIt = GetSpanIter(index - 1); in OnBackPressed() local10811 if (preIt != spans_.end()) { in OnBackPressed()10812 std::wstring preText = StringUtils::ToWstring((*preIt)->content); in OnBackPressed()10813 if ((*preIt)->spanItemType == SpanItemType::NORMAL in OnBackPressed()10814 … && index - 1 >= (*preIt)->rangeStart && preText[index - 1 - (*preIt)->rangeStart] == L' ') { in OnBackPressed()