Home
last modified time | relevance | path

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

/external/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.c700 cond_expr_t *cur_expr; in cond_write_node() local
711 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) in cond_write_node()
719 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) { in cond_write_node()
721 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()
722 buf[items++] = cpu_to_le32(cur_expr->bool); in cond_write_node()
Dlink.c1550 cond_expr_t *cur_expr; in copy_cond_list() local
1568 for (cur_expr = new_node->expr; cur_expr != NULL; in copy_cond_list()
1569 cur_expr = cur_expr->next) { in copy_cond_list()
1571 if (cur_expr->expr_type != COND_BOOL) in copy_cond_list()
1573 assert(module->map[SYM_BOOLS][cur_expr->bool - 1] != 0); in copy_cond_list()
1574 cur_expr->bool = in copy_cond_list()
1575 module->map[SYM_BOOLS][cur_expr->bool - 1]; in copy_cond_list()
Dexpand.c2844 cond_expr_t *cur_expr; in discard_tunables() local
2881 for (cur_expr = cur_node->expr; cur_expr != NULL; in discard_tunables()
2882 cur_expr = cur_expr->next) { in discard_tunables()
2883 if (cur_expr->expr_type != COND_BOOL) in discard_tunables()
2885 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables()