Searched refs:nbools (Results 1 – 6 of 6) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | conditional.c | 81 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 …]
|
D | booleans.c | 185 unsigned int nbools = policydb->p_bools.nprim; in sepol_bool_iterate() local 190 for (i = 0; i < nbools; i++) { in sepol_bool_iterate()
|
D | policydb_validate.c | 452 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()
|
D | link.c | 1571 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()
|
D | expand.c | 2008 for (i = 0; i < min(cn->nbools, COND_MAX_BOOLS); i++) in cond_node_map_bools()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | conditional.h | 88 unsigned int nbools; member
|