/external/python/cpython2/Include/ |
D | longobject.h | 22 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t); 34 #define _PyLong_FromSsize_t PyLong_FromSsize_t
|
/external/python/cpython2/Modules/_io/ |
D | bytesio.c | 218 return PyLong_FromSsize_t(self->pos); in bytesio_tell() 426 return PyLong_FromSsize_t(len); in bytesio_readinto() 473 return PyLong_FromSsize_t(size); in bytesio_truncate() 552 return PyLong_FromSsize_t(self->pos); in bytesio_seek() 575 result = PyLong_FromSsize_t(n); in bytesio_write() 816 return PyLong_FromSsize_t(res); in bytesio_sizeof()
|
D | stringio.c | 204 return PyLong_FromSsize_t(self->pos); in stringio_tell() 394 return PyLong_FromSsize_t(size); in stringio_truncate() 451 return PyLong_FromSsize_t(self->pos); in stringio_seek() 477 return PyLong_FromSsize_t(size); in stringio_write()
|
D | _iomodule.h | 116 # define PyLong_FromOff_t PyLong_FromSsize_t
|
/external/python/cpython3/Objects/ |
D | bytes_methods.c | 595 return PyLong_FromSsize_t(result); in _Py_bytes_find() 618 return PyLong_FromSsize_t(result); in _Py_bytes_index() 636 return PyLong_FromSsize_t(result); in _Py_bytes_rfind() 659 return PyLong_FromSsize_t(result); in _Py_bytes_rindex() 699 count_obj = PyLong_FromSsize_t( in _Py_bytes_count()
|
D | enumobject.c | 110 en->en_longindex = PyLong_FromSsize_t(PY_SSIZE_T_MAX); in enum_next_long() 163 next_index = PyLong_FromSsize_t(en->en_index); in enum_next() 362 return PyLong_FromSsize_t((seqsize < position) ? 0 : position); in reversed_len()
|
D | sliceobject.c | 148 start = PyLong_FromSsize_t(istart); in _PySlice_FromIndices() 151 end = PyLong_FromSsize_t(istop); in _PySlice_FromIndices()
|
D | tupleobject.c | 560 return PyLong_FromSsize_t(i); in tuple_index_impl() 591 return PyLong_FromSsize_t(count); in tuple_count() 997 return PyLong_FromSsize_t(len); in tupleiter_len()
|
/external/python/cpython3/Modules/_io/ |
D | bytesio.c | 352 return PyLong_FromSsize_t(self->pos); in _io_BytesIO_tell_impl() 547 return PyLong_FromSsize_t(len); in _io_BytesIO_readinto_impl() 580 return PyLong_FromSsize_t(size); in _io_BytesIO_truncate_impl() 654 return PyLong_FromSsize_t(self->pos); in _io_BytesIO_seek_impl() 684 return n >= 0 ? PyLong_FromSsize_t(n) : NULL; in _io_BytesIO_write() 947 return PyLong_FromSsize_t(res); in bytesio_sizeof()
|
D | stringio.c | 299 return PyLong_FromSsize_t(self->pos); in _io_StringIO_tell_impl() 465 return PyLong_FromSsize_t(size); in _io_StringIO_truncate_impl() 518 return PyLong_FromSsize_t(self->pos); in _io_StringIO_seek_impl() 552 return PyLong_FromSsize_t(size); in _io_StringIO_write()
|
D | _iomodule.h | 107 # define PyLong_FromOff_t PyLong_FromSsize_t
|
/external/python/cpython3/Modules/ |
D | _bisectmodule.c | 62 return PyLong_FromSsize_t(index); in bisect_right() 166 return PyLong_FromSsize_t(index); in bisect_left()
|
D | itertoolsmodule.c | 1584 stop = PyLong_FromSsize_t(lz->stop); in islice_reduce() 2144 return PyLong_FromSsize_t(res); in product_sizeof() 2263 PyObject* index = PyLong_FromSsize_t(lz->indices[i]); in product_reduce() 2474 return PyLong_FromSsize_t(res); in combinations_sizeof() 2588 PyObject* index = PyLong_FromSsize_t(lz->indices[i]); in combinations_reduce() 2814 return PyLong_FromSsize_t(res); in cwr_sizeof() 2921 PyObject* index = PyLong_FromSsize_t(lz->indices[i]); in cwr_reduce() 3162 return PyLong_FromSsize_t(res); in permutations_sizeof() 3281 PyObject* index = PyLong_FromSsize_t(po->indices[i]); in permutations_reduce() 3291 PyObject* index = PyLong_FromSsize_t(po->cycles[i]); in permutations_reduce() [all …]
|
D | mmapmodule.c | 306 return PyLong_FromSsize_t(p - self->data); in mmap_gfind() 377 return PyLong_FromSsize_t(data.len); in mmap_write_method() 426 return PyLong_FromSsize_t(self->size); in mmap_size_method() 691 return PyLong_FromSsize_t(res); in mmap__sizeof__method()
|
/external/python/cpython3/Modules/clinic/ |
D | gcmodule.c.h | 104 return_value = PyLong_FromSsize_t(_return_value); in gc_collect() 323 return_value = PyLong_FromSsize_t(_return_value); in gc_get_freeze_count()
|
D | _weakref.c.h | 27 return_value = PyLong_FromSsize_t(_return_value); in _weakref_getweakrefcount()
|
D | _pickle.c.h | 59 return_value = PyLong_FromSsize_t(_return_value); in _pickle_Pickler___sizeof__() 249 return_value = PyLong_FromSsize_t(_return_value); in _pickle_Unpickler___sizeof__()
|
D | _queuemodule.c.h | 213 return_value = PyLong_FromSsize_t(_return_value); in _queue_SimpleQueue_qsize()
|
/external/python/cpython2/Objects/stringlib/ |
D | string_format.h | 11 #define PyLong_FromSsize_t _PyLong_FromSsize_t macro 255 PyObject *idx_obj = PyLong_FromSsize_t(idx); in getitem_idx() 1260 obj = PyLong_FromSsize_t(idx); in fieldnameiter_next() 1347 first_obj = PyLong_FromSsize_t(first_idx); in formatter_field_name_split()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.h | 150 # define PyInt_FromSsize_t PyLong_FromSsize_t
|
/external/python/cpython3/Misc/ |
D | coverity_model.c | 70 PyObject *PyLong_FromSsize_t(Py_ssize_t ival) in PyLong_FromSsize_t() function
|
/external/python/cpython3/Modules/_ctypes/ |
D | callproc.c | 1488 return PyLong_FromSsize_t(dict->size); in sizeof_func() 1491 return PyLong_FromSsize_t(((CDataObject *)obj)->b_size); in sizeof_func() 1509 return PyLong_FromSsize_t(dict->align); in align_func() 1513 return PyLong_FromSsize_t(dict->align); in align_func() 1795 PyTuple_SET_ITEM(shape, i, PyLong_FromSsize_t(dict->shape[i])); in buffer_info()
|
/external/python/cpython3/Include/ |
D | longobject.h | 21 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t);
|
/external/python/cpython3/Objects/clinic/ |
D | longobject.c.h | 92 return_value = PyLong_FromSsize_t(_return_value); in int___sizeof__()
|
/external/python/cpython3/Objects/stringlib/ |
D | unicode_format.h | 168 PyObject *idx_obj = PyLong_FromSsize_t(idx); in getitem_idx() 1178 obj = PyLong_FromSsize_t(idx); in fieldnameiter_next() 1272 first_obj = PyLong_FromSsize_t(first_idx); in formatter_field_name_split()
|