Searched refs:PyByteArray_Check (Results 1 – 24 of 24) sorted by relevance
89 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()
100 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 …]
24 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) macro
18 (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
155 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()
495 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()
221 else if (PyByteArray_Check(v)) { in PyFloat_FromString()
5384 else if (PyByteArray_Check(x) || PyBytes_Check(x)) { in long_new_impl()5386 if (PyByteArray_Check(x)) in long_new_impl()
1609 if (PyByteArray_Check(o)) in PyNumber_Long()
3891 if (PyByteArray_Check(v)) { in PyUnicode_AsEncodedString()
344 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()
222 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 …]
25 .. c:function:: int PyByteArray_Check(PyObject *o)
149 if (!PyByteArray_Check(a)) { in byte_array_object_converter_impl()
1833 if (!isstring && !PyByteArray_Check(v)) { in s_pack_internal()1855 if (!isstring && !PyByteArray_Check(v)) { in s_pack_internal()
2649 || PyByteArray_Check(initial) in array_new()2700 else if (initial != NULL && (PyByteArray_Check(initial) || in array_new()
784 else if (PyByteArray_Check(str)) in readinst()
3760 } else if (PyByteArray_Check(password)) { in _pwinfo_set()
1636 else if (PyByteArray_Check(obj)) { in idna_converter()
859 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()
1926 else if (PyByteArray_Check(c)) { in builtin_ord()2478 if (PyByteArray_Check(result)) { in builtin_sum_impl()
1839 else if (PyByteArray_Check(cmd)) { in _Py_SourceAsString()
1114 if (PyByteArray_Check(value) && PyByteArray_GET_SIZE(value) == 1) { in c_set()
80 PyByteArray_Check:int:::81 PyByteArray_Check:PyObject*:o:0: