/third_party/python/Modules/ |
D | arraymodule.c | 45 char *ob_item; member 142 self->ob_item != NULL) { in array_resize() 148 PyMem_Free(self->ob_item); in array_resize() 149 self->ob_item = NULL; in array_resize() 168 items = self->ob_item; in array_resize() 179 self->ob_item = items; in array_resize() 200 long x = ((signed char *)ap->ob_item)[i]; in b_getitem() 224 ((char *)ap->ob_item)[i] = (char)x; in b_setitem() 231 long x = ((unsigned char *)ap->ob_item)[i]; in BB_getitem() 243 ((char *)ap->ob_item)[i] = x; in BB_setitem() [all …]
|
/third_party/python/Objects/ |
D | tupleobject.c | 81 state->free_list[size] = (PyTupleObject *) op->ob_item[0]; in tuple_alloc() 162 op->ob_item[i] = NULL; in PyTuple_New() 190 return ((PyTupleObject *)op) -> ob_item[i]; in PyTuple_GetItem() 208 p = ((PyTupleObject *)op) -> ob_item + i; in PyTuple_SetItem() 253 items = result->ob_item; in PyTuple_Pack() 276 Py_XDECREF(op->ob_item[i]); in tupledealloc() 288 op->ob_item[0] = (PyObject *) state->free_list[len]; in tupledealloc() 345 s = PyObject_Repr(v->ob_item[i]); in tuplerepr() 409 PyObject **item = v->ob_item; in tuplehash() 455 Py_INCREF(a->ob_item[i]); in tupleitem() [all …]
|
D | listobject.c | 56 assert(self->ob_item != NULL || newsize == 0); in list_resize() 81 items = (PyObject **)PyMem_Realloc(self->ob_item, num_allocated_bytes); in list_resize() 86 self->ob_item = items; in list_resize() 95 assert(self->ob_item == NULL); in list_preallocate_exact() 103 self->ob_item = items; in list_preallocate_exact() 165 op->ob_item = NULL; in PyList_New() 168 op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *)); in PyList_New() 169 if (op->ob_item == NULL) { in PyList_New() 188 assert(op->ob_item == NULL); in list_new_prealloc() 189 op->ob_item = PyMem_New(PyObject *, size); in list_new_prealloc() [all …]
|
D | structseq.c | 74 obj->ob_item[i] = NULL; in PyStructSequence_New() 101 Py_VISIT(obj->ob_item[i]); in structseq_traverse() 116 Py_XDECREF(obj->ob_item[i]); in structseq_dealloc() 209 res->ob_item[i] = v; in structseq_new_impl() 228 res->ob_item[i] = ob; in structseq_new_impl() 338 tup = _PyTuple_FromArray(self->ob_item, n_visible_fields); in structseq_reduce() 348 if (PyDict_SetItemString(dict, n, self->ob_item[i]) < 0) in structseq_reduce() 454 members[k].offset = offsetof(PyStructSequence, ob_item) in initialize_members()
|
/third_party/python/Include/cpython/ |
D | tupleobject.h | 10 PyObject *ob_item[1]; member 23 #define PyTuple_GET_ITEM(op, i) (_PyTuple_CAST(op)->ob_item[i]) 26 #define PyTuple_SET_ITEM(op, i, v) ((void)(_PyTuple_CAST(op)->ob_item[i] = v))
|
D | listobject.h | 8 PyObject **ob_item; member 32 #define PyList_GET_ITEM(op, i) (_PyList_CAST(op)->ob_item[i]) 33 #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v)))
|
/third_party/python/Modules/clinic/ |
D | itertoolsmodule.c.h | 65 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in itertools_groupby() 380 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 2… in itertools_combinations() 428 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 2… in itertools_combinations_with_replacement() 476 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in itertools_permutations() 516 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in itertools_accumulate() 566 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 2… in itertools_compress() 641 …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()
|
D | _pickle.c.h | 120 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 4… in _pickle_Pickler___init__() 341 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 1… in _pickle_Unpickler___init__()
|
D | _lzmamodule.c.h | 184 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 3… in _lzma_LZMADecompressor___init__()
|
/third_party/python/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 | 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()
|
D | complexobject.c.h | 96 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2… in complex_new()
|
/third_party/python/Include/internal/ |
D | pycore_list.h | 14 #define _PyList_ITEMS(op) (_PyList_CAST(op)->ob_item)
|
D | pycore_tuple.h | 13 #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item)
|
/third_party/python/Modules/_io/clinic/ |
D | bufferedio.c.h | 414 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in _io_BufferedReader___init__() 468 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in _io_BufferedWriter___init__() 614 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in _io_BufferedRandom___init__()
|
D | textio.c.h | 37 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 3… in _io_IncrementalNewlineDecoder___init__() 198 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 6… in _io_TextIOWrapper___init__()
|
/third_party/python/Python/clinic/ |
D | traceback.c.h | 29 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 4, 4… in tb_new()
|
/third_party/python/Include/ |
D | abstract.h | 730 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \ 731 : ((PyTupleObject *)(sf))->ob_item)
|
/third_party/python/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()
|
/third_party/python/Modules/_blake2/clinic/ |
D | blake2b_impl.c.h | 45 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1… in py_blake2b_new()
|
D | blake2s_impl.c.h | 45 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1… in py_blake2s_new()
|