Home
last modified time | relevance | path

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

12

/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))
/external/python/cpython3/Include/
Dbytearrayobject.h38 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
52 (assert(PyByteArray_Check(self)), \
54 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)), Py_SIZE(self))
/external/dtc/pylibfdt/
Dlibfdt.i376 if (!PyByteArray_Check($input)) {
387 if (!PyByteArray_Check($input)) {
/external/python/cpython3/Objects/
Dbytearrayobject.c174 assert(PyByteArray_Check(self)); in PyByteArray_Size()
183 assert(PyByteArray_Check(self)); in PyByteArray_AsString()
200 assert(PyByteArray_Check(self)); in PyByteArray_Resize()
672 else if (values == (PyObject *)self || !PyByteArray_Check(values)) { in bytearray_ass_subscript()
689 assert(PyByteArray_Check(values)); in bytearray_ass_subscript()
2206 if (!PyByteArray_Check(v)) in bytearray_mod()
2310 assert(PyByteArray_Check(seq)); in bytearrayiter_next()
2418 if (!PyByteArray_Check(seq)) { in bytearray_iter()
Dbytesobject.c501 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()
553 if (PyByteArray_Check(v)) { in format_obj()
634 !PyByteArray_Check(args)) { in _PyBytes_FormatEx()
Dfloatobject.c187 else if (PyByteArray_Check(v)) { in PyFloat_FromString()
Dlongobject.c4824 else if (PyByteArray_Check(x) || PyBytes_Check(x)) { in long_new_impl()
4826 if (PyByteArray_Check(x)) in long_new_impl()
Dabstract.c1409 if (PyByteArray_Check(o)) in PyNumber_Long()
/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()
Dstringobject.c1031 if (PyByteArray_Check(bb)) in string_concat()
/external/python/cpython2/Doc/c-api/
Dbytearray.rst26 .. c:function:: int PyByteArray_Check(PyObject *o)
/external/python/cpython3/Doc/c-api/
Dbytearray.rst25 .. c:function:: int PyByteArray_Check(PyObject *o)
/external/u-boot/scripts/dtc/pylibfdt/
Dlibfdt.i_shipped391 if (!PyByteArray_Check($input)) {
402 if (!PyByteArray_Check($input)) {
/external/python/cpython3/Python/
Dgetargs.c893 else if (PyByteArray_Check(arg) && PyByteArray_Size(arg) == 1) in convertsimple()
1124 (PyBytes_Check(arg) || PyByteArray_Check(arg))) { in convertsimple()
1261 if (PyByteArray_Check(arg)) in convertsimple()
Dbltinmodule.c741 else if (PyByteArray_Check(cmd)) { in source_as_string()
1804 else if (PyByteArray_Check(c)) { in builtin_ord()
2345 if (PyByteArray_Check(result)) { in builtin_sum_impl()
/external/python/cpython3/Modules/
D_struct.c1756 if (!isstring && !PyByteArray_Check(v)) { in s_pack_internal()
1778 if (!isstring && !PyByteArray_Check(v)) { in s_pack_internal()
Darraymodule.c2651 || PyByteArray_Check(initial) in array_new()
2702 else if (initial != NULL && (PyByteArray_Check(initial) || in array_new()
Dpyexpat.c779 else if (PyByteArray_Check(str)) in readinst()
D_ssl.c3695 } else if (PyByteArray_Check(password)) { in _pwinfo_set()
/external/python/cpython2/Modules/_io/
Dfileio.c264 if (PyBytes_Check(nameobj) || PyByteArray_Check(nameobj)) { in fileio_init()
/external/python/cpython3/Modules/_ctypes/
Dcfield.c1144 if (PyByteArray_Check(value) && PyByteArray_GET_SIZE(value) == 1) { in c_set()
/external/python/cpython3/Doc/data/
Drefcounts.dat80 PyByteArray_Check:int:::
81 PyByteArray_Check:PyObject*:o:0:
/external/python/cpython2/Python/
Dbltinmodule.c1528 } else if (PyByteArray_Check(obj)) { in builtin_ord()
/external/python/cpython2/Modules/
D_ssl.c2651 } else if (PyByteArray_Check(password)) { in _pwinfo_set()

12