Searched refs:PyListObject (Results 1 – 16 of 16) sorted by relevance
/third_party/python/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() 56 list_clear_impl(PyListObject *self); 59 list_clear(PyListObject *self, PyObject *Py_UNUSED(ignored)) in list_clear() 74 list_copy_impl(PyListObject *self); 77 list_copy(PyListObject *self, PyObject *Py_UNUSED(ignored)) in list_copy() 112 list_pop_impl(PyListObject *self, Py_ssize_t index); 115 list_pop(PyListObject *self, PyObject *const *args, Py_ssize_t nargs) in list_pop() 163 list_sort_impl(PyListObject *self, PyObject *keyfunc, int reverse); 166 list_sort(PyListObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in list_sort() [all …]
|
/third_party/python/Modules/ |
D | _heapqmodule.c | 21 siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown() 66 siftup(PyListObject *heap, Py_ssize_t pos) in siftup() 132 if (siftdown((PyListObject *)heap, 0, PyList_GET_SIZE(heap)-1)) in _heapq_heappush_impl() 138 heappop_internal(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in heappop_internal() argument 162 if (siftup_func((PyListObject *)heap, 0)) { in heappop_internal() 186 heapreplace_internal(PyObject *heap, PyObject *item, int siftup_func(PyListObject *, Py_ssize_t)) in heapreplace_internal() argument 198 if (siftup_func((PyListObject *)heap, 0)) { in heapreplace_internal() 275 if (siftup((PyListObject *)heap, 0)) { in _heapq_heappushpop_impl() 315 cache_friendly_heapify(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in cache_friendly_heapify() argument 326 if (siftup_func((PyListObject *)heap, j)) in cache_friendly_heapify() [all …]
|
D | xxsubtype.c | 22 PyListObject list;
|
D | _testcapimodule.c | 6326 PyListObject list;
|
/third_party/python/Objects/ |
D | listobject.c | 45 list_resize(PyListObject *self, Py_ssize_t newsize) in list_resize() 93 list_preallocate_exact(PyListObject *self, Py_ssize_t size) in list_preallocate_exact() 113 PyListObject *op = state->free_list[--state->numfree]; in _PyList_ClearFreeList() 136 state->numfree, sizeof(PyListObject)); in _PyList_DebugMallocStats() 148 PyListObject *op; in PyList_New() 159 op = PyObject_GC_New(PyListObject, &PyList_Type); in PyList_New() 184 PyListObject *op = (PyListObject *) PyList_New(0); in list_new_prealloc() 241 return ((PyListObject *)op) -> ob_item[i]; in PyList_GetItem() 260 p = ((PyListObject *)op) -> ob_item + i; in PyList_SetItem() 266 ins1(PyListObject *self, Py_ssize_t where, PyObject *v) in ins1() [all …]
|
D | abstract.c | 2142 rv = _PyList_Extend((PyListObject *)result, v); in PySequence_List()
|
/third_party/python/Include/cpython/ |
D | listobject.h | 22 } PyListObject; typedef 24 PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *); 30 #define _PyList_CAST(op) (assert(PyList_Check(op)), (PyListObject *)(op))
|
/third_party/python/Doc/includes/ |
D | sublist.c | 5 PyListObject list;
|
/third_party/python/Doc/c-api/ |
D | dict.rst | 141 Return a :c:type:`PyListObject` containing all the items from the dictionary. 146 Return a :c:type:`PyListObject` containing all the keys from the dictionary. 151 Return a :c:type:`PyListObject` containing all the values from the dictionary
|
D | list.rst | 11 .. c:type:: PyListObject
|
D | sequence.rst | 139 *o* is a :c:type:`PyTupleObject` or a :c:type:`PyListObject` and access
|
/third_party/python/Include/internal/ |
D | pycore_interp.h | 116 PyListObject *free_list[PyList_MAXFREELIST];
|
/third_party/python/Include/ |
D | abstract.h | 730 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
|
/third_party/python/Doc/extending/ |
D | newtypes_tutorial.rst | 825 PyListObject list; 834 can be safely cast to both ``PyListObject *`` and ``SubListObject *``::
|
/third_party/python/Python/ |
D | ceval.c | 2811 items = ((PyListObject *)seq)->ob_item; in _PyEval_EvalFrameDefault() 3193 PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable); in _PyEval_EvalFrameDefault()
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 101 Objects/listobject.c:free_list static PyListObject *free_list[PyL…
|