Lines Matching refs:Bitvec

7580 typedef struct Bitvec Bitvec;
11028 SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(u32);
11029 SQLITE_PRIVATE int sqlite3BitvecTest(Bitvec*, u32);
11030 SQLITE_PRIVATE int sqlite3BitvecSet(Bitvec*, u32);
11031 SQLITE_PRIVATE void sqlite3BitvecClear(Bitvec*, u32, void*);
11032 SQLITE_PRIVATE void sqlite3BitvecDestroy(Bitvec*);
11033 SQLITE_PRIVATE u32 sqlite3BitvecSize(Bitvec*);
33947 ** 5 and 500 set operations per Bitvec object, though the number of sets can
33949 ** Bitvec object is the number of pages in the database file at the
33954 /* Size of the Bitvec structure in bytes. */
33958 ** it will be aligned within the Bitvec struct. */
33959 #define BITVEC_USIZE (((BITVEC_SZ-(3*sizeof(u32)))/sizeof(Bitvec*))*sizeof(Bitvec*))
33984 #define BITVEC_NPTR (BITVEC_USIZE/sizeof(Bitvec *))
33994 ** If iSize<=BITVEC_NBIT, then Bitvec.u.aBitmap[] is a straight
33997 ** If iSize>BITVEC_NBIT and iDivisor==0 then Bitvec.u.aHash[] is
34001 ** sub-bitmaps pointed to by Bitvec.u.apSub[]. Each subbitmap
34008 struct Bitvec {
34020 Bitvec *apSub[BITVEC_NPTR]; /* Recursive representation */
34029 SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(u32 iSize){
34030 Bitvec *p;
34044 SQLITE_PRIVATE int sqlite3BitvecTest(Bitvec *p, u32 i){
34076 ** The calling function must ensure that p is a valid Bitvec object
34077 ** and that the value for "i" is within range of the Bitvec object.
34080 SQLITE_PRIVATE int sqlite3BitvecSet(Bitvec *p, u32 i){
34151 SQLITE_PRIVATE void sqlite3BitvecClear(Bitvec *p, u32 i, void *pBuf){
34188 SQLITE_PRIVATE void sqlite3BitvecDestroy(Bitvec *p){
34200 ** Return the value of the iSize parameter specified when Bitvec *p
34203 SQLITE_PRIVATE u32 sqlite3BitvecSize(Bitvec *p){
34219 ** This routine runs an extensive test of the Bitvec code.
34222 ** to test the Bitvec. The integers are opcodes followed
34237 ** on both a Bitvec object and on a linear array of bits obtained from malloc.
34238 ** Opcode 5 works on the linear array only, not on the Bitvec.
34243 ** against the Bitvec object. If there are any differences,
34249 Bitvec *pBitvec = 0;
34255 /* Allocate the Bitvec to be tested and a linear array of
34302 ** Bitvec object. Start with the assumption that they do
36878 Bitvec *pInSavepoint; /* Set of pages in this savepoint */
37078 Bitvec *pInJournal; /* One bit for each page in the database file */
38529 Bitvec *pDone, /* Bitvec of pages already played back */
39616 Bitvec *pDone = 0; /* Bitvec to ensure pages played back only once */
46632 Bitvec *pHasContent; /* Set of pages moved to free-list this transaction */
47667 Bitvec *p = pBt->pHasContent;
109735 ** Run a test against a Bitvec object of size. The program argument