Home
last modified time | relevance | path

Searched refs:cur_expr (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/src/
Dconditional.c478 cond_expr_t *cur_expr, *next_expr; in cond_expr_destroy() local
483 for (cur_expr = expr; cur_expr != NULL; cur_expr = next_expr) { in cond_expr_destroy()
484 next_expr = cur_expr->next; in cond_expr_destroy()
485 free(cur_expr); in cond_expr_destroy()
Dwrite.c750 cond_expr_t *cur_expr; in cond_write_node() local
761 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) in cond_write_node()
769 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) { in cond_write_node()
771 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()
772 buf[items++] = cpu_to_le32(cur_expr->bool); in cond_write_node()
Dlink.c1560 cond_expr_t *cur_expr; in copy_cond_list() local
1578 for (cur_expr = new_node->expr; cur_expr != NULL; in copy_cond_list()
1579 cur_expr = cur_expr->next) { in copy_cond_list()
1581 if (cur_expr->expr_type != COND_BOOL) in copy_cond_list()
1583 assert(module->map[SYM_BOOLS][cur_expr->bool - 1] != 0); in copy_cond_list()
1584 cur_expr->bool = in copy_cond_list()
1585 module->map[SYM_BOOLS][cur_expr->bool - 1]; in copy_cond_list()
Dexpand.c2875 cond_expr_t *cur_expr; in discard_tunables() local
2912 for (cur_expr = cur_node->expr; cur_expr != NULL; in discard_tunables()
2913 cur_expr = cur_expr->next) { in discard_tunables()
2914 if (cur_expr->expr_type != COND_BOOL) in discard_tunables()
2916 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables()