Lines Matching full:sqlite3_vfs
1015 ** [sqlite3_vfs] object.
1116 ** [sqlite3_vfs | OS interface layer]. Individual OS interface
1131 ** Every file opened by the [sqlite3_vfs] xOpen method populates an
1293 ** An instance of the sqlite3_vfs object defines the interface between
1300 ** of the sqlite3_vfs object changes in the transaction between
1308 ** Registered sqlite3_vfs objects are kept on a linked list formed by
1315 ** The pNext field is the only field in the sqlite3_vfs
1318 ** The application should never modify anything within the sqlite3_vfs
1432 typedef struct sqlite3_vfs sqlite3_vfs;
1433 struct sqlite3_vfs {
1437 sqlite3_vfs *pNext; /* Next registered VFS */
1440 int (*xOpen)(sqlite3_vfs*, const char *zName, sqlite3_file*,
1442 int (*xDelete)(sqlite3_vfs*, const char *zName, int syncDir);
1443 int (*xAccess)(sqlite3_vfs*, const char *zName, int flags, int *pResOut);
1444 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
1445 void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename);
1446 void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg);
1447 void (*(*xDlSym)(sqlite3_vfs*,void*, const char *zSymbol))(void);
1448 void (*xDlClose)(sqlite3_vfs*, void*);
1449 int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
1450 int (*xSleep)(sqlite3_vfs*, int microseconds);
1451 int (*xCurrentTime)(sqlite3_vfs*, double*);
1452 int (*xGetLastError)(sqlite3_vfs*, int, char *);
1457 int (*xCurrentTimeInt64)(sqlite3_vfs*, sqlite3_int64*);
1469 ** the xAccess method of an [sqlite3_vfs] object. They determine
1584 ** setting up a default [sqlite3_vfs] module, or setting up
2591 ** from the xRandomness method of the default [sqlite3_vfs] object.
2593 ** internally and without recourse to the [sqlite3_vfs] xRandomness
2890 ** [sqlite3_vfs] object that defines the operating system interface that
2892 ** a NULL pointer then the default [sqlite3_vfs] object is used.
4556 ** method of the default [sqlite3_vfs] object. If the xSleep() method
4568 ** created by SQLite when using a built-in [sqlite3_vfs | VFS]
5508 ** A virtual filesystem (VFS) is an [sqlite3_vfs] object
5534 SQLITE_API sqlite3_vfs *sqlite3_vfs_find(const char *zVfsName);
5535 SQLITE_API int sqlite3_vfs_register(sqlite3_vfs*, int makeDflt);
5536 SQLITE_API int sqlite3_vfs_unregister(sqlite3_vfs*);
8183 sqlite3_vfs*,
8245 SQLITE_PRIVATE const sqlite3_vfs *sqlite3PagerVfs(Pager*);
8696 ** Functions for accessing sqlite3_vfs methods
8698 SQLITE_PRIVATE int sqlite3OsOpen(sqlite3_vfs *, const char *, sqlite3_file*, int, int *);
8699 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *, const char *, int);
8700 SQLITE_PRIVATE int sqlite3OsAccess(sqlite3_vfs *, const char *, int, int *pResOut);
8701 SQLITE_PRIVATE int sqlite3OsFullPathname(sqlite3_vfs *, const char *, int, char *);
8703 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *, const char *);
8704 SQLITE_PRIVATE void sqlite3OsDlError(sqlite3_vfs *, int, char *);
8705 SQLITE_PRIVATE void (*sqlite3OsDlSym(sqlite3_vfs *, void *, const char *))(void);
8706 SQLITE_PRIVATE void sqlite3OsDlClose(sqlite3_vfs *, void *);
8708 SQLITE_PRIVATE int sqlite3OsRandomness(sqlite3_vfs *, int, char *);
8709 SQLITE_PRIVATE int sqlite3OsSleep(sqlite3_vfs *, int);
8710 SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64(sqlite3_vfs *, sqlite3_int64*);
8716 SQLITE_PRIVATE int sqlite3OsOpenMalloc(sqlite3_vfs *, const char *, sqlite3_file **, int,int*);
8932 sqlite3_vfs *pVfs; /* OS Interface */
8936 int openFlags; /* Flags passed to sqlite3_vfs.xOpen() */
11245 SQLITE_PRIVATE int sqlite3JournalOpen(sqlite3_vfs *, const char *, sqlite3_file *, int, int);
11246 SQLITE_PRIVATE int sqlite3JournalSize(sqlite3_vfs *);
13725 ** The default SQLite sqlite3_vfs implementations do not allocate
13831 sqlite3_vfs *pVfs,
13847 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){
13851 sqlite3_vfs *pVfs,
13860 sqlite3_vfs *pVfs,
13869 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){
13872 SQLITE_PRIVATE void sqlite3OsDlError(sqlite3_vfs *pVfs, int nByte, char *zBufOut){
13875 SQLITE_PRIVATE void (*sqlite3OsDlSym(sqlite3_vfs *pVfs, void *pHdle, const char *zSym))(void){
13878 SQLITE_PRIVATE void sqlite3OsDlClose(sqlite3_vfs *pVfs, void *pHandle){
13882 SQLITE_PRIVATE int sqlite3OsRandomness(sqlite3_vfs *pVfs, int nByte, char *zBufOut){
13885 SQLITE_PRIVATE int sqlite3OsSleep(sqlite3_vfs *pVfs, int nMicro){
13888 SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *pTimeOut){
13907 sqlite3_vfs *pVfs,
13950 static sqlite3_vfs * SQLITE_WSD vfsList = 0;
13951 #define vfsList GLOBAL(sqlite3_vfs *, vfsList)
13957 SQLITE_API sqlite3_vfs *sqlite3_vfs_find(const char *zVfs){
13958 sqlite3_vfs *pVfs = 0;
13981 static void vfsUnlink(sqlite3_vfs *pVfs){
13988 sqlite3_vfs *p = vfsList;
14003 SQLITE_API int sqlite3_vfs_register(sqlite3_vfs *pVfs, int makeDflt){
14027 SQLITE_API int sqlite3_vfs_unregister(sqlite3_vfs *pVfs){
22393 sqlite3_vfs *pVfs, /* Pointer to vfs object */
22415 sqlite3_vfs *pVfs, /* Not used */
22531 sqlite3_vfs *pVfs, /* Not used on os2 */
22548 sqlite3_vfs *pVfs, /* Not used on os2 */
22590 static void *os2DlOpen(sqlite3_vfs *pVfs, const char *zFilename){
22603 static void os2DlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){
22606 static void *os2DlSym(sqlite3_vfs *pVfs, void *pHandle, const char *zSymbol){
22620 static void os2DlClose(sqlite3_vfs *pVfs, void *pHandle){
22634 static int os2Randomness(sqlite3_vfs *pVfs, int nBuf, char *zBuf ){
22701 static int os2Sleep( sqlite3_vfs *pVfs, int microsec ){
22719 int os2CurrentTime( sqlite3_vfs *pVfs, double *prNow ){
22754 static int os2GetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
22762 static sqlite3_vfs os2Vfs = {
22836 ** * sqlite3_vfs method implementations.
22838 ** * Definitions of sqlite3_vfs objects for all locking methods
26872 ** field of the sqlite3_vfs VFS objects are initialized to be pointers to
27146 **************************** sqlite3_vfs methods ****************************
27149 ** sqlite3_vfs object.
27156 sqlite3_vfs *pVfs, /* Pointer to vfs object */
27583 sqlite3_vfs *pVfs, /* The VFS for which this is the xOpen method */
27825 sqlite3_vfs *NotUsed, /* VFS containing this as the xDelete method */
27868 sqlite3_vfs *NotUsed, /* The VFS containing this xAccess method */
27906 ** zOut points to a buffer of at least sqlite3_vfs.mxPathname bytes
27911 sqlite3_vfs *pVfs, /* Pointer to vfs object */
27948 static void *unixDlOpen(sqlite3_vfs *NotUsed, const char *zFilename){
27960 static void unixDlError(sqlite3_vfs *NotUsed, int nBuf, char *zBufOut){
27970 static void (*unixDlSym(sqlite3_vfs *NotUsed, void *p, const char*zSym))(void){
27993 static void unixDlClose(sqlite3_vfs *NotUsed, void *pHandle){
28007 static int unixRandomness(sqlite3_vfs *NotUsed, int nBuf, char *zBuf){
28054 static int unixSleep(sqlite3_vfs *NotUsed, int microseconds){
28093 static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
28123 static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){
28138 static int unixGetLastError(sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3){
28147 ************************ End of sqlite3_vfs methods ***************************
28416 sqlite3_vfs dummyVfs;
29339 ** The following macro defines an initializer for an sqlite3_vfs object.
29383 ** Note that the sqlite3_vfs.pNext field of the VFS object is modified
29387 static sqlite3_vfs aVfs[] = {
29413 for(i=0; i<(sizeof(aVfs)/sizeof(sqlite3_vfs)); i++){
29740 sqlite3_vfs *pVfs; /* The VFS used to open this file */
29762 sqlite3_vfs *pVfs,
31015 static int winOpen(sqlite3_vfs*,const char*,sqlite3_file*,int,int*);
31016 static int winDelete(sqlite3_vfs *,const char*,int);
31024 static void winShmPurge(sqlite3_vfs *pVfs, int deleteFlag){
31508 **************************** sqlite3_vfs methods ****************************
31511 ** sqlite3_vfs object.
31674 sqlite3_vfs *pVfs, /* Not used */
31901 sqlite3_vfs *pVfs, /* Not used on win32 */
31951 sqlite3_vfs *pVfs, /* Not used on win32 */
32022 sqlite3_vfs *pVfs, /* Pointer to vfs object */
32102 sqlite3_vfs *pVfs,
32176 static void *winDlOpen(sqlite3_vfs *pVfs, const char *zFilename){
32197 static void winDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){
32201 void (*winDlSym(sqlite3_vfs *pVfs, void *pHandle, const char *zSymbol))(void){
32212 void winDlClose(sqlite3_vfs *pVfs, void *pHandle){
32227 static int winRandomness(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
32264 static int winSleep(sqlite3_vfs *pVfs, int microsec){
32288 static int winCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *piNow){
32330 int winCurrentTime(sqlite3_vfs *pVfs, double *prNow){
32361 ** int xGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
32370 static int winGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
32381 static sqlite3_vfs winVfs = {
34767 SQLITE_PRIVATE int sqlite3WalOpen(sqlite3_vfs*, sqlite3_file*, const char *zName, int, Wal**);
35422 sqlite3_vfs *pVfs; /* OS functions to use for IO */
35475 u32 vfsFlags; /* Flags for sqlite3_vfs.xOpen() */
35997 ** the caller. This should be sqlite3_vfs.mxPathname+1 (to ensure there is
37173 sqlite3_vfs *pVfs = pPager->pVfs;
37400 sqlite3_vfs *pVfs = pPager->pVfs;
39073 sqlite3_vfs *pVfs, /* The virtual file system to use */
39078 int vfsFlags, /* flags passed through to sqlite3_vfs.xOpen() */
39366 sqlite3_vfs * const pVfs = pPager->pVfs;
39553 sqlite3_vfs * const pVfs = pPager->pVfs;
39912 sqlite3_vfs * const pVfs = pPager->pVfs; /* Local cache of vfs pointer */
40996 SQLITE_PRIVATE const sqlite3_vfs *sqlite3PagerVfs(Pager *pPager){
41994 sqlite3_vfs *pVfs; /* The VFS used to create pDbFd */
42816 sqlite3_vfs *pVfs, /* vfs module to open wal and wal-index */
47064 int vfsFlags /* Flags passed through to sqlite3_vfs.xOpen() */
47066 sqlite3_vfs *pVfs; /* The VFS to use for this btree */
57035 sqlite3_vfs *pVfs = db->pVfs;
67007 sqlite3_vfs *pVfs; /* The "real" underlying VFS */
67162 sqlite3_vfs *pVfs, /* The VFS to use for actual file I/O */
67201 SQLITE_PRIVATE int sqlite3JournalSize(sqlite3_vfs *pVfs){
67276 ** of the sqlite3_vfs.xRead method.
84607 sqlite3_vfs *(*vfs_find)(const char*);
84608 int (*vfs_register)(sqlite3_vfs*,int);
84609 int (*vfs_unregister)(sqlite3_vfs*);
85219 sqlite3_vfs *pVfs = db->pVfs;
107148 sqlite3_vfs *pVfs;