/third_party/mtdev/test/ |
D | mtdev-kernel.c | 53 static int illegal(int nslot, int npos, unsigned x) in illegal() argument 59 for (i = 0; i < nslot; i++) in illegal() 64 for (i = 0; i < nslot; i++) { in illegal() 73 return sum != minval(nslot, npos); in illegal() 76 static void get_slots(int *slots, int nslot, int npos, unsigned x) in get_slots() argument 81 for (i = 0; i < nslot * npos; i++) in get_slots() 86 slots[i] = nslot++; in get_slots() 89 static int generate_assignments(int nslot, int npos) in generate_assignments() argument 92 unsigned x, nx = BITMASK(nslot * npos); in generate_assignments() 97 if (illegal(nslot, npos, x)) in generate_assignments() [all …]
|
/third_party/selinux/libsepol/src/ |
D | avtab.c | 315 for (i = 0; i < h->nslot; i++) { in avtab_destroy() 329 h->nslot = 0; in avtab_destroy() 344 for (i = 0; i < h->nslot; i++) { in avtab_map() 368 uint32_t nslot = 0; in avtab_alloc() local 379 nslot = UINT32_C(1) << shift; in avtab_alloc() 380 if (nslot > MAX_AVTAB_HASH_BUCKETS) in avtab_alloc() 381 nslot = MAX_AVTAB_HASH_BUCKETS; in avtab_alloc() 382 mask = nslot - 1; in avtab_alloc() 384 h->htable = calloc(nslot, sizeof(avtab_ptr_t)); in avtab_alloc() 389 h->nslot = nslot; in avtab_alloc() [all …]
|
D | optimize.c | 301 for (i = 0; i < tab->nslot; i++) { in optimize_avtab() 407 for (i = 0; i < tab->nslot; i++) { in optimize_cond_avtab()
|
D | write.c | 273 for (i = 0; i < a->nslot; i++) { in avtab_reset_merged() 312 for (i = 0; i < a->nslot; i++) { in avtab_write() 333 for (i = 0; i < a->nslot; i++) { in avtab_write()
|
/third_party/mtdev/src/ |
D | match_four.c | 83 const u8 *mtdev_match_four(const struct trk_coord *old, int nslot, in mtdev_match_four() argument 90 set_dist(d, old, old + nslot, pos, pos + npos); in mtdev_match_four() 92 at = &match_index[nslot][npos]; in mtdev_match_four() 98 switch (minval(nslot, npos)) { in mtdev_match_four()
|
D | caps.c | 85 int rc, i, s, nslot; in mtdev_set_slots() local 87 nslot = mtdev_get_abs_maximum(dev, ABS_MT_SLOT) + 1; in mtdev_set_slots() 96 for (s = 0; s < DIM_FINGER && s < nslot; s++) in mtdev_set_slots()
|
D | match.h | 48 const unsigned char *mtdev_match_four(const struct trk_coord *old, int nslot,
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | avtab.h | 103 uint32_t nslot; /* number of hash slots */ member
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | ps.c | 1284 static int merge_deltas(long long *oslot, long long *nslot, int milis) in merge_deltas() argument 1291 oslot[deltas[i]] = nslot[deltas[i]] - oslot[deltas[i]]; in merge_deltas() 1316 int (*filter)(long long *oslot, long long *nslot, int milis)) in top_common() argument 1629 static int iotop_filter(long long *oslot, long long *nslot, int milis) in iotop_filter() argument 1632 if (!FLAG(a)) merge_deltas(oslot, nslot, milis); in iotop_filter()
|
/third_party/toybox/toys/posix/ |
D | ps.c | 1427 static int merge_deltas(long long *oslot, long long *nslot, int milis) in merge_deltas() argument 1434 oslot[deltas[i]] = nslot[deltas[i]] - oslot[deltas[i]]; in merge_deltas() 1459 int (*filter)(long long *oslot, long long *nslot, int milis)) in top_common() argument 1786 static int iotop_filter(long long *oslot, long long *nslot, int milis) in iotop_filter() argument 1789 if (!FLAG(a)) merge_deltas(oslot, nslot, milis); in iotop_filter()
|
/third_party/python/Objects/ |
D | typeobject.c | 2518 Py_ssize_t nslot; member 2531 Py_ssize_t nslot = ctx->nslot; in type_new_visit_slots() local 2532 for (Py_ssize_t i = 0; i < nslot; i++) { in type_new_visit_slots() 2570 Py_ssize_t nslot = ctx->nslot; in type_new_copy_slots() local 2572 Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak; in type_new_copy_slots() 2579 for (Py_ssize_t i = 0; i < nslot; i++) { in type_new_copy_slots() 2680 if (ctx->nslot > 0 && ctx->base->tp_itemsize != 0) { in type_new_slots_impl() 2698 ctx->nslot = PyTuple_GET_SIZE(new_slots); in type_new_slots_impl() 2741 type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot); in type_new_alloc() 2958 Py_ssize_t nslot = PyTuple_GET_SIZE(et->ht_slots); in type_new_descriptors() local [all …]
|
/third_party/selinux/checkpolicy/test/ |
D | dispol.c | 172 for (i = 0; i < a->nslot; i++) { in display_avtab()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 54107 u32 nslot; member
|