Home
last modified time | relevance | path

Searched refs:PyIndex_Check (Results 1 – 25 of 45) sorted by relevance

12

/external/python/cpython2/Objects/
Dbufferobject.c509 if (PyIndex_Check(item)) { in buffer_subscript()
706 if (PyIndex_Check(item)) { in buffer_ass_subscript()
Dmemoryobject.c577 if (PyIndex_Check(key)) { in memory_subscript()
649 if (PyIndex_Check(key)) { in memory_ass_sub()
Dabstract.c147 if (PyIndex_Check(key)) { in PyObject_GetItem()
176 if (PyIndex_Check(key)) { in PyObject_SetItem()
208 if (PyIndex_Check(key)) { in PyObject_DelItem()
1201 if (PyIndex_Check(n)) {
1499 if (PyIndex_Check(item)) {
Dstructseq.c97 if (PyIndex_Check(item)) { in structseq_subscript()
Dtupleobject.c701 if (PyIndex_Check(item)) { in tuplesubscript()
/external/python/cpython3/Modules/
Dmmapmodule.c765 if (PyIndex_Check(item)) { in mmap_subscript()
850 if (PyIndex_Check(item)) { in mmap_ass_subscript()
868 if (!PyIndex_Check(value)) { in mmap_ass_subscript()
Darraymodule.c2336 if (PyIndex_Check(item)) { in array_subscr()
2400 if (PyIndex_Check(item)) { in array_ass_subscr()
D_testbuffer.c1799 if (PyIndex_Check(key)) { in ndarray_subscript()
1893 if (dest->ndim == 1 && PyIndex_Check(key)) { in ndarray_ass_subscript()
/external/python/cpython3/Objects/
Dabstract.c161 if (PyIndex_Check(key)) { in PyObject_GetItem()
204 if (PyIndex_Check(key)) { in PyObject_SetItem()
236 if (PyIndex_Check(key)) { in PyObject_DelItem()
973 if (PyIndex_Check(n)) { in sequence_repeat()
1266 if (!PyIndex_Check(item)) { in PyNumber_Index()
Dsliceobject.c355 if (PyIndex_Check(v)) { in evaluate_slice_index()
Dbytearrayobject.c407 if (PyIndex_Check(index)) { in bytearray_subscript()
625 if (PyIndex_Check(index)) { in bytearray_ass_subscript()
820 if (PyIndex_Check(arg)) { in bytearray_init()
Dbytes_methods.c483 if (!PyIndex_Check(tmp_subobj)) { in parse_args_finds_byte()
Dmemoryobject.c2343 if (!PyIndex_Check(x)) in is_multiindex()
2381 if (PyIndex_Check(key)) { in memory_subscript()
2452 if (PyIndex_Check(key)) { in memory_ass_sub()
Dtupleobject.c724 if (PyIndex_Check(item)) { in tuplesubscript()
Drangeobject.c603 if (PyIndex_Check(item)) { in range_subscript()
/external/python/cpython2/Modules/_ctypes/
Dctypes.h18 #define PyIndex_Check(ob) PyInt_Check(ob) macro
/external/python/cpython2/Include/
Dabstract.h848 #define PyIndex_Check(obj) \ macro
/external/python/cpython2/Modules/
Dmmapmodule.c771 if (PyIndex_Check(item)) { in mmap_subscript()
892 if (PyIndex_Check(item)) { in mmap_ass_subscript()
Darraymodule.c1689 if (PyIndex_Check(item)) { in array_subscr()
1753 if (PyIndex_Check(item)) { in array_ass_subscr()
/external/python/cpython3/Python/
Dmodsupport.c23 else if (PyIndex_Check(obj)) { in _Py_convert_optional_to_ssize_t()
/external/python/cpython3/Include/
Dabstract.h713 #define PyIndex_Check(obj) \ macro
/external/python/cpython2/Modules/_io/
Dbytesio.c705 if (!PyIndex_Check(position_obj)) { in bytesio_setstate()
Dstringio.c757 if (!PyIndex_Check(position_obj)) { in stringio_setstate()
/external/python/cpython3/Doc/c-api/
Dnumber.rst279 .. c:function:: int PyIndex_Check(PyObject *o)
/external/python/cpython2/Doc/c-api/
Dnumber.rst317 .. c:function:: int PyIndex_Check(PyObject *o)

12