Searched defs:ob_item (Results 1 - 7 of 7) sorted by relevance

/external/python/cpython2/Include/
H A Dlistobject.h24 /* Vector of pointers to list elements. list[0] is ob_item[0], etc. */
25 PyObject **ob_item; member in struct:__anon19257
27 /* ob_item contains space for 'allocated' elements. The number
32 * ob_item == NULL implies ob_size == allocated == 0
61 #define PyList_GET_ITEM(op, i) (((PyListObject *)(op))->ob_item[i])
62 #define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v))
H A Dtupleobject.h26 PyObject *ob_item[1]; member in struct:__anon19282
28 /* ob_item contains space for 'ob_size' elements.
50 #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i])
54 #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
H A Dstructseq.h31 PyObject *ob_item[1]; member in struct:__anon19281
36 (((PyStructSequence *)(op))->ob_item[i] = v)
/external/python/cpython3/Include/
H A Dtupleobject.h27 PyObject *ob_item[1]; member in struct:__anon19859
29 /* ob_item contains space for 'ob_size' elements.
58 #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i])
62 #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
H A Dlistobject.h25 /* Vector of pointers to list elements. list[0] is ob_item[0], etc. */
26 PyObject **ob_item; member in struct:__anon19820
28 /* ob_item contains space for 'allocated' elements. The number
33 * ob_item == NULL implies ob_size == allocated == 0
72 #define PyList_GET_ITEM(op, i) (((PyListObject *)(op))->ob_item[i])
73 #define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v))
75 #define _PyList_ITEMS(op) (((PyListObject *)(op))->ob_item)
/external/python/cpython2/Modules/
H A Darraymodule.c33 char *ob_item; member in struct:arrayobject
57 self->ob_item != NULL) {
75 items = self->ob_item;
86 self->ob_item = items;
107 return PyString_FromStringAndSize(&((char *)ap->ob_item)[i], 1);
117 ((char *)ap->ob_item)[i] = x;
124 long x = ((char *)ap->ob_item)[i];
150 ((char *)ap->ob_item)[i] = (char)x;
157 long x = ((unsigned char *)ap->ob_item)[i];
169 ((char *)ap->ob_item)[
[all...]
/external/python/cpython3/Modules/
H A Darraymodule.c41 char *ob_item; member in struct:arrayobject
129 self->ob_item != NULL) {
135 PyMem_FREE(self->ob_item);
136 self->ob_item = NULL;
155 items = self->ob_item;
166 self->ob_item = items;
187 long x = ((char *)ap->ob_item)[i];
213 ((char *)ap->ob_item)[i] = (char)x;
220 long x = ((unsigned char *)ap->ob_item)[i];
232 ((char *)ap->ob_item)[
[all...]

Completed in 185 milliseconds