Searched refs:PGHDR_TO_DATA (Results 1 - 1 of 1) sorted by relevance
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | pager.c | 141 #define PGHDR_TO_DATA(P) ((void*)(&(P)[1])) macro 304 p->pgno, (int)PGHDR_TO_DATA(p), p->nRef 365 ac = &((unsigned char*)PGHDR_TO_DATA(p))[offset]; 580 memcpy(PGHDR_TO_DATA(pPg), pgRec.aData, SQLITE_PAGE_SIZE); 584 CODEC(pPager, PGHDR_TO_DATA(pPg), pPg->pgno, 3); 750 if( pPg->nRef==0 || memcmp(zBuf, PGHDR_TO_DATA(pPg), SQLITE_PAGE_SIZE) ){ 751 memcpy(PGHDR_TO_DATA(pPg), zBuf, SQLITE_PAGE_SIZE); 1269 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 6); 1271 rc = sqliteOsWrite(&pPager->fd, PGHDR_TO_DATA(pList), SQLITE_PAGE_SIZE); 1272 CODEC(pPager, PGHDR_TO_DATA(pLis [all...] |
Completed in 24 milliseconds