Lines Matching refs:PyBufferObject
15 } PyBufferObject; typedef
26 get_buf(PyBufferObject *self, void **ptr, Py_ssize_t *size, in get_buf()
102 PyBufferObject * b; in buffer_from_memory()
115 b = PyObject_NEW(PyBufferObject, &PyBuffer_Type); in buffer_from_memory()
138 if ( PyBuffer_Check(base) && (((PyBufferObject *)base)->b_base) ) { in buffer_from_object()
140 PyBufferObject *b = (PyBufferObject *)base; in buffer_from_object()
203 PyBufferObject * b; in PyBuffer_New()
218 b = (PyBufferObject *) PyObject_INIT(o, &PyBuffer_Type); in PyBuffer_New()
260 buffer_dealloc(PyBufferObject *self) in buffer_dealloc()
267 buffer_compare(PyBufferObject *self, PyBufferObject *other) in buffer_compare()
287 buffer_repr(PyBufferObject *self) in buffer_repr()
308 buffer_hash(PyBufferObject *self) in buffer_hash()
358 buffer_str(PyBufferObject *self) in buffer_str()
370 buffer_length(PyBufferObject *self) in buffer_length()
380 buffer_concat(PyBufferObject *self, PyObject *other) in buffer_concat()
432 buffer_repeat(PyBufferObject *self, Py_ssize_t count) in buffer_repeat()
475 buffer_item(PyBufferObject *self, Py_ssize_t idx) in buffer_item()
485 buffer_slice(PyBufferObject *self, Py_ssize_t left, Py_ssize_t right) in buffer_slice()
504 buffer_subscript(PyBufferObject *self, PyObject *item) in buffer_subscript()
603 buffer_ass_item(PyBufferObject *self, Py_ssize_t idx, PyObject *other) in buffer_ass_item()
620 buffer_ass_slice(PyBufferObject *self, Py_ssize_t left, Py_ssize_t right, PyObject *other) in buffer_ass_slice()
678 buffer_ass_subscript(PyBufferObject *self, PyObject *item, PyObject *value) in buffer_ass_subscript()
762 buffer_getreadbuf(PyBufferObject *self, Py_ssize_t idx, void **pp) in buffer_getreadbuf()
776 buffer_getwritebuf(PyBufferObject *self, Py_ssize_t idx, void **pp) in buffer_getwritebuf()
797 buffer_getsegcount(PyBufferObject *self, Py_ssize_t *lenp) in buffer_getsegcount()
809 buffer_getcharbuf(PyBufferObject *self, Py_ssize_t idx, const char **pp) in buffer_getcharbuf()
824 static int buffer_getbuffer(PyBufferObject *self, Py_buffer *buf, int flags) in buffer_getbuffer()
861 sizeof(PyBufferObject),