Home
last modified time | relevance | path

Searched refs:num_classes (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc257 int num_classes = state.range(0); in BM_ConditionWaiters() local
269 if (num_classes == 0) { in BM_ConditionWaiters()
271 num_classes = num_waiters; in BM_ConditionWaiters()
276 std::vector<int> equivalence_classes(num_classes, 1); in BM_ConditionWaiters()
285 Helper::Waiter(&init, &mu, &equivalence_classes[i % num_classes]); in BM_ConditionWaiters()
296 for (int i = 0; i < num_classes; i++) { in BM_ConditionWaiters()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify10.c92 static unsigned int num_classes = NUM_CLASSES; variable
301 for (p = 0; p < num_classes; p++) { in create_fanotify_groups()
352 for (p = 0; p < num_classes; p++) { in cleanup_fanotify_groups()
445 for (p = 0; p < num_classes; p++) { in test_fanotify()
483 for (p = 1; p < num_classes && !tc->expected_mask_with_ignore; p++) { in test_fanotify()
520 num_classes = NUM_PRIORITIES; in setup()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-common.hh535 unsigned int num_classes = nClasses; in sanitize() local
536 if (unlikely (hb_unsigned_mul_overflows (num_classes, states[0].static_size))) in sanitize()
538 unsigned int row_stride = num_classes * states[0].static_size; in sanitize()
566 if (unlikely (hb_unsigned_mul_overflows (min_state, num_classes))) in sanitize()
568 if (unlikely (!c->check_range (&states[min_state * num_classes], in sanitize()
575 const HBUSHORT *stop = &states[min_state * num_classes]; in sanitize()
594 if (unlikely (hb_unsigned_mul_overflows ((max_state + 1), num_classes))) in sanitize()
596 const HBUSHORT *stop = &states[(max_state + 1) * num_classes]; in sanitize()
599 for (const HBUSHORT *p = &states[state_pos * num_classes]; p < stop; p++) in sanitize()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-common.hh538 unsigned int num_classes = nClasses; in sanitize() local
539 if (unlikely (hb_unsigned_mul_overflows (num_classes, states[0].static_size))) in sanitize()
541 unsigned int row_stride = num_classes * states[0].static_size; in sanitize()
569 if (unlikely (hb_unsigned_mul_overflows (min_state, num_classes))) in sanitize()
571 if (unlikely (!c->check_range (&states[min_state * num_classes], in sanitize()
578 const HBUSHORT *stop = &states[min_state * num_classes]; in sanitize()
597 if (unlikely (hb_unsigned_mul_overflows ((max_state + 1), num_classes))) in sanitize()
599 const HBUSHORT *stop = &states[(max_state + 1) * num_classes]; in sanitize()
602 for (const HBUSHORT *p = &states[state_pos * num_classes]; p < stop; p++) in sanitize()
/third_party/harfbuzz/src/
Dhb-aat-layout-common.hh535 unsigned int num_classes = nClasses; in sanitize() local
536 if (unlikely (hb_unsigned_mul_overflows (num_classes, states[0].static_size))) in sanitize()
538 unsigned int row_stride = num_classes * states[0].static_size; in sanitize()
566 if (unlikely (hb_unsigned_mul_overflows (min_state, num_classes))) in sanitize()
568 if (unlikely (!c->check_range (&states[min_state * num_classes], in sanitize()
575 const HBUSHORT *stop = &states[min_state * num_classes]; in sanitize()
594 if (unlikely (hb_unsigned_mul_overflows ((max_state + 1), num_classes))) in sanitize()
596 const HBUSHORT *stop = &states[(max_state + 1) * num_classes]; in sanitize()
599 for (const HBUSHORT *p = &states[state_pos * num_classes]; p < stop; p++) in sanitize()
/third_party/selinux/checkpolicy/test/
Ddismod.c217 int num_classes; in display_avrule() local
265 num_classes = 0; in display_avrule()
267 num_classes++; in display_avrule()
268 if (num_classes > 1) in display_avrule()
273 if (num_classes > 1) in display_avrule()
282 if (num_classes > 1) in display_avrule()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11xinput2.c210 for (j = 0; j < dev->num_classes; j++) { in X11_InitXinput2Multitouch()
/third_party/selinux/libsepol/cil/src/
Dcil_internal.h313 int num_classes; member
Dcil_binary.c5072 class_value_to_cil = calloc(db->num_classes+1, sizeof(*class_value_to_cil)); in cil_binary_create_allocated_pdb()
5075 perm_value_to_cil = calloc(db->num_classes+1, sizeof(*perm_value_to_cil)); in cil_binary_create_allocated_pdb()
5077 for (i=1; i < db->num_classes+1; i++) { in cil_binary_create_allocated_pdb()
5209 for (i=1; i < db->num_classes+1; i++) { in cil_binary_create_allocated_pdb()
Dcil.c434 (*db)->num_classes = 0; in cil_db_init()
Dcil_post.c584 db->num_classes++; in __cil_post_db_count_helper()
/third_party/mindspore/patches/
D0001-generate-schema-headers-manually.patch12944 + int64_t num_classes = 0;
13016 + int64_t num_classes() const {
13083 + void add_num_classes(int64_t num_classes) {
13084 + fbb_.AddElement<int64_t>(DetectionPostProcess::VT_NUM_CLASSES, num_classes, 0);
13113 + int64_t num_classes = 0,
13117 + builder_.add_num_classes(num_classes);
13141 + int64_t num_classes = 0,
13155 + num_classes,
26067 + { auto _e = num_classes(); _o->num_classes = _e; }
26088 + auto _num_classes = _o->num_classes;
[all …]