Lines Matching refs:zPath

14462   const char *zPath,   in sqlite3OsOpen()  argument
14473 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f7f, pFlagsOut); in sqlite3OsOpen()
14477 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ in sqlite3OsDelete() argument
14478 return pVfs->xDelete(pVfs, zPath, dirSync); in sqlite3OsDelete()
14482 const char *zPath, in sqlite3OsAccess() argument
14487 return pVfs->xAccess(pVfs, zPath, flags, pResOut); in sqlite3OsAccess()
14491 const char *zPath, in sqlite3OsFullPathname() argument
14496 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut); in sqlite3OsFullPathname()
14499 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){ in sqlite3OsDlOpen() argument
14500 return pVfs->xDlOpen(pVfs, zPath); in sqlite3OsDlOpen()
24588 const char *zPath; /* Name of the file */
25582 const char *zPath, /* File path associated with error */
25623 if( zPath==0 ) zPath = "";
25626 iLine, iErrno, zFunc, zPath, zErr
25648 pFile ? pFile->zPath : 0, lineno);
27923 return unixLogError(SQLITE_IOERR_FSYNC, "full_fsync", pFile->zPath);
27932 OSTRACE(("DIRSYNC %s (have_fullfsync=%d fullsync=%d)\n", pFile->zPath,
27934 rc = osOpenDirectory(pFile->zPath, &dirfd);
27967 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
28058 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
28410 nShmFilename = 5 + (int)strlen(pDbFd->zPath);
28424 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
28425 sqlite3FileSuffix3(pDbFd->zPath, zShmFilename);
28441 zRO = sqlite3_uri_parameter(pDbFd->zPath, "readonly_shm");
29134 pNew->zPath = zFilename;
29381 static UnixUnusedFd *findReusableFd(const char *zPath, int flags){
29400 if( 0==osStat(zPath, &sStat) ){
29447 const char *zPath, /* Path of file (possibly) being created */
29470 nDb = sqlite3Strlen30(zPath) - 1;
29471 while( nDb>0 && zPath[nDb]!='-' ) nDb--;
29473 memcpy(zDb, zPath, nDb);
29511 const char *zPath, /* Pathname of file to be opened */
29549 const char *zName = zPath;
29647 zPath = zName;
29680 if( isAutoProxy && (zPath!=NULL) && (!noLock) && pVfs->xOpen ){
29689 if( statfs(zPath, &fsInfo) == -1 ){
29705 rc = fillInUnixFile(pVfs, fd, syncDir, pFile, zPath, noLock,
29723 rc = fillInUnixFile(pVfs, fd, syncDir, pFile, zPath, noLock,
29739 const char *zPath, /* Name of file to be deleted */
29745 if( osUnlink(zPath)==(-1) && errno!=ENOENT ){
29746 return unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath);
29751 rc = osOpenDirectory(zPath, &fd);
29759 rc = unixLogError(SQLITE_IOERR_DIR_FSYNC, "fsync", zPath);
29782 const char *zPath, /* Path of the file to examine */
29803 *pResOut = (osAccess(zPath, amode)==0);
29806 if( 0==osStat(zPath, &buf) && buf.st_size==0 ){
29825 const char *zPath, /* Possibly relative input path */
29841 if( zPath[0]=='/' ){
29842 sqlite3_snprintf(nOut, zOut, "%s", zPath);
29846 return unixLogError(SQLITE_CANTOPEN_BKPT, "getcwd", zPath);
29849 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
31671 const char *zPath; /* Full pathname of this file */
32197 const char *zPath, /* File path associated with error */
32207 if( zPath==0 ) zPath = "";
32212 iLine, iErrno, zFunc, zPath, zMsg
32621 winLogError(SQLITE_IOERR_SEEK, "seekWinFile", pFile->zPath);
32668 : winLogError(SQLITE_IOERR_CLOSE, "winClose", pFile->zPath);
32696 return winLogError(SQLITE_IOERR_READ, "winRead", pFile->zPath);
32755 return winLogError(SQLITE_IOERR_WRITE, "winWrite", pFile->zPath);
32785 rc = winLogError(SQLITE_IOERR_TRUNCATE, "winTruncate1", pFile->zPath);
32788 rc = winLogError(SQLITE_IOERR_TRUNCATE, "winTruncate2", pFile->zPath);
32859 return winLogError(SQLITE_IOERR_FSYNC, "winSync", pFile->zPath);
32880 return winLogError(SQLITE_IOERR_FSTAT, "winFileSize", pFile->zPath);
32940 winLogError(SQLITE_IOERR_UNLOCK, "unlockReadLock", pFile->zPath);
33141 rc = winLogError(SQLITE_IOERR_UNLOCK, "winUnlock", pFile->zPath);
33480 nName = sqlite3Strlen30(pDbFd->zPath);
33488 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
33489 sqlite3FileSuffix3(pDbFd->zPath, pNew->zFilename);
33532 rc = winLogError(SQLITE_IOERR_SHMOPEN, "winOpenShm", pDbFd->zPath);
33791 rc = winLogError(SQLITE_IOERR_SHMSIZE, "winShmMap1", pDbFd->zPath);
33805 rc = winLogError(SQLITE_IOERR_SHMSIZE, "winShmMap2", pDbFd->zPath);
33842 rc = winLogError(SQLITE_IOERR_SHMMAP, "winShmMap3", pDbFd->zPath);
34200 pFile->zPath = zName;
78399 char *zPath = 0;
78458 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
78467 rc = sqlite3BtreeOpen(pVfs, zPath, db, &aNew->pBt, 0, flags);
78468 sqlite3_free( zPath );