Home
last modified time | relevance | path

Searched refs:preIt (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_event_cacher.cpp293 auto preIt = it; in CalCulateDuration() local
297 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp10810 auto preIt = GetSpanIter(index - 1); in OnBackPressed() local
10811 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()