Home
last modified time | relevance | path

Searched refs:it_begin (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/utils/utf8/
Dunicodetext.cc225 std::string UnicodeText::UTF8Substring(const const_iterator& it_begin, in UTF8Substring() argument
227 return std::string(it_begin.it_, it_end.it_ - it_begin.it_); in UTF8Substring()
232 auto it_begin = text.begin(); in Substring() local
233 std::advance(it_begin, begin_codepoint); in Substring()
237 return Substring(it_begin, it_end, do_copy); in Substring()
240 UnicodeText UnicodeText::Substring(const const_iterator& it_begin, in Substring() argument
244 result.repr_.Copy(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
248 result.repr_.PointTo(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
Dunicodetext_test.cc52 auto it_begin = text.begin(); in TEST() local
53 std::advance(it_begin, 4); in TEST()
56 EXPECT_EQ(text.UTF8Substring(it_begin, it_end), "��h"); in TEST()
67 auto it_begin = text.begin(); in TEST() local
68 std::advance(it_begin, 4); in TEST()
71 EXPECT_EQ(text.UTF8Substring(it_begin, it_end), "��h"); in TEST()
Dunicodetext.h179 static std::string UTF8Substring(const const_iterator& it_begin,
183 static UnicodeText Substring(const const_iterator& it_begin,
/external/mesa3d/src/imgui/
Dimgui_draw.cpp1776 const int* it_begin = in->Storage.begin(); in UnpackBoolVectorToFlatIndexList() local
1778 for (const int* it = it_begin; it < it_end; it++) in UnpackBoolVectorToFlatIndexList()
1782 out->push_back((int)((it - it_begin) << 5) + bit_n); in UnpackBoolVectorToFlatIndexList()