Home | History | Annotate | Download | only in orig

Lines Matching refs:dbPath

27503   const char *dbPath;             /* Name of the open file */
27595 int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
27599 lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
27708 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1);
27730 lrc1 = afpSetLock(context->dbPath, pFile,
27736 lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
27765 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
27776 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST +
27780 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST,
27782 if( failed && (failed2 = afpSetLock(context->dbPath, pFile,
27866 rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0);
27870 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1);
27876 rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
27879 rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
27901 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0);
29717 pCtx->dbPath = zFilename;
30782 char *dbPath; /* Name of the open file */
30789 ** The proxy lock file path for the database at dbPath is written into lPath,
30793 static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){
30820 dbLen = (int)strlen(dbPath);
30822 char c = dbPath[i];
31237 proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN);
31314 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0);
31352 afpCtx->dbPath = pCtx->lockProxyPath;
31398 static int proxyCreateConchPathname(char *dbPath, char **pConchPath){
31400 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
31409 memcpy(conchPath, dbPath, len+1);
31420 conchPath[i+1]=dbPath[i];
31465 ** pFile is a file that has been opened by a prior xOpen call. dbPath
31469 ** int dbPath.
31471 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){
31477 strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath, MAXPATHLEN);
31484 memcpy(dbPath, (char *)pFile->lockingContext, len + 1);
31488 strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN);
31503 char dbPath[MAXPATHLEN+1]; /* Name of the database file */
31510 proxyGetDbPathForUnixFile(pFile, dbPath);
31526 rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath);
31541 if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){
31556 pCtx->dbPath = sqlite3DbStrDup(0, dbPath);
31557 if( pCtx->dbPath==NULL ){
31767 sqlite3DbFree(0, pCtx->dbPath);