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.c755 cond_expr_t *cur_expr; in cond_write_node() local
766 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) in cond_write_node()
774 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) { in cond_write_node()
776 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()
777 buf[items++] = cpu_to_le32(cur_expr->bool); in cond_write_node()
Dlink.c1544 cond_expr_t *cur_expr; in copy_cond_list() local
1562 for (cur_expr = new_node->expr; cur_expr != NULL; in copy_cond_list()
1563 cur_expr = cur_expr->next) { in copy_cond_list()
1565 if (cur_expr->expr_type != COND_BOOL) in copy_cond_list()
1567 assert(module->map[SYM_BOOLS][cur_expr->bool - 1] != 0); in copy_cond_list()
1568 cur_expr->bool = in copy_cond_list()
1569 module->map[SYM_BOOLS][cur_expr->bool - 1]; in copy_cond_list()
Dexpand.c2832 cond_expr_t *cur_expr; in discard_tunables() local
2869 for (cur_expr = cur_node->expr; cur_expr != NULL; in discard_tunables()
2870 cur_expr = cur_expr->next) { in discard_tunables()
2871 if (cur_expr->expr_type != COND_BOOL) in discard_tunables()
2873 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables()