Lines Matching refs:zPath

14087   const char *zPath, 
14098 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f3f, pFlagsOut);
14102 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){
14103 return pVfs->xDelete(pVfs, zPath, dirSync);
14107 const char *zPath,
14112 return pVfs->xAccess(pVfs, zPath, flags, pResOut);
14116 const char *zPath,
14121 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
14124 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){
14125 return pVfs->xDlOpen(pVfs, zPath);
24163 const char *zPath; /* Name of the file */
25135 const char *zPath, /* File path associated with error */
25176 if( zPath==0 ) zPath = "";
25179 iLine, iErrno, zFunc, zPath, zErr
25201 pFile ? pFile->zPath : 0, lineno);
27471 return unixLogError(SQLITE_IOERR_FSYNC, "full_fsync", pFile->zPath);
27480 OSTRACE(("DIRSYNC %s (have_fullfsync=%d fullsync=%d)\n", pFile->zPath,
27482 rc = osOpenDirectory(pFile->zPath, &dirfd);
27515 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
27608 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
27945 nShmFilename = 5 + (int)strlen(pDbFd->zPath);
27959 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
28664 pNew->zPath = zFilename;
28898 ** zPath with SQLITE_OPEN_XXX flags matching those passed as the second
28911 static UnixUnusedFd *findReusableFd(const char *zPath, int flags){
28930 if( 0==osStat(zPath, &sStat) ){
28972 const char *zPath, /* Path of file (possibly) being created */
28982 /* zPath is a path to a WAL or journal file. The following block derives
28983 ** the path to the associated database file from zPath. This block handles
28994 nDb = sqlite3Strlen30(zPath) - 1;
28995 while( nDb>0 && zPath[nDb]!='l' ) nDb--;
28997 memcpy(zDb, zPath, nDb);
29081 ** Open the file zPath.
29104 const char *zPath, /* Pathname of file to be opened */
29135 /* If argument zPath is a NULL pointer, this function is required to open
29139 const char *zName = zPath;
29227 zPath = zName;
29261 if( isAutoProxy && (zPath!=NULL) && (!noLock) && pVfs->xOpen ){
29271 if( statfs(zPath, &fsInfo) == -1 ){
29287 rc = fillInUnixFile(pVfs, fd, syncDir, pFile, zPath, noLock,
29305 rc = fillInUnixFile(pVfs, fd, syncDir, pFile, zPath, noLock,
29316 ** Delete the file at zPath. If the dirSync argument is true, fsync()
29321 const char *zPath, /* Name of file to be deleted */
29327 if( osUnlink(zPath)==(-1) && errno!=ENOENT ){
29328 return unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath);
29333 rc = osOpenDirectory(zPath, &fd);
29341 rc = unixLogError(SQLITE_IOERR_DIR_FSYNC, "fsync", zPath);
29353 ** Test the existance of or access permissions of file zPath. The
29364 const char *zPath, /* Path of the file to examine */
29365 int flags, /* What do we want to learn about the zPath file? */
29385 *pResOut = (osAccess(zPath, amode)==0);
29388 if( 0==osStat(zPath, &buf) && buf.st_size==0 ){
29399 ** zPath.
29407 const char *zPath, /* Possibly relative input path */
29423 if( zPath[0]=='/' ){
29424 sqlite3_snprintf(nOut, zOut, "%s", zPath);
29428 return unixLogError(SQLITE_CANTOPEN_BKPT, "getcwd", zPath);
29431 sqlite3_snprintf(nOut-nCwd, &zOut[nCwd], "/%s", zPath);
31245 const char *zPath; /* Full pathname of this file */
32586 nName = sqlite3Strlen30(pDbFd->zPath);
32594 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
33193 /* If argument zPath is a NULL pointer, this function is required to open
33365 pFile->zPath = zName;