Lines Matching refs:zPath
24130 const char *zPath,
24141 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x1087f7f, pFlagsOut);
24145 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){
24148 return pVfs->xDelete!=0 ? pVfs->xDelete(pVfs, zPath, dirSync) : SQLITE_OK;
24152 const char *zPath,
24157 return pVfs->xAccess(pVfs, zPath, flags, pResOut);
24161 const char *zPath,
24167 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
24170 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){
24171 assert( zPath!=0 );
24172 assert( strlen(zPath)<=SQLITE_MAX_PATHLEN ); /* tag-20210611-1 */
24173 return pVfs->xDlOpen(pVfs, zPath);
34465 const char *zPath; /* Name of the file */
35461 const char *zPath, /* File path associated with error */
35501 if( zPath==0 ) zPath = "";
35504 iLine, iErrno, zFunc, zPath, zErr
35526 pFile ? pFile->zPath : 0, lineno);
35695 (osStat(pFile->zPath, &buf)!=0
35719 sqlite3_log(SQLITE_WARNING, "cannot fstat db file %s", pFile->zPath);
35723 sqlite3_log(SQLITE_WARNING, "file unlinked while open: %s", pFile->zPath);
35727 sqlite3_log(SQLITE_WARNING, "multiple links to file: %s", pFile->zPath);
35731 sqlite3_log(SQLITE_WARNING, "file renamed while open: %s", pFile->zPath);
36346 osUnlink(pFile->zPath);
36347 sqlite3_free(*(char**)&pFile->zPath);
36348 pFile->zPath = 0;
37994 return unixLogError(SQLITE_IOERR_FSYNC, "full_fsync", pFile->zPath);
38003 OSTRACE(("DIRSYNC %s (have_fullfsync=%d fullsync=%d)\n", pFile->zPath,
38005 rc = osOpenDirectory(pFile->zPath, &dirfd);
38039 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
38160 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
38849 const char *zBasePath = pDbFd->zPath;
38879 sqlite3FileSuffix3(pDbFd->zPath, zShm);
38893 if( 0==sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){
39440 unixLogError(SQLITE_OK, zErr, pFd->zPath);
39884 pNew->zPath = zFilename;
40135 static UnixUnusedFd *findReusableFd(const char *zPath, int flags){
40156 if( inodeList!=0 && 0==osStat(zPath, &sStat) ){
40225 const char *zPath, /* Path of file (possibly) being created */
40251 nDb = sqlite3Strlen30(zPath) - 1;
40252 while( zPath[nDb]!='-' ){
40257 if( nDb==0 || zPath[nDb]=='.' ) return SQLITE_OK;
40260 memcpy(zDb, zPath, nDb);
40271 const char *z = sqlite3_uri_parameter(zPath, "modeof");
40303 const char *zPath, /* Pathname of file to be opened */
40342 const char *zName = zPath;
40491 zPath = zName;
40493 zPath = sqlite3_mprintf("%s", zName);
40494 if( zPath==0 ){
40534 if( isAutoProxy && (zPath!=NULL) && (!noLock) && pVfs->xOpen ){
40546 rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags);
40563 assert( zPath==0 || zPath[0]=='/'
40566 rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags);
40582 const char *zPath, /* Name of file to be deleted */
40588 if( osUnlink(zPath)==(-1) ){
40591 || osAccess(zPath,0)!=0
40596 rc = unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath);
40603 rc = osOpenDirectory(zPath, &fd);
40606 rc = unixLogError(SQLITE_IOERR_DIR_FSYNC, "fsync", zPath);
40630 const char *zPath, /* Path of the file to examine */
40644 *pResOut = 0==osStat(zPath, &buf) &&
40647 *pResOut = osAccess(zPath, W_OK|R_OK)==0;
40676 const char *zPath, /* Input path */
40680 int nPath = sqlite3Strlen30(zPath);
40683 if( zPath[0]!='/' ){
40685 return unixLogError(SQLITE_CANTOPEN_BKPT, "getcwd", zPath);
40696 sqlite3_snprintf(nOut-iOff, &zOut[iOff], "%s", zPath);
40746 const char *zPath, /* Possibly relative input path */
40751 return mkFullPathname(zPath, zOut, nOut);
40756 const char *zIn = zPath; /* Input path for each iteration of loop */
42642 const char *zPath; /* Full pathname of this file */
44450 const char *zPath, /* File path associated with error */
44459 if( zPath==0 ) zPath = "";
44464 iLine, lastErrno, zFunc, zPath, zMsg
44977 "winSeekFile", pFile->zPath);
44998 "winSeekFile", pFile->zPath);
45073 "winClose", pFile->zPath);
45141 "winRead", pFile->zPath);
45253 "winWrite1", pFile->zPath);
45258 "winWrite2", pFile->zPath);
45324 "winTruncate1", pFile->zPath);
45329 "winTruncate2", pFile->zPath);
45421 "winSync1", pFile->zPath);
45436 "winSync2", pFile->zPath);
45462 "winFileSize", pFile->zPath);
45477 "winFileSize", pFile->zPath);
45572 "winUnlockReadLock", pFile->zPath);
45798 "winUnlock", pFile->zPath);
46296 nName = sqlite3Strlen30(pDbFd->zPath);
46303 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
46304 sqlite3FileSuffix3(pDbFd->zPath, pNew->zFilename);
46336 if( 0==sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){
46613 "winShmMap1", pDbFd->zPath);
46628 "winShmMap2", pDbFd->zPath);
46687 "winShmMap3", pDbFd->zPath);
46736 "winUnmapfile1", pFile->zPath);
46747 "winUnmapfile2", pFile->zPath);
46824 "winMapfile1", pFd->zPath);
46842 "winMapfile2", pFd->zPath);
47653 pFile->zPath = zName;
49110 static int memdbDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){
49123 const char *zPath,
49128 UNUSED_PARAMETER(zPath);
49141 const char *zPath,
49146 sqlite3_snprintf(nOut, zOut, "%s", zPath);
49153 static void *memdbDlOpen(sqlite3_vfs *pVfs, const char *zPath){
49154 return ORIGVFS(pVfs)->xDlOpen(ORIGVFS(pVfs), zPath);
112244 char *zPath = 0;
112318 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
112327 rc = sqlite3BtreeOpen(pVfs, zPath, db, &pNew->pBt, 0, flags);
112360 sqlite3_free_filename( zPath );
192391 const char *zPath, /* The path to search */
192398 if( zPath[0]==0 ) return pRoot;
192400 if( zPath[0]=='.' ){
192402 zPath++;
192403 if( zPath[0]=='"' ){
192404 zKey = zPath + 1;
192405 for(i=1; zPath[i] && zPath[i]!='"'; i++){}
192407 if( zPath[i] ){
192410 *pzErr = zPath;
192414 zKey = zPath;
192415 for(i=0; zPath[i] && zPath[i]!='.' && zPath[i]!='['; i++){}
192419 *pzErr = zPath;
192426 return jsonLookupStep(pParse, iRoot+j+1, &zPath[i], pApnd, pzErr);
192442 zPath += i;
192443 pNode = jsonLookupAppend(pParse, zPath, pApnd, pzErr);
192455 }else if( zPath[0]=='[' ){
192458 while( safe_isdigit(zPath[j]) ){
192459 i = i*10 + zPath[j] - '0';
192462 if( j<2 || zPath[j]!=']' ){
192463 if( zPath[1]=='#' ){
192479 if( zPath[2]=='-' && safe_isdigit(zPath[3]) ){
192483 x = x*10 + zPath[j] - '0';
192485 }while( safe_isdigit(zPath[j]) );
192489 if( zPath[j]!=']' ){
192490 *pzErr = zPath;
192494 *pzErr = zPath;
192499 zPath += j + 1;
192513 return jsonLookupStep(pParse, iRoot+j, zPath, pApnd, pzErr);
192519 pNode = jsonLookupAppend(pParse, zPath, pApnd, pzErr);
192531 *pzErr = zPath;
192542 const char *zPath, /* Description of content to append */
192547 if( zPath[0]==0 ){
192551 if( zPath[0]=='.' ){
192553 }else if( strncmp(zPath,"[0]",3)==0 ){
192559 return jsonLookupStep(pParse, pParse->nNode-1, zPath, pApnd, pzErr);
192582 const char *zPath, /* The path to search */
192590 if( zPath==0 ) return 0;
192591 if( zPath[0]!='$' ){
192592 zErr = zPath;
192595 zPath++;
192596 pNode = jsonLookupStep(pParse, 0, zPath, pApnd, &zErr);
192779 const char *zPath = (const char*)sqlite3_value_text(argv[1]);
192780 pNode = jsonLookup(p, zPath, 0, ctx);
192811 const char *zPath;
192821 zPath = (const char*)sqlite3_value_text(argv[i]);
192822 pNode = jsonLookup(p, zPath, 0, ctx);
193008 const char *zPath;
193015 zPath = (const char*)sqlite3_value_text(argv[i]);
193016 if( zPath==0 ) goto remove_done;
193017 pNode = jsonLookup(&x, zPath, 0, ctx);
193041 const char *zPath;
193052 zPath = (const char*)sqlite3_value_text(argv[i]);
193053 pNode = jsonLookup(&x, zPath, 0, ctx);
193092 const char *zPath;
193105 zPath = (const char*)sqlite3_value_text(argv[i]);
193107 pNode = jsonLookup(&x, zPath, &bApnd, ctx);
193144 const char *zPath;
193150 zPath = (const char*)sqlite3_value_text(argv[1]);
193151 pNode = jsonLookup(p, zPath, 0, ctx);
206878 static int rbuVfsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){
206880 return pRealVfs->xDelete(pRealVfs, zPath, dirSync);
206889 const char *zPath,
206897 rc = pRealVfs->xAccess(pRealVfs, zPath, flags, pResOut);
206914 rbu_file *pDb = rbuFindMaindb(pRbuVfs, zPath, 1);
206937 const char *zPath,
206942 return pRealVfs->xFullPathname(pRealVfs, zPath, nOut, zOut);
206949 static void *rbuVfsDlOpen(sqlite3_vfs *pVfs, const char *zPath){
206951 return pRealVfs->xDlOpen(pRealVfs, zPath);
207237 char *zPath; /* Path to this page */
207262 char *zPath; /* Value of 'path' column */
207450 sqlite3_free(p->zPath);
207468 sqlite3_free(pCsr->zPath);
207469 pCsr->zPath = 0;
207707 sqlite3_free(pCsr->zPath);
207708 pCsr->zPath = 0;
207727 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
207762 pCsr->zPath = z = sqlite3_mprintf(
207763 "%s%.3x+%.6x", p->zPath, p->iCell, iOvfl
207798 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
207835 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
207942 sqlite3_result_text(ctx, pCsr->zPath, -1, SQLITE_TRANSIENT);