Lines Matching refs:sqlite3_file
573 ** An [sqlite3_file] object represents an open file in the
581 typedef struct sqlite3_file sqlite3_file;
582 struct sqlite3_file {
590 ** [sqlite3_file] object (or, more commonly, a subclass of the
591 ** [sqlite3_file] object) with a pointer to an instance of this object.
593 ** against the open file represented by the [sqlite3_file] object.
595 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element
599 ** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element
679 int (*xClose)(sqlite3_file*);
680 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
681 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
682 int (*xTruncate)(sqlite3_file*, sqlite3_int64 size);
683 int (*xSync)(sqlite3_file*, int flags);
684 int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize);
685 int (*xLock)(sqlite3_file*, int);
686 int (*xUnlock)(sqlite3_file*, int);
687 int (*xCheckReservedLock)(sqlite3_file*, int *pResOut);
688 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
689 int (*xSectorSize)(sqlite3_file*);
690 int (*xDeviceCharacteristics)(sqlite3_file*);
692 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
693 int (*xShmLock)(sqlite3_file*, int offset, int n, int flags);
694 void (*xShmBarrier)(sqlite3_file*);
695 int (*xShmUnmap)(sqlite3_file*, int deleteFlag);
731 ** to the [sqlite3_file] object associated with a particular database
814 ** The szOsFile field is the size of the subclassed [sqlite3_file]
844 ** the [sqlite3_file] can safely store a pointer to the
903 ** to hold the [sqlite3_file] structure passed as the third
906 ** the xOpen method must set the sqlite3_file.pMethods to either
908 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
960 int szOsFile; /* Size of subclassed sqlite3_file */
965 int (*xOpen)(sqlite3_vfs*, const char *zName, sqlite3_file*,
5545 ** a pointer to the underlying [sqlite3_file] object to be written into