Home
last modified time | relevance | path

Searched refs:PyInt_AsSsize_t (Results 1 – 24 of 24) 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()
1530 result = PyInt_AsSsize_t(value);
Dintobject.c203 PyInt_AsSsize_t(register PyObject *op) in PyInt_AsSsize_t() function
Dclassobject.c1055 outcome = PyInt_AsSsize_t(res); in instance_length()
Dstringobject.c4375 width = PyInt_AsSsize_t(v); in PyString_Format()
Dtypeobject.c5126 len = PyInt_AsSsize_t(res);
Dunicodeobject.c8492 width = PyInt_AsSsize_t(v); in PyUnicode_Format()
/external/python/cpython2/Include/
Dintobject.h45 PyAPI_FUNC(Py_ssize_t) PyInt_AsSsize_t(PyObject *);
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c337 newpos = PyInt_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_encerror()
447 newpos = PyInt_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_decerror()
1351 size = PyInt_AsSsize_t(sizeobj); in mbstreamreader_read()
1372 size = PyInt_AsSsize_t(sizeobj); in mbstreamreader_readline()
1393 sizehint = PyInt_AsSsize_t(sizehintobj); in mbstreamreader_readlines()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h161 #define PyInt_AsSsize_t(arg) (int)PyInt_AsLong(arg) macro
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
Dcext.h199 #define PyInt_AsSsize_t(arg) (int)PyInt_AsLong(arg) macro
/external/python/cpython2/Python/
Dstructmember.c298 *(Py_ssize_t*)addr = PyInt_AsSsize_t(v); in PyMember_SetOne()
D_warnings.c154 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.c1539 Py_ssize_t i = PyInt_AsSsize_t(w); in PyEval_EvalFrameEx()
/external/python/cpython2/Modules/
Ditertoolsmodule.c1140 stop = PyInt_AsSsize_t(a1); in islice_new()
1151 start = PyInt_AsSsize_t(a1); in islice_new()
1155 stop = PyInt_AsSsize_t(a2); in islice_new()
1173 step = PyInt_AsSsize_t(a3); in islice_new()
2584 r = PyInt_AsSsize_t(robj); in permutations_new()
3281 cnt = PyInt_AsSsize_t(long_cnt); in count_new()
D_json.c11 #define PyInt_AsSsize_t PyInt_AsLong macro
141 *size_ptr = PyInt_AsSsize_t(o); in _convertPyInt_AsSsize_t()
D_collectionsmodule.c1088 maxlen = PyInt_AsSsize_t(maxlenobj); in deque_init()
D_struct.c1692 offset = PyInt_AsSsize_t(PyTuple_GET_ITEM(args, 1)); in s_pack_into()
D_sre.c3331 return PyInt_AsSsize_t(index); in match_getindex()
3339 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"