/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 110 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 …]
|
D | cil_post.c | 54 static int __cil_expr_list_to_bitmap(struct cil_list *expr_list, ebitmap_t *out, int max, struct ci… 865 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->types, db->num_types, db); in __evaluate_type_expression() 917 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->users, db->num_users, db); in __evaluate_user_expression() 965 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->roles, db->num_roles, db); in __evaluate_role_expression() 1409 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 1416 if (expr_list == NULL) { in __cil_expr_list_to_bitmap() 1420 cil_list_for_each(expr, expr_list) { in __cil_expr_list_to_bitmap() 1479 static void __mark_neverallow_attrs(struct cil_list *expr_list) in __mark_neverallow_attrs() argument 1483 cil_list_for_each(curr, expr_list) { in __mark_neverallow_attrs() 1488 __mark_neverallow_attrs(attr->expr_list); in __mark_neverallow_attrs() [all …]
|
D | cil_internal.h | 451 struct cil_list *expr_list; member 503 struct cil_list *expr_list; member 533 struct cil_list *expr_list; member
|
D | cil_resolve_ast.c | 445 if (attr->expr_list == NULL) { in cil_resolve_typeattributeset() 446 cil_list_init(&attr->expr_list, CIL_TYPEATTRIBUTE); in cil_resolve_typeattributeset() 449 cil_list_append(attr->expr_list, CIL_LIST, attrtypes->datum_expr); in cil_resolve_typeattributeset() 1154 if (attr->expr_list == NULL) { in cil_resolve_roleattributeset() 1155 cil_list_init(&attr->expr_list, CIL_ROLEATTRIBUTE); in cil_resolve_roleattributeset() 1158 cil_list_append(attr->expr_list, CIL_LIST, attrroles->datum_expr); in cil_resolve_roleattributeset() 3390 if (attr->expr_list == NULL) { in cil_resolve_userattributeset() 3391 cil_list_init(&attr->expr_list, CIL_USERATTRIBUTE); in cil_resolve_userattributeset() 3394 cil_list_append(attr->expr_list, CIL_LIST, attrusers->datum_expr); in cil_resolve_userattributeset()
|
D | cil_build_ast.c | 1316 if (attr->expr_list != NULL) { in cil_destroy_userattribute() 1320 expr = attr->expr_list->head; in cil_destroy_userattribute() 1326 free(attr->expr_list); in cil_destroy_userattribute() 1327 attr->expr_list = NULL; in cil_destroy_userattribute() 1950 if (attr->expr_list != NULL) { in cil_destroy_roleattribute() 1954 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_roleattribute() 1960 free(attr->expr_list); in cil_destroy_roleattribute() 1961 attr->expr_list = NULL; in cil_destroy_roleattribute() 2391 if (attr->expr_list != NULL) { in cil_destroy_typeattribute() 2395 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_typeattribute() [all …]
|
D | cil_build_ast.h | 63 int cil_fill_classperms_list(struct cil_tree_node *parse_current, struct cil_list **expr_list);
|
D | cil.c | 2209 (*attr)->expr_list = NULL; in cil_roleattribute_init() 2228 (*attr)->expr_list = NULL; in cil_typeattribute_init() 2647 (*attr)->expr_list = NULL; in cil_userattribute_init()
|
/external/selinux/libsepol/src/ |
D | services.c | 174 static char **expr_list; variable 194 expr_list[expr_counter] = new_buf; in cat_expr_buf() 237 cat_expr_buf(expr_list[expr_counter], tmp_buf); in get_name_list() 240 cat_expr_buf(expr_list[expr_counter], "<empty_set> "); in get_name_list() 242 cat_expr_buf(expr_list[expr_counter], " {"); in get_name_list() 264 cat_expr_buf(expr_list[expr_counter], tmp_buf); in get_name_list() 268 cat_expr_buf(expr_list[expr_counter], " }"); in get_name_list() 270 cat_expr_buf(expr_list[expr_counter], " -Fail-) "); in get_name_list() 272 cat_expr_buf(expr_list[expr_counter], ") "); in get_name_list() 286 cat_expr_buf(expr_list[expr_counter], tmp_buf); in msgcat() [all …]
|
/external/python/cpython3/Parser/pegen/ |
D | parse_string.c | 1009 ExprList_check_invariants(&state->expr_list); in FstringParser_check_invariants() 1018 ExprList_Init(&state->expr_list); in _PyPegen_FstringParser_Init() 1028 ExprList_Dealloc(&state->expr_list); in _PyPegen_FstringParser_Dealloc() 1146 if (!last_str || ExprList_Append(&state->expr_list, last_str) < 0) { in _PyPegen_FstringParser_ConcatFstring() 1151 if (ExprList_Append(&state->expr_list, expression) < 0) { in _PyPegen_FstringParser_ConcatFstring() 1185 assert(!state->expr_list.size); in _PyPegen_FstringParser_Finish() 1200 if (!str || ExprList_Append(&state->expr_list, str) < 0) { in _PyPegen_FstringParser_Finish() 1207 seq = ExprList_Finish(&state->expr_list, p->arena); in _PyPegen_FstringParser_Finish()
|
D | parse_string.h | 32 ExprList expr_list; member
|
/external/python/cpython3/Python/ |
D | ast.c | 3387 asdl_seq *expr_list; in ast_for_del_stmt() local 3392 expr_list = ast_for_exprlist(c, CHILD(n, 1), Del); in ast_for_del_stmt() 3393 if (!expr_list) in ast_for_del_stmt() 3395 return Delete(expr_list, LINENO(n), n->n_col_offset, in ast_for_del_stmt() 5376 ExprList expr_list; member 5388 ExprList_check_invariants(&state->expr_list); in FstringParser_check_invariants() 5397 ExprList_Init(&state->expr_list); in FstringParser_Init() 5407 ExprList_Dealloc(&state->expr_list); in FstringParser_Dealloc() 5548 if (!str || ExprList_Append(&state->expr_list, str) < 0) in FstringParser_ConcatFstring() 5552 if (ExprList_Append(&state->expr_list, expression) < 0) in FstringParser_ConcatFstring() [all …]
|
/external/python/cpython2/Python/ |
D | ast.c | 2331 asdl_seq *expr_list; in ast_for_del_stmt() local 2336 expr_list = ast_for_exprlist(c, CHILD(n, 1), Del); in ast_for_del_stmt() 2337 if (!expr_list) in ast_for_del_stmt() 2339 return Delete(expr_list, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_del_stmt()
|
/external/swiftshader/third_party/llvm-subzero/lib/Demangle/ |
D | ItaniumDemangle.cpp | 1267 std::string expr_list; in parse_new_expr() local 1271 expr_list = db.names.back().move_full(); in parse_new_expr() 1282 r += "(" + expr_list + ") "; in parse_new_expr()
|