Lines Matching refs:zPath
15649 const char *zPath, in sqlite3OsOpen() argument
15660 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f7f, pFlagsOut); in sqlite3OsOpen()
15664 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ in sqlite3OsDelete() argument
15667 return pVfs->xDelete(pVfs, zPath, dirSync); in sqlite3OsDelete()
15671 const char *zPath, in sqlite3OsAccess() argument
15676 return pVfs->xAccess(pVfs, zPath, flags, pResOut); in sqlite3OsAccess()
15680 const char *zPath, in sqlite3OsFullPathname() argument
15686 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut); in sqlite3OsFullPathname()
15689 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){ in sqlite3OsDlOpen() argument
15690 return pVfs->xDlOpen(pVfs, zPath); in sqlite3OsDlOpen()
23602 const char *zPath; /* Name of the file */ member
24712 const char *zPath, /* File path associated with error */
24752 if( zPath==0 ) zPath = "";
24755 iLine, iErrno, zFunc, zPath, zErr
24777 pFile ? pFile->zPath : 0, lineno);
24922 (osStat(pFile->zPath, &buf)!=0 || buf.st_ino!=pFile->pInode->fileId.ino);
24945 sqlite3_log(SQLITE_WARNING, "cannot fstat db file %s", pFile->zPath);
24950 sqlite3_log(SQLITE_WARNING, "file unlinked while open: %s", pFile->zPath);
24955 sqlite3_log(SQLITE_WARNING, "multiple links to file: %s", pFile->zPath);
24960 sqlite3_log(SQLITE_WARNING, "file renamed while open: %s", pFile->zPath);
27169 return unixLogError(SQLITE_IOERR_FSYNC, "full_fsync", pFile->zPath);
27178 OSTRACE(("DIRSYNC %s (have_fullfsync=%d fullsync=%d)\n", pFile->zPath,
27180 rc = osOpenDirectory(pFile->zPath, &dirfd);
27213 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
27314 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
27332 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
27827 nShmFilename = 6 + (int)strlen(pDbFd->zPath);
27841 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
27842 sqlite3FileSuffix3(pDbFd->zPath, zShmFilename);
27855 if( sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){
28341 unixLogError(SQLITE_OK, zErr, pFd->zPath);
28796 pNew->zPath = zFilename;
29047 static UnixUnusedFd *findReusableFd(const char *zPath, int flags){
29066 if( 0==osStat(zPath, &sStat) ){
29111 const char *zPath, /* Path of file (possibly) being created */
29138 nDb = sqlite3Strlen30(zPath) - 1;
29140 while( nDb>0 && sqlite3Isalnum(zPath[nDb]) ) nDb--;
29141 if( nDb==0 || zPath[nDb]!='-' ) return SQLITE_OK;
29143 while( zPath[nDb]!='-' ){
29145 assert( zPath[nDb]!='\n' );
29149 memcpy(zDb, zPath, nDb);
29189 const char *zPath, /* Pathname of file to be opened */
29228 const char *zName = zPath;
29356 zPath = zName;
29392 if( isAutoProxy && (zPath!=NULL) && (!noLock) && pVfs->xOpen ){
29401 if( statfs(zPath, &fsInfo) == -1 ){
29417 rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags);
29434 rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags);
29450 const char *zPath, /* Name of file to be deleted */
29456 if( osUnlink(zPath)==(-1) ){
29460 rc = unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath);
29467 rc = osOpenDirectory(zPath, &fd);
29475 rc = unixLogError(SQLITE_IOERR_DIR_FSYNC, "fsync", zPath);
29498 const char *zPath, /* Path of the file to examine */
29519 *pResOut = (osAccess(zPath, amode)==0);
29522 if( 0==osStat(zPath, &buf) && buf.st_size==0 ){
29541 const char *zPath, /* Possibly relative input path */
29557 if( zPath[0]=='/' ){
29558 sqlite3_snprintf(nOut, zOut, "%s", zPath);
29562 return unixLogError(SQLITE_CANTOPEN_BKPT, "getcwd", zPath);
29565 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
31533 const char *zPath; /* Full pathname of this file */
33084 const char *zPath, /* File path associated with error */
33093 if( zPath==0 ) zPath = "";
33098 iLine, lastErrno, zFunc, zPath, zMsg
33575 "winSeekFile", pFile->zPath);
33596 "winSeekFile", pFile->zPath);
33664 "winClose", pFile->zPath);
33728 "winRead", pFile->zPath);
33835 "winWrite1", pFile->zPath);
33839 "winWrite2", pFile->zPath);
33872 "winTruncate1", pFile->zPath);
33877 "winTruncate2", pFile->zPath);
33963 "winSync", pFile->zPath);
33989 "winFileSize", pFile->zPath);
34004 "winFileSize", pFile->zPath);
34099 "winUnlockReadLock", pFile->zPath);
34312 "winUnlock", pFile->zPath);
34711 nName = sqlite3Strlen30(pDbFd->zPath);
34718 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
34719 sqlite3FileSuffix3(pDbFd->zPath, pNew->zFilename);
34762 "winOpenShm", pDbFd->zPath);
35022 "winShmMap1", pDbFd->zPath);
35037 "winShmMap2", pDbFd->zPath);
35091 "winShmMap3", pDbFd->zPath);
35139 "winUnmapfile1", pFile->zPath);
35151 "winUnmapfile2", pFile->zPath);
35226 "winMapfile1", pFd->zPath);
35244 "winMapfile2", pFd->zPath);
35976 pFile->zPath = zName;
83383 char *zPath = 0;
83442 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
83451 rc = sqlite3BtreeOpen(pVfs, zPath, db, &aNew->pBt, 0, flags);
83452 sqlite3_free( zPath );