Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 98) sorted by relevance

1234

/sqlite-3.40.0/test/
H A Dfts3sort.test86 set A($X(docid)) [array get X]
91 set B($X(docid)) [array get X]
96 set C($X(docid)) [array get X]
101 set D($X(docid)) [array get X]
113 set DATA($X(docid)) [array get X]
116 do_test $tn.5 { lsort [array get A] } [lsort [array get DATA]]
117 do_test $tn.6 { lsort [array get B] } [lsort [array get DATA]]
118 do_test $tn.7 { lsort [array get C] } [lsort [array get DATA]]
119 do_test $tn.8 { lsort [array get D] } [lsort [array get DATA]]
122 do_test $tn.9 { set CONTROL($tn) } [lsort [array get DATA]]
[all …]
H A Dsavepoint6.test42 # 2. A serialized Tcl array representing the contents of table t1 at the
43 # start of the savepoint. The keys of the array are the x values. The
47 # x values, the array data values are y values.
50 array set aEntry [list]
71 lappend ::lSavepoint [list $zName [array get ::aEntry]]
80 array set ::aEntry [lindex $::lSavepoint $i 1]
136 set nEntry2 [array size ::aEntry]
138 error "$nEntry entries in database, $nEntry2 entries in array"
142 error "Entry $x exists in database, but not in array"
145 error "Entry $x is set to {$y} in database, {$::aEntry($x)} in array"
H A Dfts3auto.test94 " [lsort -integer -incr [array names aHit]]
98 " [lsort -integer -decr [array names aHit]]
196 catch {array unset aMatchinfo}
214 catch { array unset hits }
246 foreach key [array names counts] {
282 foreach docid [array names hits] {
292 foreach docid [array names hits] {
373 foreach hit [array names aLeft] {
382 foreach hit [array names aLeft] {
391 foreach hit [array names aLeft] {
[all …]
H A Dfts3rnd.test151 foreach key [lsort -integer [array names ::t1]] {
177 foreach key [array names ::t1] {
189 foreach docid [lsort -integer $dir [array names a]] {
205 foreach {key value} [array get ::t1] {
285 catch { array unset ::t1 }
288 # Create the FTS3 table. Populate it (and the Tcl array) with 100 rows.
311 set rows [array names ::t1]
335 # array for each term.
350 # to query for. Test that querying the Tcl array produces the same results
H A Dbestindex1.test37 catch { array unset C }
38 array set C [lindex $clist 0]
91 array unset C
92 array set C [lindex $clist $idx]
196 array set c [lindex $clist $idx]
306 array set C [lindex $clist $i]
H A Dbestindex4.test62 array unset C
63 array set C [lindex $clist $i]
147 catch { array unset C }
148 array set C [lindex $clist 0]
H A Dbestindex8.test40 catch { array unset C }
41 array set C $cons
125 array set C $cons
191 array set C [lindex $lCons $i]
314 array set C [lindex $lCons $i]
335 array set sl [list]
338 array set C $s
H A Dspeed3.test99 array set stats1 [btree_pager_stats [btree_from_db db]]
100 array set stats2 [btree_pager_stats [btree_from_db db 2]]
102 # puts "1: [array get stats1]"
103 # puts "2: [array get stats2]"
H A DvtabJ.test43 foreach vname [lsort [array names vtabJ]] {
81 foreach vname [lsort [array names vtabJ]] {
96 foreach vname [lsort [array names vtabJ]] {
H A Dswarmvtab3.test145 catch { array unset ::dbcache }
151 catch { array unset ctx_used }
194 foreach k [array names ::dbcache] {
H A DcorruptD.test44 # array, which could potentially be off the end of the page).
49 # 5. The contents of the cell offset array.
140 # in the cell offset array.
H A Dbestindex7.test39 catch { array unset C }
40 array set C $cons
H A Dbestindex6.test41 catch { array unset C }
42 array set C $cons
H A Dsort5.test109 catch { array unset F }
118 expr {[array names F]!=""}
H A Dfkey7.test43 array unset ::tbls
45 uplevel [list do_test $tn {lsort [array names ::tbls]} $tbllist]
H A Dfts4aa.test142 foreach {q r} [array get fts4aa_res] {
163 foreach {q r} [array get fts4aa_res] {
187 foreach {q r} [array get fts4aa_res] {
H A Djson101.test126 SELECT count(*) FROM j1 WHERE json_type(x) IN ('object','array');
129 AND json_type(x) IN ('object','array');
262 } {1 1 object | 2 1 object | 3 1 array |}
301 WHERE jx.value<>jx.atom AND type NOT IN ('array','object');
306 WHERE jx.value<>jx.atom AND type NOT IN ('array','object');
784 # when the input JSON is not an array or object.
H A Dwal5.test37 array set a $args
38 foreach key [array names a] {
54 array set a $args
55 foreach key [array names a] {
H A Dreturning1.test303 lsort [array names cname]
308 lsort [array names cname]
313 lsort [array names cname]
318 lsort [array names cname]
H A Dindex9.test20 array unset ::T
25 set in [join [array names ::T] ,]
/sqlite-3.40.0/tool/
H A Dlemon.c5330 array.ht = (x1node**)&(array.tbl[arrSize]); in Strsafe_insert()
5337 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in Strsafe_insert()
5498 array.ht = (x2node**)&(array.tbl[arrSize]); in Symbol_insert()
5505 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in Symbol_insert()
5574 if( array ){ in Symbol_arrayof()
5577 return array; in Symbol_arrayof()
5697 array.ht = (x3node**)&(array.tbl[arrSize]); in State_insert()
5704 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in State_insert()
5753 if( array ){ in State_arrayof()
5837 array.ht = (x4node**)&(array.tbl[arrSize]); in Configtable_insert()
[all …]
/sqlite-3.40.0/doc/
H A Djson-enhancements.md27 such as TEXT, INTEGER, REAL, or NULL. If a JSON object or array
28 is selected, that object or array is rendered as text. If a JSON
33 array is selected, or a primitive SQL datatype when a JSON value
102 name or a single integer array index. In order to provide compatibility
104 a JSON object label or an integer array index for the right-hand side
115 "value2" is a JSON array.
/sqlite-3.40.0/ext/rtree/
H A Drtreedoc3.test162 array set G $L ;# "Got" - as in stuff passed to xQuery
171 array set P $parent ;# "Parent" - as in parent of expected cell
177 puts [array get P]
213 lappend Q(pri_queue) [list $rParentScore [array get P]]
228 array set N $next
/sqlite-3.40.0/ext/rbu/
H A Drbutemplimit.test88 do_test 1.1.2 { llength [array names ::A] } 3
91 foreach {a0 a1 a2} [lsort -integer [array names ::A]] {}
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5matchinfo.test62 # key-value list (serialized array) with matchinfo() format specifiers
103 foreach {fmt res} [array get resarray] {
126 foreach {fmt res} [array get resarray] {
134 foreach {format res} [array get resarray] {
139 foreach {format res} [array get resarray] {

1234