Home
last modified time | relevance | path

Searched refs:PyInt_AsSsize_t (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Objects/
Dsliceobject.c111 *step = PyInt_AsSsize_t(r->step); in PySlice_GetIndices()
117 *start = PyInt_AsSsize_t(r->start); in PySlice_GetIndices()
124 *stop = PyInt_AsSsize_t(r->stop); in PySlice_GetIndices()
Denumobject.c35 en->en_index = PyInt_AsSsize_t(start); in enum_new()
Dabstract.c129 rv = PyNumber_Check(ro) ? PyInt_AsSsize_t(ro) : defaultvalue; in _PyObject_LengthHint()
1531 result = PyInt_AsSsize_t(value);
Dintobject.c200 PyInt_AsSsize_t(register PyObject *op) in PyInt_AsSsize_t() function
Dclassobject.c1056 outcome = PyInt_AsSsize_t(res); in instance_length()
Dstringobject.c4378 width = PyInt_AsSsize_t(v); in PyString_Format()
Dtypeobject.c5063 len = PyInt_AsSsize_t(res);
Dunicodeobject.c8496 width = PyInt_AsSsize_t(v); in PyUnicode_Format()
/external/python/cpython2/Include/
Dintobject.h42 PyAPI_FUNC(Py_ssize_t) PyInt_AsSsize_t(PyObject *);
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c338 newpos = PyInt_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_encerror()
449 newpos = PyInt_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_decerror()
1353 size = PyInt_AsSsize_t(sizeobj); in mbstreamreader_read()
1374 size = PyInt_AsSsize_t(sizeobj); in mbstreamreader_readline()
1395 sizehint = PyInt_AsSsize_t(sizehintobj); in mbstreamreader_readlines()
/external/python/cpython2/Python/
Dstructmember.c298 *(Py_ssize_t*)addr = PyInt_AsSsize_t(v); in PyMember_SetOne()
D_warnings.c148 ln = PyInt_AsSsize_t(ln_obj); in get_filter()
Dsysmodule.c719 size = (size_t)PyInt_AsSsize_t(res); in _PySys_GetSizeOf()
Dgetargs.c746 ival = PyInt_AsSsize_t(arg); in convertsimple()
Dceval.c1527 Py_ssize_t i = PyInt_AsSsize_t(w); in PyEval_EvalFrameEx()
/external/python/cpython2/Modules/
Ditertoolsmodule.c1154 stop = PyInt_AsSsize_t(a1); in islice_new()
1165 start = PyInt_AsSsize_t(a1); in islice_new()
1169 stop = PyInt_AsSsize_t(a2); in islice_new()
1187 step = PyInt_AsSsize_t(a3); in islice_new()
2594 r = PyInt_AsSsize_t(robj); in permutations_new()
3291 cnt = PyInt_AsSsize_t(long_cnt); in count_new()
D_json.c11 #define PyInt_AsSsize_t PyInt_AsLong macro
145 *size_ptr = PyInt_AsSsize_t(o); in _convertPyInt_AsSsize_t()
D_struct.c1688 offset = PyInt_AsSsize_t(PyTuple_GET_ITEM(args, 1)); in s_pack_into()
D_collectionsmodule.c1078 maxlen = PyInt_AsSsize_t(maxlenobj); in deque_init()
D_sre.c3317 return PyInt_AsSsize_t(index); in match_getindex()
3325 i = PyInt_AsSsize_t(index); in match_getindex()
/external/python/cpython2/Doc/c-api/
Dint.rst117 .. c:function:: Py_ssize_t PyInt_AsSsize_t(PyObject *io)
/external/python/cpython2/PC/os2emx/
Dpython27.def359 "PyInt_AsSsize_t"