Home
last modified time | relevance | path

Searched refs:PySlice_Check (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython2/Include/
Dsliceobject.h30 #define PySlice_Check(op) (Py_TYPE(op) == &PySlice_Type) macro
/external/python/cpython3/Include/
Dsliceobject.h31 #define PySlice_Check(op) Py_IS_TYPE(op, &PySlice_Type) macro
/external/python/cffi/c/
Dminibuffer.h259 else if (PySlice_Check(item)) { in mb_subscript()
292 else if (PySlice_Check(item)) { in mb_ass_subscript()
/external/python/cpython3/Objects/
Dsliceobject.c568 if (!PySlice_Check(v) || !PySlice_Check(w)) in slice_richcompare()
Dmemoryobject.c2407 if (!PySlice_Check(x)) in is_multislice()
2469 else if (PySlice_Check(key)) { in memory_subscript()
2549 if (PySlice_Check(key) && view->ndim == 1) { in memory_ass_sub()
2587 if (PySlice_Check(key) || is_multislice(key)) { in memory_ass_sub()
Dtupleobject.c777 else if (PySlice_Check(item)) { in tuplesubscript()
Dbytearrayobject.c409 else if (PySlice_Check(index)) { in bytearray_subscript()
642 else if (PySlice_Check(index)) { in bytearray_ass_subscript()
Drangeobject.c644 if (PySlice_Check(item)) { in range_subscript()
/external/python/cpython3/Modules/_sqlite/
Drow.c144 else if (PySlice_Check(idx)) { in pysqlite_row_subscript()
/external/python/cpython2/Modules/_sqlite/
Drow.c146 } else if (PySlice_Check(idx)) { in pysqlite_row_subscript()
/external/python/cpython2/Doc/c-api/
Dslice.rst17 .. c:function:: int PySlice_Check(PyObject *ob)
/external/python/cpython2/Objects/
Dbufferobject.c521 else if (PySlice_Check(item)) { in buffer_subscript()
717 else if (PySlice_Check(item)) { in buffer_ass_subscript()
Dmemoryobject.c584 else if (PySlice_Check(key)) { in memory_subscript()
663 else if (PySlice_Check(key)) { in memory_ass_sub()
Dstructseq.c113 else if (PySlice_Check(item)) { in structseq_subscript()
Dtupleobject.c709 else if (PySlice_Check(item)) { in tuplesubscript()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc292 } else if (PySlice_Check(slice)) { in Subscript()
450 } else if (PySlice_Check(slice)) { in Subscript()
Drepeated_composite_container.cc246 } else if (PySlice_Check(item)) { in Subscript()
/external/python/cpython3/Doc/c-api/
Dslice.rst15 .. c:function:: int PySlice_Check(PyObject *ob)
/external/python/cpython2/Modules/
Dmmapmodule.c784 else if (PySlice_Check(item)) { in mmap_subscript()
921 else if (PySlice_Check(item)) { in mmap_ass_subscript()
Darraymodule.c1698 else if (PySlice_Check(item)) { in array_subscr()
1775 else if (PySlice_Check(item)) { in array_ass_subscr()
D_elementtree.c1364 else if (PySlice_Check(item)) {
1421 else if (PySlice_Check(item)) {
/external/python/cpython3/Modules/
Dmmapmodule.c882 else if (PySlice_Check(item)) { in mmap_subscript()
990 else if (PySlice_Check(item)) { in mmap_ass_subscript()
D_testbuffer.c1825 if (PySlice_Check(key)) { in ndarray_subscript()
1838 if (!PySlice_Check(key)) in ndarray_subscript()
1931 if (!PySlice_Check(key)) { in slice_indices()
Darraymodule.c2310 else if (PySlice_Check(item)) { in array_subscr()
2388 else if (PySlice_Check(item)) { in array_ass_subscr()
/external/python/cpython2/Doc/data/
Drefcounts.dat1229 PySlice_Check:int:::
1230 PySlice_Check:PyObject*:ob:0:

12