Searched refs:pDbFd (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dos_win.c1431 ** Open the shared-memory area associated with database file pDbFd.
1437 static int winOpenSharedMemory(winFile *pDbFd){ argument
1444 assert( pDbFd->pShm==0 ); /* Not previously opened */
1452 nName = sqlite3Strlen30(pDbFd->zPath);
1460 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
1487 rc = winOpen(pDbFd->pVfs,
1519 pDbFd->pShm = p;
1538 winShmPurge(pDbFd->pVfs, 0); /* This call frees pShmNode if required */
1553 winFile *pDbFd; /* Database holding shared-memory */ local
1558 pDbFd
1596 winFile *pDbFd = (winFile*)fd; /* Connection holding shared memory */ local
1734 winFile *pDbFd = (winFile*)fd; local
[all...]
H A Dwal.c411 sqlite3_vfs *pVfs; /* The VFS used to create pDbFd */
412 sqlite3_file *pDbFd; /* File handle for the database file */ member in struct:Wal
528 rc = sqlite3OsShmMap(pWal->pDbFd, iPage, WALINDEX_PGSZ,
616 sqlite3OsShmBarrier(pWal->pDbFd);
760 rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, 1,
769 (void)sqlite3OsShmLock(pWal->pDbFd, lockIdx, 1,
776 rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, n,
785 (void)sqlite3OsShmLock(pWal->pDbFd, lockIdx, n,
1213 sqlite3OsShmUnmap(pWal->pDbFd, isDelete);
1219 ** already be opened on connection pDbFd
1232 sqlite3WalOpen( sqlite3_vfs *pVfs, sqlite3_file *pDbFd, const char *zWalName, int bNoShm, Wal **ppWal ) argument
[all...]
H A Dos_unix.c3719 ** Open a shared-memory area associated with open database file pDbFd.
3747 ** If the original database file (pDbFd) is using the "unix-excl" VFS
3753 static int unixOpenSharedMemory(unixFile *pDbFd){ argument
3765 assert( pDbFd->pShm==0 );
3771 pInode = pDbFd->pInode;
3781 if( osFstat(pDbFd->h, &sStat) && pInode->bProcessLock==0 ){
3789 nShmFilename = 5 + (int)strlen(pDbFd->zPath);
3803 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
3806 pDbFd->pInode->pShmNode = pShmNode;
3807 pShmNode->pInode = pDbFd
3894 unixFile *pDbFd = (unixFile*)fd; local
4002 unixFile *pDbFd = (unixFile*)fd; /* Connection holding shared memory */ local
4130 unixFile *pDbFd; /* The underlying database file */ local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c28901 unixOpenSharedMemory(unixFile *pDbFd) argument
29057 unixFile *pDbFd = (unixFile*)fd; local
29175 unixFile *pDbFd = (unixFile*)fd; /* Connection holding shared memory */ local
29303 unixFile *pDbFd; /* The underlying database file */ local
34593 winOpenSharedMemory(winFile *pDbFd) argument
34710 winFile *pDbFd; /* Database holding shared-memory */ local
34753 winFile *pDbFd = (winFile*)fd; /* Connection holding shared memory */ local
34891 winFile *pDbFd = (winFile*)fd; local
45773 sqlite3_file *pDbFd; /* File handle for the database file */ member in struct:Wal
46611 sqlite3WalOpen( sqlite3_vfs *pVfs, sqlite3_file *pDbFd, const char *zWalName, int bNoShm, i64 mxWalSize, Wal **ppWal ) argument
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c28881 unixOpenSharedMemory(unixFile *pDbFd) argument
29037 unixFile *pDbFd = (unixFile*)fd; local
29147 unixFile *pDbFd = (unixFile*)fd; /* Connection holding shared memory */ local
29275 unixFile *pDbFd; /* The underlying database file */ local
34565 winOpenSharedMemory(winFile *pDbFd) argument
34682 winFile *pDbFd; /* Database holding shared-memory */ local
34725 winFile *pDbFd = (winFile*)fd; /* Connection holding shared memory */ local
34863 winFile *pDbFd = (winFile*)fd; local
45745 sqlite3_file *pDbFd; /* File handle for the database file */ member in struct:Wal
46583 sqlite3WalOpen( sqlite3_vfs *pVfs, sqlite3_file *pDbFd, const char *zWalName, int bNoShm, i64 mxWalSize, Wal **ppWal ) argument
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c27875 ** Open a shared-memory area associated with open database file pDbFd.
27903 ** If the original database file (pDbFd) is using the "unix-excl" VFS
27909 static int unixOpenSharedMemory(unixFile *pDbFd){ argument
27921 assert( pDbFd->pShm==0 );
27927 pInode = pDbFd->pInode;
27937 if( osFstat(pDbFd->h, &sStat) && pInode->bProcessLock==0 ){
27945 nShmFilename = 5 + (int)strlen(pDbFd->zPath);
27959 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath);
27962 pDbFd->pInode->pShmNode = pShmNode;
27963 pShmNode->pInode = pDbFd
28050 unixFile *pDbFd = (unixFile*)fd; local
28158 unixFile *pDbFd = (unixFile*)fd; /* Connection holding shared memory */ local
28286 unixFile *pDbFd; /* The underlying database file */ local
32571 winOpenSharedMemory(winFile *pDbFd) argument
32687 winFile *pDbFd; /* Database holding shared-memory */ local
32730 winFile *pDbFd = (winFile*)fd; /* Connection holding shared memory */ local
32868 winFile *pDbFd = (winFile*)fd; local
43871 sqlite3_file *pDbFd; /* File handle for the database file */ member in struct:Wal
44691 sqlite3WalOpen( sqlite3_vfs *pVfs, sqlite3_file *pDbFd, const char *zWalName, int bNoShm, Wal **ppWal ) argument
[all...]

Completed in 509 milliseconds