Lines Matching refs:Bitvec

8783 typedef struct Bitvec Bitvec;
12539 SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(u32);
12540 SQLITE_PRIVATE int sqlite3BitvecTest(Bitvec*, u32);
12541 SQLITE_PRIVATE int sqlite3BitvecSet(Bitvec*, u32);
12542 SQLITE_PRIVATE void sqlite3BitvecClear(Bitvec*, u32, void*);
12543 SQLITE_PRIVATE void sqlite3BitvecDestroy(Bitvec*);
12544 SQLITE_PRIVATE u32 sqlite3BitvecSize(Bitvec*);
37567 ** 5 and 500 set operations per Bitvec object, though the number of sets can
37569 ** Bitvec object is the number of pages in the database file at the
37574 /* Size of the Bitvec structure in bytes. */
37578 ** it will be aligned within the Bitvec struct. */
37579 #define BITVEC_USIZE (((BITVEC_SZ-(3*sizeof(u32)))/sizeof(Bitvec*))*sizeof(Bitvec*))
37604 #define BITVEC_NPTR (BITVEC_USIZE/sizeof(Bitvec *))
37614 ** If iSize<=BITVEC_NBIT, then Bitvec.u.aBitmap[] is a straight
37617 ** If iSize>BITVEC_NBIT and iDivisor==0 then Bitvec.u.aHash[] is
37621 ** sub-bitmaps pointed to by Bitvec.u.apSub[]. Each subbitmap
37628 struct Bitvec {
37640 Bitvec *apSub[BITVEC_NPTR]; /* Recursive representation */
37649 SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(u32 iSize){
37650 Bitvec *p;
37664 SQLITE_PRIVATE int sqlite3BitvecTest(Bitvec *p, u32 i){
37696 ** The calling function must ensure that p is a valid Bitvec object
37697 ** and that the value for "i" is within range of the Bitvec object.
37700 SQLITE_PRIVATE int sqlite3BitvecSet(Bitvec *p, u32 i){
37771 SQLITE_PRIVATE void sqlite3BitvecClear(Bitvec *p, u32 i, void *pBuf){
37808 SQLITE_PRIVATE void sqlite3BitvecDestroy(Bitvec *p){
37820 ** Return the value of the iSize parameter specified when Bitvec *p
37823 SQLITE_PRIVATE u32 sqlite3BitvecSize(Bitvec *p){
37839 ** This routine runs an extensive test of the Bitvec code.
37842 ** to test the Bitvec. The integers are opcodes followed
37857 ** on both a Bitvec object and on a linear array of bits obtained from malloc.
37858 ** Opcode 5 works on the linear array only, not on the Bitvec.
37863 ** against the Bitvec object. If there are any differences,
37869 Bitvec *pBitvec = 0;
37875 /* Allocate the Bitvec to be tested and a linear array of
37921 ** Bitvec object. Start with the assumption that they do
40714 Bitvec *pInSavepoint; /* Set of pages in this savepoint */
40923 Bitvec *pInJournal; /* One bit for each page in the database file */
42418 Bitvec *pDone, /* Bitvec of pages already played back */
43540 Bitvec *pDone = 0; /* Bitvec to ensure pages played back only once */
51046 Bitvec *pHasContent; /* Set of pages moved to free-list this transaction */
52118 Bitvec *p = pBt->pHasContent;
125288 ** Run a test against a Bitvec object of size. The program argument