Home
last modified time | relevance | path

Searched refs:PySliceObject (Results 1 – 22 of 22) sorted by relevance

/aosp_15_r20/external/python/cpython3/Objects/
Dsliceobject.c102 PySliceObject *obj = interp->slice_cache; in _PySlice_Fini()
127 PySliceObject *obj; in PySlice_New()
134 obj = PyObject_GC_New(PySliceObject, &PySlice_Type); in PySlice_New()
174 PySliceObject *r = (PySliceObject*)_r; in PySlice_GetIndices()
206 PySliceObject *r = (PySliceObject*)_r; in PySlice_Unpack()
332 slice_dealloc(PySliceObject *r) in slice_dealloc()
348 slice_repr(PySliceObject *r) in slice_repr()
354 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY},
355 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY},
356 {"step", T_OBJECT, offsetof(PySliceObject, step), READONLY},
[all …]
Drangeobject.c343 PySliceObject *slice = (PySliceObject *) _slice; in compute_slice()
/aosp_15_r20/external/python/cpython2/Objects/
Dsliceobject.c63 PySliceObject *obj = PyObject_GC_New(PySliceObject, &PySlice_Type); in PySlice_New()
103 PySlice_GetIndices(PySliceObject *r, Py_ssize_t length, in PySlice_GetIndices()
137 PySliceObject *r = (PySliceObject *)_r; in _PySlice_Unpack()
223 PySlice_GetIndicesEx(PySliceObject *r, Py_ssize_t length, in PySlice_GetIndicesEx()
262 slice_dealloc(PySliceObject *r) in slice_dealloc()
272 slice_repr(PySliceObject *r) in slice_repr()
289 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY},
290 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY},
291 {"step", T_OBJECT, offsetof(PySliceObject, step), READONLY},
296 slice_indices(PySliceObject* self, PyObject* len) in slice_indices()
[all …]
/aosp_15_r20/external/python/cpython2/Include/
Dsliceobject.h25 } PySliceObject; typedef
35 PyAPI_FUNC(int) PySlice_GetIndices(PySliceObject *r, Py_ssize_t length,
37 PyAPI_FUNC(int) PySlice_GetIndicesEx(PySliceObject *r, Py_ssize_t length,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dsliceobject.h25 } PySliceObject; typedef
37 PyAPI_FUNC(int) _PySlice_GetLongIndices(PySliceObject *self, PyObject *length,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dsliceobject.h25 } PySliceObject; typedef
37 PyAPI_FUNC(int) _PySlice_GetLongIndices(PySliceObject *self, PyObject *length,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dsliceobject.h25 } PySliceObject; typedef
37 PyAPI_FUNC(int) _PySlice_GetLongIndices(PySliceObject *self, PyObject *length,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dsliceobject.h25 } PySliceObject; typedef
37 PyAPI_FUNC(int) _PySlice_GetLongIndices(PySliceObject *self, PyObject *length,
/aosp_15_r20/external/python/cpython3/Include/
Dsliceobject.h25 } PySliceObject; typedef
37 PyAPI_FUNC(int) _PySlice_GetLongIndices(PySliceObject *self, PyObject *length,
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dpython_variable_indexing.h19 PySliceObject* r = (PySliceObject*)_r; in __PySlice_Unpack()
H A Dpython_variable_indexing.cpp144 PySliceObject* sliceobj = (PySliceObject*)obj; in recordSliceTrace()
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dslice.rst31 .. c:function:: int PySlice_GetIndices(PySliceObject *slice, Py_ssize_t length, Py_ssize_t *start, …
52 .. c:function:: int PySlice_GetIndicesEx(PySliceObject *slice, Py_ssize_t length, Py_ssize_t *start…
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dslice.rst43 The parameter type for the *slice* parameter was ``PySliceObject*``
74 The parameter type for the *slice* parameter was ``PySliceObject*``
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/internal/
Dpycore_interp.h166 PySliceObject *slice_cache;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/internal/
Dpycore_interp.h166 PySliceObject *slice_cache;
/aosp_15_r20/external/python/cpython3/Include/internal/
Dpycore_interp.h166 PySliceObject *slice_cache;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/internal/
Dpycore_interp.h166 PySliceObject *slice_cache;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/internal/
Dpycore_interp.h166 PySliceObject *slice_cache;
/aosp_15_r20/external/python/cpython3/Modules/_ctypes/
D_ctypes.c5265 PySliceObject *slice = (PySliceObject *)item; in Pointer_subscript()
/aosp_15_r20/external/python/cpython2/Modules/_ctypes/
D_ctypes.c5272 PySliceObject *slice = (PySliceObject *)item; in Pointer_subscript()
/aosp_15_r20/external/python/cpython2/Modules/
D_testcapimodule.c1566 PySliceObject *slice; in get_indices()
/aosp_15_r20/external/python/cpython3/Doc/data/
Dpython3.11.abi4835 …<typedef-decl name='PySliceObject' type-id='type-id-393' filepath='./Include/sliceobject.h' line='…