WalIndexHdr 49188 ext/sqlite3/libsqlite/sqlite3.c typedef struct WalIndexHdr WalIndexHdr; WalIndexHdr 49278 ext/sqlite3/libsqlite/sqlite3.c #define WALINDEX_LOCK_OFFSET (sizeof(WalIndexHdr)*2 + sizeof(WalCkptInfo)) WalIndexHdr 49332 ext/sqlite3/libsqlite/sqlite3.c WalIndexHdr hdr; /* Wal-index header for current transaction */ WalIndexHdr 49464 ext/sqlite3/libsqlite/sqlite3.c return (volatile WalCkptInfo*)&(pWal->apWiData[0][sizeof(WalIndexHdr)/2]); WalIndexHdr 49470 ext/sqlite3/libsqlite/sqlite3.c static volatile WalIndexHdr *walIndexHdr(Wal *pWal){ WalIndexHdr 49472 ext/sqlite3/libsqlite/sqlite3.c return (volatile WalIndexHdr*)pWal->apWiData[0]; WalIndexHdr 49546 ext/sqlite3/libsqlite/sqlite3.c volatile WalIndexHdr *aHdr = walIndexHdr(pWal); WalIndexHdr 49547 ext/sqlite3/libsqlite/sqlite3.c const int nCksum = offsetof(WalIndexHdr, aCksum); WalIndexHdr 49553 ext/sqlite3/libsqlite/sqlite3.c memcpy((void *)&aHdr[1], (void *)&pWal->hdr, sizeof(WalIndexHdr)); WalIndexHdr 49555 ext/sqlite3/libsqlite/sqlite3.c memcpy((void *)&aHdr[0], (void *)&pWal->hdr, sizeof(WalIndexHdr)); WalIndexHdr 49988 ext/sqlite3/libsqlite/sqlite3.c memset(&pWal->hdr, 0, sizeof(WalIndexHdr)); WalIndexHdr 50869 ext/sqlite3/libsqlite/sqlite3.c WalIndexHdr h1, h2; /* Two copies of the header content */ WalIndexHdr 50870 ext/sqlite3/libsqlite/sqlite3.c WalIndexHdr volatile *aHdr; /* Header in shared memory */ WalIndexHdr 50901 ext/sqlite3/libsqlite/sqlite3.c if( memcmp(&pWal->hdr, &h1, sizeof(WalIndexHdr)) ){ WalIndexHdr 50903 ext/sqlite3/libsqlite/sqlite3.c memcpy(&pWal->hdr, &h1, sizeof(WalIndexHdr)); WalIndexHdr 51118 ext/sqlite3/libsqlite/sqlite3.c if( memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr)) ){ WalIndexHdr 51205 ext/sqlite3/libsqlite/sqlite3.c || memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr)) WalIndexHdr 51429 ext/sqlite3/libsqlite/sqlite3.c if( memcmp(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr))!=0 ){ WalIndexHdr 51472 ext/sqlite3/libsqlite/sqlite3.c memcpy(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr)); WalIndexHdr 51953 ext/sqlite3/libsqlite/sqlite3.c memset(&pWal->hdr, 0, sizeof(WalIndexHdr));