Lines Matching full:openflags
8936 int openFlags; /* Flags passed to sqlite3_vfs.xOpen() */
23007 int openFlags; /* The flags specified at open() */
27592 int openFlags = 0; /* Flags to pass to open() */
27676 openFlags |= O_RDONLY;
27677 if( isReadWrite ) openFlags |= O_RDWR;
27678 if( isCreate ) openFlags |= O_CREAT;
27679 if( isExclusive ) openFlags |= (O_EXCL|O_NOFOLLOW);
27680 openFlags |= (O_LARGEFILE|O_BINARY);
27690 fd = open(zName, openFlags, openMode);
27691 OSTRACE(("OPENX %-3d %s 0%o\n", fd, zName, openFlags));
27695 openFlags &= ~(O_RDWR|O_CREAT);
27697 openFlags |= O_RDONLY;
27698 fd = open(zName, openFlags, openMode);
27724 p->openFlags = openFlags;
28415 int openFlags = O_RDWR | O_CREAT;
28426 pUnused = findReusableFd(path, openFlags);
28436 fd = open(path, openFlags, SQLITE_DEFAULT_FILE_PERMISSIONS);
28440 fd = open(path, openFlags, SQLITE_DEFAULT_FILE_PERMISSIONS);
28445 openFlags = O_RDONLY;
28446 fd = open(path, openFlags, SQLITE_DEFAULT_FILE_PERMISSIONS);
28469 pNew->openFlags = openFlags;
28472 pUnused->flags = openFlags;
28582 conchFile->openFlags = O_RDWR | O_CREAT;
28757 if( (conchFile->openFlags&O_RDWR) == 0 ){
28836 if( rc==SQLITE_OK && pFile->openFlags ){
28848 int fd = open(pCtx->dbPath, pFile->openFlags,
29064 if( rc==SQLITE_CANTOPEN && ((pFile->openFlags&O_RDWR) == 0) ){
29068 ** that openFlags will have only one of O_RDONLY or O_RDWR.
44788 u8 openFlags; /* Flags to sqlite3BtreeOpen() */
47198 pBt->openFlags = (u8)flags;
52399 assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 );
74193 db->openFlags | SQLITE_OPEN_MAIN_DB);
106681 db->openFlags = flags;