Searched refs:it_end (Results 1 – 7 of 7) sorted by relevance
/external/libtextclassifier/native/utils/utf8/ |
D | unicodetext.cc | 243 const const_iterator& it_end) { in UTF8Substring() argument 244 return std::string(it_begin.it_, it_end.it_ - it_begin.it_); in UTF8Substring() 251 auto it_end = text.begin(); in Substring() local 252 std::advance(it_end, end_codepoint); in Substring() 254 return Substring(it_begin, it_end, do_copy); in Substring() 258 const const_iterator& it_end, bool do_copy) { in Substring() argument 261 result.repr_.Copy(it_begin.it_, it_end.it_ - it_begin.it_); in Substring() 265 result.repr_.PointTo(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
|
D | unicodetext_test.cc | 54 auto it_end = text.begin(); in TEST() local 55 std::advance(it_end, 6); in TEST() 56 EXPECT_EQ(text.UTF8Substring(it_begin, it_end), "h"); in TEST() 69 auto it_end = text.begin(); in TEST() local 70 std::advance(it_end, 6); in TEST() 71 EXPECT_EQ(text.UTF8Substring(it_begin, it_end), "h"); in TEST()
|
D | unicodetext.h | 188 const const_iterator& it_end); 192 const const_iterator& it_end,
|
/external/libtextclassifier/native/utils/ |
D | token-feature-extractor.cc | 277 UnicodeText::const_iterator it_end = feature_word_unicode.end(); in ExtractCharactergramFeaturesUnicode() local 280 --it_end; in ExtractCharactergramFeaturesUnicode() 287 if (it_chargram_end == it_end) { in ExtractCharactergramFeaturesUnicode() 297 for (; it_chargram_end <= it_end; in ExtractCharactergramFeaturesUnicode()
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate.cc | 189 const auto it_end = FindIndexOfNextWhitespaceOrPunctuation(text, iter_end, 1); in TokenAlignedSubstringAroundSpan() local 194 if (it_start != it_end && unilib_->IsWhitespace(*it_start)) { in TokenAlignedSubstringAroundSpan() 198 return UnicodeText::Substring(it_start, it_end, /*do_copy=*/false); in TokenAlignedSubstringAroundSpan()
|
/external/rust/cxx/tests/ffi/ |
D | tests.cc | 420 for (auto it = v.begin(), it_end = v.end(); it != it_end; it++) { in c_take_rust_vec_shared_forward_iterator() local 423 for (auto it = v.cbegin(), it_end = v.cend(); it != it_end; it++) { in c_take_rust_vec_shared_forward_iterator() local
|
/external/mesa3d/src/imgui/ |
D | imgui_draw.cpp | 1777 const int* it_end = in->Storage.end(); in UnpackBoolVectorToFlatIndexList() local 1778 for (const int* it = it_begin; it < it_end; it++) in UnpackBoolVectorToFlatIndexList()
|