Searched refs:PyLong_AsSsize_t (Results 1 – 25 of 44) sorted by relevance
12
27 PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);32 #define _PyLong_AsSsize_t PyLong_AsSsize_t
19 #define VISIBLE_SIZE_TP(tp) PyLong_AsSsize_t( \22 #define REAL_SIZE_TP(tp) PyLong_AsSsize_t( \26 #define UNNAMED_FIELDS_TP(tp) PyLong_AsSsize_t( \
173 *step = PyLong_AsSsize_t(r->step); in PySlice_GetIndices()179 *start = PyLong_AsSsize_t(r->start); in PySlice_GetIndices()186 *stop = PyLong_AsSsize_t(r->stop); in PySlice_GetIndices()
55 en->en_index = PyLong_AsSsize_t(start); in enum_new_impl()379 Py_ssize_t index = PyLong_AsSsize_t(state); in reversed_setstate()
118 Py_ssize_t index = PyLong_AsSsize_t(state); in iter_setstate()
1015 Py_ssize_t index = PyLong_AsSsize_t(state); in tupleiter_setstate()
215 return PyLong_AsSsize_t(r->length); in range_length()
130 res = PyLong_AsSsize_t(result); in PyObject_LengthHint()1306 result = PyLong_AsSsize_t(value); in PyNumber_AsSsize_t()
115 # define PyLong_AsOff_t PyLong_AsSsize_t
106 # define PyLong_AsOff_t PyLong_AsSsize_t
472 maxsize = PyLong_AsSsize_t(arg); in _io_BytesIO_readlines_impl()828 pos = PyLong_AsSsize_t(position_obj); in bytesio_setstate()
909 pos = PyLong_AsSsize_t(position_obj); in stringio_setstate()
25 PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
334 newpos = PyLong_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_encerror()441 newpos = PyLong_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_decerror()1383 size = PyLong_AsSsize_t(sizeobj); in _multibytecodec_MultibyteStreamReader_read_impl()1412 size = PyLong_AsSsize_t(sizeobj); in _multibytecodec_MultibyteStreamReader_readline_impl()1442 sizehint = PyLong_AsSsize_t(sizehintobj); in _multibytecodec_MultibyteStreamReader_readlines_impl()
226 *(Py_ssize_t*)addr = PyLong_AsSsize_t(v); in PyMember_SetOne()
222 ln = PyLong_AsSsize_t(ln_obj); in get_filter()
781 x = PyLong_AsSsize_t(value); in context_setprec()801 x = PyLong_AsSsize_t(value); in context_setemin()821 x = PyLong_AsSsize_t(value); in context_setemax()842 x = PyLong_AsSsize_t(value); in context_unsafe_setprec()862 x = PyLong_AsSsize_t(value); in context_unsafe_setemin()882 x = PyLong_AsSsize_t(value); in context_unsafe_setemax()921 x = PyLong_AsSsize_t(value); in context_setcapitals()1069 x = PyLong_AsSsize_t(value); in context_setclamp()1090 x = PyLong_AsSsize_t(value); in context_setallcr()1370 bits = PyLong_AsSsize_t(v); in ieee_context()[all …]
1596 Py_ssize_t cnt = PyLong_AsSsize_t(state); in islice_setstate()2288 Py_ssize_t index = PyLong_AsSsize_t(indexObject); in product_setstate()2615 Py_ssize_t index = PyLong_AsSsize_t(indexObject); in combinations_setstate()2948 Py_ssize_t index = PyLong_AsSsize_t(indexObject); in cwr_setstate()3099 r = PyLong_AsSsize_t(robj); in permutations_new()3330 Py_ssize_t index = PyLong_AsSsize_t(indexObject); in permutations_setstate()3343 Py_ssize_t index = PyLong_AsSsize_t(indexObject); in permutations_setstate()3986 cnt = PyLong_AsSsize_t(long_cnt); in count_new()
794 itemsize = PyLong_AsSsize_t(tmp); in get_itemsize()869 x = PyLong_AsSsize_t(tmp); in seq_as_ssize_array()1800 Py_ssize_t index = PyLong_AsSsize_t(key); in ndarray_subscript()1895 index = PyLong_AsSsize_t(key); in ndarray_ass_subscript()2335 indices[i] = PyLong_AsSsize_t(x); in get_pointer()
298 val = PyLong_AsSsize_t(long_obj); in ssize_t_converter()
162 .. c:function:: Py_ssize_t PyLong_AsSsize_t(PyObject *pylong)
322 PyLong_AsSsize_t=python37.PyLong_AsSsize_t
188 .. c:function:: Py_ssize_t PyLong_AsSsize_t(PyObject *pylong)
641 PyLong_AsSsize_t:ssize_t:::642 PyLong_AsSsize_t:PyObject*:pylong:0:
364 PyLong_AsSsize_t(PyObject *vv) { in PyLong_AsSsize_t() function3661 shiftby = PyLong_AsSsize_t((PyObject *)b); in long_rshift()3711 shiftby = PyLong_AsSsize_t((PyObject *)b); in long_lshift()