Searched refs:PyByteArray_GET_SIZE (Results 1 – 21 of 21) sorted by relevance
158 return PyByteArray_GET_SIZE(self); in PyByteArray_Size()379 i += PyByteArray_GET_SIZE(self); in bytearray_subscript()393 slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript()525 PyByteArray_GET_SIZE(values)); in bytearray_setslice()613 i += PyByteArray_GET_SIZE(self); in bytearray_ass_subscript()638 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()702 if (cur + step >= (size_t)PyByteArray_GET_SIZE(self)) in bytearray_ass_subscript()703 lim = PyByteArray_GET_SIZE(self) - cur - 1; in bytearray_ass_subscript()710 if (cur < (size_t)PyByteArray_GET_SIZE(self)) { in bytearray_ass_subscript()713 PyByteArray_GET_SIZE(self) - cur); in bytearray_ass_subscript()[all …]
484 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()526 *plen = PyByteArray_GET_SIZE(v); in format_obj()
221 len = PyByteArray_GET_SIZE(v); in PyFloat_FromString()
1612 PyByteArray_GET_SIZE(o), 10); in PyNumber_Long()
3814 PyByteArray_GET_SIZE(v)); in PyUnicode_AsEncodedString()
30 static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) { in PyByteArray_GET_SIZE() function34 #define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self)) macro
119 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_ljust()175 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_rjust()231 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_center()
578 while (limit < 0 || PyByteArray_GET_SIZE(buffer) < limit) { in _io__IOBase_readline_impl()644 old_size = PyByteArray_GET_SIZE(buffer); in _io__IOBase_readline_impl()654 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in _io__IOBase_readline_impl()659 PyByteArray_GET_SIZE(buffer)); in _io__IOBase_readline_impl()
240 else if (PyByteArray_Check(args[0]) && PyByteArray_GET_SIZE(args[0]) == 1) { in char_converter()253 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in char_converter()266 else if (PyByteArray_Check(args[2]) && PyByteArray_GET_SIZE(args[2]) == 1) { in char_converter()279 else if (PyByteArray_Check(args[3]) && PyByteArray_GET_SIZE(args[3]) == 1) { in char_converter()292 else if (PyByteArray_Check(args[4]) && PyByteArray_GET_SIZE(args[4]) == 1) { in char_converter()305 else if (PyByteArray_Check(args[5]) && PyByteArray_GET_SIZE(args[5]) == 1) { in char_converter()318 else if (PyByteArray_Check(args[6]) && PyByteArray_GET_SIZE(args[6]) == 1) { in char_converter()331 else if (PyByteArray_Check(args[7]) && PyByteArray_GET_SIZE(args[7]) == 1) { in char_converter()344 else if (PyByteArray_Check(args[8]) && PyByteArray_GET_SIZE(args[8]) == 1) { in char_converter()357 else if (PyByteArray_Check(args[9]) && PyByteArray_GET_SIZE(args[9]) == 1) { in char_converter()[all …]
361 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in msvcrt_putch()436 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in msvcrt_ungetch()
556 else if (PyByteArray_Check(args[0]) && PyByteArray_GET_SIZE(args[0]) == 1) { in test_char_converter()569 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in test_char_converter()582 else if (PyByteArray_Check(args[2]) && PyByteArray_GET_SIZE(args[2]) == 1) { in test_char_converter()595 else if (PyByteArray_Check(args[3]) && PyByteArray_GET_SIZE(args[3]) == 1) { in test_char_converter()608 else if (PyByteArray_Check(args[4]) && PyByteArray_GET_SIZE(args[4]) == 1) { in test_char_converter()621 else if (PyByteArray_Check(args[5]) && PyByteArray_GET_SIZE(args[5]) == 1) { in test_char_converter()634 else if (PyByteArray_Check(args[6]) && PyByteArray_GET_SIZE(args[6]) == 1) { in test_char_converter()647 else if (PyByteArray_Check(args[7]) && PyByteArray_GET_SIZE(args[7]) == 1) { in test_char_converter()660 else if (PyByteArray_Check(args[8]) && PyByteArray_GET_SIZE(args[8]) == 1) { in test_char_converter()673 else if (PyByteArray_Check(args[9]) && PyByteArray_GET_SIZE(args[9]) == 1) { in test_char_converter()[all …]
88 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)
712 size = PyByteArray_GET_SIZE(buffer); in getargs_es_hash()738 size = PyByteArray_GET_SIZE(buffer); in getargs_et_hash()
1966 n = PyByteArray_GET_SIZE(v); in s_pack_internal()1988 n = PyByteArray_GET_SIZE(v); in s_pack_internal()
2485 if (PyByteArray_GET_SIZE(obj) == 0) { in save_bytearray()2509 PyByteArray_GET_SIZE(obj)); in save_bytearray()
3937 size = PyByteArray_GET_SIZE(password); in _pwinfo_set()
1533 size = PyByteArray_GET_SIZE(cmd); in _Py_SourceAsString()
1999 size = PyByteArray_GET_SIZE(c); in builtin_ord()
991 size = PyByteArray_GET_SIZE(s); in convertsimple()
1107 if (PyByteArray_Check(value) && PyByteArray_GET_SIZE(value) == 1) { in c_set()
97 PyByteArray_GET_SIZE:Py_ssize_t:::98 PyByteArray_GET_SIZE:PyObject*:bytearray:0: