Lines Matching refs:sqlite3_file
617 ** An [sqlite3_file] object represents an open file in the
625 typedef struct sqlite3_file sqlite3_file;
626 struct sqlite3_file {
634 ** [sqlite3_file] object (or, more commonly, a subclass of the
635 ** [sqlite3_file] object) with a pointer to an instance of this object.
637 ** against the open file represented by the [sqlite3_file] object.
639 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element
643 ** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element
723 int (*xClose)(sqlite3_file*);
724 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
725 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
726 int (*xTruncate)(sqlite3_file*, sqlite3_int64 size);
727 int (*xSync)(sqlite3_file*, int flags);
728 int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize);
729 int (*xLock)(sqlite3_file*, int);
730 int (*xUnlock)(sqlite3_file*, int);
731 int (*xCheckReservedLock)(sqlite3_file*, int *pResOut);
732 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
733 int (*xSectorSize)(sqlite3_file*);
734 int (*xDeviceCharacteristics)(sqlite3_file*);
736 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
737 int (*xShmLock)(sqlite3_file*, int offset, int n, int flags);
738 void (*xShmBarrier)(sqlite3_file*);
739 int (*xShmUnmap)(sqlite3_file*, int deleteFlag);
741 int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
742 int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p);
781 ** to the [sqlite3_file] object associated with a particular database
858 ** file control is sent to the open [sqlite3_file] object corresponding
957 ** The szOsFile field is the size of the subclassed [sqlite3_file]
987 ** the [sqlite3_file] can safely store a pointer to the
1046 ** to hold the [sqlite3_file] structure passed as the third
1049 ** the xOpen method must set the sqlite3_file.pMethods to either
1051 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
1103 int szOsFile; /* Size of subclassed sqlite3_file */
1108 int (*xOpen)(sqlite3_vfs*, const char *zName, sqlite3_file*,
5939 ** a pointer to the underlying [sqlite3_file] object to be written into