Home
last modified time | relevance | path

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

12

/third_party/selinux/libsepol/cil/src/
Dcil_reset_ast.c121 if (attr->expr_list != NULL) { in cil_reset_userattr()
125 expr = attr->expr_list->head; in cil_reset_userattr()
131 free(attr->expr_list); in cil_reset_userattr()
132 attr->expr_list = NULL; in cil_reset_userattr()
160 if (attr->expr_list != NULL) { in cil_reset_roleattr()
164 struct cil_list_item *expr = attr->expr_list->head; in cil_reset_roleattr()
170 free(attr->expr_list); in cil_reset_roleattr()
171 attr->expr_list = NULL; in cil_reset_roleattr()
189 if (attr->expr_list != NULL) { in cil_reset_typeattr()
193 struct cil_list_item *expr = attr->expr_list->head; in cil_reset_typeattr()
[all …]
Dcil_post.c61 static int __cil_expr_list_to_bitmap(struct cil_list *expr_list, ebitmap_t *out, int max, struct ci…
879 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->types, db->num_types, db); in __evaluate_type_expression()
931 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->users, db->num_users, db); in __evaluate_user_expression()
979 rc = __cil_expr_list_to_bitmap(attr->expr_list, attr->roles, db->num_roles, db); in __evaluate_role_expression()
1411 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
1418 if (expr_list == NULL) { in __cil_expr_list_to_bitmap()
1422 cil_list_for_each(expr, expr_list) { in __cil_expr_list_to_bitmap()
1481 static void __mark_neverallow_attrs(struct cil_list *expr_list) in __mark_neverallow_attrs() argument
1485 if (!expr_list) { in __mark_neverallow_attrs()
1489 cil_list_for_each(curr, expr_list) { in __mark_neverallow_attrs()
[all …]
Dcil_internal.h459 struct cil_list *expr_list; member
511 struct cil_list *expr_list; member
541 struct cil_list *expr_list; member
Dcil_resolve_ast.c455 if (attr->expr_list == NULL) { in cil_resolve_typeattributeset()
456 cil_list_init(&attr->expr_list, CIL_TYPEATTRIBUTE); in cil_resolve_typeattributeset()
459 cil_list_append(attr->expr_list, CIL_LIST, attrtypes->datum_expr); in cil_resolve_typeattributeset()
1172 if (attr->expr_list == NULL) { in cil_resolve_roleattributeset()
1173 cil_list_init(&attr->expr_list, CIL_ROLEATTRIBUTE); in cil_resolve_roleattributeset()
1176 cil_list_append(attr->expr_list, CIL_LIST, attrroles->datum_expr); in cil_resolve_roleattributeset()
3499 if (attr->expr_list == NULL) { in cil_resolve_userattributeset()
3500 cil_list_init(&attr->expr_list, CIL_USERATTRIBUTE); in cil_resolve_userattributeset()
3503 cil_list_append(attr->expr_list, CIL_LIST, attrusers->datum_expr); in cil_resolve_userattributeset()
Dcil_build_ast.c1380 if (attr->expr_list != NULL) { in cil_destroy_userattribute()
1384 expr = attr->expr_list->head; in cil_destroy_userattribute()
1390 free(attr->expr_list); in cil_destroy_userattribute()
1391 attr->expr_list = NULL; in cil_destroy_userattribute()
2008 if (attr->expr_list != NULL) { in cil_destroy_roleattribute()
2012 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_roleattribute()
2018 free(attr->expr_list); in cil_destroy_roleattribute()
2019 attr->expr_list = NULL; in cil_destroy_roleattribute()
2447 if (attr->expr_list != NULL) { in cil_destroy_typeattribute()
2451 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_typeattribute()
[all …]
Dcil_verify.c462 rc = __verify_no_self_reference_in_expr(attr->expr_list, stack); in cil_verify_no_self_reference()
469 rc = __verify_no_self_reference_in_expr(attr->expr_list, stack); in cil_verify_no_self_reference()
476 rc = __verify_no_self_reference_in_expr(attr->expr_list, stack); in cil_verify_no_self_reference()
Dcil_build_ast.h65 int cil_fill_classperms_list(struct cil_tree_node *parse_current, struct cil_list **expr_list);
Dcil.c2302 (*attr)->expr_list = NULL; in cil_roleattribute_init()
2321 (*attr)->expr_list = NULL; in cil_typeattribute_init()
2741 (*attr)->expr_list = NULL; in cil_userattribute_init()
/third_party/selinux/libsepol/src/
Dservices.c171 static char **expr_list; variable
191 expr_list[expr_counter] = new_buf; in cat_expr_buf()
234 cat_expr_buf(expr_list[expr_counter], tmp_buf); in get_name_list()
237 cat_expr_buf(expr_list[expr_counter], "<empty_set> "); in get_name_list()
239 cat_expr_buf(expr_list[expr_counter], " {"); in get_name_list()
261 cat_expr_buf(expr_list[expr_counter], tmp_buf); in get_name_list()
265 cat_expr_buf(expr_list[expr_counter], " }"); in get_name_list()
267 cat_expr_buf(expr_list[expr_counter], " -Fail-) "); in get_name_list()
269 cat_expr_buf(expr_list[expr_counter], ") "); in get_name_list()
283 cat_expr_buf(expr_list[expr_counter], tmp_buf); in msgcat()
[all …]
/third_party/python/Parser/
Dstring_parser.c1000 ExprList_check_invariants(&state->expr_list); in FstringParser_check_invariants()
1009 ExprList_Init(&state->expr_list); in _PyPegen_FstringParser_Init()
1019 ExprList_Dealloc(&state->expr_list); in _PyPegen_FstringParser_Dealloc()
1138 if (!last_str || ExprList_Append(&state->expr_list, last_str) < 0) { in _PyPegen_FstringParser_ConcatFstring()
1143 if (ExprList_Append(&state->expr_list, expression) < 0) { in _PyPegen_FstringParser_ConcatFstring()
1177 assert(!state->expr_list.size); in _PyPegen_FstringParser_Finish()
1192 if (!str || ExprList_Append(&state->expr_list, str) < 0) { in _PyPegen_FstringParser_Finish()
1199 seq = ExprList_Finish(&state->expr_list, p->arena); in _PyPegen_FstringParser_Finish()
Dstring_parser.h32 ExprList expr_list; member
/third_party/ltp/tools/sparse/
Dsparse-ltp.c176 last_ptr_list((struct ptr_list *)arr_init->expr_list); in is_terminated_with_null_struct()
184 return ptr_list_empty((struct ptr_list *)item_init->expr_list); in is_terminated_with_null_struct()
229 FOR_EACH_PTR(init->expr_list, entry) { in check_test_struct()
/third_party/ltp/tools/sparse/sparse-src/
Dinline.c221 struct expression_list *list = expr->expr_list; in copy_expression()
224 expr->expr_list = NULL; in copy_expression()
226 add_expression(&expr->expr_list, copy_expression(entry)); in copy_expression()
Dexpand.c682 FOR_EACH_PTR(value->expr_list, entry) { in constant_symbol_value()
974 FOR_EACH_PTR(expr->expr_list, entry) { in expand_pos_expression()
1149 sort_expression_list(&expr->expr_list); in expand_expression()
1150 verify_nonoverlapping(&expr->expr_list, expr); in expand_expression()
1151 return expand_expression_list(expr->expr_list); in expand_expression()
Dexpression.h232 struct expression_list *expr_list; member
Dsymbol.c363 if (expression_list_size(expr->expr_list) != 1) in is_wstring_expr()
365 expr = first_expression(expr->expr_list); in is_wstring_expr()
401 FOR_EACH_PTR(expr->expr_list, entry) { in count_array_initializer()
Dcompile-i386.c999 elem = expression_list_size(expr->expr_list); in sort_array()
1013 FOR_EACH_PTR(expr->expr_list, entry) { in sort_array()
1041 FOR_EACH_PTR(expr->expr_list, entry) { in sort_array()
1067 FOR_EACH_PTR(expr->expr_list, entry) { in emit_array()
2292 FOR_EACH_PTR(expr->expr_list, entry) { in x86_initializer_expr()
Devaluate.c2602 free_ptr_list(&expr->expr_list); in handle_list_initializer()
2604 FOR_EACH_PTR(expr->expr_list, e) { in handle_list_initializer()
2712 FOR_EACH_PTR(e->expr_list, p) { in handle_scalar()
2790 FOR_EACH_PTR(e->expr_list, p) { in handle_initializer()
3044 add_expression(&init->expr_list, item); in evaluate_cast()
Ddissect.c581 FOR_EACH_PTR(expr->expr_list, m_expr) { in do_initializer()
Dshow-parse.c1079 FOR_EACH_PTR(expr->expr_list, entry) { in show_initializer_expr()
Dlinearize.c1843 FOR_EACH_PTR(initializer->expr_list, expr) { in linearize_initializer()
/third_party/vulkan-headers/registry/
Dparse_dependency.py104 expr_list = delimitedList(Group(expr))
/third_party/skia/third_party/externals/tint/src/transform/
Dvertex_pulling.cc710 ast::ExpressionList expr_list; in LoadVec() local
714 expr_list.push_back( in LoadVec()
719 std::move(expr_list)); in LoadVec()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dparse_dependency.py135 expr_list = delimitedList(Group(expr))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Demangle/
DItaniumDemangle.cpp1267 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()

12