Lines Matching refs:openFlags
16476 unsigned int openFlags; /* Flags passed to sqlite3_vfs.xOpen() */ member
34478 int openFlags; /* The flags specified at open() */
40310 int openFlags = 0; /* Flags to pass to open() */
40422 if( isReadonly ) openFlags |= O_RDONLY;
40423 if( isReadWrite ) openFlags |= O_RDWR;
40424 if( isCreate ) openFlags |= O_CREAT;
40425 if( isExclusive ) openFlags |= (O_EXCL|O_NOFOLLOW);
40426 openFlags |= (O_LARGEFILE|O_BINARY|O_NOFOLLOW);
40438 fd = robust_open(zName, openFlags, openMode);
40439 OSTRACE(("OPENX %-3d %s 0%o\n", fd, zName, openFlags));
40440 assert( !isExclusive || (openFlags & O_CREAT)!=0 );
40449 openFlags &= ~(O_RDWR|O_CREAT);
40451 openFlags |= O_RDONLY;
40453 fd = robust_open(zName, openFlags, openMode);
40504 p->openFlags = openFlags;
41311 int openFlags = O_RDWR | O_CREAT | O_NOFOLLOW;
41322 pUnused = findReusableFd(path, openFlags);
41332 fd = robust_open(path, openFlags, 0);
41336 fd = robust_open(path, openFlags, 0);
41341 openFlags = O_RDONLY | O_NOFOLLOW;
41342 fd = robust_open(path, openFlags, 0);
41365 pNew->openFlags = openFlags;
41370 pUnused->flags = openFlags;
41484 conchFile->openFlags = O_RDWR | O_CREAT;
41661 if( (conchFile->openFlags&O_RDWR) == 0 ){
41740 if( rc==SQLITE_OK && pFile->openFlags ){
41746 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0);
41962 if( rc==SQLITE_CANTOPEN && ((pFile->openFlags&O_RDWR) == 0) ){
64977 u8 openFlags; /* Flags to sqlite3BtreeOpen() */
68089 pBt->openFlags = (u8)flags;
70146 if( (pBt->openFlags & BTREE_SINGLE) && pBt->pCursor==0 ){
75125 assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 );
75160 if( (pBt->openFlags & BTREE_SINGLE)==0
112317 flags = db->openFlags;
144238 saved_openFlags = db->openFlags;
144245 db->openFlags &= ~SQLITE_OPEN_READONLY;
144246 db->openFlags |= SQLITE_OPEN_CREATE|SQLITE_OPEN_READWRITE;
144285 db->openFlags = saved_openFlags;
169942 db->openFlags = flags;
202229 int openFlags; /* Flags this file was opened with */
206241 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
206277 assert( (p->openFlags & SQLITE_OPEN_MAIN_DB) );
206345 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
206350 else if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
206402 assert( p->openFlags & SQLITE_OPEN_WAL );
206406 && (p->openFlags & SQLITE_OPEN_WAL)
206420 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
206443 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
206468 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
206473 && (p->openFlags & SQLITE_OPEN_WAL)
206477 }else if( p->openFlags & SQLITE_OPEN_DELETEONCLOSE ){
206486 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
206502 if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
206515 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
206537 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
206552 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
206590 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB)
206591 || p->openFlags & (SQLITE_OPEN_TRANSIENT_DB|SQLITE_OPEN_TEMP_JOURNAL)
206666 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
206709 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
206766 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
206817 pFd->openFlags = flags;