Lines Matching defs:data
27 "Read data at the current offset position.\n"
32 "If the end of the blob is reached, the data up to end of file will be returned.\n"
66 "write($self, data, /)\n"
69 "Write data at the current offset.\n"
78 blob_write_impl(pysqlite_Blob *self, Py_buffer *data);
84 Py_buffer data = {NULL, NULL};
86 if (PyObject_GetBuffer(arg, &data, PyBUF_SIMPLE) != 0) {
89 if (!PyBuffer_IsContiguous(&data, 'C')) {
93 return_value = blob_write_impl(self, &data);
96 /* Cleanup for data */
97 if (data.obj) {
98 PyBuffer_Release(&data);