Home
last modified time | relevance | path

Searched refs:nslots (Results 1 – 13 of 13) sorted by relevance

/external/strace/
Dnumber_set.c43 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/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp383 nslots = var.type().slotCount(); in SkVMGenerator() local
390 SkASSERT(nslots == 4); in SkVMGenerator()
401 SkASSERT(uniformIter + nslots <= uniforms.end()); in SkVMGenerator()
402 std::copy(uniformIter, uniformIter + nslots, fSlots.begin() + slot); in SkVMGenerator()
403 uniformIter += nslots; in SkVMGenerator()
407 for (size_t i = 0; i < nslots; ++i) { in SkVMGenerator()
428 nslots = p->type().slotCount(); in writeFunction() local
430 for (size_t i = 0; i < nslots; ++i) { in writeFunction()
433 argIdx += nslots; in writeFunction()
442 size_t nslots = p->type().slotCount(); in writeFunction() local
[all …]
/external/elfutils/lib/
Dfixedsizehash.h82 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/selinux/libsepol/cil/src/
Dcil_symtab.c161 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()
Dcil_symtab.h69 uint32_t nslots; member
/external/openssh/
Dssh-pkcs11.c62 CK_ULONG nslots; member
118 for (i = 0; i < p->nslots; i++) { in pkcs11_provider_finalize()
1558 if ((rv = f->C_GetSlotList(CK_TRUE, NULL, &p->nslots)) != CKR_OK) { in pkcs11_register_provider()
1562 if (p->nslots == 0) { in pkcs11_register_provider()
1568 p->slotlist = xcalloc(p->nslots, sizeof(CK_SLOT_ID)); in pkcs11_register_provider()
1569 if ((rv = f->C_GetSlotList(CK_TRUE, p->slotlist, &p->nslots)) in pkcs11_register_provider()
1575 p->slotinfo = xcalloc(p->nslots, sizeof(struct pkcs11_slotinfo)); in pkcs11_register_provider()
1578 for (i = 0; i < p->nslots; i++) { in pkcs11_register_provider()
/external/python/cpython2/Objects/
Dtypeobject.c2025 _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/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c101 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()
/external/e2fsprogs/contrib/
Dfsstress.c128 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/python/cpython3/Objects/
Dtypeobject.c2383 Py_ssize_t i, nbases, nslots, slotoffset, name_size; in type_new() local
2453 nslots = 0; in type_new()
2482 nslots = PyTuple_GET_SIZE(slots); in type_new()
2483 if (nslots > 0 && base->tp_itemsize != 0) { in type_new()
2492 for (i = 0; i < nslots; i++) { in type_new()
2522 newslots = PyList_New(nslots - add_dict - add_weak); in type_new()
2525 for (i = j = 0; i < nslots; i++) { in type_new()
2557 assert(j == nslots - add_dict - add_weak); in type_new()
2558 nslots = j; in type_new()
2596 type = (PyTypeObject *)metatype->tp_alloc(metatype, nslots); in type_new()
[all …]
/external/virglrenderer/src/
Dvrend_shader.c1863 … struct vrend_shader_io *get_io_slot(const struct vrend_shader_io *slots, unsigned nslots, int idx) in get_io_slot() argument
1866 for (unsigned i = 0; i < nslots; ++i, ++result) { in get_io_slot()
/external/libabigail/tests/data/test-annotate/
Dtest21-pr19092.so.abi6498 <!-- unsigned int ht::nslots -->
6499 …<var-decl name='nslots' type-id='type-id-13' visibility='default' filepath='../.././libcpp/include…
9311 <!-- unsigned int ht::nslots -->
9312 …<var-decl name='nslots' type-id='type-id-13' visibility='default' filepath='../.././libcpp/include…
10935 …<parameter type-id='type-id-13' name='nslots' filepath='../.././libcpp/symtab.c' line='263' column…
/external/libabigail/tests/data/test-read-dwarf/
Dtest21-pr19092.so.abi4384 …<var-decl name='nslots' type-id='type-id-13' visibility='default' filepath='../.././libcpp/include…
6184 …<var-decl name='nslots' type-id='type-id-13' visibility='default' filepath='../.././libcpp/include…
7227 …<parameter type-id='type-id-13' name='nslots' filepath='../.././libcpp/symtab.c' line='263' column…