/external/selinux/policycoreutils/scripts/ |
D | chcat | 74 cats = [] 79 cats.append(top[1]) 80 cats = expandCats(cats) 83 if i not in cats: 84 cats.append(i) 86 if len(cats) > 0: 87 new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats)) 126 cats = clist[1:] 127 cats.sort() 128 cat_string = cats[0] [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 221 static inline void cil_reset_cats(struct cil_cats *cats) in cil_reset_cats() argument 223 if (cats != NULL) { in cil_reset_cats() 224 cats->evaluated = CIL_FALSE; in cil_reset_cats() 225 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_reset_cats() 232 cil_reset_cats(senscat->cats); in cil_reset_senscat() 237 cil_reset_cats(catset->cats); in cil_reset_catset() 242 cil_reset_cats(level->cats); in cil_reset_level()
|
D | cil_policy.c | 75 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 …]
|
D | cil.c | 1223 static int cil_cats_to_ebitmap(struct cil_cats *cats, struct ebitmap* cats_ebitmap) in cil_cats_to_ebitmap() argument 1232 if (cats == NULL) { in cil_cats_to_ebitmap() 1237 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap() 1241 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap() 1277 rc = cil_cats_to_ebitmap(low->cats, &elow); in cil_level_equals() 1282 rc = cil_cats_to_ebitmap(high->cats, &ehigh); in cil_level_equals() 1296 struct cil_cats *cats = lvl->cats; in __cil_level_strlen() local 1305 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen() 1307 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen() 1348 struct cil_cats *cats = lvl->cats; in __cil_level_to_string() local [all …]
|
D | cil_post.c | 831 static int __evaluate_cat_expression(struct cil_cats *cats, struct cil_db *db) in __evaluate_cat_expression() argument 838 if (cats->evaluated == CIL_TRUE) { in __evaluate_cat_expression() 842 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) { in __evaluate_cat_expression() 847 rc = __cil_expr_to_bitmap(cats->datum_expr, &bitmap, db->num_cats, db); in __evaluate_cat_expression() 864 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression() 866 cats->datum_expr = new; in __evaluate_cat_expression() 870 cats->datum_expr = NULL; in __evaluate_cat_expression() 873 cats->evaluated = CIL_TRUE; in __evaluate_cat_expression() 891 if (catset->cats->evaluated == CIL_FALSE) { in __cil_cat_to_bitmap() 892 rc = __evaluate_cat_expression(catset->cats, db); in __cil_cat_to_bitmap() [all …]
|
D | cil_verify.c | 441 int __cil_is_cat_in_cats(struct cil_cat *cat, struct cil_cats *cats) in __cil_is_cat_in_cats() argument 445 cil_list_for_each(i, cats->datum_expr) { in __cil_is_cat_in_cats() 456 int __cil_verify_cat_in_cats(struct cil_cat *cat, struct cil_cats *cats) in __cil_verify_cat_in_cats() argument 458 if (__cil_is_cat_in_cats(cat, cats) != CIL_TRUE) { in __cil_verify_cat_in_cats() 466 int __cil_verify_cats_associated_with_sens(struct cil_sens *sens, struct cil_cats *cats) in __cil_verify_cats_associated_with_sens() argument 471 if (!cats) { in __cil_verify_cats_associated_with_sens() 480 cil_list_for_each(i, cats->datum_expr) { in __cil_verify_cats_associated_with_sens() 566 rc = __cil_verify_levelrange_cats(lr->low->cats, lr->high->cats); in __cil_verify_levelrange() 571 rc = __cil_verify_cats_associated_with_sens(lr->low->sens, lr->low->cats); in __cil_verify_levelrange() 577 rc = __cil_verify_cats_associated_with_sens(lr->high->sens, lr->high->cats); in __cil_verify_levelrange()
|
D | cil_internal.h | 657 struct cil_cats *cats; member 666 struct cil_cats *cats; member 673 struct cil_cats *cats; member 980 void cil_cats_init(struct cil_cats **cats);
|
D | cil_tree.c | 448 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() 1176 cil_tree_print_cats(catset->cats); in cil_tree_print_node() 1207 cil_tree_print_cats(senscat->cats); in cil_tree_print_node()
|
D | cil_copy_ast.c | 918 cil_copy_cats(db, orig->cats, &new->cats); in cil_copy_catset() 934 cil_copy_cats(db, orig->cats, &new->cats); in cil_copy_senscat() 977 if (orig->cats != NULL) { in cil_copy_fill_level() 978 cil_copy_cats(db, orig->cats, &(*new)->cats); in cil_copy_fill_level()
|
D | cil_build_ast.h | 219 int cil_fill_cats(struct cil_tree_node *curr, struct cil_cats **cats); 220 void cil_destroy_cats(struct cil_cats *cats);
|
D | cil_resolve_ast.c | 1575 int cil_resolve_cats(struct cil_tree_node *current, struct cil_cats *cats, void *extra_args) in cil_resolve_cats() argument 1579 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args); in cil_resolve_cats() 1595 rc = cil_resolve_cats(current, catset->cats, extra_args); in cil_resolve_catset() 1600 rc = cil_verify_no_self_reference((struct cil_symtab_datum *)catset, catset->cats->datum_expr); in cil_resolve_catset() 1602 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE); in cil_resolve_catset() 1623 rc = cil_resolve_cats(current, senscat->cats, extra_args); in cil_resolve_senscat() 1634 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats); in cil_resolve_senscat() 1655 if (level->cats != NULL) { in cil_resolve_level() 1656 rc = cil_resolve_cats(current, level->cats, extra_args); in cil_resolve_level() 2761 rc = cil_fill_cats(pc, &catset->cats); in cil_resolve_call1()
|
D | cil_build_ast.c | 3547 rc = cil_fill_cats(parse_current->next->next, &catset->cats); in cil_gen_catset() 3570 cil_destroy_cats(catset->cats); in cil_destroy_catset() 3722 rc = cil_fill_cats(parse_current->next->next, &senscat->cats); in cil_gen_senscat() 3745 cil_destroy_cats(senscat->cats); in cil_destroy_senscat() 3804 cil_destroy_cats(level->cats); in cil_destroy_level() 5528 rc = cil_fill_cats(curr->next, &level->cats); in cil_fill_level() 5541 int cil_fill_cats(struct cil_tree_node *curr, struct cil_cats **cats) in cil_fill_cats() argument 5545 cil_cats_init(cats); in cil_fill_cats() 5547 rc = cil_gen_expr(curr, CIL_CAT, &(*cats)->str_expr); in cil_fill_cats() 5549 cil_destroy_cats(*cats); in cil_fill_cats() [all …]
|
D | cil_binary.c | 2713 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 2719 cil_list_for_each(i, cats->datum_expr) { in __cil_cats_to_mls_level() 2724 cil_list_for_each(j, cs->cats->datum_expr) { in __cil_cats_to_mls_level() 2762 struct cil_cats *cats = curr->data; in cil_sepol_level_define() local 2763 rc = __cil_cats_to_mls_level(pdb, cats, mls_level); in cil_sepol_level_define() 2783 struct cil_cats *cats = cil_level->cats; in cil_level_to_mls_level() local 2793 if (cats != NULL) { in cil_level_to_mls_level() 2794 rc = __cil_cats_to_mls_level(pdb, cats, mls_level); in cil_level_to_mls_level()
|
/external/opencv3/3rdparty/jinja2/ |
D | _stringdefs.py | 81 cats = ['Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu', 'Mc', 'Me', 'Mn', 'Nd', 'Nl', '… variable 91 newcats = cats[:]
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/tests/yui/out/ |
D | bug2527974.out | 1 body{yo:cats}ul[id$=foo] label:hover{yo:yo}
|
D | bug2527974.out.b | 1 …LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}ul[id$=foo] label:h…
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/tests/yui/ |
D | bug2527974.css.min | 1 …LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}ul[id$=foo] label:h…
|
D | bug2527974.css | 8 yo: cats;
|
/external/llvm/lib/Support/ |
D | regcomp.c | 1298 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/ |
D | style.md | 76 int herdCats(const Array& cats) { 77 int numCats = cats.count();
|
/external/icu/icu4c/source/samples/ufortune/resources/ |
D | root.txt | 175 "A countryman between two lawyers is like a fish between two cats.
|
/external/selinux/libsepol/src/ |
D | module_to_cil.c | 2856 char *cats = NULL; in level_string_to_cil() local 2862 matched = tokenize(levelstr, ':', 2, &sens, &cats); in level_string_to_cil() 2873 token = strtok_r(cats, ",", &saveptr); in level_string_to_cil() 2892 free(cats); in level_string_to_cil()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 4058 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories() argument 4109 if (ebitmap_set_bit(cats, i, TRUE)) { in parse_categories() 4119 mls_semantic_cat_t ** cats) in parse_semantic_categories() argument 4164 newcat->next = *cats; in parse_semantic_categories() 4168 *cats = newcat; in parse_semantic_categories()
|
/external/pcre/dist/testdata/ |
D | testinput1 | 3625 <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/ |
D | alice_in_wonderland.txt | 100 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 …]
|