/external/selinux/python/chcat/ |
D | chcat | 80 cats = [] 85 cats = expandCats(top[1].split(',')) 88 if i not in cats: 89 cats.append(i) 91 if len(cats) > 0: 92 new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats)) 130 cats = clist[1:] 131 cats.sort() 132 cat_string = cats[0] 133 for c in cats[1:]: [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 222 static inline void cil_reset_cats(struct cil_cats *cats) in cil_reset_cats() argument 224 if (cats != NULL) { in cil_reset_cats() 225 cats->evaluated = CIL_FALSE; in cil_reset_cats() 226 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_reset_cats() 233 cil_reset_cats(senscat->cats); in cil_reset_senscat() 238 cil_reset_cats(catset->cats); in cil_reset_catset() 243 cil_reset_cats(level->cats); in cil_reset_level()
|
D | cil.c | 1426 static int cil_cats_to_ebitmap(struct cil_cats *cats, struct ebitmap* cats_ebitmap) in cil_cats_to_ebitmap() argument 1435 if (cats == NULL) { in cil_cats_to_ebitmap() 1440 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap() 1444 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap() 1480 rc = cil_cats_to_ebitmap(low->cats, &elow); in cil_level_equals() 1485 rc = cil_cats_to_ebitmap(high->cats, &ehigh); in cil_level_equals() 1501 struct cil_cats *cats = lvl->cats; in __cil_level_strlen() local 1510 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen() 1512 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen() 1553 struct cil_cats *cats = lvl->cats; in __cil_level_to_string() local [all …]
|
D | cil_write_ast.c | 264 static int cil_unfill_cats(struct cil_cats *cats, char **out_str) { in cil_unfill_cats() argument 265 return cil_unfill_expr(cats->str_expr, out_str, 0); in cil_unfill_cats() 271 char *sens, *cats = NULL; in cil_unfill_level() local 274 if (lvl->cats != NULL) { in cil_unfill_level() 275 rc = cil_unfill_cats(lvl->cats, &cats); in cil_unfill_level() 278 len += strlen(cats) + 1; in cil_unfill_level() 281 if (cats == NULL) { in cil_unfill_level() 288 if (sprintf(*out_str, "(%s %s)", sens, cats) < 0) { in cil_unfill_level() 296 free(cats); in cil_unfill_level() 883 char *cats = NULL; in cil_write_senscat() local [all …]
|
D | cil_post.c | 87 if (a->cats != b->cats) { in level_compare() 88 return cats_compare(a->cats, b->cats); in level_compare() 1082 static int __evaluate_cat_expression(struct cil_cats *cats, struct cil_db *db) in __evaluate_cat_expression() argument 1089 if (cats->evaluated == CIL_TRUE) { in __evaluate_cat_expression() 1093 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) { in __evaluate_cat_expression() 1098 rc = __cil_expr_to_bitmap(cats->datum_expr, &bitmap, db->num_cats, db); in __evaluate_cat_expression() 1115 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression() 1116 cats->datum_expr = new; in __evaluate_cat_expression() 1118 cats->evaluated = CIL_TRUE; in __evaluate_cat_expression() 1136 if (catset->cats->evaluated == CIL_FALSE) { in __cil_cat_to_bitmap() [all …]
|
D | cil_verify.c | 449 int __cil_is_cat_in_cats(struct cil_cat *cat, struct cil_cats *cats) in __cil_is_cat_in_cats() argument 453 cil_list_for_each(i, cats->datum_expr) { in __cil_is_cat_in_cats() 464 int __cil_verify_cat_in_cats(struct cil_cat *cat, struct cil_cats *cats) in __cil_verify_cat_in_cats() argument 466 if (__cil_is_cat_in_cats(cat, cats) != CIL_TRUE) { in __cil_verify_cat_in_cats() 474 int __cil_verify_cats_associated_with_sens(struct cil_sens *sens, struct cil_cats *cats) in __cil_verify_cats_associated_with_sens() argument 479 if (!cats) { in __cil_verify_cats_associated_with_sens() 488 cil_list_for_each(i, cats->datum_expr) { in __cil_verify_cats_associated_with_sens() 574 rc = __cil_verify_levelrange_cats(lr->low->cats, lr->high->cats); in __cil_verify_levelrange() 579 rc = __cil_verify_cats_associated_with_sens(lr->low->sens, lr->low->cats); in __cil_verify_levelrange() 585 rc = __cil_verify_cats_associated_with_sens(lr->high->sens, lr->high->cats); in __cil_verify_levelrange()
|
D | cil_internal.h | 685 struct cil_cats *cats; member 694 struct cil_cats *cats; member 701 struct cil_cats *cats; member 1032 void cil_cats_init(struct cil_cats **cats);
|
D | cil_tree.c | 538 void cil_tree_print_cats(struct cil_cats *cats) in cil_tree_print_cats() argument 540 cil_tree_print_expr(cats->datum_expr, cats->str_expr); in cil_tree_print_cats() 606 cil_tree_print_cats(level->cats); in cil_tree_print_level() 1277 cil_tree_print_cats(catset->cats); in cil_tree_print_node() 1308 cil_tree_print_cats(senscat->cats); in cil_tree_print_node()
|
/external/python/cpython2/Tools/unicode/ |
D | mkstringprep.py | 6 def gen_category(cats): argument 8 if unicodedata.category(unichr(i)) in cats: 11 def gen_bidirectional(cats): argument 13 if unicodedata.bidirectional(unichr(i)) in cats:
|
/external/python/cpython3/Tools/unicode/ |
D | mkstringprep.py | 4 def gen_category(cats): argument 6 if unicodedata.category(chr(i)) in cats: 9 def gen_bidirectional(cats): argument 11 if unicodedata.bidirectional(chr(i)) in cats:
|
/external/rust/crates/unicode-width/scripts/ |
D | unicode.py | 104 def group_cats(cats): argument 106 for cat in cats: 107 cats_out[cat] = group_cat(cats[cat])
|
/external/chromium-trace/catapult/common/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/common/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/rust/crates/unicode-segmentation/scripts/ |
D | unicode.py | 113 def group_cats(cats): argument 115 for cat in cats: 116 cats_out[cat] = group_cat(cats[cat])
|
/external/selinux/libsepol/src/ |
D | kernel_to_conf.c | 993 static size_t cats_ebitmap_len(struct ebitmap *cats, char **val_to_name) in cats_ebitmap_len() argument 1000 ebitmap_for_each_positive_bit(cats, node, i) { in cats_ebitmap_len() 1006 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_len() 1020 static char *cats_ebitmap_to_str(struct ebitmap *cats, char **val_to_name) in cats_ebitmap_to_str() argument 1029 remaining = (int)cats_ebitmap_len(cats, val_to_name); in cats_ebitmap_to_str() 1039 ebitmap_for_each_positive_bit(cats, node, i) { in cats_ebitmap_to_str() 1045 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_to_str() 1079 char *name, *cats; in write_level_rules_to_conf() local 1094 cats = cats_ebitmap_to_str(&level->level->cat, pdb->p_cat_val_to_name); in write_level_rules_to_conf() 1095 sepol_printf(out, "level %s:%s;\n", name, cats); in write_level_rules_to_conf() [all …]
|
D | kernel_to_cil.c | 996 static size_t cats_ebitmap_len(struct ebitmap *cats, char **val_to_name) in cats_ebitmap_len() argument 1003 ebitmap_for_each_positive_bit(cats, node, i) { in cats_ebitmap_len() 1009 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_len() 1031 static char *cats_ebitmap_to_str(struct ebitmap *cats, char **val_to_name) in cats_ebitmap_to_str() argument 1039 remaining = (int)cats_ebitmap_len(cats, val_to_name); in cats_ebitmap_to_str() 1051 ebitmap_for_each_positive_bit(cats, node, i) { in cats_ebitmap_to_str() 1057 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_to_str() 1089 char *name, *cats; in write_sensitivitycategory_rules_to_cil() local 1105 cats = cats_ebitmap_to_str(&level->level->cat, pdb->p_cat_val_to_name); in write_sensitivitycategory_rules_to_cil() 1106 sepol_printf(out, "(sensitivitycategory %s %s)\n", name, cats); in write_sensitivitycategory_rules_to_cil() [all …]
|
/external/libchrome/base/containers/ |
D | span_unittest.nc | 79 // Cat** cats = GetCats(); 80 // Animals** animals = cats;
|
/external/python/pybind11/docs/advanced/ |
D | classes.rst | 965 // cats.cpp, in a completely separate project from the above dogs.cpp. 977 >>> import cats 995 // Pet binding in cats.cpp: 999 This makes the Python-side ``dogs.Pet`` and ``cats.Pet`` into distinct classes, 1002 ``dogs.Pet`` Python instance, while C++ code in the ``cats`` module will result 1003 in a ``cats.Pet`` Python instance. 1012 added to any module (including but not limited to the ``cats`` and ``dogs`` 1013 modules above) it will be callable with either a ``dogs.Pet`` or ``cats.Pet`` 1020 For example, suppose the above function is added to each of ``cats.cpp``, 1026 >>> import cats, dogs, frogs # No error because of the added py::module_local() [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | regcomp.c | 1426 cat_t *cats = g->categories; in categorize() local 1436 if (cats[c] == 0 && isinsets(g, c)) { in categorize() 1438 cats[c] = cat; in categorize() 1440 if (cats[c2] == 0 && samesets(g, c, c2)) in categorize() 1441 cats[c2] = cat; in categorize()
|
/external/swiftshader/third_party/llvm-subzero/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/libcups/vcnet/regex/ |
D | regcomp.c | 1311 register cat_t *cats = g->categories; local 1321 if (cats[c] == 0 && isinsets(g, c)) { 1323 cats[c] = cat; 1325 if (cats[c2] == 0 && samesets(g, c, c2)) 1326 cats[c2] = cat;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | regcomp.c | 1426 cat_t *cats = g->categories; in categorize() local 1436 if (cats[c] == 0 && isinsets(g, c)) { in categorize() 1438 cats[c] = cat; in categorize() 1440 if (cats[c2] == 0 && samesets(g, c, c2)) in categorize() 1441 cats[c2] = cat; in categorize()
|
/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()
|