Home
last modified time | relevance | path

Searched refs:node_to_key_id (Results 1 – 8 of 8) sorted by relevance

/external/marisa-trie/lib/marisa/
Dtrie-inline.h189 if (!callback(node_to_key_id(node), pos)) { in find_callback_()
247 if (!callback(node_to_key_id(node), key)) { in predict_callback_()
257 cell.set_key_id(node_to_key_id(cell.node())); in predict_callback_()
290 cell.set_key_id(node_to_key_id(cell.node())); in predict_callback_()
304 inline UInt32 Trie::node_to_key_id(UInt32 node) const { in node_to_key_id() function
Dtrie-search.cc377 return terminal_flags_[node] ? node_to_key_id(node) : notfound(); in lookup_()
473 key_ids.insert(count, node_to_key_id(node)); in find_()
495 return node_to_key_id(node); in find_first_()
517 return node_to_key_id(node_found); in find_last_()
538 const UInt32 key_id = node_to_key_id(node); in predict_breadth_first_()
557 const UInt32 key_id_begin = node_to_key_id(node_begin); in predict_breadth_first_()
558 const UInt32 key_id_end = node_to_key_id(node_end); in predict_breadth_first_()
609 key_ids.insert(count, node_to_key_id(node)); in predict_depth_first_()
621 cell.set_key_id(node_to_key_id(cell.node())); in predict_depth_first_()
645 cell.set_key_id(node_to_key_id(cell.node())); in predict_depth_first_()
Dtrie-build.cc111 key_ids[pairs[i].second] = temp.node_to_key_id(pairs[i].first); in build_trie()
Dtrie.h282 UInt32 node_to_key_id(UInt32 node) const;
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie-inline.h190 if (!callback(node_to_key_id(node), pos)) { in find_callback_()
252 if (!callback(node_to_key_id(node), key)) { in predict_callback_()
262 cell.set_key_id(node_to_key_id(cell.node())); in predict_callback_()
295 cell.set_key_id(node_to_key_id(cell.node())); in predict_callback_()
313 inline UInt32 Trie::node_to_key_id(UInt32 node) const { in node_to_key_id() function
Dtrie-search.cc396 return terminal_flags_[node] ? node_to_key_id(node) : notfound(); in lookup_()
492 key_ids.insert(count, node_to_key_id(node)); in find_()
518 return node_to_key_id(node); in find_first_()
540 return node_to_key_id(node_found); in find_last_()
561 const UInt32 key_id = node_to_key_id(node); in predict_breadth_first_()
580 const UInt32 key_id_begin = node_to_key_id(node_begin); in predict_breadth_first_()
581 const UInt32 key_id_end = node_to_key_id(node_end); in predict_breadth_first_()
636 key_ids.insert(count, node_to_key_id(node)); in predict_depth_first_()
648 cell.set_key_id(node_to_key_id(cell.node())); in predict_depth_first_()
672 cell.set_key_id(node_to_key_id(cell.node())); in predict_depth_first_()
Dtrie-build.cc120 key_ids[pairs[i].second] = temp.node_to_key_id(pairs[i].first); in build_trie()
Dtrie.h282 UInt32 node_to_key_id(UInt32 node) const;