HomeSort by relevance Sort by last modified time
    Searched defs:szPage (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/third_party/sqlite/src/src/
pcache.c 24 int szPage; /* Size of every page in this cache */
171 int szPage, /* Size of every page */
179 p->szPage = szPage;
191 void sqlite3PcacheSetPageSize(PCache *pCache, int szPage){
198 pCache->szPage = szPage;
223 nByte = pCache->szPage + pCache->szExtra + sizeof(PgHdr);
269 pPage->pExtra = (void*)&((char *)pPage->pData)[pCache->szPage];
277 assert( pPage->pExtra==(void *)&((char *)&pPage[1])[pCache->szPage] );
    [all...]
test_pcache.c 102 int szPage; /* Size of each page. Multiple of 8. */
132 static sqlite3_pcache *testpcacheCreate(int szPage, int bPurgeable){
138 szPage = (szPage+7)&~7;
139 nMem = sizeof(testpcache) + TESTPCACHE_NPAGE*szPage;
143 p->szPage = szPage;
149 for(i=0; i<TESTPCACHE_NPAGE; i++, x += szPage){
240 memset(p->a[j].pData, 0, p->szPage);
266 memset(p->a[j].pData, 0, p->szPage);
    [all...]
pcache1.c 67 /* Cache configuration parameters. Page size (szPage) and the purgeable
73 int szPage; /* Size of allocated pages in bytes */
92 ** structure. A buffer of PgHdr1.pCache->szPage bytes is allocated
147 ** When a PgHdr1 structure is allocated, the associated PCache1.szPage
149 ** size of the allocation is sizeof(PgHdr1)+PCache1.szPage byte). The
151 ** an argument and returns a pointer to the associated block of szPage
153 ** a pointer to a block of szPage bytes of data and the return value is
158 #define PGHDR1_TO_PAGE(p) (void*)(((char*)p) - p->pCache->szPage)
159 #define PAGE_TO_PGHDR1(c, p) (PgHdr1*)(((char*)p) + c->szPage)
290 int nByte = sizeof(PgHdr1) + pCache->szPage;
    [all...]
wal.c 296 ** The szPage value can be any power of 2 between 512 and 32768, inclusive.
306 u16 szPage; /* Database page size in bytes. 1==64K */
399 ** assuming a database page size of szPage bytes. The offset returned
402 #define walFrameOffset(iFrame, szPage) ( \
403 WAL_HDRSIZE + ((iFrame)-1)*(i64)((szPage)+WAL_FRAME_HDRSIZE) \
417 u32 szPage; /* Database page size */
667 walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum);
711 walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum);
    [all...]
pager.c     [all...]
sqliteInt.h     [all...]
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.c     [all...]

Completed in 374 milliseconds