/external/python/cpython2/Modules/ |
D | arraymodule.c | 33 char *ob_item; member 57 self->ob_item != NULL) { in array_resize() 75 items = self->ob_item; in array_resize() 86 self->ob_item = items; in array_resize() 107 return PyString_FromStringAndSize(&((char *)ap->ob_item)[i], 1); in c_getitem() 117 ((char *)ap->ob_item)[i] = x; in c_setitem() 124 long x = ((char *)ap->ob_item)[i]; in b_getitem() 150 ((char *)ap->ob_item)[i] = (char)x; in b_setitem() 157 long x = ((unsigned char *)ap->ob_item)[i]; in BB_getitem() 169 ((char *)ap->ob_item)[i] = x; in BB_setitem() [all …]
|
/external/python/cpython3/Modules/ |
D | arraymodule.c | 42 char *ob_item; member 130 self->ob_item != NULL) { in array_resize() 136 PyMem_FREE(self->ob_item); in array_resize() 137 self->ob_item = NULL; in array_resize() 156 items = self->ob_item; in array_resize() 167 self->ob_item = items; in array_resize() 188 long x = ((signed char *)ap->ob_item)[i]; in b_getitem() 212 ((char *)ap->ob_item)[i] = (char)x; in b_setitem() 219 long x = ((unsigned char *)ap->ob_item)[i]; in BB_getitem() 231 ((char *)ap->ob_item)[i] = x; in BB_setitem() [all …]
|
/external/python/cpython2/Objects/ |
D | tupleobject.c | 67 free_list[size] = (PyTupleObject *) op->ob_item[0]; in PyTuple_New() 95 op->ob_item[i] = NULL; in PyTuple_New() 132 return ((PyTupleObject *)op) -> ob_item[i]; in PyTuple_GetItem() 151 p = ((PyTupleObject *)op) -> ob_item + i; in PyTuple_SetItem() 199 items = ((PyTupleObject *)result)->ob_item; in PyTuple_Pack() 222 Py_XDECREF(op->ob_item[i]); in tupledealloc() 228 op->ob_item[0] = (PyObject *) free_list[len]; in tupledealloc() 253 if (PyObject_Print(op->ob_item[i], fp, 0) != 0) in tupleprint() 291 s = PyObject_Repr(v->ob_item[i]); in tuplerepr() 346 p = v->ob_item; in tuplehash() [all …]
|
D | listobject.c | 36 assert(self->ob_item != NULL || newsize == 0); in list_resize() 60 items = self->ob_item; in list_resize() 69 self->ob_item = items; in list_resize() 150 op->ob_item = NULL; in PyList_New() 152 op->ob_item = (PyObject **) PyMem_MALLOC(nbytes); in PyList_New() 153 if (op->ob_item == NULL) { in PyList_New() 157 memset(op->ob_item, 0, nbytes); in PyList_New() 195 return ((PyListObject *)op) -> ob_item[i]; in PyList_GetItem() 215 p = ((PyListObject *)op) -> ob_item + i; in PyList_SetItem() 247 items = self->ob_item; in ins1() [all …]
|
D | structseq.c | 49 Py_XDECREF(obj->ob_item[i]); in structseq_dealloc() 67 Py_INCREF(obj->ob_item[i]); in structseq_item() 68 return obj->ob_item[i]; in structseq_item() 87 PyObject *v = obj->ob_item[i]; in structseq_slice() 110 Py_INCREF(self->ob_item[i]); in structseq_subscript() 111 return self->ob_item[i]; in structseq_subscript() 129 PyObject *v = self->ob_item[cur]; in structseq_subscript() 210 res->ob_item[i] = v; in structseq_new() 220 res->ob_item[i] = ob; in structseq_new() 395 Py_INCREF(self->ob_item[i]); in structseq_reduce() [all …]
|
/external/python/cpython3/Objects/ |
D | tupleobject.c | 75 free_list[size] = (PyTupleObject *) op->ob_item[0]; in tuple_alloc() 115 op->ob_item[i] = NULL; in PyTuple_New() 150 return ((PyTupleObject *)op) -> ob_item[i]; in PyTuple_GetItem() 168 p = ((PyTupleObject *)op) -> ob_item + i; in PyTuple_SetItem() 213 items = result->ob_item; in PyTuple_Pack() 237 Py_XDECREF(op->ob_item[i]); in tupledealloc() 243 op->ob_item[0] = (PyObject *) free_list[len]; in tupledealloc() 299 s = PyObject_Repr(v->ob_item[i]); in tuplerepr() 363 PyObject **item = v->ob_item; in tuplehash() 409 Py_INCREF(a->ob_item[i]); in tupleitem() [all …]
|
D | listobject.c | 47 assert(self->ob_item != NULL || newsize == 0); in list_resize() 72 items = (PyObject **)PyMem_Realloc(self->ob_item, num_allocated_bytes); in list_resize() 77 self->ob_item = items; in list_resize() 86 assert(self->ob_item == NULL); in list_preallocate_exact() 94 self->ob_item = items; in list_preallocate_exact() 151 op->ob_item = NULL; in PyList_New() 153 op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *)); in PyList_New() 154 if (op->ob_item == NULL) { in PyList_New() 172 assert(op->ob_item == NULL); in list_new_prealloc() 173 op->ob_item = PyMem_New(PyObject *, size); in list_new_prealloc() [all …]
|
D | structseq.c | 52 obj->ob_item[i] = NULL; in PyStructSequence_New() 79 Py_VISIT(obj->ob_item[i]); in structseq_traverse() 94 Py_XDECREF(obj->ob_item[i]); in structseq_dealloc() 178 res->ob_item[i] = v; in structseq_new_impl() 188 res->ob_item[i] = ob; in structseq_new_impl() 293 tup = _PyTuple_FromArray(self->ob_item, n_visible_fields); in structseq_reduce() 303 if (PyDict_SetItemString(dict, n, self->ob_item[i]) < 0) in structseq_reduce() 376 members[k].offset = offsetof(PyStructSequence, ob_item) in initialize_members()
|
/external/python/cpython3/Include/cpython/ |
D | listobject.h | 12 PyObject **ob_item; member 36 #define PyList_GET_ITEM(op, i) (_PyList_CAST(op)->ob_item[i]) 37 #define PyList_SET_ITEM(op, i, v) (_PyList_CAST(op)->ob_item[i] = (v)) 39 #define _PyList_ITEMS(op) (_PyList_CAST(op)->ob_item)
|
D | tupleobject.h | 14 PyObject *ob_item[1]; member 27 #define PyTuple_GET_ITEM(op, i) (_PyTuple_CAST(op)->ob_item[i]) 30 #define PyTuple_SET_ITEM(op, i, v) (_PyTuple_CAST(op)->ob_item[i] = v)
|
/external/python/cpython2/Include/ |
D | tupleobject.h | 26 PyObject *ob_item[1]; member 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)
|
D | listobject.h | 25 PyObject **ob_item; member 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))
|
D | structseq.h | 31 PyObject *ob_item[1]; member 36 (((PyStructSequence *)(op))->ob_item[i] = v)
|
/external/python/cpython3/Modules/clinic/ |
D | itertoolsmodule.c.h | 34 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in itertools_groupby() 354 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 2… in itertools_combinations() 407 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 2… in itertools_combinations_with_replacement() 460 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in itertools_permutations() 500 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in itertools_accumulate() 550 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 2… in itertools_compress() 625 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2… in itertools_count()
|
D | _datetimemodule.c.h | 34 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 3, 3… in iso_calendar_date_new()
|
/external/python/cpython3/Objects/clinic/ |
D | descrobject.c.h | 19 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 1… in mappingproxy_new() 86 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 4… in property_init()
|
D | structseq.c.h | 21 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in structseq_new()
|
D | moduleobject.c.h | 29 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in module___init__()
|
D | complexobject.c.h | 29 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2… in complex_new()
|
D | enumobject.c.h | 36 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in enum_new()
|
D | funcobject.c.h | 42 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 5… in func_new()
|
/external/python/cpython3/Include/internal/ |
D | pycore_tupleobject.h | 13 #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item)
|
/external/python/cpython3/Python/clinic/ |
D | traceback.c.h | 29 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 4, 4… in tb_new()
|
/external/python/cpython3/Modules/_io/clinic/ |
D | bufferedio.c.h | 429 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in _io_BufferedReader___init__() 488 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in _io_BufferedWriter___init__() 644 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in _io_BufferedRandom___init__()
|
/external/python/cpython3/Modules/_sha3/clinic/ |
D | sha3module.c.h | 27 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1… in py_sha3_new()
|