Lines Matching refs:PyObject_GetBuffer
99 if (PyObject_GetBuffer(obj, &view, PyBUF_FULL_RO) < 0) { in _PyByteArray_FromBufferObject()
262 if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 || in PyByteArray_Concat()
263 PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) { in PyByteArray_Concat()
305 if (PyObject_GetBuffer(other, &vo, PyBUF_SIMPLE) != 0) { in bytearray_iconcat()
560 if (PyObject_GetBuffer(values, &vbytes, PyBUF_SIMPLE) != 0) { in bytearray_setslice()
837 if (PyObject_GetBuffer(arg, &view, PyBUF_FULL_RO) < 0) in bytearray_init()
1033 if (PyObject_GetBuffer(self, &self_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare()
1039 if (PyObject_GetBuffer(other, &other_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare()
1284 } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) { in bytearray_translate_impl()
1297 if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) { in bytearray_translate_impl()
1437 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytearray_split_impl()
1548 if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0) in bytearray_rsplit_impl()
1891 if (PyObject_GetBuffer(bytes, &vbytes, PyBUF_SIMPLE) != 0) in bytearray_strip_impl()
1933 if (PyObject_GetBuffer(bytes, &vbytes, PyBUF_SIMPLE) != 0) in bytearray_lstrip_impl()
1972 if (PyObject_GetBuffer(bytes, &vbytes, PyBUF_SIMPLE) != 0) in bytearray_rstrip_impl()