Home
last modified time | relevance | path

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

/external/sqlite/dist/
Dsqlite3.h773 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
774 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
790 int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
791 int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p);
Dshell.c3498 static int apndRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
3499 static int apndWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
3513 static int apndFetch(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
3514 static int apndUnfetch(sqlite3_file*, sqlite3_int64 iOfst, void *p);
3600 sqlite_int64 iOfst in apndRead() argument
3604 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead()
3627 sqlite_int64 iOfst in apndWrite() argument
3632 if( iOfst+iAmt>=APND_MAX_SIZE ) return SQLITE_FULL; in apndWrite()
3633 rc = pFile->pMethods->xWrite(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndWrite()
3634 if( rc==SQLITE_OK && iOfst + iAmt + p->iPgOne > p->iMark ){ in apndWrite()
[all …]
Dsqlite3.c1797 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
1798 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
1814 int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
1815 int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p);
90661 sqlite_int64 iOfst /* Begin reading at this offset */
90671 if( (iAmt+iOfst)>p->endpoint.iOffset ){
90676 assert( (iAmt+iOfst)<=p->endpoint.iOffset );
90678 if( p->readpoint.iOffset!=iOfst || iOfst==0 ){
90681 ALWAYS(pChunk) && (iOff+p->nChunkSize)<=iOfst;
90691 iChunkOffset = (int)(iOfst%p->nChunkSize);
[all …]
/external/sqlite/dist/orig/
Dsqlite3.h773 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
774 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
790 int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
791 int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p);
Dshell.c3492 static int apndRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
3493 static int apndWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
3507 static int apndFetch(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
3508 static int apndUnfetch(sqlite3_file*, sqlite3_int64 iOfst, void *p);
3594 sqlite_int64 iOfst in apndRead() argument
3598 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead()
3621 sqlite_int64 iOfst in apndWrite() argument
3626 if( iOfst+iAmt>=APND_MAX_SIZE ) return SQLITE_FULL; in apndWrite()
3627 rc = pFile->pMethods->xWrite(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndWrite()
3628 if( rc==SQLITE_OK && iOfst + iAmt + p->iPgOne > p->iMark ){ in apndWrite()
[all …]
Dsqlite3.c1797 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
1798 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
1814 int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
1815 int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p);
90645 sqlite_int64 iOfst /* Begin reading at this offset */
90655 if( (iAmt+iOfst)>p->endpoint.iOffset ){
90660 assert( (iAmt+iOfst)<=p->endpoint.iOffset );
90662 if( p->readpoint.iOffset!=iOfst || iOfst==0 ){
90665 ALWAYS(pChunk) && (iOff+p->nChunkSize)<=iOfst;
90675 iChunkOffset = (int)(iOfst%p->nChunkSize);
[all …]