Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 18 of 18) sorted by relevance

/sqlite-3.40.0/ext/session/
H A Dsession_speed_test.c273 offsetof(struct Options, nRow) ), in main()
275 offsetof(struct Options, bWithoutRowid) ), in main()
277 offsetof(struct Options, bInteger) ), in main()
279 offsetof(struct Options, bAll) ), in main()
281 offsetof(struct Options, zDb) ), in main()
/sqlite-3.40.0/src/
H A DsqliteInt.h730 #ifndef offsetof
731 #define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD)) macro
2979 #define EXPR_REDUCEDSIZE offsetof(Expr,iTable) /* Common features */
2980 #define EXPR_TOKENONLYSIZE offsetof(Expr,pLeft) /* Fewer features */
3747 #define PARSE_HDR(X) (((char*)(X))+offsetof(Parse,zErrMsg))
3748 #define PARSE_HDR_SZ (offsetof(Parse,aTempReg)-offsetof(Parse,zErrMsg)) /* Recursive part w/o aColC…
3749 #define PARSE_RECURSE_SZ offsetof(Parse,sLastToken) /* Recursive part */
H A DwhereInt.h161 # define WHERE_LOOP_XFER_SZ offsetof(WhereLoop,nLSlot)
H A DvdbeInt.h237 #define MEMCELLSIZE offsetof(Mem,db)
H A Dvtab.c996 callFinaliser(db, offsetof(sqlite3_module,xRollback)); in sqlite3VtabRollback()
1005 callFinaliser(db, offsetof(sqlite3_module,xCommit)); in sqlite3VtabCommit()
H A Dpcache.c497 memset(&pPgHdr->pDirty, 0, sizeof(PgHdr) - offsetof(PgHdr,pDirty)); in pcacheFetchFinishWithInit()
H A Dpcache1.c1056 assert( offsetof(PgHdr1,page)==0 ); in pcache1Fetch()
H A Dwal.c473 #define WALINDEX_LOCK_OFFSET (sizeof(WalIndexHdr)*2+offsetof(WalCkptInfo,aLock))
797 const int nCksum = offsetof(WalIndexHdr, aCksum); in walIndexWriteHdr()
H A Dtest_vfs.c676 nByte = offsetof(sqlite3_io_methods, xShmMap); in tvfsOpen()
H A Dwhereexpr.c90 sizeof(WhereTerm) - offsetof(WhereTerm,eOperator)); in whereClauseInsert()
H A Dbtree.c894 assert( offsetof(BtCursor, eState)==0 ); in sqlite3BtreeCursorHasMoved()
906 assert( offsetof(BtCursor, eState)==0 ); in sqlite3BtreeFakeValidCursor()
4636 memset(p, 0, offsetof(BtCursor, BTCURSOR_FIRST_UNINIT)); in sqlite3BtreeCursorZero()
H A Dwhere.c5708 offsetof(WhereInfo,sWC) - offsetof(WhereInfo,nOBSat)); in sqlite3WhereBegin()
H A Dvdbeaux.c30 memset(&p->aOp, 0, sizeof(Vdbe)-offsetof(Vdbe,aOp)); in sqlite3VdbeCreate()
H A Dos_win.c2231 #define HANDLE_TO_WINFILE(a) (winFile*)&((char*)a)[-(int)offsetof(winFile,h)]
H A Dvdbe.c298 memset(pCx, 0, offsetof(VdbeCursor,pAltCursor)); in allocateCursor()
/sqlite-3.40.0/ext/wasm/jaccwabyt/
H A Djaccwabyt.md250 by C's `offsetof()` feature.
899 `offsetof()` features (noting that struct padding may impact offsets
924 #include <stddef.h> /* offsetof() */
979 (int)offsetof(CurrentStruct,MEMBER), \
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-wasm.c710 (int)offsetof(CurrentStruct,MEMBER), \ in sqlite3_wasm_enum_json()
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_tree.c1144 assert( (offsetof(TreeHeader, aCksum) + sizeof(u32)*2)==sizeof(TreeHeader) ); in treeHeaderChecksum()
1147 for(i=0; i<(offsetof(TreeHeader, aCksum) / sizeof(u32)); i+=2){ in treeHeaderChecksum()