Home
last modified time | relevance | path

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

/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-break-iterator.cc156 libtextclassifier3::ScopedLocalRef<jintArray> break_indices, in FetchNextBatch()
161 if (break_indices == nullptr || jni_cache_->ExceptionCheckAndClear()) { in FetchNextBatch()
164 jint num_indices = jni_cache_->GetEnv()->GetArrayLength(break_indices.get()); in FetchNextBatch()
170 break_indices.get(), nullptr)); in FetchNextBatch()
174 jni_cache_->GetEnv()->ReleasePrimitiveArrayCritical(break_indices.get(), in FetchNextBatch()
/external/libtextclassifier/native/utils/utf8/
Dunilib_test-include.cc326 std::vector<int> break_indices; in TEST_F() local
329 break_indices.push_back(break_index); in TEST_F()
331 EXPECT_THAT(break_indices, ElementsAre(4, 5, 9)); in TEST_F()
338 std::vector<int> break_indices; in TEST_F() local
341 break_indices.push_back(break_index); in TEST_F()
343 EXPECT_THAT(break_indices, ElementsAre(1, 2, 3)); in TEST_F()