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

12

/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/
H A Dbug2527974.css8 yo: cats;
H A Dbug2527974.css.min1 /*! $LastChangedRevision: 81 $ $LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}ul[id$=foo] label:hover{yo:yo
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/out/
H A Dbug2527974.out.b1 /*! $LastChangedRevision: 81 $ $LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}ul[id$=foo] label:hover{yo:yo
/external/selinux/python/chcat/
H A Dchcat84 cats = []
89 cats.append(top[1])
90 cats = expandCats(cats)
93 if i not in cats:
94 cats.append(i)
96 if len(cats) > 0:
97 new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats))
136 cats = clist[1:]
137 cats
[all...]
/external/python/cpython2/Tools/unicode/
H A Dmkstringprep.py6 def gen_category(cats):
8 if unicodedata.category(unichr(i)) in cats:
11 def gen_bidirectional(cats):
13 if unicodedata.bidirectional(unichr(i)) in cats:
/external/python/cpython3/Tools/unicode/
H A Dmkstringprep.py7 def gen_category(cats):
9 if unicodedata.category(chr(i)) in cats:
12 def gen_bidirectional(cats):
14 if unicodedata.bidirectional(chr(i)) in cats:
/external/selinux/libsepol/cil/src/
H A Dcil_reset_ast.c222 static inline void cil_reset_cats(struct cil_cats *cats) argument
224 if (cats != NULL) {
225 cats->evaluated = CIL_FALSE;
226 cil_list_destroy(&cats->datum_expr, CIL_FALSE);
233 cil_reset_cats(senscat->cats);
238 cil_reset_cats(catset->cats);
243 cil_reset_cats(level->cats);
H A Dcil_write_ast.c264 static int cil_unfill_cats(struct cil_cats *cats, char **out_str) { argument
265 return cil_unfill_expr(cats->str_expr, out_str, 0);
271 char *sens, *cats = NULL; local
274 if (lvl->cats != NULL) {
275 rc = cil_unfill_cats(lvl->cats, &cats);
278 len += strlen(cats) + 1;
281 if (cats == NULL) {
288 if (sprintf(*out_str, "(%s %s)", sens, cats) < 0) {
296 free(cats);
883 char *cats = NULL; local
[all...]
H A Dcil.c1262 static int cil_cats_to_ebitmap(struct cil_cats *cats, struct ebitmap* cats_ebitmap) argument
1271 if (cats == NULL) {
1276 cil_list_for_each(i, cats->datum_expr) {
1280 cil_list_for_each(j, cs->cats->datum_expr) {
1316 rc = cil_cats_to_ebitmap(low->cats, &elow);
1321 rc = cil_cats_to_ebitmap(high->cats, &ehigh);
1337 struct cil_cats *cats = lvl->cats; local
1346 if (cats && cats
1389 struct cil_cats *cats = lvl->cats; local
2271 cil_cats_init(struct cil_cats **cats) argument
[all...]
H A Dcil_post.c87 if (a->cats != b->cats) {
88 return cats_compare(a->cats, b->cats);
1082 static int __evaluate_cat_expression(struct cil_cats *cats, struct cil_db *db) argument
1089 if (cats->evaluated == CIL_TRUE) {
1093 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) {
1098 rc = __cil_expr_to_bitmap(cats->datum_expr, &bitmap, db->num_cats, db);
1115 cil_list_destroy(&cats->datum_expr, CIL_FALSE);
1116 cats
[all...]
H A Dcil_verify.c447 int __cil_is_cat_in_cats(struct cil_cat *cat, struct cil_cats *cats) argument
451 cil_list_for_each(i, cats->datum_expr) {
462 int __cil_verify_cat_in_cats(struct cil_cat *cat, struct cil_cats *cats) argument
464 if (__cil_is_cat_in_cats(cat, cats) != CIL_TRUE) {
472 int __cil_verify_cats_associated_with_sens(struct cil_sens *sens, struct cil_cats *cats) argument
477 if (!cats) {
486 cil_list_for_each(i, cats->datum_expr) {
572 rc = __cil_verify_levelrange_cats(lr->low->cats, lr->high->cats);
577 rc = __cil_verify_cats_associated_with_sens(lr->low->sens, lr->low->cats);
[all...]
H A Dcil_internal.h683 struct cil_cats *cats; member in struct:cil_catset
692 struct cil_cats *cats; member in struct:cil_senscat
699 struct cil_cats *cats; member in struct:cil_level
1028 void cil_cats_init(struct cil_cats **cats);
H A Dcil_tree.c534 void cil_tree_print_cats(struct cil_cats *cats) argument
536 cil_tree_print_expr(cats->datum_expr, cats->str_expr);
602 cil_tree_print_cats(level->cats);
1273 cil_tree_print_cats(catset->cats);
1304 cil_tree_print_cats(senscat->cats);
H A Dcil_build_ast.h227 int cil_fill_cats(struct cil_tree_node *curr, struct cil_cats **cats);
228 void cil_destroy_cats(struct cil_cats *cats);
H A Dcil_resolve_ast.c1630 int cil_resolve_cats(struct cil_tree_node *current, struct cil_cats *cats, void *extra_args) argument
1634 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args);
1650 rc = cil_resolve_cats(current, catset->cats, extra_args);
1655 rc = cil_verify_no_self_reference((struct cil_symtab_datum *)catset, catset->cats->datum_expr);
1657 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE);
1678 rc = cil_resolve_cats(current, senscat->cats, extra_args);
1689 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats);
1710 if (level->cats != NULL) {
1711 rc = cil_resolve_cats(current, level->cats, extra_arg
[all...]
H A Dcil_copy_ast.c941 cil_copy_cats(db, orig->cats, &new->cats);
957 cil_copy_cats(db, orig->cats, &new->cats);
1000 if (orig->cats != NULL) {
1001 cil_copy_cats(db, orig->cats, &(*new)->cats);
H A Dcil_policy.c195 static void cil_cats_to_policy(FILE *out, struct cil_cats *cats) argument
201 cil_list_for_each(i1, cats->datum_expr) {
244 if (level->cats != NULL) {
246 cil_cats_to_policy(out, level->cats);
256 if (l1->sens == l2->sens && (l1->cats == NULL && l2->cats == NULL))
H A Dcil_build_ast.c3616 rc = cil_fill_cats(parse_current->next->next, &catset->cats);
3638 cil_destroy_cats(catset->cats);
3788 rc = cil_fill_cats(parse_current->next->next, &senscat->cats);
3810 cil_destroy_cats(senscat->cats);
3868 cil_destroy_cats(level->cats);
5719 rc = cil_fill_cats(curr->next, &level->cats);
5732 int cil_fill_cats(struct cil_tree_node *curr, struct cil_cats **cats) argument
5736 cil_cats_init(cats);
5738 rc = cil_gen_expr(curr, CIL_CAT, &(*cats)->str_expr);
5740 cil_destroy_cats(*cats);
5747 cil_destroy_cats(struct cil_cats *cats) argument
[all...]
H A Dcil_binary.c2903 int __cil_cats_to_mls_level(policydb_t *pdb, struct cil_cats *cats, mls_level_t *mls_level) argument
2909 cil_list_for_each(i, cats->datum_expr) {
2914 cil_list_for_each(j, cs->cats->datum_expr) {
2952 struct cil_cats *cats = curr->data; local
2953 rc = __cil_cats_to_mls_level(pdb, cats, mls_level);
2973 struct cil_cats *cats = cil_level->cats; local
2983 if (cats != NULL) {
2984 rc = __cil_cats_to_mls_level(pdb, cats, mls_level);
/external/libmojo/third_party/jinja2/
H A D_stringdefs.py81 cats = ['Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu', 'Mc', 'Me', 'Mn', 'Nd', 'Nl', 'No', 'Pc', 'Pd', 'Pe', 'Pf', 'Pi', 'Po', 'Ps', 'Sc', 'Sk', 'Sm', 'So', 'Zl', 'Zp', 'Zs'] variable
91 newcats = cats[:]
129 f.write('cats = %r\n\n' % sorted(categories.keys()))
/external/selinux/libsepol/src/
H A Dkernel_to_cil.c972 static size_t cats_ebitmap_len(struct ebitmap *cats, char **val_to_name) argument
979 ebitmap_for_each_bit(cats, node, i) {
980 if (!ebitmap_get_bit(cats, i))
988 if (ebitmap_get_bit(cats, i+1))
1010 static char *cats_ebitmap_to_str(struct ebitmap *cats, char **val_to_name) argument
1018 remaining = (int)cats_ebitmap_len(cats, val_to_name);
1030 ebitmap_for_each_bit(cats, node, i) {
1031 if (!ebitmap_get_bit(cats, i))
1039 if (ebitmap_get_bit(cats, i+1))
1071 char *name, *cats; local
1864 ebitmap_t *cats = &level->cat; local
[all...]
H A Dkernel_to_conf.c957 static size_t cats_ebitmap_len(struct ebitmap *cats, char **val_to_name) argument
964 ebitmap_for_each_bit(cats, node, i) {
965 if (!ebitmap_get_bit(cats, i))
973 if (ebitmap_get_bit(cats, i+1))
987 static char *cats_ebitmap_to_str(struct ebitmap *cats, char **val_to_name) argument
996 remaining = (int)cats_ebitmap_len(cats, val_to_name);
1006 ebitmap_for_each_bit(cats, node, i) {
1007 if (!ebitmap_get_bit(cats, i))
1015 if (ebitmap_get_bit(cats, i+1))
1049 char *name, *cats; local
1832 ebitmap_t *cats = &level->cat; local
[all...]
/external/llvm/lib/Support/
H A Dregcomp.c1298 cat_t *cats = g->categories; local
1308 if (cats[c] == 0 && isinsets(g, c)) {
1310 cats[c] = cat;
1312 if (cats[c2] == 0 && samesets(g, c, c2))
1313 cats[c2] = cat;
/external/swiftshader/third_party/LLVM/lib/Support/
H A Dregcomp.c1260 cat_t *cats = g->categories; local
1270 if (cats[c] == 0 && isinsets(g, c)) {
1272 cats[c] = cat;
1274 if (cats[c2] == 0 && samesets(g, c, c2))
1275 cats[c2] = cat;
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A Dregcomp.c1298 cat_t *cats = g->categories; local
1308 if (cats[c] == 0 && isinsets(g, c)) {
1310 cats[c] = cat;
1312 if (cats[c2] == 0 && samesets(g, c, c2))
1313 cats[c2] = cat;

Completed in 607 milliseconds

12