Home
last modified time | relevance | path

Searched refs:iPgOne (Results 1 – 2 of 2) sorted by relevance

/external/sqlite/dist/orig/
Dshell.c3484 sqlite3_int64 iPgOne; /* File offset to page 1 */ member
3598 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead()
3609 a[APND_MARK_PREFIX_SZ+i] = (p->iPgOne >> (56 - i*8)) & 0xff; in apndWriteMark()
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()
3633 if( iOfst + iAmt + p->iPgOne > p->iMark ){ in apndWrite()
3634 p->iMark = p->iPgOne + iOfst + iAmt; in apndWrite()
3649 rc = pFile->pMethods->xTruncate(pFile, size+p->iPgOne+APND_MARK_SIZE); in apndTruncate()
3651 p->iMark = p->iPgOne+size; in apndTruncate()
3673 if( rc==SQLITE_OK && p->iPgOne ){ in apndFileSize()
[all …]
/external/sqlite/dist/
Dshell.c3490 sqlite3_int64 iPgOne; /* File offset to page 1 */ member
3604 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead()
3615 a[APND_MARK_PREFIX_SZ+i] = (p->iPgOne >> (56 - i*8)) & 0xff; in apndWriteMark()
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()
3639 if( iOfst + iAmt + p->iPgOne > p->iMark ){ in apndWrite()
3640 p->iMark = p->iPgOne + iOfst + iAmt; in apndWrite()
3655 rc = pFile->pMethods->xTruncate(pFile, size+p->iPgOne+APND_MARK_SIZE); in apndTruncate()
3657 p->iMark = p->iPgOne+size; in apndTruncate()
3679 if( rc==SQLITE_OK && p->iPgOne ){ in apndFileSize()
[all …]