Home
last modified time | relevance | path

Searched refs:start_it (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/utils/
Dtokenizer-utils.h71 UnicodeText::const_iterator start_it = input_unicode.begin(); in TokenizeWithFilter() local
79 const std::string token_text = UnicodeText::UTF8Substring(start_it, it); in TokenizeWithFilter()
89 start_it = std::next(it); in TokenizeWithFilter()
95 if (start_it != input_unicode.end()) { in TokenizeWithFilter()
97 UnicodeText::UTF8Substring(start_it, input_unicode.end()); in TokenizeWithFilter()
/external/pdfium/xfa/fde/
Dcfde_texteditengine.cpp945 auto start_it = text_piece_info_.begin(); in GetIndexForPoint() local
946 for (; start_it < text_piece_info_.end(); ++start_it) { in GetIndexForPoint()
947 if (start_it->rtPiece.top <= point.y && in GetIndexForPoint()
948 point.y < start_it->rtPiece.bottom()) in GetIndexForPoint()
953 if (start_it == text_piece_info_.end()) in GetIndexForPoint()
956 auto end_it = start_it; in GetIndexForPoint()
967 size_t start_it_idx = start_it->nStart; in GetIndexForPoint()
968 for (; start_it <= end_it; ++start_it) { in GetIndexForPoint()
970 (point.y >= start_it->rtPiece.top && in GetIndexForPoint()
971 point.y < start_it->rtPiece.bottom()); in GetIndexForPoint()
[all …]
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_trace_parser.cc83 auto start_it = partial_buf_.begin(); in Parse() local
85 auto line_it = std::find(start_it, partial_buf_.end(), '\n'); in Parse()
89 std::string buffer(start_it, line_it); in Parse()
180 start_it = line_it + 1; in Parse()
185 partial_buf_.erase(partial_buf_.begin(), start_it); in Parse()
/external/libtextclassifier/native/actions/
Dngram-model.cc147 const auto start_it = FirstTokenIterator(model_, 0); in GetFirstTokenMatches() local
149 const int start = std::lower_bound(start_it, end_it, token_hash).index(); in GetFirstTokenMatches()
150 const int end = std::upper_bound(start_it, end_it, token_hash).index(); in GetFirstTokenMatches()
/external/webrtc/modules/rtp_rtcp/source/
Dreceive_statistics_impl.cc393 const auto start_it = statisticians.upper_bound(last_returned_ssrc_); in RtcpReportBlocks() local
394 for (auto it = start_it; in RtcpReportBlocks()
398 result.size() < max_blocks && it != start_it; ++it) in RtcpReportBlocks()
/external/libchrome/base/files/
Dfile_path_watcher_linux.cc558 std::map<FilePath, InotifyReader::Watch>::iterator start_it = in UpdateRecursiveWatches() local
560 std::map<FilePath, InotifyReader::Watch>::iterator end_it = start_it; in UpdateRecursiveWatches()
568 recursive_watches_by_path_.erase(start_it, end_it); in UpdateRecursiveWatches()