Searched refs:raw_buffer (Results 1 – 2 of 2) sorted by relevance
314 void* raw_buffer; in _pysqlite_fetch_one_row() local405 if (PyObject_AsWriteBuffer(buffer, &raw_buffer, &nbytes)) { in _pysqlite_fetch_one_row()408 memcpy(raw_buffer, sqlite3_column_blob(self->statement->st, i), nbytes); in _pysqlite_fetch_one_row()
585 void* raw_buffer; in _pysqlite_build_py_params() local618 if (PyObject_AsWriteBuffer(cur_py_value, &raw_buffer, &buflen)) { in _pysqlite_build_py_params()623 memcpy(raw_buffer, sqlite3_value_blob(cur_value), buflen); in _pysqlite_build_py_params()