Lines Matching refs:path
2804 const char *path, /* Name of the file to be locked or unlocked */ in afpSetLock() argument
2822 err = fsctl(path, afpfsByteRangeLock2FSCTL, &pb, 0); in afpSetLock()
2827 path, tErrno, strerror(tErrno))); in afpSetLock()
6545 DbPath path; in unixFullPathname() local
6547 path.rc = 0; in unixFullPathname()
6548 path.nUsed = 0; in unixFullPathname()
6549 path.nSymlink = 0; in unixFullPathname()
6550 path.nOut = nOut; in unixFullPathname()
6551 path.zOut = zOut; in unixFullPathname()
6557 appendAllPathElements(&path, zPwd); in unixFullPathname()
6559 appendAllPathElements(&path, zPath); in unixFullPathname()
6560 zOut[path.nUsed] = 0; in unixFullPathname()
6561 if( path.rc || path.nUsed<2 ) return SQLITE_CANTOPEN_BKPT; in unixFullPathname()
6562 if( path.nSymlink ) return SQLITE_OK_SYMLINK; in unixFullPathname()
7040 const char *path, /* path for the new unixFile */ in proxyCreateUnixFile() argument
7058 pUnused = findReusableFd(path, openFlags); in proxyCreateUnixFile()
7068 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
7071 if( proxyCreateLockPath(path) == SQLITE_OK ){ in proxyCreateUnixFile()
7072 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
7078 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile()
7109 rc = fillInUnixFile(&dummyVfs, fd, (sqlite3_file*)pNew, path, 0); in proxyCreateUnixFile()
7492 char *path = tempLockPath ? tempLockPath : pCtx->lockProxyPath; in proxyTakeConch() local
7493 rc = proxyCreateUnixFile(path, &pCtx->lockProxy, 1); in proxyTakeConch()
7603 static int switchLockProxyPath(unixFile *pFile, const char *path) { in switchLockProxyPath() argument
7613 if( !path || path[0]=='\0' || !strcmp(path, ":auto:") || in switchLockProxyPath()
7614 (oldPath && !strncmp(oldPath, path, MAXPATHLEN)) ){ in switchLockProxyPath()
7626 pCtx->lockProxyPath = sqlite3DbStrDup(0, path); in switchLockProxyPath()
7670 static int proxyTransformUnixFile(unixFile *pFile, const char *path) { in proxyTransformUnixFile() argument
7680 if( !path || path[0]=='\0' || !strcmp(path, ":auto:") ){ in proxyTransformUnixFile()
7683 lockPath=(char *)path; in proxyTransformUnixFile()