/external/chromium_org/third_party/sqlite/src/src/ |
H A D | pcache.c | 24 int szPage; /* Size of every page in this cache */ member in struct:PCache 171 int szPage, /* Size of every page */ 179 p->szPage = szPage; 191 void sqlite3PcacheSetPageSize(PCache *pCache, int szPage){ argument 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] ); 170 sqlite3PcacheOpen( int szPage, int szExtra, int bPurgeable, int (*xStress)(void*,PgHdr*), void *pStress, PCache *p ) argument [all...] |
H A D | test_pcache.c | 102 int szPage; /* Size of each page. Multiple of 8. */ member in struct:testpcache 132 static sqlite3_pcache *testpcacheCreate(int szPage, int bPurgeable){ argument 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...] |
H A D | pcache1.c | 67 /* Cache configuration parameters. Page size (szPage) and the purgeable 73 int szPage; /* Size of allocated pages in bytes */ member in struct:PCache1 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; 546 pcache1Create(int szPage, int bPurgeable) argument [all...] |
H A D | 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 */ member in struct:WalIndexHdr 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 */ member in struct:Wal 667 walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum); 711 walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum); 1081 int szPage; /* Page size according to the log */ local 1097 szPage 1629 int szPage; /* Database page-size */ local 2557 sqlite3WalFrames( Wal *pWal, int szPage, PgHdr *pList, Pgno nTruncate, int isCommit, int sync_flags ) argument [all...] |
H A D | pager.c | 1117 int szPage; /* Page size */ local 1122 szPage = pPager->pageSize; 1126 if( 0==(dc&(SQLITE_IOCAP_ATOMIC|(szPage>>8)) || nSector>szPage) ){ 2480 int szPage = pPager->pageSize; local 2484 newSize = szPage*(i64)nPage; 2490 memset(pTmp, 0, szPage); 2491 testcase( (newSize-szPage) < currentSize ); 2492 testcase( (newSize-szPage) == currentSize ); 2493 testcase( (newSize-szPage) > currentSiz [all...] |
H A D | sqliteInt.h | 2436 int szPage; /* Size of each page in pPage[] */ member in struct:Sqlite3Config
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 6300 ** first parameter, szPage, is the size in bytes of the pages that must 6301 ** be allocated by the cache. ^szPage will not be a power of two. ^szPage 6333 ** A "page", in this context, means a buffer of szPage bytes aligned at an 6394 sqlite3_pcache *(*xCreate)(int szPage, int bPurgeable); 8546 int szPage, /* Size of every page */ 10781 int szPage; /* Size of each page in pPage[] */ member in struct:Sqlite3Config 11738 0, /* szPage */ 17891 if( sqlite3GlobalConfig.pPage==0 || sqlite3GlobalConfig.szPage<512 17894 sqlite3GlobalConfig.szPage 34349 int szPage; /* Size of every page in this cache */ member in struct:PCache 34495 sqlite3PcacheOpen( int szPage, int szExtra, int bPurgeable, int (*xStress)(void*,PgHdr*), void *pStress, PCache *p ) argument 34516 sqlite3PcacheSetPageSize(PCache *pCache, int szPage) argument 34987 int szPage; /* Size of allocated pages in bytes */ member in struct:PCache1 35460 pcache1Create(int szPage, int bPurgeable) argument 37547 int szPage; /* Page size */ local 38910 int szPage = pPager->pageSize; local 43586 u16 szPage; /* Database page size in bytes. 1==64K */ member in struct:WalIndexHdr 43697 u32 szPage; /* Database page size */ member in struct:Wal 44361 int szPage; /* Page size according to the log */ local 44909 int szPage; /* Database page-size */ local 45837 sqlite3WalFrames( Wal *pWal, int szPage, PgHdr *pList, Pgno nTruncate, int isCommit, int sync_flags ) argument [all...] |
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 6689 ** first parameter, szPage, is the size in bytes of the pages that must 6690 ** be allocated by the cache. ^szPage will always a power of two. ^The 6724 ** pointer to a buffer of szPage bytes used to store the content of a 6799 sqlite3_pcache *(*xCreate)(int szPage, int szExtra, int bPurgeable); 6821 sqlite3_pcache *(*xCreate)(int szPage, int bPurgeable); 9866 int szPage, /* Size of every page */ 12202 int szPage; /* Size of each page in pPage[] */ member in struct:Sqlite3Config 13350 0, /* szPage */ 19930 if( sqlite3GlobalConfig.pPage==0 || sqlite3GlobalConfig.szPage<512 19933 sqlite3GlobalConfig.szPage 37948 int szPage; /* Size of every page in this cache */ member in struct:PCache 38102 sqlite3PcacheOpen( int szPage, int szExtra, int bPurgeable, int (*xStress)(void*,PgHdr*), void *pStress, PCache *p ) argument 38124 sqlite3PcacheSetPageSize(PCache *pCache, int szPage) argument 38636 int szPage; /* Size of allocated pages in bytes */ member in struct:PCache1 39122 pcache1Create(int szPage, int szExtra, int bPurgeable) argument 41397 int szPage; /* Page size */ local 42779 int szPage = pPager->pageSize; local 47787 u16 szPage; /* Database page size in bytes. 1==64K */ member in struct:WalIndexHdr 47900 u32 szPage; /* Database page size */ member in struct:Wal 48579 int szPage; /* Page size according to the log */ local 49146 int szPage; /* Database page-size */ local 50134 int szPage; /* Size of one page */ member in struct:WalWriter 50196 sqlite3WalFrames( Wal *pWal, int szPage, PgHdr *pList, Pgno nTruncate, int isCommit, int sync_flags ) argument [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 6689 ** first parameter, szPage, is the size in bytes of the pages that must 6690 ** be allocated by the cache. ^szPage will always a power of two. ^The 6724 ** pointer to a buffer of szPage bytes used to store the content of a 6799 sqlite3_pcache *(*xCreate)(int szPage, int szExtra, int bPurgeable); 6821 sqlite3_pcache *(*xCreate)(int szPage, int bPurgeable); 9866 int szPage, /* Size of every page */ 12202 int szPage; /* Size of each page in pPage[] */ member in struct:Sqlite3Config 13350 0, /* szPage */ 19930 if( sqlite3GlobalConfig.pPage==0 || sqlite3GlobalConfig.szPage<512 19933 sqlite3GlobalConfig.szPage 37968 int szPage; /* Size of every page in this cache */ member in struct:PCache 38122 sqlite3PcacheOpen( int szPage, int szExtra, int bPurgeable, int (*xStress)(void*,PgHdr*), void *pStress, PCache *p ) argument 38144 sqlite3PcacheSetPageSize(PCache *pCache, int szPage) argument 38656 int szPage; /* Size of allocated pages in bytes */ member in struct:PCache1 39142 pcache1Create(int szPage, int szExtra, int bPurgeable) argument 41417 int szPage; /* Page size */ local 42799 int szPage = pPager->pageSize; local 47807 u16 szPage; /* Database page size in bytes. 1==64K */ member in struct:WalIndexHdr 47920 u32 szPage; /* Database page size */ member in struct:Wal 48599 int szPage; /* Page size according to the log */ local 49166 int szPage; /* Database page-size */ local 50154 int szPage; /* Size of one page */ member in struct:WalWriter 50216 sqlite3WalFrames( Wal *pWal, int szPage, PgHdr *pList, Pgno nTruncate, int isCommit, int sync_flags ) argument [all...] |