Searched refs:PySliceObject (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Objects/ |
D | sliceobject.c | 63 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 …]
|
/external/python/cpython3/Objects/ |
D | sliceobject.c | 101 static PySliceObject *slice_cache = NULL; 104 PySliceObject *obj = slice_cache; in PySlice_Fini() 118 PySliceObject *obj; in PySlice_New() 124 obj = PyObject_GC_New(PySliceObject, &PySlice_Type); in PySlice_New() 167 PySliceObject *r = (PySliceObject*)_r; in PySlice_GetIndices() 199 PySliceObject *r = (PySliceObject*)_r; in PySlice_Unpack() 324 slice_dealloc(PySliceObject *r) in slice_dealloc() 337 slice_repr(PySliceObject *r) in slice_repr() 343 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY}, 344 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY}, [all …]
|
D | rangeobject.c | 300 PySliceObject *slice = (PySliceObject *) _slice; in compute_slice()
|
/external/python/cpython2/Include/ |
D | sliceobject.h | 25 } 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,
|
/external/python/cpython3/Include/ |
D | sliceobject.h | 25 } PySliceObject; typedef 37 PyAPI_FUNC(int) _PySlice_GetLongIndices(PySliceObject *self, PyObject *length,
|
/external/python/cpython2/Doc/c-api/ |
D | slice.rst | 31 .. 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…
|
/external/python/cpython3/Doc/c-api/ |
D | slice.rst | 42 The parameter type for the *slice* parameter was ``PySliceObject*`` 73 The parameter type for the *slice* parameter was ``PySliceObject*``
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_scalar_container.cc | 309 if (PySlice_GetIndicesEx(reinterpret_cast<PySliceObject*>(slice), in Subscript() 462 if (PySlice_GetIndicesEx(reinterpret_cast<PySliceObject*>(slice), in AssSubscript()
|
D | repeated_composite_container.cc | 269 if (PySlice_GetIndicesEx(reinterpret_cast<PySliceObject*>(slice), in AssignSubscript()
|
D | message.cc | 981 reinterpret_cast<PySliceObject*>(slice), in CheckAndGetInteger()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 5013 PySliceObject *slice = (PySliceObject *)item; in Pointer_subscript()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 5272 PySliceObject *slice = (PySliceObject *)item; in Pointer_subscript()
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1566 PySliceObject *slice; in get_indices()
|