Searched refs:has_trie (Results 1 – 11 of 11) sorted by relevance
39 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()
163 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
266 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()
147 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()
294 bool has_trie() const;
39 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()
162 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
254 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()
138 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()
411 - if (has_trie()) {421 + if (has_trie()) {