Home | History | Annotate | Download | only in orig

Lines Matching refs:dbPath

28083   const char *dbPath;             /* Name of the open file */
28175 int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
28179 lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
28288 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1);
28310 lrc1 = afpSetLock(context->dbPath, pFile,
28316 lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
28345 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
28356 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST +
28360 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST,
28362 if( failed && (failed2 = afpSetLock(context->dbPath, pFile,
28446 rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0);
28450 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1);
28456 rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
28459 rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
28481 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0);
30802 pCtx->dbPath = zFilename;
31878 char *dbPath; /* Name of the open file */
31886 ** The proxy lock file path for the database at dbPath is written into lPath,
31890 static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){
31917 dbLen = (int)strlen(dbPath);
31919 char c = dbPath[i];
32336 proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN);
32414 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0);
32452 afpCtx->dbPath = pCtx->lockProxyPath;
32498 static int proxyCreateConchPathname(char *dbPath, char **pConchPath){
32500 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
32509 memcpy(conchPath, dbPath, len+1);
32520 conchPath[i+1]=dbPath[i];
32565 ** pFile is a file that has been opened by a prior xOpen call. dbPath
32569 ** int dbPath.
32571 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){
32577 strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath,
32585 memcpy(dbPath, (char *)pFile->lockingContext, len + 1);
32589 strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN);
32604 char dbPath[MAXPATHLEN+1]; /* Name of the database file */
32611 proxyGetDbPathForUnixFile(pFile, dbPath);
32627 rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath);
32642 if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){
32657 pCtx->dbPath = sqlite3DbStrDup(0, dbPath);
32658 if( pCtx->dbPath==NULL ){
32871 sqlite3DbFree(0, pCtx->dbPath);