Home
last modified time | relevance | path

Searched refs:PyByteArray_Check (Results 1 – 25 of 35) 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/cpython/
Dbytearrayobject.h16 (assert(PyByteArray_Check(self)), \
18 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)), Py_SIZE(self))
/external/python/cpython3/Objects/stringlib/clinic/
Dtransmogrify.h.h99 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_ljust()
160 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_rjust()
221 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_center()
/external/python/cpython3/Include/
Dbytearrayobject.h26 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
/external/python/cpython3/Objects/
Dbytearrayobject.c161 assert(PyByteArray_Check(self)); in PyByteArray_Size()
170 assert(PyByteArray_Check(self)); in PyByteArray_AsString()
187 assert(PyByteArray_Check(self)); in PyByteArray_Resize()
660 else if (values == (PyObject *)self || !PyByteArray_Check(values)) { in bytearray_ass_subscript()
677 assert(PyByteArray_Check(values)); in bytearray_ass_subscript()
2299 if (!PyByteArray_Check(v)) in bytearray_mod()
2403 assert(PyByteArray_Check(seq)); in bytearrayiter_next()
2512 if (!PyByteArray_Check(seq)) { in bytearray_iter()
Dbytesobject.c488 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter()
539 if (PyByteArray_Check(v)) { in format_obj()
620 !PyByteArray_Check(args)) { in _PyBytes_FormatEx()
Dfloatobject.c188 else if (PyByteArray_Check(v)) { in PyFloat_FromString()
/external/python/cpython3/PC/clinic/
Dmsvcrtmodule.c.h374 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in msvcrt_putch()
448 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in msvcrt_ungetch()
/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()
/external/python/cpython2/Doc/c-api/
Dbytearray.rst26 .. c:function:: int PyByteArray_Check(PyObject *o)
/external/python/cpython3/Lib/test/
Dclinic.test222 if (!PyByteArray_Check(args[8])) {
312 if (!PyByteArray_Check(arg)) {
506 else if (PyByteArray_Check(args[0]) && PyByteArray_GET_SIZE(args[0]) == 1) {
519 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) {
532 else if (PyByteArray_Check(args[2]) && PyByteArray_GET_SIZE(args[2]) == 1) {
545 else if (PyByteArray_Check(args[3]) && PyByteArray_GET_SIZE(args[3]) == 1) {
558 else if (PyByteArray_Check(args[4]) && PyByteArray_GET_SIZE(args[4]) == 1) {
571 else if (PyByteArray_Check(args[5]) && PyByteArray_GET_SIZE(args[5]) == 1) {
584 else if (PyByteArray_Check(args[6]) && PyByteArray_GET_SIZE(args[6]) == 1) {
597 else if (PyByteArray_Check(args[7]) && PyByteArray_GET_SIZE(args[7]) == 1) {
[all …]
/external/python/cpython3/Doc/c-api/
Dbytearray.rst25 .. c:function:: int PyByteArray_Check(PyObject *o)
/external/dtc/pylibfdt/
Dlibfdt.i1006 if (!PyByteArray_Check($input)) {
1017 if (!PyByteArray_Check($input)) {
/external/python/cpython3/Python/
Dgetargs.c916 else if (PyByteArray_Check(arg) && PyByteArray_Size(arg) == 1) in convertsimple()
1151 (PyBytes_Check(arg) || PyByteArray_Check(arg))) { in convertsimple()
1312 if (PyByteArray_Check(arg)) in convertsimple()
Dbltinmodule.c1781 else if (PyByteArray_Check(c)) { in builtin_ord()
2323 if (PyByteArray_Check(result)) { in builtin_sum_impl()
Dpythonrun.c1317 else if (PyByteArray_Check(cmd)) { in _Py_SourceAsString()
/external/python/cpython2/Modules/_io/
Dfileio.c264 if (PyBytes_Check(nameobj) || PyByteArray_Check(nameobj)) { in fileio_init()
/external/libnl/python/netlink/
Dcapi.i818 if (PyByteArray_Check($input)) {
/external/python/cpython3/Modules/
D_struct.c1796 if (!isstring && !PyByteArray_Check(v)) { in s_pack_internal()
1818 if (!isstring && !PyByteArray_Check(v)) { in s_pack_internal()
Darraymodule.c2623 || PyByteArray_Check(initial) in array_new()
2674 else if (initial != NULL && (PyByteArray_Check(initial) || in array_new()
Dpyexpat.c770 else if (PyByteArray_Check(str)) in readinst()
/external/python/cpython3/Modules/_ctypes/
Dcfield.c1141 if (PyByteArray_Check(value) && PyByteArray_GET_SIZE(value) == 1) { in c_set()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp342 return PyByteArray_Check(py_obj); in Check()
/external/python/cpython3/Doc/data/
Drefcounts.dat80 PyByteArray_Check:int:::
81 PyByteArray_Check:PyObject*:o:0:

12