Lines Matching refs:openFlags
16804 unsigned int openFlags; /* Flags passed to sqlite3_vfs.xOpen() */ member
33494 int openFlags; /* The flags specified at open() */
39413 int openFlags = 0; /* Flags to pass to open() */
39520 if( isReadonly ) openFlags |= O_RDONLY;
39521 if( isReadWrite ) openFlags |= O_RDWR;
39522 if( isCreate ) openFlags |= O_CREAT;
39523 if( isExclusive ) openFlags |= (O_EXCL|O_NOFOLLOW);
39524 openFlags |= (O_LARGEFILE|O_BINARY|O_NOFOLLOW);
39536 fd = robust_open(zName, openFlags, openMode);
39537 OSTRACE(("OPENX %-3d %s 0%o\n", fd, zName, openFlags));
39538 assert( !isExclusive || (openFlags & O_CREAT)!=0 );
39547 openFlags &= ~(O_RDWR|O_CREAT);
39549 openFlags |= O_RDONLY;
39551 fd = robust_open(zName, openFlags, openMode);
39602 p->openFlags = openFlags;
40352 int openFlags = O_RDWR | O_CREAT | O_NOFOLLOW;
40363 pUnused = findReusableFd(path, openFlags);
40373 fd = robust_open(path, openFlags, 0);
40377 fd = robust_open(path, openFlags, 0);
40382 openFlags = O_RDONLY | O_NOFOLLOW;
40383 fd = robust_open(path, openFlags, 0);
40406 pNew->openFlags = openFlags;
40411 pUnused->flags = openFlags;
40525 conchFile->openFlags = O_RDWR | O_CREAT;
40702 if( (conchFile->openFlags&O_RDWR) == 0 ){
40781 if( rc==SQLITE_OK && pFile->openFlags ){
40787 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0);
41003 if( rc==SQLITE_CANTOPEN && ((pFile->openFlags&O_RDWR) == 0) ){
63731 u8 openFlags; /* Flags to sqlite3BtreeOpen() */
66813 pBt->openFlags = (u8)flags;
73556 assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 );
109308 flags = db->openFlags;
138555 saved_openFlags = db->openFlags;
138562 db->openFlags &= ~SQLITE_OPEN_READONLY;
138563 db->openFlags |= SQLITE_OPEN_CREATE|SQLITE_OPEN_READWRITE;
138602 db->openFlags = saved_openFlags;
163423 db->openFlags = flags;
195400 int openFlags; /* Flags this file was opened with */
199365 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
199401 assert( (p->openFlags & SQLITE_OPEN_MAIN_DB) );
199469 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
199474 else if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
199526 assert( p->openFlags & SQLITE_OPEN_WAL );
199530 && (p->openFlags & SQLITE_OPEN_WAL)
199544 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
199567 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
199592 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
199597 && (p->openFlags & SQLITE_OPEN_WAL)
199601 }else if( p->openFlags & SQLITE_OPEN_DELETEONCLOSE ){
199610 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
199626 if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
199639 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
199661 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
199676 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
199714 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB)
199715 || p->openFlags & (SQLITE_OPEN_TRANSIENT_DB|SQLITE_OPEN_TEMP_JOURNAL)
199790 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
199831 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
199888 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
199939 pFd->openFlags = flags;