Searched refs:PGHDR_TO_DATA (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | pager.c | 139 #define PGHDR_TO_DATA(P) ((void*)(&(P)[1])) macro 302 p->pgno, (int)PGHDR_TO_DATA(p), p->nRef in pager_refinfo() 363 ac = &((unsigned char*)PGHDR_TO_DATA(p))[offset]; in store32bits() 578 memcpy(PGHDR_TO_DATA(pPg), pgRec.aData, SQLITE_PAGE_SIZE); in pager_playback_one_page() 582 CODEC(pPager, PGHDR_TO_DATA(pPg), pPg->pgno, 3); in pager_playback_one_page() 748 if( pPg->nRef==0 || memcmp(zBuf, PGHDR_TO_DATA(pPg), SQLITE_PAGE_SIZE) ){ in pager_playback() 749 memcpy(PGHDR_TO_DATA(pPg), zBuf, SQLITE_PAGE_SIZE); in pager_playback() 1267 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 6); in pager_write_pagelist() 1269 rc = sqliteOsWrite(&pPager->fd, PGHDR_TO_DATA(pList), SQLITE_PAGE_SIZE); in pager_write_pagelist() 1270 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 0); in pager_write_pagelist() [all …]
|