Home
last modified time | relevance | path

Searched refs:expr_list (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c110 if (attr->expr_list != NULL) { in cil_reset_userattr()
114 expr = attr->expr_list->head; in cil_reset_userattr()
120 free(attr->expr_list); in cil_reset_userattr()
121 attr->expr_list = NULL; in cil_reset_userattr()
146 if (attr->expr_list != NULL) { in cil_reset_roleattr()
150 struct cil_list_item *expr = attr->expr_list->head; in cil_reset_roleattr()
156 free(attr->expr_list); in cil_reset_roleattr()
157 attr->expr_list = NULL; in cil_reset_roleattr()
175 if (attr->expr_list != NULL) { in cil_reset_typeattr()
179 struct cil_list_item *expr = attr->expr_list->head; in cil_reset_typeattr()
[all …]
Dcil_internal.h435 struct cil_list *expr_list; member
487 struct cil_list *expr_list; member
512 struct cil_list *expr_list; member
Dcil_post.c51 static int __cil_expr_list_to_bitmap(struct cil_list *expr_list, ebitmap_t *out, int max, struct ci…
613 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->types, db->num_types, db); in __evaluate_type_expression()
665 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->users, db->num_users, db); in __evaluate_user_expression()
713 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->roles, db->num_roles, db); in __evaluate_role_expression()
1158 static int __cil_expr_list_to_bitmap(struct cil_list *expr_list, ebitmap_t *out, int max, struct ci… in __cil_expr_list_to_bitmap() argument
1165 if (expr_list == NULL) { in __cil_expr_list_to_bitmap()
1169 cil_list_for_each(expr, expr_list) { in __cil_expr_list_to_bitmap()
Dcil_resolve_ast.c439 if (attr->expr_list == NULL) { in cil_resolve_typeattributeset()
440 cil_list_init(&attr->expr_list, CIL_TYPEATTRIBUTE); in cil_resolve_typeattributeset()
443 cil_list_append(attr->expr_list, CIL_LIST, attrtypes->datum_expr); in cil_resolve_typeattributeset()
1104 if (attr->expr_list == NULL) { in cil_resolve_roleattributeset()
1105 cil_list_init(&attr->expr_list, CIL_ROLEATTRIBUTE); in cil_resolve_roleattributeset()
1108 cil_list_append(attr->expr_list, CIL_LIST, attrroles->datum_expr); in cil_resolve_roleattributeset()
3293 if (attr->expr_list == NULL) { in cil_resolve_userattributeset()
3294 cil_list_init(&attr->expr_list, CIL_USERATTRIBUTE); in cil_resolve_userattributeset()
3297 cil_list_append(attr->expr_list, CIL_LIST, attrusers->datum_expr); in cil_resolve_userattributeset()
Dcil_build_ast.c1284 if (attr->expr_list != NULL) { in cil_destroy_userattribute()
1288 expr = attr->expr_list->head; in cil_destroy_userattribute()
1294 free(attr->expr_list); in cil_destroy_userattribute()
1295 attr->expr_list = NULL; in cil_destroy_userattribute()
1930 if (attr->expr_list != NULL) { in cil_destroy_roleattribute()
1934 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_roleattribute()
1940 free(attr->expr_list); in cil_destroy_roleattribute()
1941 attr->expr_list = NULL; in cil_destroy_roleattribute()
2379 if (attr->expr_list != NULL) { in cil_destroy_typeattribute()
2383 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_typeattribute()
[all …]
Dcil_build_ast.h63 int cil_fill_classperms_list(struct cil_tree_node *parse_current, struct cil_list **expr_list);
Dcil.c1980 (*attr)->expr_list = NULL; in cil_roleattribute_init()
1999 (*attr)->expr_list = NULL; in cil_typeattribute_init()
2397 (*attr)->expr_list = NULL; in cil_userattribute_init()
/external/selinux/libsepol/src/
Dservices.c173 static char **expr_list; variable
193 expr_list[expr_counter] = new_buf; in cat_expr_buf()
236 cat_expr_buf(expr_list[expr_counter], tmp_buf); in get_name_list()
239 cat_expr_buf(expr_list[expr_counter], "<empty_set> "); in get_name_list()
241 cat_expr_buf(expr_list[expr_counter], " {"); in get_name_list()
263 cat_expr_buf(expr_list[expr_counter], tmp_buf); in get_name_list()
267 cat_expr_buf(expr_list[expr_counter], " }"); in get_name_list()
269 cat_expr_buf(expr_list[expr_counter], " -Fail-) "); in get_name_list()
271 cat_expr_buf(expr_list[expr_counter], ") "); in get_name_list()
285 cat_expr_buf(expr_list[expr_counter], tmp_buf); in msgcat()
[all …]
/external/libcxxabi/src/
Dcxa_demangle.cpp1444 typename C::String expr_list; in parse_new_expr() local
1449 expr_list = db.names.back().move_full(); in parse_new_expr()
1460 r += "(" + expr_list + ") "; in parse_new_expr()