/external/python/cpython2/Modules/_io/ |
D | bytesio.c | 240 size = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytesio_read() 309 size = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytesio_readline() 355 maxsize = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytesio_readlines() 447 size = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytesio_truncate() 513 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError); in bytesio_seek() 711 pos = PyNumber_AsSsize_t(position_obj, PyExc_OverflowError); in bytesio_setstate()
|
D | stringio.c | 226 size = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in stringio_read() 300 limit = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in stringio_readline() 368 size = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in stringio_truncate() 417 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError); in stringio_seek() 763 pos = PyNumber_AsSsize_t(position_obj, PyExc_OverflowError); in stringio_setstate()
|
D | _iomodule.c | 603 limit = PyNumber_AsSsize_t(obj, PyExc_OverflowError); in _PyIO_ConvertSsize_t()
|
D | iobase.c | 826 n = PyNumber_AsSsize_t(res, PyExc_ValueError); in rawiobase_read()
|
/external/python/cpython3/Objects/ |
D | bytes_methods.c | 491 ival = PyNumber_AsSsize_t(tmp_subobj, NULL); in parse_args_finds_byte() 712 Py_ssize_t ival = PyNumber_AsSsize_t(arg, NULL); in _Py_bytes_contains()
|
D | abstract.c | 163 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_GetItem() 206 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_SetItem() 238 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_DelItem() 974 count = PyNumber_AsSsize_t(n, PyExc_OverflowError); in sequence_repeat() 1297 PyNumber_AsSsize_t(PyObject *item, PyObject *err) in PyNumber_AsSsize_t() function
|
D | bytesobject.c | 1663 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in bytes_subscript() 2604 size = PyNumber_AsSsize_t(x, PyExc_OverflowError); in bytes_new() 2668 value = PyNumber_AsSsize_t(item, NULL); in _PyBytes_FromList() 2710 value = PyNumber_AsSsize_t(item, NULL); in _PyBytes_FromTuple() 2761 value = PyNumber_AsSsize_t(item, NULL); in _PyBytes_FromIterator()
|
D | bytearrayobject.c | 408 Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError); in bytearray_subscript() 626 Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError); in bytearray_ass_subscript() 821 count = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytearray_init()
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 92 _idx = PyNumber_AsSsize_t(idx, PyExc_IndexError); in pysqlite_row_subscript()
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 100 _idx = PyNumber_AsSsize_t(idx, PyExc_IndexError); in pysqlite_row_subscript()
|
/external/python/cpython2/Objects/ |
D | bufferobject.c | 510 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in buffer_subscript() 707 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in buffer_ass_subscript()
|
D | memoryobject.c | 579 result = PyNumber_AsSsize_t(key, NULL); in memory_subscript() 650 start = PyNumber_AsSsize_t(key, NULL); in memory_ass_sub()
|
D | sliceobject.c | 300 ilen = PyNumber_AsSsize_t(len, PyExc_OverflowError); in slice_indices()
|
D | abstract.c | 149 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_GetItem() 178 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_SetItem() 210 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_DelItem() 1202 count = PyNumber_AsSsize_t(n, PyExc_OverflowError); 1521 PyNumber_AsSsize_t(PyObject *item, PyObject *err) function
|
D | bytearrayobject.c | 442 Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError); in bytearray_subscript() 614 Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError); in bytearray_ass_subscript() 853 count = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytearray_init() 1311 Py_ssize_t ival = PyNumber_AsSsize_t(arg, PyExc_ValueError); in bytearray_contains()
|
D | bytesobject.c | 1670 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in bytes_subscript() 2609 size = PyNumber_AsSsize_t(x, PyExc_OverflowError); in bytes_new() 2669 value = PyNumber_AsSsize_t(item, NULL); \ 2732 value = PyNumber_AsSsize_t(item, NULL); in _PyBytes_FromIterator()
|
D | structseq.c | 98 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in structseq_subscript()
|
/external/python/cpython3/Modules/ |
D | mmapmodule.c | 766 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in mmap_subscript() 851 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in mmap_ass_subscript() 873 v = PyNumber_AsSsize_t(value, PyExc_TypeError); in mmap_ass_subscript()
|
/external/python/cpython2/Modules/_ctypes/ |
D | ctypes.h | 17 #define PyNumber_AsSsize_t(ob, exc) PyInt_AsLong(ob) macro
|
/external/python/cpython2/Include/ |
D | abstract.h | 860 PyAPI_FUNC(Py_ssize_t) PyNumber_AsSsize_t(PyObject *o, PyObject *exc);
|
/external/python/cpython2/Modules/ |
D | mmapmodule.c | 772 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in mmap_subscript() 893 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in mmap_ass_subscript()
|
/external/python/cpython3/Python/ |
D | modsupport.c | 24 limit = PyNumber_AsSsize_t(obj, PyExc_OverflowError); in _Py_convert_optional_to_ssize_t()
|
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 921 n = PyNumber_AsSsize_t(res, PyExc_ValueError); in _io__RawIOBase_read_impl()
|
/external/python/cpython3/Include/ |
D | abstract.h | 727 PyAPI_FUNC(Py_ssize_t) PyNumber_AsSsize_t(PyObject *o, PyObject *exc);
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 4361 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in Array_subscript() 4504 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in Array_ass_subscript() 5007 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in Pointer_subscript() 5027 step = PyNumber_AsSsize_t(slice->step, in Pointer_subscript() 5047 start = PyNumber_AsSsize_t(slice->start, in Pointer_subscript() 5057 stop = PyNumber_AsSsize_t(slice->stop, in Pointer_subscript()
|