Searched refs:nslot (Results 1 - 8 of 8) sorted by relevance
/third_party/selinux/libsepol/src/ |
H A 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 in avtab_alloc() [all...] |
H A 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()
|
H A 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/selinux/libsepol/include/sepol/policydb/ |
H A D | avtab.h | 103 uint32_t nslot; /* number of hash slots */ member
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A 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() 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() 1315 top_common( int (*filter)(long long *oslot, long long *nslot, int milis)) top_common() argument
|
/third_party/toybox/toys/posix/ |
H A 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() 1787 static int iotop_filter(long long *oslot, long long *nslot, int milis) in iotop_filter() argument 1790 if (!FLAG(a)) merge_deltas(oslot, nslot, milis); in iotop_filter() 1458 top_common( int (*filter)(long long *oslot, long long *nslot, int milis)) top_common() argument
|
/third_party/python/Objects/ |
H A D | typeobject.c | 2533 Py_ssize_t nslot; member 2546 Py_ssize_t nslot = ctx->nslot; in type_new_visit_slots() local 2547 for (Py_ssize_t i = 0; i < nslot; i++) { in type_new_visit_slots() 2585 Py_ssize_t nslot = ctx->nslot; in type_new_copy_slots() local 2587 Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak; in type_new_copy_slots() 2594 for (Py_ssize_t i = 0; i < nslot; i++) { in type_new_copy_slots() 2692 if (ctx->nslot > 0 && ctx->base->tp_itemsize != 0) { in type_new_slots_impl() 2710 ctx->nslot in type_new_slots_impl() 2971 Py_ssize_t nslot = PyTuple_GET_SIZE(et->ht_slots); type_new_descriptors() local [all...] |
/third_party/selinux/checkpolicy/test/ |
H A D | dispol.c | 172 for (i = 0; i < a->nslot; i++) { in display_avtab()
|
Completed in 17 milliseconds