Searched refs:nitems (Results 1 - 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
H A Drow.c71 int nitems, i; local
92 nitems = PyTuple_Size(self->description);
94 for (i = 0; i < nitems; i++) {
144 int nitems, i; local
150 nitems = PyTuple_Size(self->description);
152 for (i = 0; i < nitems; i++) {
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dwave.py241 nitems = nframes * self._nchannels
242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read:
243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth
244 data.fromfile(chunk.file.file, nitems)
246 chunk.size_read = chunk.size_read + nitems * self._sampwidth
249 chunk.size_read = chunk.size_read + nitems * self._sampwidth
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A Doperator.c457 Py_ssize_t nitems; member in struct:__anon3099
468 Py_ssize_t nitems; local
473 nitems = PyTuple_GET_SIZE(args);
474 if (nitems <= 1) {
487 ig->nitems = nitems;
512 Py_ssize_t i, nitems=ig->nitems; local
516 if (nitems == 1)
520 assert(PyTuple_GET_SIZE(ig->item) == nitems);
[all...]
H A Dgcmodule.c1528 _PyObject_GC_NewVar(PyTypeObject *tp, Py_ssize_t nitems) argument
1530 const size_t size = _PyObject_VAR_SIZE(tp, nitems);
1533 op = PyObject_INIT_VAR(op, tp, nitems);
1538 _PyObject_GC_Resize(PyVarObject *op, Py_ssize_t nitems) argument
1540 const size_t basicsize = _PyObject_VAR_SIZE(Py_TYPE(op), nitems);
1548 Py_SIZE(op) = nitems;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Doperator.c329 Py_ssize_t nitems; member in struct:__anon3434
340 Py_ssize_t nitems; local
345 nitems = PyTuple_GET_SIZE(args);
346 if (nitems <= 1) {
359 ig->nitems = nitems;
384 Py_ssize_t i, nitems=ig->nitems; local
388 if (nitems == 1)
392 assert(PyTuple_GET_SIZE(ig->item) == nitems);
[all...]
H A Dgcmodule.c1474 _PyObject_GC_NewVar(PyTypeObject *tp, Py_ssize_t nitems) argument
1476 const size_t size = _PyObject_VAR_SIZE(tp, nitems);
1479 op = PyObject_INIT_VAR(op, tp, nitems);
1484 _PyObject_GC_Resize(PyVarObject *op, Py_ssize_t nitems) argument
1486 const size_t basicsize = _PyObject_VAR_SIZE(Py_TYPE(op), nitems);
1494 Py_SIZE(op) = nitems;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dobjimpl.h171 vrbl-size object with nitems items, exclusive of gc overhead (if any). The
184 #define _PyObject_VAR_SIZE(typeobj, nitems) \
187 (nitems)*(typeobj)->tp_itemsize + \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dobjimpl.h171 vrbl-size object with nitems items, exclusive of gc overhead (if any). The
184 #define _PyObject_VAR_SIZE(typeobj, nitems) \
187 (nitems)*(typeobj)->tp_itemsize + \
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
H A Dzlib.h1420 ZEXTERN z_size_t ZEXPORT gzfread OF((voidp buf, z_size_t size, z_size_t nitems,
1423 Read up to nitems items of size size from file to buf, otherwise operating
1433 nitems overflows, i.e. the product does not fit in a z_size_t, then nothing
1455 z_size_t nitems, gzFile file));
1457 gzfwrite() writes nitems items of size size from buf to file, duplicating
1463 if there was an error. If the multiplication of size and nitems overflows,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/gdb/
H A Dlibpython.py412 def _PyObject_VAR_SIZE(typeobj, nitems):
414 nitems * typeobj.field('tp_itemsize') +
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dobject.c251 _PyObject_NewVar(PyTypeObject *tp, Py_ssize_t nitems) argument
254 const size_t size = _PyObject_VAR_SIZE(tp, nitems);
258 return PyObject_INIT_VAR(op, tp, nitems);
H A Dtypeobject.c754 PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems) argument
757 const size_t size = _PyObject_VAR_SIZE(type, nitems+1);
776 (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dobject.c251 _PyObject_NewVar(PyTypeObject *tp, Py_ssize_t nitems) argument
254 const size_t size = _PyObject_VAR_SIZE(tp, nitems);
258 return PyObject_INIT_VAR(op, tp, nitems);
H A Dtypeobject.c746 PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems) argument
749 const size_t size = _PyObject_VAR_SIZE(type, nitems+1);
768 (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems);

Completed in 84 milliseconds