Searched refs:PyByteArray_Check (Results 1 – 25 of 28) sorted by relevance
12
35 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro48 (assert(PyByteArray_Check(self)), \50 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self))
38 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro52 (assert(PyByteArray_Check(self)), \54 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)), Py_SIZE(self))
376 if (!PyByteArray_Check($input)) {387 if (!PyByteArray_Check($input)) {
174 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()
501 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()
187 else if (PyByteArray_Check(v)) { in PyFloat_FromString()
4824 else if (PyByteArray_Check(x) || PyBytes_Check(x)) { in long_new_impl()4826 if (PyByteArray_Check(x)) in long_new_impl()
1409 if (PyByteArray_Check(o)) in PyNumber_Long()
229 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()
495 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()
1031 if (PyByteArray_Check(bb)) in string_concat()
26 .. c:function:: int PyByteArray_Check(PyObject *o)
25 .. c:function:: int PyByteArray_Check(PyObject *o)
391 if (!PyByteArray_Check($input)) {402 if (!PyByteArray_Check($input)) {
893 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()
741 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()
1756 if (!isstring && !PyByteArray_Check(v)) { in s_pack_internal()1778 if (!isstring && !PyByteArray_Check(v)) { in s_pack_internal()
2651 || PyByteArray_Check(initial) in array_new()2702 else if (initial != NULL && (PyByteArray_Check(initial) || in array_new()
779 else if (PyByteArray_Check(str)) in readinst()
3695 } else if (PyByteArray_Check(password)) { in _pwinfo_set()
264 if (PyBytes_Check(nameobj) || PyByteArray_Check(nameobj)) { in fileio_init()
1144 if (PyByteArray_Check(value) && PyByteArray_GET_SIZE(value) == 1) { in c_set()
80 PyByteArray_Check:int:::81 PyByteArray_Check:PyObject*:o:0:
1528 } else if (PyByteArray_Check(obj)) { in builtin_ord()
2651 } else if (PyByteArray_Check(password)) { in _pwinfo_set()