Home
last modified time | relevance | path

Searched refs:louds_pos (Results 1 – 10 of 10) sorted by relevance

/external/marisa-trie/lib/marisa/
Dtrie-inline.h149 UInt32 louds_pos = get_child(node); in find_child() local
150 if (!louds_[louds_pos]) { in find_child()
153 node = louds_pos_to_node(louds_pos, node); in find_child()
176 ++louds_pos; in find_child()
177 } while (louds_[louds_pos]); in find_child()
200 UInt32 louds_pos = get_child(node); in predict_child() local
201 if (!louds_[louds_pos]) { in predict_child()
204 node = louds_pos_to_node(louds_pos, node); in predict_child()
228 ++louds_pos; in predict_child()
229 } while (louds_[louds_pos]); in predict_child()
[all …]
Dcell.h12 void set_louds_pos(UInt32 louds_pos) { in set_louds_pos() argument
13 louds_pos_ = louds_pos; in set_louds_pos()
25 UInt32 louds_pos() const { in louds_pos() function
Dtrie-search.cc550 const UInt32 louds_pos = get_child(node); in predict_breadth_first_() local
551 if (!louds_[louds_pos]) { in predict_breadth_first_()
554 UInt32 node_begin = louds_pos_to_node(louds_pos, node); in predict_breadth_first_()
617 if (!louds_[cell.louds_pos()]) { in predict_depth_first_()
620 cell.set_node(louds_pos_to_node(cell.louds_pos(), node)); in predict_depth_first_()
627 if (!louds_[cur.louds_pos()]) { in predict_depth_first_()
628 cur.set_louds_pos(cur.louds_pos() + 1); in predict_depth_first_()
632 cur.set_louds_pos(cur.louds_pos() + 1); in predict_depth_first_()
644 cell.set_node(louds_pos_to_node(cell.louds_pos(), cur.node())); in predict_depth_first_()
Dtrie.h283 UInt32 louds_pos_to_node(UInt32 louds_pos, UInt32 parent_node) const;
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie-inline.h150 UInt32 louds_pos = get_child(node); in find_child() local
151 if (!louds_[louds_pos]) { in find_child()
154 node = louds_pos_to_node(louds_pos, node); in find_child()
177 ++louds_pos; in find_child()
178 } while (louds_[louds_pos]); in find_child()
205 UInt32 louds_pos = get_child(node); in predict_child() local
206 if (!louds_[louds_pos]) { in predict_child()
209 node = louds_pos_to_node(louds_pos, node); in predict_child()
233 ++louds_pos; in predict_child()
234 } while (louds_[louds_pos]); in predict_child()
[all …]
Dcell.h12 void set_louds_pos(UInt32 louds_pos) { in set_louds_pos() argument
13 louds_pos_ = louds_pos; in set_louds_pos()
25 UInt32 louds_pos() const { in louds_pos() function
Dtrie-search.cc573 const UInt32 louds_pos = get_child(node); in predict_breadth_first_() local
574 if (!louds_[louds_pos]) { in predict_breadth_first_()
577 UInt32 node_begin = louds_pos_to_node(louds_pos, node); in predict_breadth_first_()
644 if (!louds_[cell.louds_pos()]) { in predict_depth_first_()
647 cell.set_node(louds_pos_to_node(cell.louds_pos(), node)); in predict_depth_first_()
654 if (!louds_[cur.louds_pos()]) { in predict_depth_first_()
655 cur.set_louds_pos(cur.louds_pos() + 1); in predict_depth_first_()
659 cur.set_louds_pos(cur.louds_pos() + 1); in predict_depth_first_()
671 cell.set_node(louds_pos_to_node(cell.louds_pos(), cur.node())); in predict_depth_first_()
Dtrie.h283 UInt32 louds_pos_to_node(UInt32 louds_pos, UInt32 parent_node) const;
/external/marisa-trie/tests/
Dunit-test.cc424 ASSERT(cell.louds_pos() == 0); in TestCell()
434 ASSERT(cell.louds_pos() == 1); in TestCell()
/external/marisa-trie/v0_1_5/tests/
Dunit-test.cc428 ASSERT(cell.louds_pos() == 0); in TestCell()
438 ASSERT(cell.louds_pos() == 1); in TestCell()