Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/sqlite-3.40.0/tool/
H A Dmkkeywordhash.c380 int j; in reorder() local
384 j--; in reorder()
419 j++; in main()
442 for(j=nKeyword-1; j>i && p->substrId==0; j--){ in main()
460 for(j=0; j<nKeyword; j++){ in main()
484 for(j=i+1; j<nKeyword; j++){ in main()
517 for(j=0; j<i; j++) aKWHash[j] = 0; in main()
518 for(j=0; j<nKeyword; j++){ in main()
523 for(j=count=0; j<i; j++) count += aKWHash[j]; in main()
588 j++; in main()
[all …]
H A Dshowdb.c194 int i, j; in print_byte_range() local
212 for(j=0; j<g.perLine; j++){ in print_byte_range()
218 for(j=0; j<g.perLine; j++){ in print_byte_range()
225 for(j=0; j<g.perLine; j++){ in print_byte_range()
258 int i, j; in print_decode_line() local
263 for(j=1; j<4; j++){ in print_decode_line()
472 int j; in printBytes() local
474 for(j=0; j<9; j++){ in printBytes()
546 while( x+j<=end && j<nHdr ){ in decodeCell()
1022 for(j=0; j<2; j++){ in page_usage_report()
[all …]
H A Dspeedtest16.c48 int i, j; in asciiToUtf16le() local
51 for(i=j=0; i<=n; i++){ in asciiToUtf16le()
52 z16[j++] = z[i]; in asciiToUtf16le()
53 z16[j++] = 0; in asciiToUtf16le()
106 int i, j; in main() local
136 for(i=j=0; j<nSql; j++){ in main()
140 zSql[j+1] = 0; in main()
142 zSql[j+1] = c; in main()
144 zSql[j] = 0; in main()
146 if( i<j ){ in main()
[all …]
H A Dshowshm.c63 int i, j; in print_decode_line() local
68 for(j=1; j<4; j++){ in print_decode_line()
69 if( j>=nByte ){ in print_decode_line()
72 sprintf(&zBuf[i], " %02x", aData[ofst+j]); in print_decode_line()
73 val = val*256 + aData[ofst+j]; in print_decode_line()
78 for(j=4; j<8; j++){ in print_decode_line()
79 sprintf(&zBuf[i], " %02x", aData[ofst+j]); in print_decode_line()
127 int j; in print_ckpt_info() local
129 for(j=0; j<5; j++){ in print_ckpt_info()
131 sprintf(zLabel, "aReadMark[%d]", j); in print_ckpt_info()
[all …]
H A Dshowstat4.c39 int rc, j, x, y, mxHdr; in main() local
79 for(j=0; j<nSample; j++) printf("%02x", aSample[j]); in main()
116 for(j=1; j<sz; j++){ in main()
117 v = (v<<8) + aSample[y+j]; in main()
131 for(j=0; j<sz; j++){ in main()
132 printf("%02x", aSample[y+j]); in main()
137 for(j=0; j<sz; j++){ in main()
138 char c = (char)aSample[y+j]; in main()
H A Dlemon.c1982 for(j=0; op[j].label; j++){ in handleflags()
2024 for(j=0; op[j].label; j++){ in handleswitch()
2903 for(j=start; j<i; j++) if( z[j]!='\n' ) z[j] = ' '; in preprocess_input()
2906 for(j=i; z[j] && z[j]!='\n'; j++) z[j] = ' '; in preprocess_input()
2910 for(j=start; j<i; j++) if( z[j]!='\n' ) z[j] = ' '; in preprocess_input()
2916 for(j=i; z[j] && z[j]!='\n'; j++) z[j] = ' '; in preprocess_input()
2925 for(j=i; z[j] && !ISSPACE(z[j]); j++){} in preprocess_input()
2939 for(j=i; z[j] && z[j]!='\n'; j++) z[j] = ' '; in preprocess_input()
3999 for(j=0; j<i; j++){ in translate_code()
4161 for(j=0; stddt[j]; j++){ in print_stack_union()
[all …]
H A Dshowwal.c138 int i, j; in print_byte_range() local
155 for(j=0; j<perLine; j++){ in print_byte_range()
162 for(j=0; j<perLine; j++){ in print_byte_range()
181 int i, j; in print_decode_line() local
186 for(j=1; j<4; j++){ in print_decode_line()
187 if( j>=nByte ){ in print_decode_line()
292 int n, j; in describeContent() local
342 zDesc += j; in describeContent()
343 nDesc += j; in describeContent()
448 int i, j; in decode_btree_page() local
[all …]
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5phrase.test26 INSERT INTO t3 VALUES('d e a', 'd i j j f', 'i j i e b f h'); -- 1
29 INSERT INTO t3 VALUES('a g c', 'd j d j c', 'c d f j i g j'); -- 4
30 INSERT INTO t3 VALUES('b c b', 'j g c d f', 'j c j d g f b'); -- 5
33 INSERT INTO t3 VALUES('g f d', 'f c g b j', 'b b h h h j j'); -- 8
36 INSERT INTO t3 VALUES('j h h', 'j i h a g', 'd e i e a g j'); -- 11
41 INSERT INTO t3 VALUES('h j e', 'e b b c f', 'j a f g h d j'); -- 16
46 INSERT INTO t3 VALUES('e h f', 'j c b c f', 'j a j g h a c'); -- 21
51 INSERT INTO t3 VALUES('a f d', 'a j e a h', 'j i h j a i f'); -- 26
54 INSERT INTO t3 VALUES('j e h', 'g h j h g', 'd a e j a a h'); -- 29
56 INSERT INTO t3 VALUES('h f f', 'i j g e c', 'j j f c a i j'); -- 31
[all …]
H A Dfts5auto.test27 {n x w k b p x b n t t d s} {f j j s p j o}
36 {w r j z n s l} {m j i w d t w e l}
51 {e u t q v z q k j p u f j p} {y c b}
64 {v b b h d d q y j q j} {a m w d t}
67 {z u w j f d b f} {j w i c g u d w e}
73 {k m j p} {h l j a e u c i q x x f x g}
124 {h g j u j n v e n z} {p z j n n f}
147 {d r j j r j i g p} {u}
159 {d p z j y u r} {z p l q w j t j}
207 {} {j s g j j x u y}
[all …]
H A Dfts5ak.test34 INSERT INTO ft1 VALUES('d c j d c j b c g e');
36 INSERT INTO ft1 VALUES('j f c e d a h j d b');
49 {d c j d c j b c g [e]}
50 {i a d [e] g j g d a a}
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}
60 {d c j d c j b c g [e]}
61 {i a d [e] g j g d a a}
62 {j f c [e] d a h j d b}
[all …]
H A Dfts5ag.test47 {j e m v k p e c j m} {m p v z d x l n i a} {v p u p m t p q i f}
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}
50 {j s w x o t j b t m} {v a v v r t x c q a} {r t k x w u l h a g}
51 {j y b i u d e m d w} {y s o j h i n a u p} {n a g b u c w e b m}
59 {u n p n u t i m e j} {p j j d m f k p m z} {d o l v c o e a h w}
62 {z v s j f p v l f w} {c s b i z e k i g c} {x b v d w j f e d z}
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}
79 {z u v u x p s j y t} {g b q e e g l n w g} {e n p j i g j f u r}
86 {m b b g a f c p a t} {w c m j o d b l g e} {f p j p m o s y v j}
[all …]
H A Dfts5ac.test30 2 {l s z j k i m p s} {l w e j t j e e i t w r o p o}
31 3 {x g y m y m h p} {k j j b r e y y a k y}
34 6 {d a q i z h b l c p k j g k} {p x u j x t v c z}
39 11 {j z u m o y q j f w e e w t r j w} {g m o r x n t n w i f g l z f}
56 28 {c t j g v r s b z j} {l c f y d t q n}
76 48 {t n v i k e b p z p d j j l i o} {i v z p g u e j s i k n h w d c}
80 52 {f w g r c o d l t u e z h i} {j l l s s b j m}
94 66 {l d f g m x x x o} {s w d d f b y j j h h t i y p j o}
101 73 {x v m v f i g q e w} {r y s j i k m j j e d g r n o i f}
109 81 {n j n h r l a r e o z w e} {v o r r j a v b}
[all …]
H A Dfts5aa.test79 2 {f i g j e} {i j c f f}
81 4 {h j f j i} {h a c f j}
86 9 {c j j d c} {h j i f g}
105 4 {h j f j i} {h a c f j}
110 9 {c j j d c} {h j i f g}
190 for {set j 0} {$j < 20} {incr j} {
207 for {set j 0} {$j < 10} {incr j} {
247 for {set j 0} {$j < 20} {incr j} {
264 for {set j 0} {$j < 100} {incr j} {
287 4 {h j f j i} {h a c f j}
[all …]
/sqlite-3.40.0/ext/rtree/
H A Drtree4.test116 for {set j 0} {$j<$nDim} {incr j} {
128 for {set j 0} {$j<$nDim} {incr j} {
141 for {set j 0} {$j<$nDim} {incr j} {
155 for {set j 0} {$j<$nDim} {incr j} {
158 for {set j 0} {$j<$nDim} {incr j} {
172 for {set j 0} {$j<$nDim} {incr j} {
175 for {set j 0} {$j<$nDim} {incr j} {
188 for {set j 0} {$j<$nDim} {incr j} {
209 for {set j 0} {$j<$nDim} {incr j} {
226 lappend where mn$j>=$mn1 mn$j>$mn2 mx$j<$mx1 mx$j<=$mx2
[all …]
/sqlite-3.40.0/src/
H A Djson.c446 j += jsonNodeSize(&pNode[j]); in jsonRenderNode()
777 for(j=i+1;;j++){ in jsonParseValue()
778 while( fast_isspace(z[j]) ){ j++; } in jsonParseValue()
811 for(j=i+1;;j++){ in jsonParseValue()
878 if( z[j]=='0' && z[j+1]>='0' && z[j+1]<='9' ) return -1; in jsonParseValue()
965 for(j=1; j<=pNode->n; j += jsonNodeSize(pNode+j)){ in jsonParseFillInParentage()
971 for(j=1; j<=pNode->n; j += jsonNodeSize(pNode+j+1)+1){ in jsonParseFillInParentage()
1139 j += jsonNodeSize(&pRoot[j]); in jsonLookupStep()
1172 if( j<2 || zPath[j]!=']' ){ in jsonLookupStep()
1214 j += jsonNodeSize(&pRoot[j]); in jsonLookupStep()
[all …]
H A Dpragma.c179 int i, j; in setPragmaResultColumnNames() local
180 for(i=0, j=pPragma->iPragCName; i<n; i++, j++){ in setPragmaResultColumnNames()
1428 for(j=sqliteHashFirst(&db->aFunc); j; j=sqliteHashNext(j)){ in sqlite3Pragma()
1440 for(j=sqliteHashFirst(&db->aModule); j; j=sqliteHashNext(j)){ in sqlite3Pragma()
1473 for(j=0; j<pFK->nCol; j++){ in sqlite3Pragma()
1569 for(j=0; j<pFK->nCol; j++){ in sqlite3Pragma()
1812 for(j=0; j<pPk->nKeyCol; j++){ in sqlite3Pragma()
1827 for(j=0; j<pTab->nCol; j++){ in sqlite3Pragma()
2586 j = 0; in pragmaVtabConnect()
2589 j++; in pragmaVtabConnect()
[all …]
H A Dtest_pcache.c196 int i, j; in testpcacheFetch() local
242 for(i=0; i<TESTPCACHE_NPAGE; i++, j = (j+1)%TESTPCACHE_NPAGE){ in testpcacheFetch()
243 if( p->a[j].key==0 ){ in testpcacheFetch()
244 p->a[j].key = key; in testpcacheFetch()
245 p->a[j].isPinned = 1; in testpcacheFetch()
251 return &p->a[j].page; in testpcacheFetch()
269 for(i=0; i<TESTPCACHE_NPAGE; i++, j = (j+1)%TESTPCACHE_NPAGE){ in testpcacheFetch()
270 if( p->a[j].key>0 && p->a[j].isPinned==0 ){ in testpcacheFetch()
271 p->a[j].key = key; in testpcacheFetch()
272 p->a[j].isPinned = 1; in testpcacheFetch()
[all …]
H A Dwherecode.c811 for(j=0; j<nSkip; j++){ in codeAllEqualityTerms()
821 for(j=nSkip; j<nEq; j++){ in codeAllEqualityTerms()
839 for(j=nSkip; j<nEq; j++){ in codeAllEqualityTerms()
1091 for(j=0; j<pLoop->nLTerm && pLoop->aLTerm[j]!=pTerm; j++){} in codeCursorHint()
1393 for(j=iLevel; j>0; j--){ in sqlite3WhereCodeOneLoopStart()
1420 for(j=0; j<nConstraint; j++){ in sqlite3WhereCodeOneLoopStart()
1463 for(j=0; j<nConstraint; j++){ in sqlite3WhereCodeOneLoopStart()
2038 for(j=0; j<pPk->nKeyCol; j++){ in sqlite3WhereCodeOneLoopStart()
2460 for(pTerm=pWC->a, j=pWC->nTerm; j>0; j--, pTerm++){ in sqlite3WhereCodeOneLoopStart()
2541 for(pTerm=pWC->a, j=pWC->nBase; j>0; j--, pTerm++){ in sqlite3WhereCodeOneLoopStart()
[all …]
/sqlite-3.40.0/ext/misc/
H A Duint.c47 int i=0, j=0, x; in uintCollFunc() local
49 while( i<nKey1 && j<nKey2 ){ in uintCollFunc()
50 x = zA[i] - zB[j]; in uintCollFunc()
53 if( !isdigit(zB[j]) ) return x; in uintCollFunc()
55 while( j<nKey2 && zB[j]=='0' ){ j++; } in uintCollFunc()
58 && j+k<nKey2 && isdigit(zB[j+k]) ){ in uintCollFunc()
63 }else if( j+k<nKey2 && isdigit(zB[j+k]) ){ in uintCollFunc()
66 x = memcmp(zA+i, zB+j, k); in uintCollFunc()
69 j += k; in uintCollFunc()
75 j++; in uintCollFunc()
[all …]
H A Dnormalize.c580 z[j++] = '?'; in sqlite3_normalize()
586 if( (j>=3 && strncmp(z+j-2,"is",2)==0 && !IdChar(z[j-3])) in sqlite3_normalize()
587 || (j>=4 && strncmp(z+j-3,"not",3)==0 && !IdChar(z[j-4])) in sqlite3_normalize()
592 z[j++] = '?'; in sqlite3_normalize()
596 if( j>0 && IdChar(z[j-1]) && IdChar(zSql[i]) ) z[j++] = ' '; in sqlite3_normalize()
604 while( j>0 && z[j-1]==' ' ){ j--; } in sqlite3_normalize()
605 if( j>0 && z[j-1]!=';' ){ z[j++] = ';'; } in sqlite3_normalize()
606 z[j] = 0; in sqlite3_normalize()
610 for(i=0; i<j; i=n){ in sqlite3_normalize()
633 j = j-k+5; in sqlite3_normalize()
[all …]
H A Dregexp.c338 int j = 1; in re_match() local
341 for(j=1; j>0 && j<n; j++){ in re_match()
345 j = -1; in re_match()
348 if( pRe->aArg[x+j]<=c && pRe->aArg[x+j+1]>=c ){ in re_match()
352 j++; in re_match()
567 int sz, j; in re_subcompile_string() local
586 for(j=1; j<m; j++) re_copy(p, iPrev, sz); in re_subcompile_string()
588 for(j=m; j<n; j++){ in re_subcompile_string()
676 int i, j; in re_compile() local
734 if( j>0 && pRe->zInit[j-1]==0 ) j--; in re_compile()
[all …]
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest_main.c447 if( zStr[j]==0 || (p!='?' && p!=zStr[j]) ){ in testGlobMatch()
452 j++; in testGlobMatch()
464 int j; in do_test() local
477 for(j=0; tdb_system_name(j); j++){ in do_test()
660 for(j=0; zSystem[j]; j++){ in do_speed_test2()
881 for(j=0; aSys[j].zLibrary; j++){ in do_speed_tests()
928 for(j=0; aSys[j].zLibrary; j++){ in do_speed_tests()
1035 for(j=0; aSys[j].zLibrary; j++){ in do_speed_tests()
1060 for(j=0; aSys[j].zLibrary; j++){ in do_speed_tests()
1252 for(j=0; j<nBlock; j++){ in do_writer_test()
[all …]
/sqlite-3.40.0/test/
H A DvtabC.test73 for {set j 1} {$j<=$::N} {incr j} {
74 do_test vtabC-1.$N.5.$j {
75 execsql "SELECT * FROM t$::j"
76 } [expr {$j+1000}]
77 do_test vtabC-1.$N.6.$j {
79 } [expr {$j+1000}]
100 for {set j 1} {$j<=$::N} {incr j} {
101 set res [expr {$j+1000}]
105 do_test vtabC-1.$N.9.$j {
108 do_test vtabC-1.$N.10.$j {
[all …]
H A Dscanstatus.test101 CREATE INDEX x1j ON x1(j);
112 SELECT * FROM x1 WHERE j='two'
140 zExplain {SEARCH x1 USING COVERING INDEX x1j (j>? AND j<?)}
145 INSERT INTO x2 SELECT i, j, i || ' ' || j FROM x1;
146 CREATE INDEX x2j ON x2(j);
153 zExplain {SEARCH x2 USING INDEX x2j (j>? AND j<?)}
382 INSERT INTO ft1 VALUES('e j i j i e b c f g');
385 INSERT INTO ft1 VALUES('f d g g j j c a h g');
386 INSERT INTO ft1 VALUES('b d h a d j j j b i');
387 INSERT INTO ft1 VALUES('j e a b j e c b c i');
[all …]
H A DwhereD.test33 SELECT k FROM t WHERE (i=1 AND j=1) OR (i=2 AND j=2);
45 SELECT k FROM t WHERE (i=1 AND j=1) OR (i=2 AND j=2) OR (i=3 AND j=3);
48 SELECT n FROM t WHERE (i=1 AND j=1) OR (i=2 AND j=2) OR (i=3 AND j=3);
54 SELECT k FROM t WHERE (i=1 AND j=1) OR (i=2 AND j=2) OR (j=3 AND m=3);
57 SELECT n FROM t WHERE (i=1 AND j=1) OR (i=2 AND j=2) OR (j=3 AND m=3);
60 SELECT k FROM t WHERE (i=1 AND j=1) OR (j=2 AND m=2) OR (i=3 AND j=3);
63 SELECT n FROM t WHERE (i=1 AND j=1) OR (j=2 AND m=2) OR (i=3 AND j=3);
66 SELECT k FROM t WHERE (j=1 AND m=1) OR (i=2 AND j=2) OR (i=3 AND j=3);
69 SELECT k FROM t WHERE (i=1 AND j=1) OR (j=2 AND i=2) OR (i=3 AND j=3);
72 SELECT k FROM t WHERE (i=1 AND j=2) OR (i=2 AND j=1) OR (i=3 AND j=4);
[all …]

12345678910>>...12