Lines Matching defs:dbPath

27037   const char *dbPath;             /* Name of the open file */
27129 int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
27133 lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
27242 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1);
27264 lrc1 = afpSetLock(context->dbPath, pFile,
27270 lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
27299 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
27310 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST +
27314 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST,
27316 if( failed && (failed2 = afpSetLock(context->dbPath, pFile,
27400 rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0);
27404 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1);
27410 rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
27413 rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
27435 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0);
29212 pCtx->dbPath = zFilename;
30227 char *dbPath; /* Name of the open file */
30234 ** The proxy lock file path for the database at dbPath is written into lPath,
30238 static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){
30265 dbLen = (int)strlen(dbPath);
30267 char c = dbPath[i];
30683 proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN);
30760 fd = robust_open(pCtx->dbPath, pFile->openFlags,
30799 afpCtx->dbPath = pCtx->lockProxyPath;
30845 static int proxyCreateConchPathname(char *dbPath, char **pConchPath){
30847 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
30856 memcpy(conchPath, dbPath, len+1);
30867 conchPath[i+1]=dbPath[i];
30912 ** pFile is a file that has been opened by a prior xOpen call. dbPath
30916 ** int dbPath.
30918 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){
30924 strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath, MAXPATHLEN);
30931 memcpy(dbPath, (char *)pFile->lockingContext, len + 1);
30935 strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN);
30950 char dbPath[MAXPATHLEN+1]; /* Name of the database file */
30957 proxyGetDbPathForUnixFile(pFile, dbPath);
30973 rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath);
30988 if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){
31003 pCtx->dbPath = sqlite3DbStrDup(0, dbPath);
31004 if( pCtx->dbPath==NULL ){
31214 sqlite3DbFree(0, pCtx->dbPath);