Lines Matching refs:openFlags
18047 unsigned int openFlags; /* Flags passed to sqlite3_vfs.xOpen() */ member
39123 int openFlags; /* The flags specified at open() */ member
45100 int openFlags = 0; /* Flags to pass to open() */ in unixOpen() local
45212 if( isReadonly ) openFlags |= O_RDONLY; in unixOpen()
45213 if( isReadWrite ) openFlags |= O_RDWR; in unixOpen()
45214 if( isCreate ) openFlags |= O_CREAT; in unixOpen()
45215 if( isExclusive ) openFlags |= (O_EXCL|O_NOFOLLOW); in unixOpen()
45216 openFlags |= (O_LARGEFILE|O_BINARY|O_NOFOLLOW); in unixOpen()
45228 fd = robust_open(zName, openFlags, openMode); in unixOpen()
45229 OSTRACE(("OPENX %-3d %s 0%o\n", fd, zName, openFlags)); in unixOpen()
45230 assert( !isExclusive || (openFlags & O_CREAT)!=0 ); in unixOpen()
45240 openFlags &= ~(O_RDWR|O_CREAT); in unixOpen()
45242 openFlags |= O_RDONLY; in unixOpen()
45249 fd = robust_open(zName, openFlags, openMode); in unixOpen()
45301 p->openFlags = openFlags; in unixOpen()
46065 int openFlags = O_RDWR | O_CREAT | O_NOFOLLOW; in proxyCreateUnixFile() local
46076 pUnused = findReusableFd(path, openFlags); in proxyCreateUnixFile()
46086 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
46090 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
46095 openFlags = O_RDONLY | O_NOFOLLOW; in proxyCreateUnixFile()
46096 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
46119 pNew->openFlags = openFlags; in proxyCreateUnixFile()
46124 pUnused->flags = openFlags; in proxyCreateUnixFile()
46238 conchFile->openFlags = O_RDWR | O_CREAT; in proxyBreakConchLock()
46415 if( (conchFile->openFlags&O_RDWR) == 0 ){ in proxyTakeConch()
46494 if( rc==SQLITE_OK && pFile->openFlags ){ in proxyTakeConch()
46500 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0); in proxyTakeConch()
46716 if( rc==SQLITE_CANTOPEN && ((pFile->openFlags&O_RDWR) == 0) ){ in proxyTransformUnixFile()
70946 u8 openFlags; /* Flags to sqlite3BtreeOpen() */ member
74240 pBt->openFlags = (u8)flags;
76326 if( (pBt->openFlags & BTREE_SINGLE)==0 ) return 0;
76372 if( (pBt->openFlags & BTREE_SINGLE) && pBt->pCursor==0 ){
81676 assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 );
81711 if( (pBt->openFlags & BTREE_SINGLE)==0
122285 flags = db->openFlags;
157309 saved_openFlags = db->openFlags;
157316 db->openFlags &= ~SQLITE_OPEN_READONLY;
157317 db->openFlags |= SQLITE_OPEN_CREATE|SQLITE_OPEN_READWRITE;
157358 db->openFlags = saved_openFlags;
186140 db->openFlags = flags;
221744 int openFlags; /* Flags this file was opened with */
225803 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
225839 assert( (p->openFlags & SQLITE_OPEN_MAIN_DB) );
225907 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
225915 else if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
225967 assert( p->openFlags & SQLITE_OPEN_WAL );
225971 && (p->openFlags & SQLITE_OPEN_WAL)
225985 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
226008 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
226033 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
226038 && (p->openFlags & SQLITE_OPEN_WAL)
226042 }else if( p->openFlags & SQLITE_OPEN_DELETEONCLOSE ){
226051 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
226067 if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
226080 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
226102 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
226117 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
226155 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB)
226156 || p->openFlags & (SQLITE_OPEN_TRANSIENT_DB|SQLITE_OPEN_TEMP_JOURNAL)
226231 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
226274 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
226331 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
226401 pFd->openFlags = flags;