/external/python/cpython3/Objects/clinic/ |
D | listobject.c.h | 15 list_insert_impl(PyListObject *self, Py_ssize_t index, PyObject *object); 18 list_insert(PyListObject *self, PyObject *const *args, Py_ssize_t nargs) in list_insert() 44 list_clear_impl(PyListObject *self); 47 list_clear(PyListObject *self, PyObject *Py_UNUSED(ignored)) in list_clear() 62 list_copy_impl(PyListObject *self); 65 list_copy(PyListObject *self, PyObject *Py_UNUSED(ignored)) in list_copy() 100 list_pop_impl(PyListObject *self, Py_ssize_t index); 103 list_pop(PyListObject *self, PyObject *const *args, Py_ssize_t nargs) in list_pop() 128 list_sort_impl(PyListObject *self, PyObject *keyfunc, int reverse); 131 list_sort(PyListObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in list_sort() [all …]
|
/external/python/cpython2/Objects/ |
D | listobject.c | 25 list_resize(PyListObject *self, Py_ssize_t newsize) in list_resize() 97 static PyListObject *free_list[PyList_MAXFREELIST]; 103 PyListObject *op; in PyList_Fini() 115 PyListObject *op; in PyList_New() 142 op = PyObject_GC_New(PyListObject, &PyList_Type); in PyList_New() 195 return ((PyListObject *)op) -> ob_item[i]; in PyList_GetItem() 215 p = ((PyListObject *)op) -> ob_item + i; in PyList_SetItem() 223 ins1(PyListObject *self, Py_ssize_t where, PyObject *v) in ins1() 262 return ins1((PyListObject *)op, where, newitem); in PyList_Insert() 266 app1(PyListObject *self, PyObject *v) in app1() [all …]
|
D | abstract.c | 2262 rv = _PyList_Extend((PyListObject *)result, v);
|
/external/python/cpython3/Modules/ |
D | _heapqmodule.c | 12 siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown() 53 siftup(PyListObject *heap, Py_ssize_t pos) in siftup() 115 if (siftdown((PyListObject *)heap, 0, PyList_GET_SIZE(heap)-1)) in heappush() 124 heappop_internal(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in heappop_internal() argument 153 if (siftup_func((PyListObject *)heap, 0)) { in heappop_internal() 170 heapreplace_internal(PyObject *args, int siftup_func(PyListObject *, Py_ssize_t)) in heapreplace_internal() argument 190 if (siftup_func((PyListObject *)heap, 0)) { in heapreplace_internal() 248 if (siftup((PyListObject *)heap, 0)) { in heappushpop() 293 cache_friendly_heapify(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in cache_friendly_heapify() argument 304 if (siftup_func((PyListObject *)heap, j)) in cache_friendly_heapify() [all …]
|
D | xxsubtype.c | 22 PyListObject list;
|
/external/python/cpython3/Objects/ |
D | listobject.c | 34 list_resize(PyListObject *self, Py_ssize_t newsize) in list_resize() 106 static PyListObject *free_list[PyList_MAXFREELIST]; 112 PyListObject *op; in PyList_ClearFreeList() 134 numfree, sizeof(PyListObject)); in _PyList_DebugMallocStats() 140 PyListObject *op; in PyList_New() 161 op = PyObject_GC_New(PyListObject, &PyList_Type); in PyList_New() 213 return ((PyListObject *)op) -> ob_item[i]; in PyList_GetItem() 232 p = ((PyListObject *)op) -> ob_item + i; in PyList_SetItem() 238 ins1(PyListObject *self, Py_ssize_t where, PyObject *v) in ins1() 277 return ins1((PyListObject *)op, where, newitem); in PyList_Insert() [all …]
|
D | abstract.c | 1905 rv = _PyList_Extend((PyListObject *)result, v); in PySequence_List()
|
/external/python/cpython3/Include/ |
D | listobject.h | 40 } PyListObject; typedef 64 PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *); 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)
|
D | abstract.h | 930 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
|
/external/python/cpython2/Modules/ |
D | _heapqmodule.c | 36 _siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in _siftdown() 75 _siftup(PyListObject *heap, Py_ssize_t pos) in _siftup() 136 if (_siftdown((PyListObject *)heap, 0, PyList_GET_SIZE(heap)-1) == -1) in heappush() 172 if (_siftup((PyListObject *)heap, 0) == -1) { in heappop() 203 if (_siftup((PyListObject *)heap, 0) == -1) { in heapreplace() 255 if (_siftup((PyListObject *)heap, 0) == -1) { in heappushpop() 286 if(_siftup((PyListObject *)heap, i) == -1) in heapify() 331 if(_siftup((PyListObject *)heap, i) == -1) in nlargest() 355 if (_siftup((PyListObject *)heap, 0) == -1) in nlargest() 379 _siftdownmax(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in _siftdownmax() [all …]
|
D | xxsubtype.c | 22 PyListObject list;
|
/external/python/cpython2/Include/ |
D | listobject.h | 39 } PyListObject; typedef 58 PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *); 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 | abstract.h | 1181 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
|
/external/python/cpython2/Doc/includes/ |
D | shoddy.c | 4 PyListObject list;
|
/external/python/cpython3/Doc/includes/ |
D | sublist.c | 4 PyListObject list;
|
/external/python/cpython3/Doc/c-api/ |
D | dict.rst | 134 Return a :c:type:`PyListObject` containing all the items from the dictionary. 139 Return a :c:type:`PyListObject` containing all the keys from the dictionary. 144 Return a :c:type:`PyListObject` containing all the values from the dictionary
|
D | list.rst | 11 .. c:type:: PyListObject
|
/external/python/cpython2/Doc/c-api/ |
D | dict.rst | 123 Return a :c:type:`PyListObject` containing all the items from the 129 Return a :c:type:`PyListObject` containing all the keys from the dictionary, 135 Return a :c:type:`PyListObject` containing all the values from the
|
D | list.rst | 11 .. c:type:: PyListObject
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 4474 PyListObject *np; in Array_slice() 4503 np = (PyListObject *) PyList_New(len); in Array_slice() 5223 PyListObject *np; in Pointer_slice() 5250 np = (PyListObject *) PyList_New(len); in Pointer_slice()
|
/external/python/cpython3/Doc/extending/ |
D | newtypes_tutorial.rst | 818 PyListObject list; 827 can be safely cast to both ``PyListObject *`` and ``SubListObject *``::
|
/external/python/cpython2/PC/ |
D | _winreg.c | 829 (PyListObject *)value,j); in Py2Reg()
|
/external/python/cpython3/Python/ |
D | ceval.c | 1976 items = ((PyListObject *)seq)->ob_item; in _PyEval_EvalFrameDefault() 2296 none_val = _PyList_Extend((PyListObject *)sum, PEEK(i)); in _PyEval_EvalFrameDefault()
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 849 PyListObject list; 858 be safely cast to both *PyListObject\** and *Shoddy\**. ::
|
/external/python/cpython2/Python/ |
D | ceval.c | 2241 ((PyListObject *)v)->ob_item; in PyEval_EvalFrameEx()
|