Lines Matching defs:openFlags

17650   unsigned int openFlags;       /* Flags passed to sqlite3_vfs.xOpen() */
38638 int openFlags; /* The flags specified at open() */
44621 int openFlags = 0; /* Flags to pass to open() */
44733 if( isReadonly ) openFlags |= O_RDONLY;
44734 if( isReadWrite ) openFlags |= O_RDWR;
44735 if( isCreate ) openFlags |= O_CREAT;
44736 if( isExclusive ) openFlags |= (O_EXCL|O_NOFOLLOW);
44737 openFlags |= (O_LARGEFILE|O_BINARY|O_NOFOLLOW);
44749 fd = robust_open(zName, openFlags, openMode);
44750 OSTRACE(("OPENX %-3d %s 0%o\n", fd, zName, openFlags));
44751 assert( !isExclusive || (openFlags & O_CREAT)!=0 );
44761 openFlags &= ~(O_RDWR|O_CREAT);
44763 openFlags |= O_RDONLY;
44770 fd = robust_open(zName, openFlags, openMode);
44822 p->openFlags = openFlags;
45586 int openFlags = O_RDWR | O_CREAT | O_NOFOLLOW;
45597 pUnused = findReusableFd(path, openFlags);
45607 fd = robust_open(path, openFlags, 0);
45611 fd = robust_open(path, openFlags, 0);
45616 openFlags = O_RDONLY | O_NOFOLLOW;
45617 fd = robust_open(path, openFlags, 0);
45640 pNew->openFlags = openFlags;
45645 pUnused->flags = openFlags;
45759 conchFile->openFlags = O_RDWR | O_CREAT;
45936 if( (conchFile->openFlags&O_RDWR) == 0 ){
46015 if( rc==SQLITE_OK && pFile->openFlags ){
46021 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0);
46237 if( rc==SQLITE_CANTOPEN && ((pFile->openFlags&O_RDWR) == 0) ){
46241 ** that openFlags will have only one of O_RDONLY or O_RDWR.
69942 u8 openFlags; /* Flags to sqlite3BtreeOpen() */
73224 pBt->openFlags = (u8)flags;
75330 if( (pBt->openFlags & BTREE_SINGLE) && pBt->pCursor==0 ){
80623 assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 );
80658 if( (pBt->openFlags & BTREE_SINGLE)==0
120646 flags = db->openFlags;
155132 u32 saved_openFlags; /* Saved value of db->openFlags */
155150 saved_openFlags = db->openFlags;
155157 db->openFlags &= ~SQLITE_OPEN_READONLY;
155158 db->openFlags |= SQLITE_OPEN_CREATE|SQLITE_OPEN_READWRITE;
155197 db->openFlags = saved_openFlags;
183229 db->openFlags = flags;
218568 int openFlags; /* Flags this file was opened with */
222622 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
222658 assert( (p->openFlags & SQLITE_OPEN_MAIN_DB) );
222726 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
222734 else if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
222786 assert( p->openFlags & SQLITE_OPEN_WAL );
222790 && (p->openFlags & SQLITE_OPEN_WAL)
222804 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
222827 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
222852 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
222857 && (p->openFlags & SQLITE_OPEN_WAL)
222861 }else if( p->openFlags & SQLITE_OPEN_DELETEONCLOSE ){
222870 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
222886 if( (p->openFlags & SQLITE_OPEN_DELETEONCLOSE) && p->pRbu ){
222899 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
222921 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
222936 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
222974 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB)
222975 || p->openFlags & (SQLITE_OPEN_TRANSIENT_DB|SQLITE_OPEN_TEMP_JOURNAL)
223050 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
223093 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
223150 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
223220 pFd->openFlags = flags;