Lines Matching refs:dbPath
33408 const char *dbPath; /* Name of the open file */
33500 int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
33504 lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
33613 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1);
33635 lrc1 = afpSetLock(context->dbPath, pFile,
33641 lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
33670 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
33681 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST +
33685 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST,
33687 if( failed && (failed2 = afpSetLock(context->dbPath, pFile,
33771 rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0);
33775 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1);
33781 rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
33784 rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
33806 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0);
36205 pCtx->dbPath = zFilename;
37367 char *dbPath; /* Name of the open file */
37375 ** The proxy lock file path for the database at dbPath is written into lPath,
37379 static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){
37406 dbLen = (int)strlen(dbPath);
37408 char c = dbPath[i];
37825 proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN);
37903 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0);
37941 afpCtx->dbPath = pCtx->lockProxyPath;
37987 static int proxyCreateConchPathname(char *dbPath, char **pConchPath){
37989 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
37998 memcpy(conchPath, dbPath, len+1);
38009 conchPath[i+1]=dbPath[i];
38054 ** pFile is a file that has been opened by a prior xOpen call. dbPath
38058 ** int dbPath.
38060 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){
38066 strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath,
38074 memcpy(dbPath, (char *)pFile->lockingContext, len + 1);
38078 strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN);
38093 char dbPath[MAXPATHLEN+1]; /* Name of the database file */
38100 proxyGetDbPathForUnixFile(pFile, dbPath);
38116 rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath);
38131 if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){
38146 pCtx->dbPath = sqlite3DbStrDup(0, dbPath);
38147 if( pCtx->dbPath==NULL ){
38360 sqlite3DbFree(0, pCtx->dbPath);