Searched refs:find_callback (Results 1 – 8 of 8) sorted by relevance
/external/marisa-trie/lib/marisa/ |
D | trie-inline.h | 53 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()
|
D | trie-c.cc | 248 h->trie.find_callback(ptr, in marisa_find_callback() 251 h->trie.find_callback(ptr, length, in marisa_find_callback()
|
D | trie.h | 107 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/ |
D | trie-inline.h | 53 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()
|
D | trie-c.cc | 275 h->trie.find_callback(ptr, in marisa_alpha_find_callback() 278 h->trie.find_callback(ptr, length, in marisa_alpha_find_callback()
|
D | trie.h | 107 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/ |
D | trie-test.cc | 146 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/ |
D | trie-test.cc | 148 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1); in TestTrie() 565 ASSERT(trie.find_callback("xyz", FindCallback(&ids, &lengths)) == 1); in TestEmptyString()
|