Home
last modified time | relevance | path

Searched refs:PyByteArray_GET_SIZE (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Objects/
Dbytearrayobject.c158 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 …]
Dbytesobject.c484 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()
526 *plen = PyByteArray_GET_SIZE(v); in format_obj()
Dfloatobject.c221 len = PyByteArray_GET_SIZE(v); in PyFloat_FromString()
Dabstract.c1612 PyByteArray_GET_SIZE(o), 10); in PyNumber_Long()
Dunicodeobject.c3814 PyByteArray_GET_SIZE(v)); in PyUnicode_AsEncodedString()
/external/python/cpython3/Include/cpython/
Dbytearrayobject.h30 static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) { in PyByteArray_GET_SIZE() function
34 #define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self)) macro
/external/python/cpython3/Objects/stringlib/clinic/
Dtransmogrify.h.h119 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()
/external/python/cpython3/Modules/_io/
Diobase.c578 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()
/external/python/cpython3/Modules/clinic/
D_testclinic.c.h240 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 …]
/external/python/cpython3/PC/clinic/
Dmsvcrtmodule.c.h361 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()
/external/python/cpython3/Lib/test/
Dclinic.test.c556 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 …]
/external/python/cpython3/Doc/c-api/
Dbytearray.rst88 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)
/external/python/cpython3/Modules/_testcapi/
Dgetargs.c712 size = PyByteArray_GET_SIZE(buffer); in getargs_es_hash()
738 size = PyByteArray_GET_SIZE(buffer); in getargs_et_hash()
/external/python/cpython3/Modules/
D_struct.c1966 n = PyByteArray_GET_SIZE(v); in s_pack_internal()
1988 n = PyByteArray_GET_SIZE(v); in s_pack_internal()
D_pickle.c2485 if (PyByteArray_GET_SIZE(obj) == 0) { in save_bytearray()
2509 PyByteArray_GET_SIZE(obj)); in save_bytearray()
D_ssl.c3937 size = PyByteArray_GET_SIZE(password); in _pwinfo_set()
/external/python/cpython3/Python/
Dpythonrun.c1533 size = PyByteArray_GET_SIZE(cmd); in _Py_SourceAsString()
Dbltinmodule.c1999 size = PyByteArray_GET_SIZE(c); in builtin_ord()
Dgetargs.c991 size = PyByteArray_GET_SIZE(s); in convertsimple()
/external/python/cpython3/Modules/_ctypes/
Dcfield.c1107 if (PyByteArray_Check(value) && PyByteArray_GET_SIZE(value) == 1) { in c_set()
/external/python/cpython3/Doc/data/
Drefcounts.dat97 PyByteArray_GET_SIZE:Py_ssize_t:::
98 PyByteArray_GET_SIZE:PyObject*:bytearray:0: