Home
last modified time | relevance | path

Searched refs:next_decl_id (Results 1 – 2 of 2) sorted by relevance

/external/selinux/checkpolicy/
Dmodule_compiler.c52 static uint32_t next_decl_id = 1; variable
120 next_decl_id = 2; in define_policy()
1312 (decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional()
1323 block->branch_list->decl_id == next_decl_id); in begin_optional()
1331 next_decl_id++; in begin_optional()
1353 if ((decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional_else()
1363 decl->next == NULL && decl->decl_id == next_decl_id); in begin_optional_else()
1369 next_decl_id++; in begin_optional_else()
/external/selinux/libsepol/src/
Dlink.c59 uint32_t next_decl_id, current_decl_id; member
1725 avrule_decl_create(state->next_decl_id); in copy_avrule_block()
1748 state->base->decl_val_to_struct[state->next_decl_id - 1] = in copy_avrule_block()
1750 state->decl_to_mod[state->next_decl_id] = module->policy; in copy_avrule_block()
1760 state->next_decl_id++; in copy_avrule_block()
2290 state->next_decl_id = 0; in prepare_base()
2297 if (decl->decl_id > state->next_decl_id) { in prepare_base()
2298 state->next_decl_id = decl->decl_id; in prepare_base()
2305 state->next_decl_id++; in prepare_base()
2311 calloc(state->next_decl_id + num_mod_decls, in prepare_base()
[all …]