Lines Matching refs:zPath
229 const char *zPath; /* Name of the file */ member
1225 const char *zPath, /* File path associated with error */ in unixLogErrorAtLine() argument
1265 if( zPath==0 ) zPath = ""; in unixLogErrorAtLine()
1268 iLine, iErrno, zFunc, zPath, zErr in unixLogErrorAtLine()
1290 pFile ? pFile->zPath : 0, lineno); in robust_close()
1459 (osStat(pFile->zPath, &buf)!=0 in fileHasMoved()
1483 sqlite3_log(SQLITE_WARNING, "cannot fstat db file %s", pFile->zPath); in verifyDbFile()
1487 sqlite3_log(SQLITE_WARNING, "file unlinked while open: %s", pFile->zPath); in verifyDbFile()
1491 sqlite3_log(SQLITE_WARNING, "multiple links to file: %s", pFile->zPath); in verifyDbFile()
1495 sqlite3_log(SQLITE_WARNING, "file renamed while open: %s", pFile->zPath); in verifyDbFile()
2110 osUnlink(pFile->zPath); in closeUnixFile()
2111 sqlite3_free(*(char**)&pFile->zPath); in closeUnixFile()
2112 pFile->zPath = 0; in closeUnixFile()
3758 return unixLogError(SQLITE_IOERR_FSYNC, "full_fsync", pFile->zPath); in unixSync()
3767 OSTRACE(("DIRSYNC %s (have_fullfsync=%d fullsync=%d)\n", pFile->zPath, in unixSync()
3769 rc = osOpenDirectory(pFile->zPath, &dirfd); in unixSync()
3803 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath); in unixTruncate()
3924 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath); in fcntlSizeHint()
4613 const char *zBasePath = pDbFd->zPath; in unixOpenSharedMemory()
4643 sqlite3FileSuffix3(pDbFd->zPath, zShm); in unixOpenSharedMemory()
4657 if( 0==sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){ in unixOpenSharedMemory()
5210 unixLogError(SQLITE_OK, zErr, pFd->zPath); in unixRemapfile()
5654 pNew->zPath = zFilename; in fillInUnixFile()
5914 static UnixUnusedFd *findReusableFd(const char *zPath, int flags){ in findReusableFd() argument
5935 if( inodeList!=0 && 0==osStat(zPath, &sStat) ){ in findReusableFd()
6004 const char *zPath, /* Path of file (possibly) being created */ in findCreateFileMode() argument
6036 nDb = sqlite3Strlen30(zPath) - 1; in findCreateFileMode()
6037 while( nDb>0 && zPath[nDb]!='.' ){ in findCreateFileMode()
6038 if( zPath[nDb]=='-' ){ in findCreateFileMode()
6039 memcpy(zDb, zPath, nDb); in findCreateFileMode()
6053 const char *z = sqlite3_uri_parameter(zPath, "modeof"); in findCreateFileMode()
6085 const char *zPath, /* Pathname of file to be opened */ in unixOpen() argument
6124 const char *zName = zPath; in unixOpen()
6273 zPath = zName; in unixOpen()
6275 zPath = sqlite3_mprintf("%s", zName); in unixOpen()
6276 if( zPath==0 ){ in unixOpen()
6316 if( isAutoProxy && (zPath!=NULL) && (!noLock) && pVfs->xOpen ){ in unixOpen()
6328 rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags); in unixOpen()
6345 assert( zPath==0 || zPath[0]=='/' in unixOpen()
6348 rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags); in unixOpen()
6364 const char *zPath, /* Name of file to be deleted */ in unixDelete() argument
6370 if( osUnlink(zPath)==(-1) ){ in unixDelete()
6373 || osAccess(zPath,0)!=0 in unixDelete()
6378 rc = unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath); in unixDelete()
6385 rc = osOpenDirectory(zPath, &fd); in unixDelete()
6388 rc = unixLogError(SQLITE_IOERR_DIR_FSYNC, "fsync", zPath); in unixDelete()
6412 const char *zPath, /* Path of the file to examine */ in unixAccess() argument
6426 *pResOut = 0==osStat(zPath, &buf) && in unixAccess()
6429 *pResOut = osAccess(zPath, W_OK|R_OK)==0; in unixAccess()
6517 const char *zPath /* Path to append to pPath. Is zero-terminated */ in appendAllPathElements() argument
6522 while( zPath[i] && zPath[i]!='/' ){ i++; } in appendAllPathElements()
6524 appendOnePathElement(pPath, &zPath[j], i-j); in appendAllPathElements()
6527 }while( zPath[i++] ); in appendAllPathElements()
6541 const char *zPath, /* Possibly relative input path */ in unixFullPathname() argument
6552 if( zPath[0]!='/' ){ in unixFullPathname()
6555 return unixLogError(SQLITE_CANTOPEN_BKPT, "getcwd", zPath); in unixFullPathname()
6559 appendAllPathElements(&path, zPath); in unixFullPathname()