Searched refs:PyInt_AsSsize_t (Results 1 – 22 of 22) sorted by relevance
111 *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()
35 en->en_index = PyInt_AsSsize_t(start); in enum_new()
129 rv = PyNumber_Check(ro) ? PyInt_AsSsize_t(ro) : defaultvalue; in _PyObject_LengthHint()1531 result = PyInt_AsSsize_t(value);
200 PyInt_AsSsize_t(register PyObject *op) in PyInt_AsSsize_t() function
1056 outcome = PyInt_AsSsize_t(res); in instance_length()
4378 width = PyInt_AsSsize_t(v); in PyString_Format()
5063 len = PyInt_AsSsize_t(res);
8496 width = PyInt_AsSsize_t(v); in PyUnicode_Format()
42 PyAPI_FUNC(Py_ssize_t) PyInt_AsSsize_t(PyObject *);
338 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()
298 *(Py_ssize_t*)addr = PyInt_AsSsize_t(v); in PyMember_SetOne()
148 ln = PyInt_AsSsize_t(ln_obj); in get_filter()
719 size = (size_t)PyInt_AsSsize_t(res); in _PySys_GetSizeOf()
746 ival = PyInt_AsSsize_t(arg); in convertsimple()
1527 Py_ssize_t i = PyInt_AsSsize_t(w); in PyEval_EvalFrameEx()
1154 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()
11 #define PyInt_AsSsize_t PyInt_AsLong macro145 *size_ptr = PyInt_AsSsize_t(o); in _convertPyInt_AsSsize_t()
1688 offset = PyInt_AsSsize_t(PyTuple_GET_ITEM(args, 1)); in s_pack_into()
1078 maxlen = PyInt_AsSsize_t(maxlenobj); in deque_init()
3317 return PyInt_AsSsize_t(index); in match_getindex()3325 i = PyInt_AsSsize_t(index); in match_getindex()
117 .. c:function:: Py_ssize_t PyInt_AsSsize_t(PyObject *io)
359 "PyInt_AsSsize_t"