Searched refs:FindMatchesUtf8 (Results 1 – 3 of 3) sorted by relevance
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | text_test.cc | 90 EXPECT_EQ(1, page->FindMatchesUtf8(expected_word, nullptr)); in TEST() 91 EXPECT_EQ(1, page->FindMatchesUtf8(wrong_case, nullptr)); in TEST() 92 EXPECT_EQ(1, page->FindMatchesUtf8(missing_accents, nullptr)); in TEST() 94 EXPECT_EQ(0, page->FindMatchesUtf8(unexpected_word, nullptr)); in TEST() 113 EXPECT_EQ(3, page->FindMatchesUtf8(chinese_word, nullptr)); in TEST() 114 EXPECT_EQ(3, page->FindMatchesUtf8(english_word, nullptr)); in TEST() 116 EXPECT_EQ(0, page->FindMatchesUtf8(japanese_word, nullptr)); in TEST() 125 EXPECT_EQ(1, page->FindMatchesUtf8("A. Bbbb", nullptr)); in TEST() 127 EXPECT_EQ(0, page->FindMatchesUtf8("A Bbbbb", nullptr)); in TEST() 130 EXPECT_EQ(1, page->FindMatchesUtf8("wide-area", nullptr)); in TEST() [all …]
|
D | page.h | 134 int FindMatchesUtf8(std::string_view utf8, std::vector<TextRange>* matches);
|
D | page.cc | 163 int Page::FindMatchesUtf8(std::string_view utf8, vector<TextRange>* matches) { in FindMatchesUtf8() function in pdfClient::Page 184 int num_matches = FindMatchesUtf8(utf8, &matches); in BoundsOfMatchesUtf8()
|