Home
last modified time | relevance | path

Searched refs:cats (Results 1 – 25 of 34) sorted by relevance

12

/external/selinux/policycoreutils/scripts/
Dchcat61 cats = []
66 cats.append(top[1])
67 cats = expandCats(cats)
70 if i not in cats:
71 cats.append(i)
74 if len(cats) > 0:
75 new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats))
113 cats = clist[1:]
114 cats.sort()
115 cat_string = cats[0]
[all …]
/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c196 static inline void cil_reset_cats(struct cil_cats *cats) in cil_reset_cats() argument
198 if (cats != NULL) { in cil_reset_cats()
199 cats->evaluated = CIL_FALSE; in cil_reset_cats()
200 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_reset_cats()
207 cil_reset_cats(senscat->cats); in cil_reset_senscat()
212 cil_reset_cats(catset->cats); in cil_reset_catset()
217 cil_reset_cats(level->cats); in cil_reset_level()
Dcil_policy.c75 struct cil_list *cats; member
365 int cil_cat_to_policy(FILE **file_arr, struct cil_list *cats) in cil_cat_to_policy() argument
369 if (cats == NULL) { in cil_cat_to_policy()
373 cil_list_for_each(curr_cat, cats) { in cil_cat_to_policy()
417 void cil_cats_to_policy(FILE **file_arr, uint32_t file_index, struct cil_cats *cats) in cil_cats_to_policy() argument
419 cil_expr_to_policy(file_arr, file_index, cats->datum_expr); in cil_cats_to_policy()
427 if (level->cats != NULL) { in cil_level_to_policy()
429 cil_cats_to_policy(file_arr, file_index, level->cats); in cil_level_to_policy()
1110 struct cil_list *cats = NULL; in __cil_gen_policy_node_helper() local
1122 cats = args->cats; in __cil_gen_policy_node_helper()
[all …]
Dcil.c1176 static int cil_cats_to_ebitmap(struct cil_cats *cats, struct ebitmap* cats_ebitmap) in cil_cats_to_ebitmap() argument
1185 if (cats == NULL) { in cil_cats_to_ebitmap()
1190 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap()
1194 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap()
1230 rc = cil_cats_to_ebitmap(low->cats, &elow); in cil_level_equals()
1235 rc = cil_cats_to_ebitmap(high->cats, &ehigh); in cil_level_equals()
1249 struct cil_cats *cats = lvl->cats; in __cil_level_strlen() local
1258 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen()
1260 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen()
1301 struct cil_cats *cats = lvl->cats; in __cil_level_to_string() local
[all …]
Dcil_post.c686 static int __evaluate_cat_expression(struct cil_cats *cats, struct cil_db *db) in __evaluate_cat_expression() argument
693 if (cats->evaluated == CIL_TRUE) { in __evaluate_cat_expression()
697 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) { in __evaluate_cat_expression()
702 rc = __cil_expr_to_bitmap(cats->datum_expr, &bitmap, db->num_cats, db); in __evaluate_cat_expression()
719 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression()
721 cats->datum_expr = new; in __evaluate_cat_expression()
725 cats->datum_expr = NULL; in __evaluate_cat_expression()
728 cats->evaluated = CIL_TRUE; in __evaluate_cat_expression()
746 if (catset->cats->evaluated == CIL_FALSE) { in __cil_cat_to_bitmap()
747 rc = __evaluate_cat_expression(catset->cats, db); in __cil_cat_to_bitmap()
[all …]
Dcil_verify.c440 int __cil_is_cat_in_cats(struct cil_cat *cat, struct cil_cats *cats) in __cil_is_cat_in_cats() argument
444 cil_list_for_each(i, cats->datum_expr) { in __cil_is_cat_in_cats()
455 int __cil_verify_cat_in_cats(struct cil_cat *cat, struct cil_cats *cats) in __cil_verify_cat_in_cats() argument
457 if (__cil_is_cat_in_cats(cat, cats) != CIL_TRUE) { in __cil_verify_cat_in_cats()
465 int __cil_verify_cats_associated_with_sens(struct cil_sens *sens, struct cil_cats *cats) in __cil_verify_cats_associated_with_sens() argument
470 if (!cats) { in __cil_verify_cats_associated_with_sens()
479 cil_list_for_each(i, cats->datum_expr) { in __cil_verify_cats_associated_with_sens()
565 rc = __cil_verify_levelrange_cats(lr->low->cats, lr->high->cats); in __cil_verify_levelrange()
570 rc = __cil_verify_cats_associated_with_sens(lr->low->sens, lr->low->cats); in __cil_verify_levelrange()
576 rc = __cil_verify_cats_associated_with_sens(lr->high->sens, lr->high->cats); in __cil_verify_levelrange()
Dcil_internal.h613 struct cil_cats *cats; member
622 struct cil_cats *cats; member
629 struct cil_cats *cats; member
935 void cil_cats_init(struct cil_cats **cats);
Dcil_tree.c448 void cil_tree_print_cats(struct cil_cats *cats) in cil_tree_print_cats() argument
450 cil_tree_print_expr(cats->datum_expr, cats->str_expr); in cil_tree_print_cats()
516 cil_tree_print_cats(level->cats); in cil_tree_print_level()
1158 cil_tree_print_cats(catset->cats); in cil_tree_print_node()
1189 cil_tree_print_cats(senscat->cats); in cil_tree_print_node()
Dcil_copy_ast.c839 cil_copy_cats(db, orig->cats, &new->cats); in cil_copy_catset()
855 cil_copy_cats(db, orig->cats, &new->cats); in cil_copy_senscat()
898 if (orig->cats != NULL) { in cil_copy_fill_level()
899 cil_copy_cats(db, orig->cats, &(*new)->cats); in cil_copy_fill_level()
Dcil_build_ast.h212 int cil_fill_cats(struct cil_tree_node *curr, struct cil_cats **cats);
213 void cil_destroy_cats(struct cil_cats *cats);
Dcil_resolve_ast.c1451 int cil_resolve_cats(struct cil_tree_node *current, struct cil_cats *cats, void *extra_args) in cil_resolve_cats() argument
1455 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args); in cil_resolve_cats()
1472 rc = cil_resolve_cats(current, catset->cats, extra_args); in cil_resolve_catset()
1477 rc = cil_verify_no_self_reference((struct cil_symtab_datum *)catset, catset->cats->datum_expr); in cil_resolve_catset()
1479 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE); in cil_resolve_catset()
1500 rc = cil_resolve_cats(current, senscat->cats, extra_args); in cil_resolve_senscat()
1511 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats); in cil_resolve_senscat()
1532 if (level->cats != NULL) { in cil_resolve_level()
1533 rc = cil_resolve_cats(current, level->cats, extra_args); in cil_resolve_level()
2481 rc = cil_fill_cats(pc, &catset->cats); in cil_resolve_call1()
Dcil_build_ast.c3234 rc = cil_fill_cats(parse_current->next->next, &catset->cats); in cil_gen_catset()
3257 cil_destroy_cats(catset->cats); in cil_destroy_catset()
3390 rc = cil_fill_cats(parse_current->next->next, &senscat->cats); in cil_gen_senscat()
3413 cil_destroy_cats(senscat->cats); in cil_destroy_senscat()
3472 cil_destroy_cats(level->cats); in cil_destroy_level()
5196 rc = cil_fill_cats(curr->next, &level->cats); in cil_fill_level()
5209 int cil_fill_cats(struct cil_tree_node *curr, struct cil_cats **cats) in cil_fill_cats() argument
5213 cil_cats_init(cats); in cil_fill_cats()
5215 rc = cil_gen_expr(curr, CIL_CAT, &(*cats)->str_expr); in cil_fill_cats()
5217 cil_destroy_cats(*cats); in cil_fill_cats()
[all …]
Dcil_binary.c2416 int __cil_cats_to_mls_level(policydb_t *pdb, struct cil_cats *cats, mls_level_t *mls_level) in __cil_cats_to_mls_level() argument
2422 cil_list_for_each(i, cats->datum_expr) { in __cil_cats_to_mls_level()
2427 cil_list_for_each(j, cs->cats->datum_expr) { in __cil_cats_to_mls_level()
2465 struct cil_cats *cats = curr->data; in cil_sepol_level_define() local
2466 rc = __cil_cats_to_mls_level(pdb, cats, mls_level); in cil_sepol_level_define()
2486 struct cil_cats *cats = cil_level->cats; in cil_level_to_mls_level() local
2496 if (cats != NULL) { in cil_level_to_mls_level()
2497 rc = __cil_cats_to_mls_level(pdb, cats, mls_level); in cil_level_to_mls_level()
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/tests/yui/out/
Dbug2527974.out1 body{yo:cats}ul[id$=foo] label:hover{yo:yo}
Dbug2527974.out.b1 …LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}ul[id$=foo] label:h…
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/tests/yui/
Dbug2527974.css.min1 …LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}ul[id$=foo] label:h…
Dbug2527974.css8 yo: cats;
/external/llvm/lib/Support/
Dregcomp.c1298 cat_t *cats = g->categories; in categorize() local
1308 if (cats[c] == 0 && isinsets(g, c)) { in categorize()
1310 cats[c] = cat; in categorize()
1312 if (cats[c2] == 0 && samesets(g, c, c2)) in categorize()
1313 cats[c2] = cat; in categorize()
/external/skia/site/dev/contrib/
Dstyle.md76 int herdCats(const Array& cats) {
77 int numCats = cats.count();
/external/icu/icu4c/source/samples/ufortune/resources/
Droot.txt175 "A countryman between two lawyers is like a fish between two cats.
/external/selinux/libsepol/src/
Dmodule_to_cil.c2844 char *cats = NULL; in level_string_to_cil() local
2850 matched = sscanf(levelstr, "%m[^:]:%ms", &sens, &cats); in level_string_to_cil()
2861 token = strtok_r(cats, ",", &saveptr); in level_string_to_cil()
2880 free(cats); in level_string_to_cil()
/external/selinux/checkpolicy/
Dpolicy_define.c4002 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories() argument
4053 if (ebitmap_set_bit(cats, i, TRUE)) { in parse_categories()
4063 mls_semantic_cat_t ** cats) in parse_semantic_categories() argument
4108 newcat->next = *cats; in parse_semantic_categories()
4112 *cats = newcat; in parse_semantic_categories()
/external/pcre/dist/testdata/
Dtestinput13625 <a href=\"abcd xyz pqr\" cats
3626 <a href=\'abcd xyz pqr\' cats
3634 <a href=\"abcd xyz pqr\" cats
3635 <a href = \'abcd xyz pqr\' cats
3643 <a href=\"abcd xyz pqr\" cats
3644 <a href = \'abcd xyz pqr\' cats
/external/guava/guava-tests/test/com/google/common/io/testdata/
Dalice_in_wonderland.txt100 But do cats eat bats, I wonder?' And here Alice began to get
102 way, `Do cats eat bats? Do cats eat bats?' and sometimes, `Do
103 bats eat cats?' for, you see, as she couldn't answer either
419 poor animal's feelings. `I quite forgot you didn't like cats.'
421 `Not like cats!' cried the Mouse, in a shrill, passionate
422 voice. `Would YOU like cats if you were me?'
426 I think you'd take a fancy to cats if you could only see her.
438 always HATED cats: nasty, low, vulgar things! Don't let me hear
456 again, and we won't talk about cats or dogs either, if you don't
461 understand why it is I hate cats and dogs.'
[all …]
/external/srtp/
Dconfig.guess206 cats:OpenBSD:*:*)

12