Home
last modified time | relevance | path

Searched refs:str_expr (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/rtc_base/
Dgunit.cc32 ::testing::AssertionResult AssertStringContains(const char* str_expr, in AssertStringContains() argument
40 << str_expr << "\nwhich is\n\"" << str << "\"\ndoes not contain\n" in AssertStringContains()
Dgunit.h164 testing::AssertionResult AssertStringContains(const char* str_expr,
/external/selinux/libsepol/cil/src/
Dcil_deny.c809 …and_set(struct cil_db *db, struct cil_tree_node *prev, struct cil_list *str_expr, struct cil_list … in cil_create_and_insert_attribute_and_set() argument
826 attrset->str_expr = str_expr; in cil_create_and_insert_attribute_and_set()
916 struct cil_list *str_expr; in cil_create_attribute_all_and_not_d() local
927 str_expr = cil_create_andnot_expr_list(CIL_OP, (void *)CIL_ALL, CIL_STRING, d->fqn); in cil_create_attribute_all_and_not_d()
956 rc = cil_create_and_insert_attribute_and_set(db, NODE(d), str_expr, datum_expr, types, d3); in cil_create_attribute_all_and_not_d()
964 cil_list_destroy(&str_expr, CIL_FALSE); in cil_create_attribute_all_and_not_d()
972 struct cil_list *str_expr; in cil_create_attribute_d1_and_not_d2() local
988 str_expr = cil_create_andnot_expr_list(CIL_STRING, d1->fqn, CIL_STRING, d2->fqn); in cil_create_attribute_d1_and_not_d2()
1016 rc = cil_create_and_insert_attribute_and_set(db, NODE(d1), str_expr, datum_expr, types, d3); in cil_create_attribute_d1_and_not_d2()
1024 cil_list_destroy(&str_expr, CIL_FALSE); in cil_create_attribute_d1_and_not_d2()
[all …]
Dcil_internal.h480 struct cil_list *str_expr; member
535 struct cil_list *str_expr; member
568 struct cil_list *str_expr; member
706 struct cil_list *str_expr; member
884 struct cil_list *str_expr; member
891 struct cil_list *str_expr; member
930 struct cil_list *str_expr; member
936 struct cil_list *str_expr; member
Dcil_copy_ast.c425 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_userattributeset()
564 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_roleattributeset()
630 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_typeattributeset()
927 cil_copy_expr(db, orig->str_expr, &(*new)->str_expr); in cil_copy_cats()
1429 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_constrain()
1446 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_validatetrans()
1567 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_boolif()
1583 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_tunif()
Dcil_write_ast.c324 write_expr(out, cats->str_expr); in write_cats()
398 write_expr(out, cons->str_expr); in write_constrain()
619 write_expr(out, bif->str_expr); in cil_write_ast_node()
631 write_expr(out, tif->str_expr); in cil_write_ast_node()
983 write_expr(out, attr->str_expr); in cil_write_ast_node()
1065 write_expr(out, attr->str_expr); in cil_write_ast_node()
1109 write_expr(out, attr->str_expr); in cil_write_ast_node()
1272 write_expr(out, vt->str_expr); in cil_write_ast_node()
1283 write_expr(out, vt->str_expr); in cil_write_ast_node()
Dcil.c2392 (*attrset)->str_expr = NULL; in cil_roleattributeset_init()
2414 (*attrset)->str_expr = NULL; in cil_typeattributeset_init()
2512 (*bif)->str_expr = NULL; in cil_boolif_init()
2520 (*tif)->str_expr = NULL; in cil_tunif_init()
2621 (*cats)->str_expr = NULL; in cil_cats_init()
2739 (*constrain)->str_expr = NULL; in cil_constrain_init()
2749 (*validtrans)->str_expr = NULL; in cil_validatetrans_init()
2842 (*attrset)->str_expr = NULL; in cil_userattributeset_init()
Dcil_resolve_ast.h96 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_…
Dcil_resolve_ast.c447 …rc = cil_resolve_expr(CIL_TYPEATTRIBUTESET, attrtypes->str_expr, &attrtypes->datum_expr, current, … in cil_resolve_typeattributeset()
1171 …rc = cil_resolve_expr(CIL_ROLEATTRIBUTESET, attrroles->str_expr, &attrroles->datum_expr, current, … in cil_resolve_roleattributeset()
1569 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, db); in cil_resolve_cats()
1712 rc = cil_resolve_expr(CIL_CONSTRAIN, cons->str_expr, &cons->datum_expr, current, db); in cil_resolve_constrain()
1735 …rc = cil_resolve_expr(CIL_VALIDATETRANS, validtrans->str_expr, &validtrans->datum_expr, current, d… in cil_resolve_validatetrans()
3152 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_… in cil_resolve_expr() argument
3161 switch (str_expr->flavor) { in cil_resolve_expr()
3184 cil_list_init(datum_expr, str_expr->flavor); in cil_resolve_expr()
3186 cil_list_for_each(curr, str_expr) { in cil_resolve_expr()
3203 … rc = cil_resolve_expr(expr_type, catset->cats->str_expr, &catset->cats->datum_expr, parent, db); in cil_resolve_expr()
[all …]
Dandroid.c461 rc = cil_attrib_type_expr(typeattrset->str_expr, args); in cil_attrib_typeattributeset()
804 cil_list_init(&attrset->str_expr, CIL_TYPE); in cil_build_mappings_tree()
806 cil_list_append(attrset->str_expr, CIL_STRING, orig_type); in cil_build_mappings_tree()
Dcil_build_ast.c1419 rc = cil_gen_expr(parse_current->next->next, CIL_USER, &attrset->str_expr); in cil_gen_userattributeset()
1441 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_userattributeset()
2047 rc = cil_gen_expr(parse_current->next->next, CIL_ROLE, &attrset->str_expr); in cil_gen_roleattributeset()
2069 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_roleattributeset()
2944 rc = cil_gen_expr(parse_current->next, CIL_BOOL, &bif->str_expr); in cil_gen_boolif()
2980 cil_list_destroy(&bif->str_expr, CIL_TRUE); in cil_destroy_boolif()
3011 rc = cil_gen_expr(parse_current->next, CIL_TUNABLE, &tif->str_expr); in cil_gen_tunif()
3043 cil_list_destroy(&tif->str_expr, CIL_TRUE); in cil_destroy_tunif()
3230 rc = cil_gen_expr(parse_current->next->next, CIL_TYPE, &attrset->str_expr); in cil_gen_typeattributeset()
3251 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_typeattributeset()
[all …]