Home
last modified time | relevance | path

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

/third_party/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()
392 if (!bool_present(e->bool, cn->bool_ids, cn->nbools)) { in cond_normalize_expr()
394 if (cn->nbools < COND_MAX_BOOLS) in cond_normalize_expr()
395 cn->bool_ids[cn->nbools++] = e->bool; in cond_normalize_expr()
[all …]
Dbooleans.c185 unsigned int nbools = policydb->p_bools.nprim; in sepol_bool_iterate() local
190 for (i = 0; i < nbools; i++) { in sepol_bool_iterate()
Dpolicydb_validate.c452 static int validate_bool_id_array(sepol_handle_t *handle, uint32_t bool_ids[], unsigned int nbools,… in validate_bool_id_array() argument
456 if (nbools >= COND_MAX_BOOLS) in validate_bool_id_array()
459 for (i=0; i < nbools; i++) { in validate_bool_id_array()
482 if (validate_bool_id_array(handle, cond->bool_ids, cond->nbools, &flavors[SYM_BOOLS])) in validate_cond_list()
Dlink.c1571 new_node->nbools = cur->nbools; in copy_cond_list()
1573 for (i = 0; i < min(cur->nbools, COND_MAX_BOOLS); i++) { in copy_cond_list()
Dexpand.c2008 for (i = 0; i < min(cn->nbools, COND_MAX_BOOLS); i++) in cond_node_map_bools()
/third_party/selinux/libsepol/include/sepol/policydb/
Dconditional.h88 unsigned int nbools; member