OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:test_avrule
(Results
1 - 2
of
2
) sorted by null
/external/selinux/libsepol/cil/test/unit/
test_cil_list.c
37
struct cil_avrule *
test_avrule
= malloc(sizeof(*
test_avrule
));
local
39
cil_classpermset_init(&
test_avrule
->classpermset);
40
cil_permset_init(&
test_avrule
->classpermset->permset);
42
cil_list_init(&
test_avrule
->classpermset->permset->perms_list_str);
43
CuAssertPtrNotNull(tc,
test_avrule
->classpermset->permset->perms_list_str);
45
cil_destroy_avrule(
test_avrule
);
test_cil_build_ast.c
72
struct cil_avrule *
test_avrule
;
local
73
cil_avrule_init(&
test_avrule
);
74
test_avrule
->rule_kind = CIL_AVRULE_ALLOWED;
75
test_avrule
->src_str = cil_strdup(test_current->next->data);
76
test_avrule
->tgt_str = cil_strdup(test_current->next->next->data);
78
cil_classpermset_init(&
test_avrule
->classpermset);
80
test_avrule
->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data);
82
cil_permset_init(&
test_avrule
->classpermset->permset);
84
cil_list_init(&
test_avrule
->classpermset->permset->perms_list_str);
88
int rc = cil_parse_to_list(test_current,
test_avrule
->classpermset->permset->perms_list_str, CIL_AST_STR)
103
struct cil_avrule *
test_avrule
;
local
134
struct cil_avrule *
test_avrule
;
local
[
all
...]
Completed in 43 milliseconds