/third_party/python/Objects/ |
D | bytes_methods.c | 477 ival = PyNumber_AsSsize_t(tmp_subobj, NULL); in parse_args_finds_byte() 698 Py_ssize_t ival = PyNumber_AsSsize_t(arg, NULL); in _Py_bytes_contains()
|
D | abstract.c | 167 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_GetItem() 218 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_SetItem() 252 key_value = PyNumber_AsSsize_t(key, PyExc_IndexError); in PyObject_DelItem() 1092 count = PyNumber_AsSsize_t(n, PyExc_OverflowError); in sequence_repeat() 1478 PyNumber_AsSsize_t(PyObject *item, PyObject *err) in PyNumber_AsSsize_t() function
|
D | bytesobject.c | 1598 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in bytes_subscript() 2626 size = PyNumber_AsSsize_t(x, PyExc_OverflowError); in bytes_new_impl() 2695 value = PyNumber_AsSsize_t(item, NULL); in _PyBytes_FromList() 2737 value = PyNumber_AsSsize_t(item, NULL); in _PyBytes_FromTuple() 2788 value = PyNumber_AsSsize_t(item, NULL); in _PyBytes_FromIterator()
|
D | bytearrayobject.c | 389 Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError); in bytearray_subscript() 608 Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError); in bytearray_ass_subscript() 809 count = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytearray___init___impl()
|
D | memoryobject.c | 2322 index = PyNumber_AsSsize_t(PyTuple_GET_ITEM(tup, dim), in ptr_from_tuple() 2489 index = PyNumber_AsSsize_t(key, PyExc_IndexError); in memory_subscript() 2565 index = PyNumber_AsSsize_t(key, PyExc_IndexError); in memory_ass_sub()
|
D | tupleobject.c | 819 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in tuplesubscript()
|
D | rangeobject.c | 631 istep = PyNumber_AsSsize_t(r->step, NULL); in range_repr()
|
D | exceptions.c | 898 self->written = PyNumber_AsSsize_t(filename, PyExc_ValueError); in oserror_init() 1225 n = PyNumber_AsSsize_t(arg, PyExc_ValueError); in OSError_written_set()
|
D | listobject.c | 2822 i = PyNumber_AsSsize_t(item, PyExc_IndexError); in list_subscript() 2876 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in list_ass_subscript()
|
/third_party/python/Modules/_sqlite/ |
D | row.c | 131 _idx = PyNumber_AsSsize_t(idx, PyExc_IndexError); in pysqlite_row_subscript()
|
/third_party/python/Modules/ |
D | mmapmodule.c | 899 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in mmap_subscript() 985 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in mmap_ass_subscript() 1007 v = PyNumber_AsSsize_t(value, PyExc_TypeError); in mmap_ass_subscript()
|
D | itertoolsmodule.c | 1626 stop = PyNumber_AsSsize_t(a1, PyExc_OverflowError); in islice_new() 1638 start = PyNumber_AsSsize_t(a1, PyExc_OverflowError); in islice_new() 1642 stop = PyNumber_AsSsize_t(a2, PyExc_OverflowError); in islice_new() 1662 step = PyNumber_AsSsize_t(a3, PyExc_OverflowError); in islice_new()
|
D | arraymodule.c | 2347 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in array_subscr() 2413 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in array_ass_subscr()
|
/third_party/python/Include/ |
D | abstract.h | 532 PyAPI_FUNC(Py_ssize_t) PyNumber_AsSsize_t(PyObject *o, PyObject *exc);
|
/third_party/python/Python/ |
D | modsupport.c | 25 limit = PyNumber_AsSsize_t(obj, PyExc_OverflowError); in _Py_convert_optional_to_ssize_t()
|
/third_party/python/Modules/_io/ |
D | iobase.c | 939 n = PyNumber_AsSsize_t(res, PyExc_ValueError); in _io__RawIOBase_read_impl()
|
D | bufferedio.c | 1486 n = PyNumber_AsSsize_t(res, PyExc_ValueError); in _bufferedreader_raw_read() 1847 n = PyNumber_AsSsize_t(res, PyExc_ValueError); in _bufferedwriter_raw_write()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | repeated_composite_container.cc | 242 index = PyNumber_AsSsize_t(item, PyExc_IndexError); in Subscript()
|
D | descriptor_containers.cc | 208 Py_ssize_t number = PyNumber_AsSsize_t(key, NULL); in _GetItemByKey() 619 index = PyNumber_AsSsize_t(item, PyExc_IndexError); in SeqSubscript()
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 4603 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in Array_subscript() 4745 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in Array_ass_subscript() 5259 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError); in Pointer_subscript() 5280 step = PyNumber_AsSsize_t(slice->step, in Pointer_subscript() 5300 start = PyNumber_AsSsize_t(slice->start, in Pointer_subscript() 5310 stop = PyNumber_AsSsize_t(slice->stop, in Pointer_subscript()
|
D | callproc.c | 1717 offset = PyNumber_AsSsize_t(pyoffset, NULL); in byref()
|
/third_party/python/Doc/c-api/ |
D | number.rst | 273 .. c:function:: Py_ssize_t PyNumber_AsSsize_t(PyObject *o, PyObject *exc)
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 410 function,PyNumber_AsSsize_t,3.2,
|
D | refcounts.dat | 1426 PyNumber_AsSsize_t:Py_ssize_t::: 1427 PyNumber_AsSsize_t:PyObject*:o:0: 1428 PyNumber_AsSsize_t:PyObject*:exc:0:
|
/third_party/python/PC/ |
D | python3dll.c | 386 EXPORT_FUNC(PyNumber_AsSsize_t)
|