Home
last modified time | relevance | path

Searched refs:has_trie (Results 1 – 11 of 11) sorted by relevance

/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie.cc39 MARISA_ALPHA_THROW_IF(!temp.has_trie(), MARISA_ALPHA_MEMORY_ERROR); in map()
80 MARISA_ALPHA_THROW_IF(!temp.has_trie(), MARISA_ALPHA_MEMORY_ERROR); in read()
117 if (has_trie()) { in write()
123 return has_trie() ? (trie_->num_tries() + 1) : (louds_.empty() ? 0 : 1); in num_tries()
131 if (has_trie()) { in num_nodes()
140 + links_.total_size() + (has_trie() ? trie_->total_size() : 0) in total_size()
Dtrie-inline.h163 std::size_t next_pos = has_trie() ? in find_child()
218 std::size_t next_pos = has_trie() ? in predict_child()
277 if (has_trie()) { in predict_callback_()
350 inline bool Trie::has_trie() const { in has_trie() function
Dtrie-search.cc266 if (has_trie()) { in restore_()
290 if (has_trie()) { in trie_restore()
321 if (has_trie()) { in restore_()
348 if (has_trie()) { in trie_restore()
404 if (has_trie()) { in trie_match()
425 if (has_trie()) { in trie_match()
690 if (has_trie()) { in trie_prefix_match()
715 if (has_trie()) { in trie_prefix_match()
Dtrie-build.cc147 if (has_trie()) { in build_trie()
160 if (has_trie() || (tail_.mode() == MARISA_ALPHA_TEXT_TAIL)) { in build_trie()
293 MARISA_ALPHA_THROW_IF(!has_trie(), MARISA_ALPHA_MEMORY_ERROR); in build_next()
309 MARISA_ALPHA_THROW_IF(!has_trie(), MARISA_ALPHA_MEMORY_ERROR); in build_next()
Dtrie.h294 bool has_trie() const;
/external/marisa-trie/lib/marisa/
Dtrie.cc39 MARISA_THROW_IF(!temp.has_trie(), MARISA_MEMORY_ERROR); in map()
80 MARISA_THROW_IF(!temp.has_trie(), MARISA_MEMORY_ERROR); in read()
117 if (has_trie()) { in write()
123 return has_trie() ? (trie_->num_tries() + 1) : (louds_.empty() ? 0 : 1); in num_tries()
131 if (has_trie()) { in num_nodes()
140 + links_.total_size() + (has_trie() ? trie_->total_size() : 0) in total_size()
Dtrie-inline.h162 std::size_t next_pos = has_trie() ? in find_child()
213 std::size_t next_pos = has_trie() ? in predict_child()
272 if (has_trie()) { in predict_callback_()
341 inline bool Trie::has_trie() const { in has_trie() function
Dtrie-search.cc254 if (has_trie()) { in restore_()
271 if (has_trie()) { in trie_restore()
302 if (has_trie()) { in restore_()
329 if (has_trie()) { in trie_restore()
385 if (has_trie()) { in trie_match()
406 if (has_trie()) { in trie_match()
659 if (has_trie()) { in trie_prefix_match()
684 if (has_trie()) { in trie_prefix_match()
Dtrie-build.cc138 if (has_trie()) { in build_trie()
151 if (has_trie() || (tail_.mode() == MARISA_TEXT_TAIL)) { in build_trie()
279 MARISA_THROW_IF(!has_trie(), MARISA_MEMORY_ERROR); in build_next()
295 MARISA_THROW_IF(!has_trie(), MARISA_MEMORY_ERROR); in build_next()
Dtrie.h294 bool has_trie() const;
/external/marisa-trie/
Dandroid_diff.txt411 - if (has_trie()) {
421 + if (has_trie()) {