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

  /external/selinux/libsepol/cil/src/
cil_mem.h 34 void *cil_malloc(size_t size);
cil.c 239 *db = cil_malloc(sizeof(**db));
328 struct cil_root *r = cil_malloc(sizeof(*r));
350 buffer = cil_malloc(size + 2);
1197 str_tmp = cil_malloc(str_len * sizeof(char));
    [all...]
cil_stack.c 42 struct cil_stack *new_stack = cil_malloc(sizeof(*new_stack));
43 new_stack->stack = cil_malloc(sizeof(*(new_stack->stack)) * CIL_STACK_INIT_SIZE);
cil_mem.c 50 void *cil_malloc(size_t size) function
cil_strpool.c 73 strpool_ref = cil_malloc(sizeof(*strpool_ref));
cil_binary.c 229 ocontext_t *new = cil_malloc(sizeof(ocontext_t));
248 common_datum_t *sepol_common = cil_malloc(sizeof(*sepol_common));
266 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm));
301 class_datum_t *sepol_class = cil_malloc(sizeof(*sepol_class));
344 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm));
371 role_datum_t *sepol_role = cil_malloc(sizeof(*sepol_role));
462 type_datum_t *sepol_type = cil_malloc(sizeof(*sepol_type));
514 type_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias));
571 sepol_attr = cil_malloc(sizeof(*sepol_attr));
598 pdb->type_attr_map = cil_malloc(pdb->p_types.nprim * sizeof(ebitmap_t))
    [all...]
cil_post.c 118 struct fc_data *a_data = cil_malloc(sizeof(*a_data));
119 struct fc_data *b_data = cil_malloc(sizeof(*b_data));
120 char *a_path = cil_malloc(strlen(a_filecon->path_str) + 1);
122 char *b_path = cil_malloc(strlen(b_filecon->path_str) + 1);
447 db->val_to_type = cil_malloc(sizeof(*db->val_to_type) * db->num_types);
455 db->val_to_role = cil_malloc(sizeof(*db->val_to_role) * db->num_roles);
463 db->val_to_user = cil_malloc(sizeof(*db->val_to_user) * db->num_users);
485 sort->array = cil_malloc(sizeof(*sort->array)*count);
496 sort->array = cil_malloc(sizeof(*sort->array)*count);
507 sort->array = cil_malloc(sizeof(*sort->array)*count)
    [all...]
cil_list.c 49 struct cil_list *new_list = cil_malloc(sizeof(*new_list));
81 struct cil_list_item *new_item = cil_malloc(sizeof(*new_item));
cil_policy.c 177 buf = cil_malloc(INET_ADDRSTRLEN);
180 buf = cil_malloc(INET6_ADDRSTRLEN);
194 buf = cil_malloc(INET_ADDRSTRLEN);
197 buf = cil_malloc(INET6_ADDRSTRLEN);
326 new_data = cil_malloc(sizeof(*new_data));
719 expr_str = cil_malloc(len);
730 expr_str = cil_malloc(len);
    [all...]
cil_symtab.c 174 node = cil_malloc(sizeof(*node));
cil_tree.c 64 struct cil_tree *new_tree = cil_malloc(sizeof(*new_tree));
124 struct cil_tree_node *new_node = cil_malloc(sizeof(*new_node));
327 expr_str = cil_malloc(len);
338 expr_str = cil_malloc(len);
    [all...]
cil_resolve_ast.c 1124 *ordered = cil_malloc(sizeof(**ordered));
    [all...]
  /external/selinux/libsepol/cil/test/unit/
test_cil_copy_ast.c 49 struct cil_args_copy *args = cil_malloc(sizeof(*args));
    [all...]
test_cil_build_ast.c 53 struct cil_args_build *args = cil_malloc(sizeof(*args));
    [all...]
test_cil_resolve_ast.c 55 struct cil_args_resolve *args = cil_malloc(sizeof(*args));
    [all...]

Completed in 220 milliseconds