Lines Matching refs:openFlags

18047   unsigned int openFlags;       /* Flags passed to sqlite3_vfs.xOpen() */  member
39122 int openFlags; /* The flags specified at open() */ member
45099 int openFlags = 0; /* Flags to pass to open() */ in unixOpen() local
45211 if( isReadonly ) openFlags |= O_RDONLY; in unixOpen()
45212 if( isReadWrite ) openFlags |= O_RDWR; in unixOpen()
45213 if( isCreate ) openFlags |= O_CREAT; in unixOpen()
45214 if( isExclusive ) openFlags |= (O_EXCL|O_NOFOLLOW); in unixOpen()
45215 openFlags |= (O_LARGEFILE|O_BINARY|O_NOFOLLOW); in unixOpen()
45227 fd = robust_open(zName, openFlags, openMode); in unixOpen()
45228 OSTRACE(("OPENX %-3d %s 0%o\n", fd, zName, openFlags)); in unixOpen()
45229 assert( !isExclusive || (openFlags & O_CREAT)!=0 ); in unixOpen()
45239 openFlags &= ~(O_RDWR|O_CREAT); in unixOpen()
45241 openFlags |= O_RDONLY; in unixOpen()
45248 fd = robust_open(zName, openFlags, openMode); in unixOpen()
45300 p->openFlags = openFlags; in unixOpen()
46064 int openFlags = O_RDWR | O_CREAT | O_NOFOLLOW; in proxyCreateUnixFile() local
46075 pUnused = findReusableFd(path, openFlags); in proxyCreateUnixFile()
46085 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
46089 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
46094 openFlags = O_RDONLY | O_NOFOLLOW; in proxyCreateUnixFile()
46095 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
46118 pNew->openFlags = openFlags; in proxyCreateUnixFile()
46123 pUnused->flags = openFlags; in proxyCreateUnixFile()
46237 conchFile->openFlags = O_RDWR | O_CREAT; in proxyBreakConchLock()
46414 if( (conchFile->openFlags&O_RDWR) == 0 ){ in proxyTakeConch()
46493 if( rc==SQLITE_OK && pFile->openFlags ){ in proxyTakeConch()
46499 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0); in proxyTakeConch()
46715 if( rc==SQLITE_CANTOPEN && ((pFile->openFlags&O_RDWR) == 0) ){ in proxyTransformUnixFile()
70945 u8 openFlags; /* Flags to sqlite3BtreeOpen() */ member
74239 pBt->openFlags = (u8)flags;
76325 if( (pBt->openFlags & BTREE_SINGLE)==0 ) return 0;
76371 if( (pBt->openFlags & BTREE_SINGLE) && pBt->pCursor==0 ){
81675 assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 );
81710 if( (pBt->openFlags & BTREE_SINGLE)==0
122259 flags = db->openFlags;
157283 saved_openFlags = db->openFlags;
157290 db->openFlags &= ~SQLITE_OPEN_READONLY;
157291 db->openFlags |= SQLITE_OPEN_CREATE|SQLITE_OPEN_READWRITE;
157332 db->openFlags = saved_openFlags;
186099 db->openFlags = flags;
221703 int openFlags; /* Flags this file was opened with */
225762 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
225798 assert( (p->openFlags & SQLITE_OPEN_MAIN_DB) );
225866 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
225874 else if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
225926 assert( p->openFlags & SQLITE_OPEN_WAL );
225930 && (p->openFlags & SQLITE_OPEN_WAL)
225944 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
225967 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
225992 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
225997 && (p->openFlags & SQLITE_OPEN_WAL)
226001 }else if( p->openFlags & SQLITE_OPEN_DELETEONCLOSE ){
226010 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
226026 if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
226039 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
226061 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
226076 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
226114 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB)
226115 || p->openFlags & (SQLITE_OPEN_TRANSIENT_DB|SQLITE_OPEN_TEMP_JOURNAL)
226190 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
226233 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
226290 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
226360 pFd->openFlags = flags;