Searched defs:nslots (Results 1 - 8 of 8) sorted by relevance

/external/elfutils/lib/
H A Dfixedsizehash.h77 size_t nslots; local
117 result->nslots = nelems;
136 size_t idx = 1 + hval % htab->nslots;
148 hash = 1 + hval % (htab->nslots - 2);
153 idx = htab->nslots + idx - hash;
/external/selinux/libsepol/cil/src/
H A Dcil_symtab.h69 uint32_t nslots; member in struct:cil_complex_symtab
/external/strace/
H A Dqualify.c38 unsigned int nslots; member in struct:number_set
67 if (new_nslots <= set->nslots)
70 memset(set->vec + set->nslots, 0,
71 sizeof(*set->vec) * (new_nslots - set->nslots));
72 set->nslots = new_nslots;
85 return ((number / BITS_PER_SLOT < set->nslots)
99 if (set->nslots)
100 memset(set->vec, 0, sizeof(*set->vec) * set->nslots);
359 if (set[p].nslots)
361 sizeof(*set[p].vec) * set[p].nslots);
[all...]
/external/bison/lib/
H A Dquotearg.c727 static unsigned int nslots = 1; variable
736 for (i = 1; i < nslots; i++)
749 nslots = 1;
772 if (nslots <= n0)
788 memset (sv + nslots, 0, (n1 - nslots) * sizeof *sv);
789 nslots = n1;
/external/openssh/
H A Dssh-pkcs11.c56 CK_ULONG nslots; member in struct:pkcs11_provider
101 for (i = 0; i < p->nslots; i++) {
625 if ((rv = f->C_GetSlotList(CK_TRUE, NULL, &p->nslots)) != CKR_OK) {
629 if (p->nslots == 0) {
634 p->slotlist = xcalloc(p->nslots, sizeof(CK_SLOT_ID));
635 if ((rv = f->C_GetSlotList(CK_TRUE, p->slotlist, &p->nslots))
641 p->slotinfo = xcalloc(p->nslots, sizeof(struct pkcs11_slotinfo));
644 for (i = 0; i < p->nslots; i++) {
/external/e2fsprogs/contrib/
H A Dfsstress.c128 int nslots; member in struct:flist
573 flist[i].nslots = 0;
590 if (ftp->nfiles == ftp->nslots) {
591 ftp->nslots += FLIST_SLOT_INCR;
592 ftp->fents = realloc(ftp->fents, ftp->nslots * sizeof(fent_t));
/external/ltp/testcases/kernel/fs/fsstress/
H A Dfsstress.c101 int nslots; member in struct:flist
546 flist[i].nslots = 0;
563 if (ftp->nfiles == ftp->nslots) {
564 ftp->nslots += FLIST_SLOT_INCR;
565 ftp->fents = realloc(ftp->fents, ftp->nslots * sizeof(fent_t));
/external/python/cpython2/Objects/
H A Dtypeobject.c2025 _unicode_to_string(PyObject *slots, Py_ssize_t nslots) argument
2031 for (i = 0; i < nslots; i++) {
2099 Py_ssize_t i, nbases, nslots, slotoffset; local
2184 nslots = 0;
2212 nslots = PyTuple_GET_SIZE(slots);
2213 if (nslots > 0 && base->tp_itemsize != 0) {
2225 tmp = _unicode_to_string(slots, nslots);
2234 for (i = 0; i < nslots; i++) {
2266 newslots = PyList_New(nslots - add_dict - add_weak);
2269 for (i = j = 0; i < nslots;
[all...]

Completed in 897 milliseconds