Home
last modified time | relevance | path

Searched refs:last_child (Results 1 – 3 of 3) sorted by relevance

/external/openfst/src/include/fst/extensions/ngram/
Dngram-fst.h557 const size_t last_child = context_index_.Select0(node_rank + 1) - 1; in Init() local
558 root_num_children_ = last_child - root_first_child_ + 1; in Init()
577 size_t last_child = context_index_.Select0(node_rank + 1) - 1; in Transition() local
580 loc = lower_bound(children, children + last_child - first_child + 1, in Transition()
582 if (loc == children + last_child - first_child + 1 || in Transition()
590 last_child = context_index_.Select0(node_rank + 1) - 1; in Transition()
612 size_t last_child = context_index_.Select0(node_rank + 1) - 1; in GetStates() local
615 loc = lower_bound(children, children + last_child - first_child + 1, in GetStates()
617 if (loc == children + last_child - first_child + 1 || *loc != *cit) { in GetStates()
626 last_child = context_index_.Select0(node_rank + 1) - 1; in GetStates()
/external/selinux/libsepol/cil/src/
Dcil_tree.h68 …nt (*first_child)(struct cil_tree_node *node, void *extra_args), int (*last_child)(struct cil_tree…
Dcil_tree.c177 int (*last_child)(struct cil_tree_node *node, void *extra_args), in cil_tree_walk_core()
198 rc = cil_tree_walk(node, process_node, first_child, last_child, extra_args); in cil_tree_walk_core()
213 int (*last_child)(struct cil_tree_node *node, void *extra_args), in cil_tree_walk()
230 rc = cil_tree_walk_core(node->cl_head, process_node, first_child, last_child, extra_args); in cil_tree_walk()
235 if (last_child != NULL) { in cil_tree_walk()
236 rc = (*last_child)(node->cl_tail, extra_args); in cil_tree_walk()