HomeSort by relevance Sort by last modified time
    Searched refs:test_new_db (Results 1 - 2 of 2) sorted by null

  /external/selinux/libsepol/cil/test/unit/
test_cil.c 39 struct cil_db *test_new_db; local
40 test_new_db = malloc(sizeof(*test_new_db));
42 cil_symtab_array_init(test_new_db->symtab, cil_sym_sizes[CIL_SYM_ARRAY_ROOT]);
43 CuAssertPtrNotNull(tc, test_new_db->symtab);
45 free(test_new_db);
CilTest.c 133 struct cil_db *test_new_db; local
134 test_new_db = malloc(sizeof(*test_new_db));
139 rc = symtab_init(&test_new_db->symtab[i], cil_sym_sizes[CIL_SYM_ARRAY_ROOT][i]);
144 free(test_new_db);
148 struct cil_db *test_new_db; local
149 test_new_db = malloc(sizeof(*test_new_db));
151 int rc = symtab_init(&test_new_db->symtab[0], (uint32_t)SIZE_MAX);
154 free(test_new_db);
    [all...]

Completed in 580 milliseconds