Searched refs:PyByteArray_GET_SIZE (Results 1 – 20 of 20) sorted by relevance
155 return PyByteArray_GET_SIZE(self); in PyByteArray_Size()395 i += PyByteArray_GET_SIZE(self); in bytearray_subscript()409 slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript()541 PyByteArray_GET_SIZE(values)); in bytearray_setslice()614 i += PyByteArray_GET_SIZE(self); in bytearray_ass_subscript()640 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()704 if (cur + step >= (size_t)PyByteArray_GET_SIZE(self)) in bytearray_ass_subscript()705 lim = PyByteArray_GET_SIZE(self) - cur - 1; in bytearray_ass_subscript()712 if (cur < (size_t)PyByteArray_GET_SIZE(self)) { in bytearray_ass_subscript()715 PyByteArray_GET_SIZE(self) - cur); in bytearray_ass_subscript()[all …]
525 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()568 *plen = PyByteArray_GET_SIZE(v); in format_obj()
204 len = PyByteArray_GET_SIZE(v); in PyFloat_FromString()
1618 PyByteArray_GET_SIZE(o), 10); in PyNumber_Long()
3975 PyByteArray_GET_SIZE(v)); in PyUnicode_AsEncodedString()
89 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_ljust()145 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_rjust()201 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_center()
18 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)), Py_SIZE(self)) macro
555 while (limit < 0 || PyByteArray_GET_SIZE(buffer) < limit) { in _io__IOBase_readline_impl()621 old_size = PyByteArray_GET_SIZE(buffer); in _io__IOBase_readline_impl()631 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in _io__IOBase_readline_impl()636 PyByteArray_GET_SIZE(buffer)); in _io__IOBase_readline_impl()
344 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in msvcrt_putch()418 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in msvcrt_ungetch()
85 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)
501 else if (PyByteArray_Check(args[0]) && PyByteArray_GET_SIZE(args[0]) == 1) {514 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) {527 else if (PyByteArray_Check(args[2]) && PyByteArray_GET_SIZE(args[2]) == 1) {540 else if (PyByteArray_Check(args[3]) && PyByteArray_GET_SIZE(args[3]) == 1) {553 else if (PyByteArray_Check(args[4]) && PyByteArray_GET_SIZE(args[4]) == 1) {566 else if (PyByteArray_Check(args[5]) && PyByteArray_GET_SIZE(args[5]) == 1) {579 else if (PyByteArray_Check(args[6]) && PyByteArray_GET_SIZE(args[6]) == 1) {592 else if (PyByteArray_Check(args[7]) && PyByteArray_GET_SIZE(args[7]) == 1) {605 else if (PyByteArray_Check(args[8]) && PyByteArray_GET_SIZE(args[8]) == 1) {618 else if (PyByteArray_Check(args[9]) && PyByteArray_GET_SIZE(args[9]) == 1) {[all …]
1825 n = PyByteArray_GET_SIZE(v); in s_pack_internal()1847 n = PyByteArray_GET_SIZE(v); in s_pack_internal()
1663 size = PyByteArray_GET_SIZE(buffer); in getargs_es_hash()1686 size = PyByteArray_GET_SIZE(buffer); in getargs_et_hash()
2487 if (PyByteArray_GET_SIZE(obj) == 0) { in save_bytearray()2510 PyByteArray_GET_SIZE(obj)); in save_bytearray()
3724 size = PyByteArray_GET_SIZE(password); in _pwinfo_set()
1418 size = PyByteArray_GET_SIZE(cmd); in _Py_SourceAsString()
1901 size = PyByteArray_GET_SIZE(c); in builtin_ord()
1107 size = PyByteArray_GET_SIZE(s); in convertsimple()
1113 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: