Lines Matching defs:cur
141 cond_av_list_t *cur, avtab_t *avtab,
147 for (; cur; cur = cur->next) {
148 avtab_ptr_t n = cur->node;
186 static void bounds_destroy_cond_info(struct bounds_cond_info *cur)
190 for (; cur; cur = next) {
191 next = cur->next;
192 avtab_destroy(&cur->true_avtab);
193 avtab_destroy(&cur->false_avtab);
194 cur->next = NULL;
195 free(cur);
206 cond_list_t *cur;
220 for (cur = p->cond_list; cur; cur = cur->next) {
226 ci->cond_list = cur;
229 if (cur->true_list) {
232 rc = bounds_expand_cond_rules(handle, p, cur->true_list,
237 if (cur->false_list) {
240 rc = bounds_expand_cond_rules(handle, p, cur->false_list,
369 cond_av_list_t *cur;
371 for (cur = rules; cur; cur = cur->next) {
372 avtab_ptr_t ap = cur->node;
419 struct bounds_cond_info *cur;
431 for (cur = cond_info; cur; cur = cur->next) {
432 cond_list_t *node = cur->cond_list;
434 &cur->true_avtab,
440 &cur->false_avtab,
480 uint32_t parent, avtab_ptr_t cur)
485 for (; cur; cur = cur->next) {
487 p->p_type_val_to_name[cur->key.source_type - 1],
488 p->p_type_val_to_name[cur->key.target_type - 1],
489 p->p_class_val_to_name[cur->key.target_class - 1],
490 sepol_av_to_string(p, cur->key.target_class,
491 cur->datum.data));
495 void bounds_destroy_bad(avtab_ptr_t cur)
499 for (; cur; cur = next) {
500 next = cur->next;
501 cur->next = NULL;
502 free(cur);