Searched refs:PGHDR_TO_DATA (Results 1 – 1 of 1) sorted by relevance
/titanic_41/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 in pager_refinfo() 365 ac = &((unsigned char*)PGHDR_TO_DATA(p))[offset]; in store32bits() 580 memcpy(PGHDR_TO_DATA(pPg), pgRec.aData, SQLITE_PAGE_SIZE); in pager_playback_one_page() 584 CODEC(pPager, PGHDR_TO_DATA(pPg), pPg->pgno, 3); in pager_playback_one_page() 750 if( pPg->nRef==0 || memcmp(zBuf, PGHDR_TO_DATA(pPg), SQLITE_PAGE_SIZE) ){ in pager_playback() 751 memcpy(PGHDR_TO_DATA(pPg), zBuf, SQLITE_PAGE_SIZE); in pager_playback() 1269 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 6); in pager_write_pagelist() 1271 rc = sqliteOsWrite(&pPager->fd, PGHDR_TO_DATA(pList), SQLITE_PAGE_SIZE); in pager_write_pagelist() 1272 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 0); in pager_write_pagelist() [all …]
|