Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/python/cpython3/Objects/
Dbytearrayobject.c157 return PyByteArray_GET_SIZE(self); in PyByteArray_Size()
381 i += PyByteArray_GET_SIZE(self); in bytearray_subscript()
395 slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript()
527 PyByteArray_GET_SIZE(values)); in bytearray_setslice()
615 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 …]
Dbytesobject.c495 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()
538 *plen = PyByteArray_GET_SIZE(v); in format_obj()
Dfloatobject.c223 len = PyByteArray_GET_SIZE(v); in PyFloat_FromString()
/aosp_15_r20/external/python/cpython2/Objects/
Dbytearrayobject.c231 return PyByteArray_GET_SIZE(self); in PyByteArray_Size()
448 i += PyByteArray_GET_SIZE(self); in bytearray_subscript()
461 slicelength = _PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript()
507 PyByteArray_GET_SIZE(values)); in bytearray_setslice()
620 i += PyByteArray_GET_SIZE(self); in bytearray_ass_subscript()
646 slicelen = _PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()
734 if (cur + step >= (size_t)PyByteArray_GET_SIZE(self)) in bytearray_ass_subscript()
735 lim = PyByteArray_GET_SIZE(self) - cur - 1; in bytearray_ass_subscript()
742 if (cur < (size_t)PyByteArray_GET_SIZE(self)) { in bytearray_ass_subscript()
745 PyByteArray_GET_SIZE(self) - cur); in bytearray_ass_subscript()
[all …]
Dbytesobject.c495 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()
549 *plen = PyByteArray_GET_SIZE(v); in format_obj()
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dbytearrayobject.h32 static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) { in PyByteArray_GET_SIZE() function
37 # define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self)) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dbytearrayobject.h32 static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) { in PyByteArray_GET_SIZE() function
37 # define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self)) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dbytearrayobject.h32 static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) { in PyByteArray_GET_SIZE() function
37 # define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self)) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dbytearrayobject.h32 static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) { in PyByteArray_GET_SIZE() function
37 # define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self)) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dbytearrayobject.h32 static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) { in PyByteArray_GET_SIZE() function
37 # define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self)) macro
/aosp_15_r20/external/python/cpython3/Modules/clinic/
D_testclinic.c.h235 else if (PyByteArray_Check(args[0]) && PyByteArray_GET_SIZE(args[0]) == 1) { in char_converter()
248 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in char_converter()
261 else if (PyByteArray_Check(args[2]) && PyByteArray_GET_SIZE(args[2]) == 1) { in char_converter()
274 else if (PyByteArray_Check(args[3]) && PyByteArray_GET_SIZE(args[3]) == 1) { in char_converter()
287 else if (PyByteArray_Check(args[4]) && PyByteArray_GET_SIZE(args[4]) == 1) { in char_converter()
300 else if (PyByteArray_Check(args[5]) && PyByteArray_GET_SIZE(args[5]) == 1) { in char_converter()
313 else if (PyByteArray_Check(args[6]) && PyByteArray_GET_SIZE(args[6]) == 1) { in char_converter()
326 else if (PyByteArray_Check(args[7]) && PyByteArray_GET_SIZE(args[7]) == 1) { in char_converter()
339 else if (PyByteArray_Check(args[8]) && PyByteArray_GET_SIZE(args[8]) == 1) { in char_converter()
352 else if (PyByteArray_Check(args[9]) && PyByteArray_GET_SIZE(args[9]) == 1) { in char_converter()
[all …]
/aosp_15_r20/external/python/cpython3/Objects/stringlib/clinic/
Dtransmogrify.h.h89 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()
/aosp_15_r20/external/python/cpython3/Modules/_io/
Diobase.c548 while (limit < 0 || PyByteArray_GET_SIZE(buffer) < limit) { in _io__IOBase_readline_impl()
614 old_size = PyByteArray_GET_SIZE(buffer); in _io__IOBase_readline_impl()
624 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in _io__IOBase_readline_impl()
629 PyByteArray_GET_SIZE(buffer)); in _io__IOBase_readline_impl()
/aosp_15_r20/external/python/cpython2/Modules/_io/
Diobase.c541 old_size = PyByteArray_GET_SIZE(buffer); in iobase_readline()
551 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in iobase_readline()
556 PyByteArray_GET_SIZE(buffer)); in iobase_readline()
/aosp_15_r20/external/python/cpython3/Lib/test/
Dclinic.test501 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 …]
/aosp_15_r20/external/python/cpython3/PC/clinic/
Dmsvcrtmodule.c.h344 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()
/aosp_15_r20/external/python/cpython2/Include/
Dbytearrayobject.h50 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self)) macro
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dbytearray.rst85 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dbytearray.rst83 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)
/aosp_15_r20/external/python/cpython3/Modules/
D_struct.c1843 n = PyByteArray_GET_SIZE(v); in s_pack_internal()
1865 n = PyByteArray_GET_SIZE(v); in s_pack_internal()
/aosp_15_r20/external/python/cpython2/Modules/
D_testcapimodule.c1528 size = PyByteArray_GET_SIZE(buffer); in getargs_es_hash()
1552 size = PyByteArray_GET_SIZE(buffer); in getargs_et_hash()
/aosp_15_r20/external/python/cpython3/Modules/_ctypes/
Dcfield.c1114 if (PyByteArray_Check(value) && PyByteArray_GET_SIZE(value) == 1) { in c_set()
/aosp_15_r20/external/python/cpython3/Python/
Dpythonrun.c1841 size = PyByteArray_GET_SIZE(cmd); in _Py_SourceAsString()
Dbltinmodule.c1928 size = PyByteArray_GET_SIZE(c); in builtin_ord()
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat97 PyByteArray_GET_SIZE:Py_ssize_t:::
98 PyByteArray_GET_SIZE:PyObject*:bytearray:0:

12