Home
last modified time | relevance | path

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

123

/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstinfo.c472 GstDebugCategory *cats[10000] = { NULL, }; in GST_START_TEST() local
484 for (i = 0; i < G_N_ELEMENTS (cats); ++i) { in GST_START_TEST()
486 GST_DEBUG_CATEGORY_INIT (cats[i], name, 0, "none"); in GST_START_TEST()
493 fail_unless_equals_int (gst_debug_category_get_threshold (cats[0]), in GST_START_TEST()
496 fail_unless_equals_int (gst_debug_category_get_threshold (cats[1]), in GST_START_TEST()
499 fail_unless_equals_int (gst_debug_category_get_threshold (cats[2]), in GST_START_TEST()
502 fail_unless_equals_int (gst_debug_category_get_threshold (cats[3]), in GST_START_TEST()
505 fail_unless_equals_int (gst_debug_category_get_threshold (cats[0xc]), in GST_START_TEST()
508 fail_unless_equals_int (gst_debug_category_get_threshold (cats[0x4c]), in GST_START_TEST()
512 fail_unless_equals_int (gst_debug_category_get_threshold (cats[0xa1b]), in GST_START_TEST()
[all …]
/third_party/typescript/tests/baselines/reference/
DundefinedTypeArgument1.symbols2 var cats = new Array<WAWA>();
3 >cats : Symbol(cats, Decl(undefinedTypeArgument1.ts, 0, 3))
DinvalidSymbolInTypeParameter1.symbols5 var cats = new Array<WAWA>(); // WAWA is not a valid type
6 >cats : Symbol(cats, Decl(invalidSymbolInTypeParameter1.ts, 1, 7))
DundefinedTypeArgument1.js2 var cats = new Array<WAWA>();
5 var cats = new Array(); variable
DinvalidSymbolInTypeParameter1.js3 var cats = new Array<WAWA>(); // WAWA is not a valid type
9 var cats = new Array(); // WAWA is not a valid type
DprespecializedGenericMembers1.symbols20 constructor(cats: { barry: Cat<IKitty>; }) {
21 >cats : Symbol(cats, Decl(prespecializedGenericMembers1.ts, 11, 16))
DundefinedTypeArgument1.types2 var cats = new Array<WAWA>();
3 >cats : any[]
DinvalidSymbolInTypeParameter1.types5 var cats = new Array<WAWA>(); // WAWA is not a valid type
6 >cats : any[]
DprespecializedGenericMembers1.js13 constructor(cats: { barry: Cat<IKitty>; }) { argument
34 function CatBag(cats) { argument
DprespecializedGenericMembers1.types17 constructor(cats: { barry: Cat<IKitty>; }) {
18 >cats : { barry: Cat<IKitty>; }
DcontextuallyTypedIife.types11 (function (cats) { })("lol");
12 >(function (cats) { })("lol") : void
13 >(function (cats) { }) : (cats: string) => void
14 >function (cats) { } : (cats: string) => void
15 >cats : string
DcontextuallyTypedIifeStrict.types11 (function (cats) { })("lol");
12 >(function (cats) { })("lol") : void
13 >(function (cats) { }) : (cats: string) => void
14 >function (cats) { } : (cats: string) => void
15 >cats : string
DcontextuallyTypedIife.js5 (function (cats) { })("lol"); argument
40 (function (cats) { })("lol"); argument
DcontextuallyTypedIifeStrict.js5 (function (cats) { })("lol"); argument
40 (function (cats) { })("lol"); argument
/third_party/mindspore/tests/st/model_zoo_tests/DeepFM/
Dprocess_data.py76 def map_cat2id(self, values, cats): argument
93 for i, cat_str in enumerate(cats):
121 cats = items[14:]
123 assert len(cats) == 26, "cats.size: {}".format(len(cats))
125 data_stats1.stats_cats(cats)
166 cats = items[14:]
168 assert len(cats) == 26, "cats.size: {}".format(len(cats))
169 ids, wts = data_stats2.map_cat2id(values, cats)
/third_party/boost/libs/locale/src/shared/
Dgenerator.cpp23 cats(all_categories), in data()
35 locale_category_type cats; member
64 return d->cats; in categories()
68 d->cats=t; in categories()
133 locale_category_type facets = d->cats; in generate()
/third_party/selinux/libsepol/cil/src/
Dcil_reset_ast.c243 static inline void cil_reset_cats(struct cil_cats *cats) in cil_reset_cats() argument
245 if (cats != NULL) { in cil_reset_cats()
246 cats->evaluated = CIL_FALSE; in cil_reset_cats()
247 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_reset_cats()
254 cil_reset_cats(senscat->cats); in cil_reset_senscat()
259 cil_reset_cats(catset->cats); in cil_reset_catset()
265 cil_reset_cats(level->cats); in cil_reset_level()
Dcil.c1469 static int cil_cats_to_ebitmap(struct cil_cats *cats, struct ebitmap* cats_ebitmap) in cil_cats_to_ebitmap() argument
1478 if (cats == NULL) { in cil_cats_to_ebitmap()
1483 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap()
1487 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap()
1523 rc = cil_cats_to_ebitmap(low->cats, &elow); in cil_level_equals()
1528 rc = cil_cats_to_ebitmap(high->cats, &ehigh); in cil_level_equals()
1544 struct cil_cats *cats = lvl->cats; in __cil_level_strlen() local
1553 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen()
1555 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen()
1596 struct cil_cats *cats = lvl->cats; in __cil_level_to_string() local
[all …]
Dcil_post.c94 if (a->cats != b->cats) { in level_compare()
95 return cats_compare(a->cats, b->cats); in level_compare()
1096 static int __evaluate_cat_expression(struct cil_cats *cats, struct cil_db *db) in __evaluate_cat_expression() argument
1103 if (cats->evaluated == CIL_TRUE) { in __evaluate_cat_expression()
1107 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) { in __evaluate_cat_expression()
1112 rc = __cil_expr_to_bitmap(cats->datum_expr, &bitmap, db->num_cats, db); in __evaluate_cat_expression()
1129 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression()
1130 cats->datum_expr = new; in __evaluate_cat_expression()
1132 cats->evaluated = CIL_TRUE; in __evaluate_cat_expression()
1150 if (catset->cats->evaluated == CIL_FALSE) { in __cil_cat_to_bitmap()
[all …]
/third_party/python/Tools/unicode/
Dmkstringprep.py4 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:
/third_party/musl/src/locale/
Ddcngettext.c119 static struct msgcat *volatile cats; in dcngettext() local
146 for (p=cats; p; p=p->next) in dcngettext()
233 old_cats = cats; in dcngettext()
235 } while (a_cas_p(&cats, old_cats, p) != old_cats); in dcngettext()
/third_party/musl/porting/linux/user/src/locale/
Ddcngettext.c150 static struct msgcat *volatile cats; in dcngettext() local
187 for (p=cats; p; p=p->next) { in dcngettext()
291 old_cats = cats; in dcngettext()
293 } while (a_cas_p(&cats, old_cats, p) != old_cats); in dcngettext()
/third_party/node/src/
Dnode_trace_events.cc62 Local<Array> cats = args[0].As<Array>(); in New() local
63 for (size_t n = 0; n < cats->Length(); n++) { in New()
65 if (!cats->Get(env->context(), n).ToLocal(&category)) return; in New()
Ddebug_utils.cc62 std::string cats; in Parse() local
63 credentials::SafeGetenv("NODE_DEBUG_NATIVE", &cats, env); in Parse()
64 Parse(cats, true); in Parse()
67 void EnabledDebugList::Parse(const std::string& cats, bool enabled) { in Parse() argument
68 std::string debug_categories = cats; in Parse()
/third_party/selinux/libsepol/src/
Dpolicydb_validate.c250 static int validate_mls_semantic_cat(mls_semantic_cat_t *cat, validate_t *cats) in validate_mls_semantic_cat() argument
253 if (validate_value(cat->low, cats)) in validate_mls_semantic_cat()
255 if (validate_value(cat->high, cats)) in validate_mls_semantic_cat()
265 …ic int validate_mls_semantic_level(mls_semantic_level_t *level, validate_t *sens, validate_t *cats) in validate_mls_semantic_level() argument
271 if (validate_mls_semantic_cat(level->cat, cats)) in validate_mls_semantic_level()
280 …ic int validate_mls_semantic_range(mls_semantic_range_t *range, validate_t *sens, validate_t *cats) in validate_mls_semantic_range() argument
282 if (validate_mls_semantic_level(&range->level[0], sens, cats)) in validate_mls_semantic_range()
284 if (validate_mls_semantic_level(&range->level[1], sens, cats)) in validate_mls_semantic_range()

123