Home
last modified time | relevance | path

Searched refs:PyListObject (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Objects/clinic/
Dlistobject.c.h15 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.c21 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 …]
Dxxsubtype.c22 PyListObject list;
D_testcapimodule.c6326 PyListObject list;
/third_party/python/Objects/
Dlistobject.c45 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 …]
Dabstract.c2142 rv = _PyList_Extend((PyListObject *)result, v); in PySequence_List()
/third_party/python/Include/cpython/
Dlistobject.h22 } 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/
Dsublist.c5 PyListObject list;
/third_party/python/Doc/c-api/
Ddict.rst141 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
Dlist.rst11 .. c:type:: PyListObject
Dsequence.rst139 *o* is a :c:type:`PyTupleObject` or a :c:type:`PyListObject` and access
/third_party/python/Include/internal/
Dpycore_interp.h116 PyListObject *free_list[PyList_MAXFREELIST];
/third_party/python/Include/
Dabstract.h730 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
/third_party/python/Doc/extending/
Dnewtypes_tutorial.rst825 PyListObject list;
834 can be safely cast to both ``PyListObject *`` and ``SubListObject *``::
/third_party/python/Python/
Dceval.c2811 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/
DTODO101 Objects/listobject.c:free_list static PyListObject *free_list[PyL…