| /sqlite-3.40.0/ext/fts5/test/ |
| H A D | fts5phrase.test | 33 INSERT INTO t3 VALUES('g f d', 'f c g b j', 'b b h h h j j'); -- 8 34 INSERT INTO t3 VALUES('f h g', 'c j f g j', 'd h d f e b h'); -- 9 36 INSERT INTO t3 VALUES('j h h', 'j i h a g', 'd e i e a g j'); -- 11 45 INSERT INTO t3 VALUES('h g f', 'b h h j d', 'i f d e g j a'); -- 20 52 INSERT INTO t3 VALUES('d j d', 'h a d i a', 'h h f j h g a'); -- 27 54 INSERT INTO t3 VALUES('j e h', 'g h j h g', 'd a e j a a h'); -- 29 58 INSERT INTO t3 VALUES('c h i', 'j d h e e', 'a h i d c c j'); -- 33 62 INSERT INTO t3 VALUES('f e a', 'b h f j h', 'j g h f d g f'); -- 37 65 INSERT INTO t3 VALUES('h h d', 'd i e d i', 'd f e i a h a'); -- 40 67 INSERT INTO t3 VALUES('h i h', 'h d j d e', 'e d b b i e g'); -- 42 [all …]
|
| H A D | fts5ac.test | 29 1 {p k h h p y l l h i p v n} {p p l u r i f a j g e r r x w} 43 15 {n a f n u s w h y n s i q e w} {x g e g a s s h n} 45 17 {g d t u w r o p m n m n p h b o u} {h s w o s l j e} 60 32 {w g v l z f b z h p s c v h} {g e w v m h k r g w a r f q} 66 38 {r w t t t t r v v o e p g h} {l w x a g a u h y} 70 42 {t x w a r l w d t b c o d o} {a h f h w z d n s} 84 56 {v x x c y h z x b g m o q n c} {h n b i t g h a q b c o r u} 96 68 {y a h u h i m a y q} {d d r x h e v q n z y c j} 105 77 {w h h z t h p o a h h e e} {h w r p h k z v y f r x} 122 94 {s f e a e t i h h d q p z t q} {b k m k w h c} [all …]
|
| H A D | fts5ag.test | 46 {m f f d h h s o h a} {y e v r q i u m h d} {b c k q m z l z h n} 49 {k d g o u j p z n o} {t g e q l z i g b j} {f i q q j y h b g h} 53 {p n q l e l h z q c} {n s e i h c v b b u} {m p d i t a o o f f} 61 {y m s x k i m n x c} {b i a n v h z n k a} {w l q p b h h g d y} 63 {r k k j e o m k g b} {h b d c h m y b t u} {u j s h k z c u d y} 65 {u r e q j y h o o s} {x x z r x y t f j s} {k n h x i i u e c v} 66 {q l f d a p w l q o} {y z q w j o p b o v} {s u h z h f d f n l} 67 {q o e o x x l g q i} {j g m h q q w c d b} {o m d h w a g b f n} 69 {u w k a q b u w k w} {a h j u o w f s k p} {j o f s h y t j h g} 71 {j g c d k w b d t v} {a k v c m a v h v p} {i c a i j g h l j h} [all …]
|
| H A D | fts5ak.test | 32 INSERT INTO ft1 VALUES('e j a e f h b f h h'); 33 INSERT INTO ft1 VALUES('j f h d g h i b d f'); 48 {[e] j a [e] f h b f h h} 51 {j f c [e] d a h j d b} 52 {i c c f a d g h j [e]} 53 {g d a [e] h a b c f j} 59 {[e] j a [e] f h b f h h} 62 {j f c [e] d a h j d b} 63 {i c c f a d g h j [e]} 64 {g d a [e] h a b c f j} [all …]
|
| H A D | fts5auto.test | 72 {r x r} {k p i d h h w h z u a x} 77 {o a f k k q p h g x e n z x} {h d w c o l} 93 {j y w h i f g i h m} {v n z b n y} 95 {g h h r s} {h e r e} 107 {d h v w u z r e h x o l t} {p s f y w y r q d a m w} 121 {h z h i p s b j z h} {i t w m k c u g n i} 125 {s q q f d w r l y i z d o m} {b a n d h t b y g h d} 168 {z c m s} {r u r u h n h b p q g b} 184 {u r x l h} {h r l m r} 193 {i e h d h f u w t t z} {v s u l s v o v i k n e} [all …]
|
| H A D | fts5detail.test | 31 INSERT INTO t1 VALUES('h d g', 'j b b g b', 'i e i d h g g'); -- 1 32 INSERT INTO t1 VALUES('h j d', 'j h d a h', 'f d d g g f b'); -- 2 33 INSERT INTO t1 VALUES('j c i', 'f f h e f', 'c j i j c h f'); -- 3 34 INSERT INTO t1 VALUES('e g g', 'g e d h i', 'e d b e g d c'); -- 4 35 INSERT INTO t1 VALUES('b c c', 'd i h a f', 'd i j f a b c'); -- 5 36 INSERT INTO t1 VALUES('e d e', 'b c j g d', 'a i f d h b d'); -- 6 38 INSERT INTO t1 VALUES('c f j', 'j j i e a', 'h a c f d h e'); -- 8 39 INSERT INTO t1 VALUES('a h i', 'c i a f a', 'c f d h g d g'); -- 9 50 3 "c:h" {1 3 6 8 9 10} 62 SELECT rowid FROM t1('h + d'); [all …]
|
| H A D | fts5aa.test | 78 1 {g f d b f} {h h e i a} 80 3 {e e i f a} {e h f d f} 81 4 {h j f j i} {h a c f j} 84 7 {g i j c h} {j d h c a} 86 9 {c j j d c} {h j i f g} 102 1 {g f d b f} {h h e i a} 105 4 {h j f j i} {h a c f j} 108 7 {g i j c h} {j d h c a} 284 1 {g f d b f} {h h e i a} 287 4 {h j f j i} {h a c f j} [all …]
|
| /sqlite-3.40.0/ |
| H A D | main.mk | 257 fts5parse.h 298 opcodes.h \ 300 parse.h \ 302 sqlite3.h 464 opcodes.h \ 471 parse.h \ 473 sqlite3.h \ 570 all: sqlite3.h sqlite3ext.h libsqlite3.a sqlite3$(EXE) 742 sqlite3.h: $(TOP)/src/sqlite.h.in $(TOP)/manifest mksourceid $(TOP)/VERSION $(TOP)/ext/rtree/sqlite… 844 fts5.o: fts5.c sqlite3ext.h sqlite3.h [all …]
|
| H A D | Makefile.in | 376 keywordhash.h \ 378 opcodes.h \ 380 parse.h \ 381 sqlite_cfg.h \ 383 sqlite3.h 546 opcodes.h \ 553 parse.h \ 555 sqlite3.h \ 563 sqlite_cfg.h 1081 opcodes.h: parse.h $(TOP)/src/vdbe.c $(TOP)/tool/mkopcodeh.tcl [all …]
|
| H A D | Makefile.msc | 1484 opcodes.h \ 1485 parse.h \ 1623 opcodes.h \ 1630 parse.h \ 2192 opcodes.h: parse.h $(TOP)\src\vdbe.c $(TOP)\tool\mkopcodeh.tcl 2200 del /Q parse.y parse.h parse.h.temp 2>NUL 2212 copy /Y sqlite3ext.h tsrc\sqlite3ext.h 2214 copy /Y tsrc\sqlite3ext.h sqlite3ext.h 2218 sqlite3session.h: $(TOP)\ext\session\sqlite3session.h 2438 sqlite_tcl.h: [all …]
|
| H A D | sqlite_cfg.h.in | 1 /* sqlite_cfg.h.in. Generated from configure.ac by autoheader. */ 3 /* Define to 1 if you have the <dlfcn.h> header file. */ 27 /* Define to 1 if you have the <inttypes.h> header file. */ 39 /* Define to 1 if you have the <malloc.h> header file. */ 45 /* Define to 1 if you have the <memory.h> header file. */ 60 /* Define to 1 if you have the <stdint.h> header file. */ 63 /* Define to 1 if you have the <stdlib.h> header file. */ 69 /* Define to 1 if you have the <strings.h> header file. */ 72 /* Define to 1 if you have the <string.h> header file. */ 96 /* Define to 1 if you have the <unistd.h> header file. */ [all …]
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3_hash.c | 99 unsigned h = 0; in fts3StrHash() local 102 h = (h<<3) ^ h ^ *z++; in fts3StrHash() 105 return (int)(h & 0x7fffffff); in fts3StrHash() 116 int h = 0; in fts3BinHash() local 119 h = (h<<3) ^ h ^ *(z++); in fts3BinHash() 121 return h & 0x7fffffff; in fts3BinHash() 231 struct _fts3ht *pEntry = &pH->ht[h]; in fts3FindElementByHash() 262 pEntry = &pH->ht[h]; in fts3RemoveElementByHash() 293 h = (*xHash)(pKey,nKey); in sqlite3Fts3HashFindElem() 342 h = hraw & (pH->htsize-1); in sqlite3Fts3HashInsert() [all …]
|
| /sqlite-3.40.0/ext/fts2/ |
| H A D | fts2_hash.c | 101 int h = 0; in strHash() local 104 h = (h<<3) ^ h ^ *z++; in strHash() 107 return h & 0x7fffffff; in strHash() 118 int h = 0; in binHash() local 121 h = (h<<3) ^ h ^ *(z++); in binHash() 123 return h & 0x7fffffff; in binHash() 211 insertElement(pH, &new_ht[h], elem); in rehash() 261 pEntry = &pH->ht[h]; in removeElementGivenHash() 293 h = (*xHash)(pKey,nKey); in sqlite3Fts2HashFind() 331 h = hraw & (pH->htsize-1); in sqlite3Fts2HashInsert() [all …]
|
| /sqlite-3.40.0/ext/fts1/ |
| H A D | ft_hash.c | 114 int h = 0; in strHash() local 117 h = (h<<3) ^ h ^ *z++; in strHash() 120 return h & 0x7fffffff; in strHash() 131 int h = 0; in binHash() local 134 h = (h<<3) ^ h ^ *(z++); in binHash() 136 return h & 0x7fffffff; in binHash() 265 struct _ht *pEntry = &pH->ht[h]; in findElementGivenHash() 296 pEntry = &pH->ht[h]; in removeElementGivenHash() 328 h = (*xHash)(pKey,nKey); in HashFind() 361 h = hraw & (pH->htsize-1); in HashInsert() [all …]
|
| H A D | fts1_hash.c | 94 int h = 0; in strHash() local 97 h = (h<<3) ^ h ^ *z++; in strHash() 100 return h & 0x7fffffff; in strHash() 111 int h = 0; in binHash() local 114 h = (h<<3) ^ h ^ *(z++); in binHash() 116 return h & 0x7fffffff; in binHash() 204 insertElement(pH, &new_ht[h], elem); in rehash() 254 pEntry = &pH->ht[h]; in removeElementGivenHash() 286 h = (*xHash)(pKey,nKey); in sqlite3Fts1HashFind() 324 h = hraw & (pH->htsize-1); in sqlite3Fts1HashInsert() [all …]
|
| /sqlite-3.40.0/src/ |
| H A D | hash.c | 56 unsigned int h = 0; in strHash() local 62 h += sqlite3UpperToLower[c]; in strHash() 63 h *= 0x9e3779b1; in strHash() 65 return h; in strHash() 137 insertElement(pH, &new_ht[h], elem); in rehash() 159 h = strHash(pKey) % pH->htsize; in findElementWithHash() 160 pEntry = &pH->ht[h]; in findElementWithHash() 164 h = 0; in findElementWithHash() 168 if( pHash ) *pHash = h; in findElementWithHash() 197 pEntry = &pH->ht[h]; in removeElementGivenHash() [all …]
|
| H A D | bitvec.c | 146 while( p->u.aHash[h] ){ in sqlite3BitvecTestNotNull() 148 h = (h+1) % BITVEC_NINT; in sqlite3BitvecTestNotNull() 170 u32 h; in sqlite3BitvecSet() local 188 h = BITVEC_HASH(i++); in sqlite3BitvecSet() 192 if( !p->u.aHash[h] ){ in sqlite3BitvecSet() 203 h++; in sqlite3BitvecSet() 204 if( h>=BITVEC_NINT ) h = 0; in sqlite3BitvecSet() 205 } while( p->u.aHash[h] ); in sqlite3BitvecSet() 230 p->u.aHash[h] = i; in sqlite3BitvecSet() 265 h++; in sqlite3BitvecClear() [all …]
|
| H A D | os_win.c | 2245 #define winceMutexRelease(h) ReleaseMutex(h) argument 2672 assert( pFile->h!=NULL && pFile->h!=INVALID_HANDLE_VALUE ); in winClose() 2705 pFile->h = NULL; in winClose() 3587 *phFile = pFile->h; 3595 pFile->h = *phFile; 3862 if( p->hFile.h!=NULL && p->hFile.h!=INVALID_HANDLE_VALUE ){ 5020 HANDLE h; local 5284 osCloseHandle(h); 5302 pFile->h = h; 5781 HANDLE h; local [all …]
|
| H A D | os_unix.c | 1376 fd = pFile->h; in findInodeInfo() 1565 # define osSetPosixAdvisoryLock(h,x,t) osFcntl(h,F_SETLK,x) argument 1891 pFile->h = -1; in setPendingFd() 2097 pFile->h = -1; in closeUnixFile() 3107 int h = pFile->h; in afpUnlock() local 5652 pNew->h = h; in fillInUnixFile() 5714 h = -1; in fillInUnixFile() 5740 h = -1; in fillInUnixFile() 5791 if( h>=0 ) robust_close(pNew, h, __LINE__); in fillInUnixFile() 5792 h = -1; in fillInUnixFile() [all …]
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | uuid.c | 76 static unsigned char sqlite3UuidHexToInt(int h){ in sqlite3UuidHexToInt() argument 77 assert( (h>='0' && h<='9') || (h>='a' && h<='f') || (h>='A' && h<='F') ); in sqlite3UuidHexToInt() 79 h += 9*(1&(h>>6)); in sqlite3UuidHexToInt() 82 h += 9*(1&~(h>>4)); in sqlite3UuidHexToInt() 84 return (unsigned char)(h & 0xf); in sqlite3UuidHexToInt()
|
| /sqlite-3.40.0/test/ |
| H A D | tkt-31338dca7e.test | 92 CREATE TABLE t4(h); 95 SELECT * FROM t3 LEFT JOIN t1 ON d=g LEFT JOIN t4 ON c=h 96 WHERE (a=1 AND h=4) 105 SELECT * FROM t3 LEFT JOIN t1 ON d=g LEFT JOIN t4 ON c=h 106 WHERE (a=1 AND h=4) 116 WHERE (+a=1 AND h=4) 126 WHERE (a=1 AND h=4) 137 CREATE TABLE t6(g,h); 141 WHERE (a=1 AND h=4) 158 WHERE (a=1 AND h=4) [all …]
|
| H A D | fts3conf.test | 62 INSERT INTO t1(rowid, x) VALUES(2, 'e f g h'); 77 1 "INSERT OR ROLLBACK $T1" 0 1 {{a b c d} {e f g h}} 78 2 "INSERT OR ABORT $T1" 0 1 {{a b c d} {e f g h} {i j k l}} 79 3 "INSERT OR FAIL $T1" 0 1 {{a b c d} {e f g h} {i j k l}} 80 4 "INSERT OR IGNORE $T1" 0 0 {{a b c d} {e f g h} {i j k l}} 81 5 "INSERT OR REPLACE $T1" 0 0 {x {e f g h} {i j k l}} 83 6 "INSERT OR ROLLBACK $T2" 1 1 {{a b c d} {e f g h}} 84 7 "INSERT OR ABORT $T2" 1 1 {{a b c d} {e f g h} {i j k l}} 89 11 "UPDATE OR ROLLBACK $T3" 0 1 {{a b c d} {e f g h}} 95 16 "UPDATE OR ROLLBACK $T4" 1 1 {{a b c d} {e f g h}} [all …]
|
| H A D | rollback2.test | 26 CREATE TABLE t1(i, h); 27 CREATE INDEX i1 ON t1(h); 103 SELECT i FROM t1 WHERE (i%2)==0 ORDER BY h DESC; 109 SELECT i FROM t1 WHERE (i%2)==0 ORDER BY h DESC; 121 SELECT i FROM t1 WHERE (i%2)==0 ORDER BY h DESC; 130 do_execsql_test 4.1 { UPDATE t1 SET h = $leader || h; } 133 SELECT i FROM t1 WHERE (i%2)==0 ORDER BY h ASC; 139 SELECT i FROM t1 WHERE (i%2)==0 ORDER BY h ASC; 151 SELECT i FROM t1 WHERE (i%2)==0 ORDER BY h ASC;
|
| H A D | where8.test | 472 CREATE INDEX i8 ON t4(h); 475 CREATE INDEX i6 ON t4(f, g, h); 477 CREATE INDEX i8 ON t4(h, g, f); 594 102 { SELECT * FROM t3, t4 WHERE h >= 'from' AND h < 6939937510 OR g > h } 595 103 { SELECT * FROM t3, t4 WHERE c <= h AND g = h AND c >= 'all' } 597 105 { SELECT * FROM t3, t4 WHERE 'of' >= h } 619 127 { SELECT * FROM t3, t4 WHERE h <= c } 624 132 { SELECT * FROM t3, t4 WHERE h <= 'remarkably' AND 4543.266482 > h } 629 137 { SELECT * FROM t3, t4 WHERE f > 'of' OR h <= h OR a = f } 658 166 { SELECT * FROM t3, t4 WHERE h >= h } [all …]
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_hash.c | 142 unsigned int h = 13; in fts5HashKey() local 144 h = (h << 3) ^ h ^ p[i]; in fts5HashKey() 146 return (h % nSlot); in fts5HashKey() 151 unsigned int h = 13; in fts5HashKey2() local 153 h = (h << 3) ^ h ^ p[i]; in fts5HashKey2() 155 h = (h << 3) ^ h ^ b; in fts5HashKey2() 156 return (h % nSlot); in fts5HashKey2()
|