Home
last modified time | relevance | path

Searched refs:pMethods (Results 1 – 6 of 6) sorted by relevance

/external/sqlite/dist/orig/
Dshell.c3584 return pFile->pMethods->xClose(pFile); in apndClose()
3598 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead()
3611 return pFile->pMethods->xWrite(pFile, a, APND_MARK_SIZE, p->iMark); in apndWriteMark()
3627 rc = pFile->pMethods->xWrite(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndWrite()
3630 rc = pFile->pMethods->xFileSize(pFile, &sz); in apndWrite()
3649 rc = pFile->pMethods->xTruncate(pFile, size+p->iPgOne+APND_MARK_SIZE); in apndTruncate()
3662 return pFile->pMethods->xSync(pFile, flags); in apndSync()
3672 rc = pFile->pMethods->xFileSize(pFile, pSize); in apndFileSize()
3684 return pFile->pMethods->xLock(pFile, eLock); in apndLock()
3692 return pFile->pMethods->xUnlock(pFile, eLock); in apndUnlock()
[all …]
Dsqlite3.h672 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member
Dsqlite3.c1696 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member
20893 if( pId->pMethods ){ in sqlite3OsClose()
20894 pId->pMethods->xClose(pId); in sqlite3OsClose()
20895 pId->pMethods = 0; in sqlite3OsClose()
20900 return id->pMethods->xRead(id, pBuf, amt, offset); in sqlite3OsRead()
20904 return id->pMethods->xWrite(id, pBuf, amt, offset); in sqlite3OsWrite()
20907 return id->pMethods->xTruncate(id, size); in sqlite3OsTruncate()
20911 return flags ? id->pMethods->xSync(id, flags) : SQLITE_OK; in sqlite3OsSync()
20915 return id->pMethods->xFileSize(id, pSize); in sqlite3OsFileSize()
20919 return id->pMethods->xLock(id, lockType); in sqlite3OsLock()
[all …]
/external/sqlite/dist/
Dshell.c3590 return pFile->pMethods->xClose(pFile); in apndClose()
3604 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead()
3617 return pFile->pMethods->xWrite(pFile, a, APND_MARK_SIZE, p->iMark); in apndWriteMark()
3633 rc = pFile->pMethods->xWrite(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndWrite()
3636 rc = pFile->pMethods->xFileSize(pFile, &sz); in apndWrite()
3655 rc = pFile->pMethods->xTruncate(pFile, size+p->iPgOne+APND_MARK_SIZE); in apndTruncate()
3668 return pFile->pMethods->xSync(pFile, flags); in apndSync()
3678 rc = pFile->pMethods->xFileSize(pFile, pSize); in apndFileSize()
3690 return pFile->pMethods->xLock(pFile, eLock); in apndLock()
3698 return pFile->pMethods->xUnlock(pFile, eLock); in apndUnlock()
[all …]
Dsqlite3.h672 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member
Dsqlite3.c1696 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member
20893 if( pId->pMethods ){ in sqlite3OsClose()
20894 pId->pMethods->xClose(pId); in sqlite3OsClose()
20895 pId->pMethods = 0; in sqlite3OsClose()
20900 return id->pMethods->xRead(id, pBuf, amt, offset); in sqlite3OsRead()
20904 return id->pMethods->xWrite(id, pBuf, amt, offset); in sqlite3OsWrite()
20907 return id->pMethods->xTruncate(id, size); in sqlite3OsTruncate()
20911 return flags ? id->pMethods->xSync(id, flags) : SQLITE_OK; in sqlite3OsSync()
20915 return id->pMethods->xFileSize(id, pSize); in sqlite3OsFileSize()
20919 return id->pMethods->xLock(id, lockType); in sqlite3OsLock()
[all …]