Lines Matching defs:offsetof

15784 ** GCC does not define the offsetof() macro so we'll have to do it
15787 #ifndef offsetof
15788 # define offsetof(ST,M) ((size_t)((char*)&((ST*)0)->M - (char*)0))
19598 #define SZ_FKEY(N) (offsetof(FKey,aCol)+(N)*sizeof(struct sColMap))
19673 #define SZ_KEYINFO(N) (offsetof(KeyInfo,aColl) + (N)*sizeof(CollSeq*))
19677 # define SZ_KEYINFO_0 offsetof(KeyInfo,aColl)
20184 #define EXPR_REDUCEDSIZE offsetof(Expr,iTable) /* Common features */
20185 #define EXPR_TOKENONLYSIZE offsetof(Expr,pLeft) /* Fewer features */
20259 (offsetof(ExprList,a) + (N)*sizeof(struct ExprList_item))
20292 #define SZ_IDLIST(N) (offsetof(IdList,a)+(N)*sizeof(struct IdList_item))
20421 #define SZ_SRCLIST(N) (offsetof(SrcList,a)+(N)*sizeof(SrcItem))
20425 #define SZ_SRCLIST_1 (offsetof(SrcList,a)+sizeof(SrcItem))
20937 ** determined by offsetof(Parse,aTempReg).
20960 ** using offsetof(Parse,sLastToken) so the sLastToken field must be the
21003 #define PARSE_HDR(X) (((char*)(X))+offsetof(Parse,zErrMsg))
21004 #define PARSE_HDR_SZ (offsetof(Parse,aTempReg)-offsetof(Parse,zErrMsg)) /* Recursive part w/o aColCache*/
21005 #define PARSE_RECURSE_SZ offsetof(Parse,sLastToken) /* Recursive part */
21478 #define SZ_WITH(N) (offsetof(With,a) + (N)*sizeof(Cte))
21513 #define SZ_DBCLIENTDATA(N) (offsetof(DbClientData,zName)+(N))
24389 (ROUND8(offsetof(VdbeCursor,aType)) + ((N)+1)*sizeof(u64))
24504 #define MEMCELLSIZE offsetof(Mem,db)
24655 (offsetof(sqlite3_context,argv)+(N)*sizeof(sqlite3_value*))
50950 #define HANDLE_TO_WINFILE(a) (winFile*)&((char*)a)[-(int)offsetof(winFile,h)]
57207 memset(&pPgHdr->pDirty, 0, sizeof(PgHdr) - offsetof(PgHdr,pDirty));
58690 assert( offsetof(PgHdr1,page)==0 );
67896 #define WALINDEX_LOCK_OFFSET (sizeof(WalIndexHdr)*2+offsetof(WalCkptInfo,aLock))
68028 (offsetof(WalIterator,aSegment)+(N)*sizeof(struct WalSegment))
68367 const int nCksum = offsetof(WalIndexHdr, aCksum);
74063 assert( offsetof(BtCursor, eState)==0 );
74075 assert( offsetof(BtCursor, eState)==0 );
77940 memset(p, 0, offsetof(BtCursor, BTCURSOR_FIRST_UNINIT));
81386 assert( sizeof(b) - sizeof(b.ixNx) == offsetof(CellArray,ixNx) );
87752 memset(&p->aOp, 0, sizeof(Vdbe)-offsetof(Vdbe,aOp));
96759 memset(pCx, 0, offsetof(VdbeCursor,pAltCursor));
106710 #define SZ_VDBESORTER(N) (offsetof(VdbeSorter,aTask)+(N)*sizeof(SortSubtask))
131371 assert( offsetof(Subquery, pSelect)==0 );
162654 callFinaliser(db, offsetof(sqlite3_module,xRollback));
162663 callFinaliser(db, offsetof(sqlite3_module,xCommit));
163202 # define WHERE_LOOP_XFER_SZ offsetof(WhereLoop,nLSlot)
163552 #define SZ_WHEREINFO(N) ROUND8(offsetof(WhereInfo,a)+(N)*sizeof(WhereLevel))
166733 sizeof(WhereTerm) - offsetof(WhereTerm,eOperator));
168636 (offsetof(HiddenIndexInfo,aRhs) + (N)*sizeof(sqlite3_value*))
175509 offsetof(WhereInfo,sWC) - offsetof(WhereInfo,nOBSat));
193441 #ifndef offsetof
193442 # define offsetof(ST,M) ((size_t)((char*)&((ST*)0)->M - (char*)0))
193685 (offsetof(Fts3Phrase,aToken)+(N)*sizeof(Fts3PhraseToken))
209956 (offsetof(MatchinfoBuffer,aMI)+(((N)+1)/2)*sizeof(u64))
218193 #ifndef offsetof
218194 # define offsetof(ST,M) ((size_t)((char*)&((ST*)0)->M - (char*)0))
218526 (offsetof(RtreeMatchArg,aParam)+(N)*sizeof(RtreeDValue))
241425 #ifndef offsetof
241426 # define offsetof(ST,M) ((size_t)((char*)&((ST*)0)->M - (char*)0))
246302 (offsetof(Fts5ExprNode,apChild) + (N)*sizeof(Fts5ExprNode*))
246339 (offsetof(Fts5ExprPhrase,aTerm) + (N)*sizeof(Fts5ExprTerm))
246354 (offsetof(Fts5ExprNearset,apPhrase)+(N)*sizeof(Fts5ExprPhrase*))
250516 (offsetof(Fts5Structure,aLevel) + (N)*sizeof(Fts5StructureLevel))
250684 (offsetof(Fts5TombstoneArray,apTombstone)+(N)*sizeof(Fts5Data*))
250758 #define SZ_FTS5ITER(N) (offsetof(Fts5Iter,aSeg)+(N)*sizeof(Fts5SegIter))
250791 (offsetof(Fts5DlidxIter,aLvl)+(N)*sizeof(Fts5DlidxLvl))
256524 (offsetof(Fts5TokenDataIter,apIter) + (N)*sizeof(Fts5Iter))
259809 #define SZ_FTS5SORTER(N) (offsetof(Fts5Sorter,nIdx)+((N+2)/2)*sizeof(i64))