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
119 next_decl_id = 2; in define_policy()
1303 (decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional()
1314 block->branch_list->decl_id == next_decl_id); in begin_optional()
1322 next_decl_id++; in begin_optional()
1344 if ((decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional_else()
1354 decl->next == NULL && decl->decl_id == next_decl_id); in begin_optional_else()
1360 next_decl_id++; in begin_optional_else()
/external/selinux/libsepol/src/
Dlink.c58 uint32_t next_decl_id, current_decl_id; member
1791 avrule_decl_create(state->next_decl_id); in copy_avrule_block()
1814 state->base->decl_val_to_struct[state->next_decl_id - 1] = in copy_avrule_block()
1816 state->decl_to_mod[state->next_decl_id] = module->policy; in copy_avrule_block()
1826 state->next_decl_id++; in copy_avrule_block()
2363 state->next_decl_id = 0; in prepare_base()
2370 if (decl->decl_id > state->next_decl_id) { in prepare_base()
2371 state->next_decl_id = decl->decl_id; in prepare_base()
2378 state->next_decl_id++; in prepare_base()
2384 calloc(state->next_decl_id + num_mod_decls, in prepare_base()
[all …]