/external/marisa-trie/tools/ |
D | marisa-find.cc | 67 void find_last(const marisa::Trie &trie, const std::string &str) { in find_last() function 69 const marisa::UInt32 key_id = trie.find_last(str, &length); in find_last() 121 find_last(trie, str); in find()
|
/external/marisa-trie/v0_1_5/tools/ |
D | marisa_alpha-find.cc | 67 void find_last(const marisa_alpha::Trie &trie, const std::string &str) { in find_last() function 69 const marisa_alpha::UInt32 key_id = trie.find_last(str, &length); in find_last() 121 find_last(trie, str); in find()
|
/external/marisa-trie/tests/ |
D | trie-test.cc | 129 ASSERT(trie.find_last("ap") == trie.notfound()); in TestTrie() 130 ASSERT(trie.find_last("applex") == trie["apple"]); in TestTrie() 330 ASSERT(trie.find_last("afte") == trie.notfound()); in TestPrefixTrie() 331 ASSERT(trie.find_last("after") == trie["after"]); in TestPrefixTrie() 332 ASSERT(trie.find_last("afternoon", &length) == trie["after"]); in TestPrefixTrie() 531 ASSERT(trie.find_last("") == 0); in TestEmptyString() 532 ASSERT(trie.find_last("x") == 0); in TestEmptyString()
|
/external/marisa-trie/v0_1_5/tests/ |
D | trie-test.cc | 131 ASSERT(trie.find_last("ap") == trie.notfound()); in TestTrie() 132 ASSERT(trie.find_last("applex") == trie["apple"]); in TestTrie() 332 ASSERT(trie.find_last("afte") == trie.notfound()); in TestPrefixTrie() 333 ASSERT(trie.find_last("after") == trie["after"]); in TestPrefixTrie() 334 ASSERT(trie.find_last("afternoon", &length) == trie["after"]); in TestPrefixTrie() 549 ASSERT(trie.find_last("") == 0); in TestEmptyString() 550 ASSERT(trie.find_last("x") == 0); in TestEmptyString()
|
/external/marisa-trie/lib/marisa/ |
D | trie-c.cc | 231 *key_id = h->trie.find_last(ptr, key_length); in marisa_find_last() 233 *key_id = h->trie.find_last(ptr, length, key_length); in marisa_find_last()
|
D | trie.h | 98 UInt32 find_last(const char *str, 100 UInt32 find_last(const char *ptr, std::size_t length, 102 UInt32 find_last(const std::string &str,
|
D | trie-inline.h | 47 inline UInt32 Trie::find_last(const std::string &str, in find_last() function 49 return find_last(str.c_str(), str.length(), key_length); in find_last()
|
D | trie-search.cc | 128 UInt32 Trie::find_last(const char *str, in find_last() function in marisa::Trie 135 UInt32 Trie::find_last(const char *ptr, std::size_t length, in find_last() function in marisa::Trie
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | trie-c.cc | 258 *key_id = h->trie.find_last(ptr, key_length); in marisa_alpha_find_last() 260 *key_id = h->trie.find_last(ptr, length, key_length); in marisa_alpha_find_last()
|
D | trie.h | 98 UInt32 find_last(const char *str, 100 UInt32 find_last(const char *ptr, std::size_t length, 102 UInt32 find_last(const std::string &str,
|
D | trie-inline.h | 47 inline UInt32 Trie::find_last(const std::string &str, in find_last() function 49 return find_last(str.c_str(), str.length(), key_length); in find_last()
|
D | trie-search.cc | 132 UInt32 Trie::find_last(const char *str, in find_last() function in marisa_alpha::Trie 139 UInt32 Trie::find_last(const char *ptr, std::size_t length, in find_last() function in marisa_alpha::Trie
|