Home
last modified time | relevance | path

Searched refs:PyLong_FromSsize_t (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython2/Include/
Dlongobject.h22 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t);
34 #define _PyLong_FromSsize_t PyLong_FromSsize_t
/external/python/cpython2/Modules/_io/
Dbytesio.c218 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()
815 return PyLong_FromSsize_t(res); in bytesio_sizeof()
Dstringio.c204 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.h116 # define PyLong_FromOff_t PyLong_FromSsize_t
Dfileio.c510 return PyLong_FromSsize_t(n); in fileio_readinto()
710 return PyLong_FromSsize_t(n); in fileio_write()
Dbufferedio.c62 return PyLong_FromSsize_t(len); in bufferediobase_readinto()
396 return PyLong_FromSsize_t(res); in buffered_sizeof()
1945 res = PyLong_FromSsize_t(written); in bufferedwriter_write()
Dtextio.c1340 return PyLong_FromSsize_t(textlen); in textiowrapper_write()
1429 chunk_size = PyLong_FromSsize_t(self->chunk_size); in textiowrapper_read_chunk()
2575 return PyLong_FromSsize_t(self->chunk_size); in textiowrapper_chunk_size_get()
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.h150 # define PyInt_FromSsize_t PyLong_FromSsize_t
/external/python/cpython2/Objects/stringlib/
Dstring_format.h11 #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/Objects/
Dmemoryobject.c336 return PyLong_FromSsize_t(self->view.itemsize); in memory_itemsize_get()
353 o = PyLong_FromSsize_t(vals[i]); in _IntTupleFromSsizet()
Dlongobject.c916 PyLong_FromSsize_t(Py_ssize_t ival) in PyLong_FromSsize_t() function
4174 result = (PyLongObject *)PyLong_FromSsize_t(ndigits - 1); in long_bit_length()
Dlistobject.c3053 return PyLong_FromSsize_t(len); in listreviter_len()
/external/python/cpython2/Modules/_ctypes/
Dctypes.h30 #define PyLong_FromSsize_t PyInt_FromLong macro
Dcallproc.c1909 PyTuple_SET_ITEM(shape, i, PyLong_FromSsize_t(dict->shape[i])); in buffer_info()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc430 ScopedPyObjectPtr py_index(PyLong_FromSsize_t(index)); in Pop()
/external/python/cpython2/Doc/c-api/
Dlong.rst52 .. c:function:: PyObject* PyLong_FromSsize_t(Py_ssize_t v)
/external/python/cpython2/Doc/data/
Drefcounts.dat665 PyLong_FromSsize_t:PyObject*::+1:
666 PyLong_FromSsize_t:ssize_t:v::
/external/python/cpython2/Modules/
Dmmapmodule.c655 return PyLong_FromSsize_t(res); in mmap__sizeof__method()
D_struct.c1739 return PyLong_FromSsize_t(size); in s_sizeof()
D_collectionsmodule.c1109 return PyLong_FromSsize_t(res); in deque_sizeof()
Darraymodule.c1567 return PyLong_FromSsize_t(res); in array_sizeof()
Dparsermodule.c724 return PyLong_FromSsize_t(res); in parser_sizeof()
/external/python/cpython2/Misc/
DNEWS12134 PyLong_FromSsize_t public functions.