Home
last modified time | relevance | path

Searched refs:nbools (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libsepol/src/
Dconditional.c81 x = a->nbools; in same_bools()
84 if (x != b->nbools) in same_bools()
104 if (a->nbools != b->nbools) in cond_expr_equal()
110 if (a->nbools <= COND_MAX_BOOLS && b->nbools <= COND_MAX_BOOLS) { in cond_expr_equal()
159 new_node->nbools = node->nbools; in cond_node_create()
160 for (i = 0; i < min(node->nbools, COND_MAX_BOOLS); i++) in cond_node_create()
353 cn->nbools = 0; in cond_normalize_expr()
393 if (!bool_present(e->bool, cn->bool_ids, cn->nbools)) { in cond_normalize_expr()
395 if (cn->nbools < COND_MAX_BOOLS) in cond_normalize_expr()
396 cn->bool_ids[cn->nbools++] = e->bool; in cond_normalize_expr()
[all …]
Dbooleans.c184 unsigned int nbools = policydb->p_bools.nprim; in sepol_bool_iterate() local
189 for (i = 0; i < nbools; i++) { in sepol_bool_iterate()
Dlink.c1578 new_node->nbools = cur->nbools; in copy_cond_list()
1580 for (i = 0; i < min(cur->nbools, COND_MAX_BOOLS); i++) { in copy_cond_list()
Dexpand.c2028 for (i = 0; i < min(cn->nbools, COND_MAX_BOOLS); i++) in cond_node_map_bools()
/external/selinux/libsepol/include/sepol/policydb/
Dconditional.h88 unsigned int nbools; member