Searched refs:oflags (Results 1 – 4 of 4) sorted by relevance
| /sqlite-3.40.0/src/ |
| H A D | test_demovfs.c | 417 int oflags = 0; /* flags to pass to open() call */ in demoOpen() local 431 if( flags&SQLITE_OPEN_EXCLUSIVE ) oflags |= O_EXCL; in demoOpen() 432 if( flags&SQLITE_OPEN_CREATE ) oflags |= O_CREAT; in demoOpen() 433 if( flags&SQLITE_OPEN_READONLY ) oflags |= O_RDONLY; in demoOpen() 434 if( flags&SQLITE_OPEN_READWRITE ) oflags |= O_RDWR; in demoOpen() 437 p->fd = open(zName, oflags, 0600); in demoOpen()
|
| /sqlite-3.40.0/ext/wasm/api/ |
| H A D | sqlite3-api-oo1.js | 145 let pDb, oflags = 0; 147 oflags |= capi.SQLITE_OPEN_CREATE | capi.SQLITE_OPEN_READWRITE; 149 if( flagsStr.indexOf('w')>=0 ) oflags |= capi.SQLITE_OPEN_READWRITE; 150 if( 0===oflags ) oflags |= capi.SQLITE_OPEN_READONLY; 151 oflags |= capi.SQLITE_OPEN_EXRESCODE; 155 let rc = capi.sqlite3_open_v2(fn, pPtr, oflags, vfsName || 0);
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_unix.c | 89 int oflags = (bReadonly ? O_RDONLY : (O_RDWR|O_CREAT)); in lsmPosixOsOpen() local 93 p->fd = open(zFile, oflags, 0644); in lsmPosixOsOpen()
|
| /sqlite-3.40.0/ext/rbu/ |
| H A D | sqlite3rbu.c | 5056 int oflags = flags; in rbuVfsOpen() local 5092 if( oflags & SQLITE_OPEN_MAIN_DB in rbuVfsOpen() 5095 assert( oflags & SQLITE_OPEN_MAIN_DB ); in rbuVfsOpen() 5096 oflags = SQLITE_OPEN_TEMP_DB | SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | in rbuVfsOpen() 5102 rc = pRealVfs->xOpen(pRealVfs, zOpen, pFd->pReal, oflags, pOutFlags); in rbuVfsOpen()
|