Searched refs:nslots (Results 1 – 9 of 9) sorted by relevance
/external/strace/ |
D | number_set.c | 43 unsigned int nslots; member 62 if (new_nslots <= set->nslots) in reallocate_number_set() 65 memset(set->vec + set->nslots, 0, in reallocate_number_set() 66 sizeof(*set->vec) * (new_nslots - set->nslots)); in reallocate_number_set() 67 set->nslots = new_nslots; in reallocate_number_set() 74 return !(set && (set[idx].nslots || set[idx].not)); in number_set_array_is_empty() 80 return set && ((number / BITS_PER_SLOT < set->nslots) in is_number_in_set() 88 return set && ((number / BITS_PER_SLOT < set[idx].nslots) in is_number_in_set_array() 112 if (set[i].nslots) in clear_number_set_array() 114 sizeof(*set[i].vec) * set[i].nslots); in clear_number_set_array()
|
/external/elfutils/lib/ |
D | fixedsizehash.h | 82 size_t nslots; in CONCAT() local 122 result->nslots = nelems; in CONCAT() 141 size_t idx = 1 + hval % htab->nslots; in CONCAT() 153 hash = 1 + hval % (htab->nslots - 2); in CONCAT() 158 idx = htab->nslots + idx - hash; in CONCAT()
|
/external/openssh/ |
D | ssh-pkcs11.c | 56 CK_ULONG nslots; member 101 for (i = 0; i < p->nslots; i++) { in pkcs11_provider_finalize() 625 if ((rv = f->C_GetSlotList(CK_TRUE, NULL, &p->nslots)) != CKR_OK) { in pkcs11_add_provider() 629 if (p->nslots == 0) { in pkcs11_add_provider() 634 p->slotlist = xcalloc(p->nslots, sizeof(CK_SLOT_ID)); in pkcs11_add_provider() 635 if ((rv = f->C_GetSlotList(CK_TRUE, p->slotlist, &p->nslots)) in pkcs11_add_provider() 641 p->slotinfo = xcalloc(p->nslots, sizeof(struct pkcs11_slotinfo)); in pkcs11_add_provider() 644 for (i = 0; i < p->nslots; i++) { in pkcs11_add_provider()
|
/external/selinux/libsepol/cil/src/ |
D | cil_symtab.c | 161 symtab->nslots = size; in cil_complex_symtab_init() 273 for (i = 0; i < symtab->nslots; i++) { in cil_complex_symtab_destroy() 285 symtab->nslots = 0; in cil_complex_symtab_destroy()
|
D | cil_symtab.h | 69 uint32_t nslots; member
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 2025 _unicode_to_string(PyObject *slots, Py_ssize_t nslots) in _unicode_to_string() argument 2031 for (i = 0; i < nslots; i++) { in _unicode_to_string() 2102 Py_ssize_t i, nbases, nslots, slotoffset; in type_new() local 2187 nslots = 0; in type_new() 2215 nslots = PyTuple_GET_SIZE(slots); in type_new() 2216 if (nslots > 0 && base->tp_itemsize != 0) { in type_new() 2228 tmp = _unicode_to_string(slots, nslots); in type_new() 2237 for (i = 0; i < nslots; i++) { in type_new() 2269 newslots = PyList_New(nslots - add_dict - add_weak); in type_new() 2272 for (i = j = 0; i < nslots; i++) { in type_new() [all …]
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 2356 Py_ssize_t i, nbases, nslots, slotoffset, name_size; in type_new() local 2449 nslots = 0; in type_new() 2475 nslots = PyTuple_GET_SIZE(slots); in type_new() 2476 if (nslots > 0 && base->tp_itemsize != 0) { in type_new() 2485 for (i = 0; i < nslots; i++) { in type_new() 2515 newslots = PyList_New(nslots - add_dict - add_weak); in type_new() 2518 for (i = j = 0; i < nslots; i++) { in type_new() 2546 assert(j == nslots - add_dict - add_weak); in type_new() 2547 nslots = j; in type_new() 2585 type = (PyTypeObject *)metatype->tp_alloc(metatype, nslots); in type_new() [all …]
|
/external/e2fsprogs/contrib/ |
D | fsstress.c | 128 int nslots; member 573 flist[i].nslots = 0; in main() 590 if (ftp->nfiles == ftp->nslots) { in add_to_flist() 591 ftp->nslots += FLIST_SLOT_INCR; in add_to_flist() 592 ftp->fents = realloc(ftp->fents, ftp->nslots * sizeof(fent_t)); in add_to_flist()
|
/external/ltp/testcases/kernel/fs/fsstress/ |
D | fsstress.c | 101 int nslots; member 546 flist[i].nslots = 0; in main() 563 if (ftp->nfiles == ftp->nslots) { in add_to_flist() 564 ftp->nslots += FLIST_SLOT_INCR; in add_to_flist() 565 ftp->fents = realloc(ftp->fents, ftp->nslots * sizeof(fent_t)); in add_to_flist()
|