Home
last modified time | relevance | path

Searched refs:find_callback (Results 1 – 8 of 8) sorted by relevance

/external/marisa-trie/lib/marisa/
Dtrie-inline.h53 inline std::size_t Trie::find_callback(const char *str, in find_callback() function
61 inline std::size_t Trie::find_callback(const char *ptr, std::size_t length, in find_callback() function
69 inline std::size_t Trie::find_callback(const std::string &str, in find_callback() function
71 return find_callback(str.c_str(), str.length(), callback); in find_callback()
Dtrie-c.cc248 h->trie.find_callback(ptr, in marisa_find_callback()
251 h->trie.find_callback(ptr, length, in marisa_find_callback()
Dtrie.h107 std::size_t find_callback(const char *str, T callback) const;
109 std::size_t find_callback(const char *ptr, std::size_t length,
112 std::size_t find_callback(const std::string &str, T callback) const;
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie-inline.h53 inline std::size_t Trie::find_callback(const char *str, in find_callback() function
61 inline std::size_t Trie::find_callback(const char *ptr, std::size_t length, in find_callback() function
70 inline std::size_t Trie::find_callback(const std::string &str, in find_callback() function
72 return find_callback(str.c_str(), str.length(), callback); in find_callback()
Dtrie-c.cc275 h->trie.find_callback(ptr, in marisa_alpha_find_callback()
278 h->trie.find_callback(ptr, length, in marisa_alpha_find_callback()
Dtrie.h107 std::size_t find_callback(const char *str, T callback) const;
109 std::size_t find_callback(const char *ptr, std::size_t length,
112 std::size_t find_callback(const std::string &str, T callback) const;
/external/marisa-trie/tests/
Dtrie-test.cc146 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1); in TestTrie()
547 ASSERT(trie.find_callback("xyz", FindCallback(&ids, &lengths)) == 1); in TestEmptyString()
/external/marisa-trie/v0_1_5/tests/
Dtrie-test.cc148 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1); in TestTrie()
565 ASSERT(trie.find_callback("xyz", FindCallback(&ids, &lengths)) == 1); in TestEmptyString()