Searched refs:PyLong_FromSsize_t (Results 1 - 25 of 87) sorted by relevance

1234

/external/python/cpython3/Modules/clinic/
H A D_weakref.c.h27 return_value = PyLong_FromSsize_t(_return_value);
H A D_pickle.c.h59 return_value = PyLong_FromSsize_t(_return_value);
249 return_value = PyLong_FromSsize_t(_return_value);
H A D_sre.c.h583 return_value = PyLong_FromSsize_t(_return_value);
617 return_value = PyLong_FromSsize_t(_return_value);
/external/python/cpython2/Include/
H A Dlongobject.h22 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t);
34 #define _PyLong_FromSsize_t PyLong_FromSsize_t
/external/python/cpython2/Modules/_io/
H A Dbytesio.c218 return PyLong_FromSsize_t(self->pos);
426 return PyLong_FromSsize_t(len);
473 return PyLong_FromSsize_t(size);
552 return PyLong_FromSsize_t(self->pos);
575 result = PyLong_FromSsize_t(n);
815 return PyLong_FromSsize_t(res);
H A D_iomodule.h116 # define PyLong_FromOff_t PyLong_FromSsize_t
H A Dstringio.c204 return PyLong_FromSsize_t(self->pos);
394 return PyLong_FromSsize_t(size);
451 return PyLong_FromSsize_t(self->pos);
477 return PyLong_FromSsize_t(size);
/external/python/cpython3/Modules/_io/
H A Dbytesio.c352 return PyLong_FromSsize_t(self->pos);
577 return PyLong_FromSsize_t(len);
627 return PyLong_FromSsize_t(size);
701 return PyLong_FromSsize_t(self->pos);
731 return n >= 0 ? PyLong_FromSsize_t(n) : NULL;
994 return PyLong_FromSsize_t(res);
H A D_iomodule.h109 # define PyLong_FromOff_t PyLong_FromSsize_t
H A Dstringio.c299 return PyLong_FromSsize_t(self->pos);
509 return PyLong_FromSsize_t(size);
562 return PyLong_FromSsize_t(self->pos);
596 return PyLong_FromSsize_t(size);
H A Dfileio.c654 return PyLong_FromSsize_t(n);
868 return PyLong_FromSsize_t(n);
/external/python/cpython3/Objects/
H A Denumobject.c89 en->en_longindex = PyLong_FromSsize_t(PY_SSIZE_T_MAX);
137 next_index = PyLong_FromSsize_t(en->en_index);
341 return PyLong_FromSsize_t((seqsize < position) ? 0 : position);
H A Dbytes_methods.c539 return PyLong_FromSsize_t(result);
558 return PyLong_FromSsize_t(result);
576 return PyLong_FromSsize_t(result);
595 return PyLong_FromSsize_t(result);
635 count_obj = PyLong_FromSsize_t(
H A Dsliceobject.c146 start = PyLong_FromSsize_t(istart);
149 end = PyLong_FromSsize_t(istop);
H A Diterobject.c94 return PyLong_FromSsize_t(len);
/external/python/cpython2/Modules/_multiprocessing/
H A Dmultiprocessing.h150 # define PyInt_FromSsize_t PyLong_FromSsize_t
/external/python/cpython3/Misc/
H A Dcoverity_model.c70 PyObject *PyLong_FromSsize_t(Py_ssize_t ival) function
/external/python/cpython3/Modules/
H A D_bisectmodule.c62 return PyLong_FromSsize_t(index);
166 return PyLong_FromSsize_t(index);
H A Datexitmodule.c218 return PyLong_FromSsize_t(modstate->ncallbacks);
/external/python/cpython3/Include/
H A Dlongobject.h21 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t);
/external/python/cpython2/Objects/stringlib/
H A Dstring_format.h11 #define PyLong_FromSsize_t _PyLong_FromSsize_t macro
255 PyObject *idx_obj = PyLong_FromSsize_t(idx);
1260 obj = PyLong_FromSsize_t(idx);
1347 first_obj = PyLong_FromSsize_t(first_idx);
/external/python/cpython3/Python/
H A Dstructmember.c43 v = PyLong_FromSsize_t(*(Py_ssize_t*)addr);
/external/python/cpython3/Modules/_ctypes/
H A Dcallproc.c1452 return PyLong_FromSsize_t(dict->size);
1455 return PyLong_FromSsize_t(((CDataObject *)obj)->b_size);
1473 return PyLong_FromSsize_t(dict->align);
1477 return PyLong_FromSsize_t(dict->align);
1752 PyTuple_SET_ITEM(shape, i, PyLong_FromSsize_t(dict->shape[i]));
/external/python/cpython2/Objects/
H A Dmemoryobject.c336 return PyLong_FromSsize_t(self->view.itemsize);
353 o = PyLong_FromSsize_t(vals[i]);
/external/python/cpython2/Modules/_ctypes/
H A Dctypes.h30 #define PyLong_FromSsize_t PyInt_FromLong macro

Completed in 408 milliseconds

1234