Lines Matching defs:dbPath
39612 const char *dbPath; /* Name of the open file */
39703 int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
39707 lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
39816 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1);
39838 lrc1 = afpSetLock(context->dbPath, pFile,
39844 lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
39873 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
39884 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST +
39888 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST,
39890 if( failed && (failed2 = afpSetLock(context->dbPath, pFile,
39974 rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0);
39978 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1);
39984 rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0);
39987 rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0);
40009 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0);
42632 pCtx->dbPath = zFilename;
43894 char *dbPath; /* Name of the open file */
43902 ** The proxy lock file path for the database at dbPath is written into lPath,
43906 static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){
43936 dbLen = (int)strlen(dbPath);
43938 char c = dbPath[i];
44365 proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN);
44443 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0);
44481 afpCtx->dbPath = pCtx->lockProxyPath;
44527 static int proxyCreateConchPathname(char *dbPath, char **pConchPath){
44529 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
44538 memcpy(conchPath, dbPath, len+1);
44549 conchPath[i+1]=dbPath[i];
44594 ** pFile is a file that has been opened by a prior xOpen call. dbPath
44598 ** int dbPath.
44600 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){
44606 strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath,
44614 memcpy(dbPath, (char *)pFile->lockingContext, len + 1);
44618 strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN);
44633 char dbPath[MAXPATHLEN+1]; /* Name of the database file */
44640 proxyGetDbPathForUnixFile(pFile, dbPath);
44656 rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath);
44671 if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){
44686 pCtx->dbPath = sqlite3DbStrDup(0, dbPath);
44687 if( pCtx->dbPath==NULL ){
44900 sqlite3DbFree(0, pCtx->dbPath);