Lines Matching refs:dbPath

41658   const char *dbPath;             /* Name of the open file */  member
41749 int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1); in afpCheckReservedLock()
41753 lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0); in afpCheckReservedLock()
41862 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1); in afpLock()
41884 lrc1 = afpSetLock(context->dbPath, pFile, in afpLock()
41890 lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0); in afpLock()
41919 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1); in afpLock()
41930 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST + in afpLock()
41934 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST, in afpLock()
41936 if( failed && (failed2 = afpSetLock(context->dbPath, pFile, in afpLock()
42014 rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0); in afpUnlock()
42018 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1); in afpUnlock()
42024 rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0); in afpUnlock()
42027 rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0); in afpUnlock()
42046 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0); in afpUnlock()
44739 pCtx->dbPath = zFilename; in fillInUnixFile()
45963 char *dbPath; /* Name of the open file */ member
45975 static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){ in proxyGetLockPath() argument
46002 dbLen = (int)strlen(dbPath); in proxyGetLockPath()
46004 char c = dbPath[i]; in proxyGetLockPath()
46421 proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN); in proxyTakeConch()
46499 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0); in proxyTakeConch()
46537 afpCtx->dbPath = pCtx->lockProxyPath; in proxyTakeConch()
46583 static int proxyCreateConchPathname(char *dbPath, char **pConchPath){ in proxyCreateConchPathname() argument
46585 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */ in proxyCreateConchPathname()
46594 memcpy(conchPath, dbPath, len+1); in proxyCreateConchPathname()
46605 conchPath[i+1]=dbPath[i]; in proxyCreateConchPathname()
46656 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){ in proxyGetDbPathForUnixFile() argument
46662 strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath, in proxyGetDbPathForUnixFile()
46670 memcpy(dbPath, (char *)pFile->lockingContext, len + 1); in proxyGetDbPathForUnixFile()
46674 strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN); in proxyGetDbPathForUnixFile()
46689 char dbPath[MAXPATHLEN+1]; /* Name of the database file */ in proxyTransformUnixFile() local
46696 proxyGetDbPathForUnixFile(pFile, dbPath); in proxyTransformUnixFile()
46712 rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath); in proxyTransformUnixFile()
46727 if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){ in proxyTransformUnixFile()
46742 pCtx->dbPath = sqlite3DbStrDup(0, dbPath); in proxyTransformUnixFile()
46743 if( pCtx->dbPath==NULL ){ in proxyTransformUnixFile()
46956 sqlite3DbFree(0, pCtx->dbPath); in proxyClose()