Home | History | Annotate | Download | only in dist

Lines Matching refs:dbPath

25197   const char *dbPath;             /* Name of the open file */
25288 int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
25292 lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
25401 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1);
25423 lrc1 = afpSetLock(context->dbPath, pFile,
25429 lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
25458 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
25469 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST +
25473 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST,
25475 if( failed && (failed2 = afpSetLock(context->dbPath, pFile,
25559 rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0);
25563 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1);
25569 rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
25572 rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
25594 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0);
27257 pCtx->dbPath = zFilename;
28314 char *dbPath; /* Name of the open file */
28321 ** The proxy lock file path for the database at dbPath is written into lPath,
28325 static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){
28352 dbLen = (int)strlen(dbPath);
28354 char c = dbPath[i];
28764 proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN);
28848 int fd = open(pCtx->dbPath, pFile->openFlags,
28887 afpCtx->dbPath = pCtx->lockProxyPath;
28933 static int proxyCreateConchPathname(char *dbPath, char **pConchPath){
28935 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
28944 memcpy(conchPath, dbPath, len+1);
28955 conchPath[i+1]=dbPath[i];
29000 ** pFile is a file that has been opened by a prior xOpen call. dbPath
29004 ** int dbPath.
29006 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){
29012 strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath, MAXPATHLEN);
29019 memcpy(dbPath, (char *)pFile->lockingContext, len + 1);
29023 strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN);
29038 char dbPath[MAXPATHLEN+1]; /* Name of the database file */
29045 proxyGetDbPathForUnixFile(pFile, dbPath);
29061 rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath);
29076 if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){
29091 pCtx->dbPath = sqlite3DbStrDup(0, dbPath);
29092 if( pCtx->dbPath==NULL ){
29302 sqlite3DbFree(0, pCtx->dbPath);