Searched refs:expandattr (Results 1 – 6 of 6) sorted by relevance
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 211 static void cil_reset_expandtypeattribute(struct cil_expandtypeattribute *expandattr) in cil_reset_expandtypeattribute() argument 213 cil_list_destroy(&expandattr->attr_datums, CIL_FALSE); in cil_reset_expandtypeattribute()
|
D | cil.c | 2327 void cil_expandtypeattribute_init(struct cil_expandtypeattribute **expandattr) in cil_expandtypeattribute_init() argument 2329 *expandattr = cil_malloc(sizeof(**expandattr)); in cil_expandtypeattribute_init() 2331 (*expandattr)->attr_strs = NULL; in cil_expandtypeattribute_init() 2332 (*expandattr)->attr_datums = NULL; in cil_expandtypeattribute_init() 2333 (*expandattr)->expand = 0; in cil_expandtypeattribute_init()
|
D | cil_build_ast.c | 3223 struct cil_expandtypeattribute *expandattr = NULL; in cil_gen_expandtypeattribute() local 3235 cil_expandtypeattribute_init(&expandattr); in cil_gen_expandtypeattribute() 3238 cil_list_init(&expandattr->attr_strs, CIL_TYPE); in cil_gen_expandtypeattribute() 3239 cil_list_append(expandattr->attr_strs, CIL_STRING, parse_current->next->data); in cil_gen_expandtypeattribute() 3241 rc = cil_fill_list(parse_current->next->cl_head, CIL_TYPE, &expandattr->attr_strs); in cil_gen_expandtypeattribute() 3250 expandattr->expand = CIL_TRUE; in cil_gen_expandtypeattribute() 3252 expandattr->expand = CIL_FALSE; in cil_gen_expandtypeattribute() 3259 ast_node->data = expandattr; in cil_gen_expandtypeattribute() 3266 cil_destroy_expandtypeattribute(expandattr); in cil_gen_expandtypeattribute() 3270 void cil_destroy_expandtypeattribute(struct cil_expandtypeattribute *expandattr) in cil_destroy_expandtypeattribute() argument [all …]
|
D | cil_build_ast.h | 144 void cil_destroy_expandtypeattribute(struct cil_expandtypeattribute *expandattr);
|
D | cil_internal.h | 1025 void cil_expandtypeattribute_init(struct cil_expandtypeattribute **expandattr);
|
D | cil_resolve_ast.c | 463 struct cil_expandtypeattribute *expandattr = current->data; in cil_resolve_expandtypeattribute() local 470 cil_list_init(&expandattr->attr_datums, CIL_TYPE); in cil_resolve_expandtypeattribute() 472 cil_list_for_each(curr, expandattr->attr_strs) { in cil_resolve_expandtypeattribute() 485 used = expandattr->expand ? CIL_ATTR_EXPAND_TRUE : CIL_ATTR_EXPAND_FALSE; in cil_resolve_expandtypeattribute() 487 cil_list_append(expandattr->attr_datums, CIL_TYPE, attr_datum); in cil_resolve_expandtypeattribute()
|