Home
last modified time | relevance | path

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

/external/libsepol/src/
Dlink.c43 uint32_t num_decls; member
2296 uint32_t items, num_decls = 0; in prepare_module() local
2327 if (decl->decl_id > num_decls) { in prepare_module()
2328 num_decls = decl->decl_id; in prepare_module()
2332 num_decls++; in prepare_module()
2333 if ((module->avdecl_map = calloc(num_decls, sizeof(uint32_t))) == NULL) { in prepare_module()
2337 module->num_decls = num_decls; in prepare_module()
2582 num_mod_decls += modules[i]->num_decls; in link_modules()
Dpolicydb.c1000 int num_decls = 0; in policydb_index_decls() local
1007 num_decls++; in policydb_index_decls()
1012 calloc(num_decls, sizeof(*(p->decl_val_to_struct))); in policydb_index_decls()
3472 uint32_t num_decls; in avrule_block_read() local
3485 num_decls = le32_to_cpu(buf[0]); in avrule_block_read()
3486 while (num_decls > 0) { in avrule_block_read()
3515 num_decls--; in avrule_block_read()
Dwrite.c1783 uint32_t num_decls = 0; in avrule_block_write() local
1787 num_decls++; in avrule_block_write()
1789 buf[0] = cpu_to_le32(num_decls); in avrule_block_write()
/external/libsepol/
DChangeLog328 * Fixed avrule_block_write num_decls endian bug.