Home
last modified time | relevance | path

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

/external/checkpolicy/
Dmodule_compiler.c51 static uint32_t next_decl_id = 1; variable
90 next_decl_id = 2; in define_policy()
1421 (decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional()
1432 block->branch_list->decl_id == next_decl_id); in begin_optional()
1440 next_decl_id++; in begin_optional()
1462 if ((decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional_else()
1472 decl->next == NULL && decl->decl_id == next_decl_id); in begin_optional_else()
1478 next_decl_id++; in begin_optional_else()
/external/libsepol/src/
Dlink.c58 uint32_t next_decl_id, current_decl_id; member
1775 avrule_decl_create(state->next_decl_id); in copy_avrule_block()
1798 state->base->decl_val_to_struct[state->next_decl_id - 1] = in copy_avrule_block()
1800 state->decl_to_mod[state->next_decl_id] = module->policy; in copy_avrule_block()
1810 state->next_decl_id++; in copy_avrule_block()
2347 state->next_decl_id = 0; in prepare_base()
2354 if (decl->decl_id > state->next_decl_id) { in prepare_base()
2355 state->next_decl_id = decl->decl_id; in prepare_base()
2362 state->next_decl_id++; in prepare_base()
2368 calloc(state->next_decl_id + num_mod_decls, in prepare_base()
[all …]