Home
last modified time | relevance | path

Searched refs:PyByteArray_Check (Results 1 – 25 of 43) sorted by relevance

12

/aosp_15_r20/external/python/cpython2/Include/
Dbytearrayobject.h35 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
48 (assert(PyByteArray_Check(self)), \
50 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self))
/aosp_15_r20/external/python/cpython3/Modules/clinic/
D_testclinic.c.h100 if (!PyByteArray_Check(arg)) { in byte_array_object_converter()
235 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()
[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/Objects/
Dbytearrayobject.c155 assert(PyByteArray_Check(self)); in PyByteArray_Size()
164 assert(PyByteArray_Check(self)); in PyByteArray_AsString()
181 assert(PyByteArray_Check(self)); in PyByteArray_Resize()
654 else if (values == (PyObject *)self || !PyByteArray_Check(values)) { in bytearray_ass_subscript()
671 assert(PyByteArray_Check(values)); in bytearray_ass_subscript()
2262 if (!PyByteArray_Check(v)) in bytearray_mod()
2366 assert(PyByteArray_Check(seq)); in bytearrayiter_next()
2476 if (!PyByteArray_Check(seq)) { in bytearray_iter()
Dbytesobject.c495 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()
536 if (PyByteArray_Check(v)) { in format_obj()
617 !PyByteArray_Check(args)) { in _PyBytes_FormatEx()
/aosp_15_r20/external/python/cpython2/Objects/
Dbytearrayobject.c229 assert(PyByteArray_Check(self)); in PyByteArray_Size()
238 assert(PyByteArray_Check(self)); in PyByteArray_AsString()
250 assert(PyByteArray_Check(self)); in PyByteArray_Resize()
658 else if (values == (PyObject *)self || !PyByteArray_Check(values)) { in bytearray_ass_subscript()
675 assert(PyByteArray_Check(values)); in bytearray_ass_subscript()
2632 if (!PyByteArray_Check(obj) && !PyBytes_Check(obj)) { in bytearray_join()
2658 if (PyByteArray_Check(obj)) in bytearray_join()
2994 assert(PyByteArray_Check(seq)); in bytearrayiter_next()
3065 if (!PyByteArray_Check(seq)) { in bytearray_iter()
Dbytesobject.c495 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()
547 if (PyByteArray_Check(v)) { in format_obj()
628 !PyByteArray_Check(args)) { in _PyBytes_FormatEx()
/aosp_15_r20/external/python/cpython3/Lib/test/
Dclinic.test222 if (!PyByteArray_Check(args[8])) {
312 if (!PyByteArray_Check(arg)) {
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) {
[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/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dbytearrayobject.h24 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dbytearrayobject.h24 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dbytearrayobject.h24 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
/aosp_15_r20/external/python/cpython3/Include/
Dbytearrayobject.h24 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dbytearrayobject.h24 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dbytearrayobject.h18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dbytearrayobject.h18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dbytearrayobject.h18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dbytearrayobject.h18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dbytearrayobject.h18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
/aosp_15_r20/external/dtc/pylibfdt/
H A Dlibfdt.i1054 if (!PyByteArray_Check($input)) {
1065 if (!PyByteArray_Check($input)) {
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dbytearray.rst26 .. c:function:: int PyByteArray_Check(PyObject *o)
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dbytearray.rst25 .. c:function:: int PyByteArray_Check(PyObject *o)
/aosp_15_r20/external/python/cpython3/Python/
Dgetargs.c859 else if (PyByteArray_Check(arg) && PyByteArray_Size(arg) == 1) in convertsimple()
1100 (PyBytes_Check(arg) || PyByteArray_Check(arg))) { in convertsimple()
1240 if (PyByteArray_Check(arg)) in convertsimple()
/aosp_15_r20/external/python/cpython3/Modules/
D_testclinic.c149 if (!PyByteArray_Check(a)) { in byte_array_object_converter_impl()
/aosp_15_r20/external/python/cpython2/Modules/_io/
Dfileio.c264 if (PyBytes_Check(nameobj) || PyByteArray_Check(nameobj)) { in fileio_init()

12