Lines Matching defs:zPath

7407   const char *zPath,
7414 zUnicodeName = sqlite3_win32_utf8_to_unicode(zPath);
7435 const char *zPath,
7439 int rc = stat(zPath, pStatBuf);
7440 if( rc==0 ) statTimesToUtc(zPath, pStatBuf);
7443 return stat(zPath, pStatBuf);
7453 const char *zPath,
7457 int rc = lstat(zPath, pStatBuf);
7458 if( rc==0 ) statTimesToUtc(zPath, pStatBuf);
7461 return lstat(zPath, pStatBuf);
7742 char *zPath; /* Path to current entry */
7811 sqlite3_free(pCur->zPath);
7814 pCur->zPath = 0;
7869 pLvl->zDir = pCur->zPath;
7870 pCur->zPath = 0;
7873 fsdirSetErrmsg(pCur, "cannot read directory: %s", pCur->zPath);
7886 sqlite3_free(pCur->zPath);
7887 pCur->zPath = sqlite3_mprintf("%s/%s", pLvl->zDir, pEntry->d_name);
7888 if( pCur->zPath==0 ) return SQLITE_NOMEM;
7889 if( fileLinkStat(pCur->zPath, &pCur->sStat) ){
7890 fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
7903 sqlite3_free(pCur->zPath);
7904 pCur->zPath = 0;
7920 sqlite3_result_text(ctx, &pCur->zPath[pCur->nBase], -1, SQLITE_TRANSIENT);
7944 n = readlink(pCur->zPath, aBuf, nBuf);
7959 readFileContents(ctx, pCur->zPath);
7989 return (pCur->zPath==0);
8024 pCur->zPath = sqlite3_mprintf("%s/%s", pCur->zBase, zDir);
8026 pCur->zPath = sqlite3_mprintf("%s", zDir);
8029 if( pCur->zPath==0 ){
8032 if( fileLinkStat(pCur->zPath, &pCur->sStat) ){
8033 fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
9273 static int apndDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){
9274 return ORIGVFS(pVfs)->xDelete(ORIGVFS(pVfs), zPath, dirSync);
9282 const char *zPath,
9286 return ORIGVFS(pVfs)->xAccess(ORIGVFS(pVfs), zPath, flags, pResOut);
9290 const char *zPath,
9294 return ORIGVFS(pVfs)->xFullPathname(ORIGVFS(pVfs),zPath,nOut,zOut);
9296 static void *apndDlOpen(sqlite3_vfs *pVfs, const char *zPath){
9297 return ORIGVFS(pVfs)->xDlOpen(ORIGVFS(pVfs), zPath);
10724 static ZipfileEntry *zipfileNewEntry(const char *zPath){
10729 pNew->cds.zFile = sqlite3_mprintf("%s", zPath);
10950 const char *zPath = 0; /* Path for new entry */
10951 int nPath = 0; /* strlen(zPath) */
11039 zPath = (const char*)sqlite3_value_text(apVal[2]);
11040 if( zPath==0 ) zPath = "";
11041 nPath = (int)strlen(zPath);
11050 if( nPath<=0 || zPath[nPath-1]!='/' ){
11051 zFree = sqlite3_mprintf("%s/", zPath);
11052 zPath = (const char*)zFree;
11057 nPath = (int)strlen(zPath);
11067 if( zipfileComparePath(p->cds.zFile, zPath, nPath)==0 ){
11077 zipfileTableErr(pTab, "duplicate name: \"%s\"", zPath);
11089 pNew = zipfileNewEntry(zPath);
30041 char *zDrive, *zPath;
30044 zPath = getenv("HOMEPATH");
30045 if( zDrive && zPath ){
30046 n = strlen30(zDrive) + strlen30(zPath) + 1;
30049 sqlite3_snprintf(n, home_dir, "%s%s", zDrive, zPath);