Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 142) sorted by relevance

123456

/sqlite-3.40.0/test/
H A Dupfrom3.test36 eval [string map [list %WO% $wo %TN% $tn] {
143 CREATE TABLE map(f, t);
144 INSERT INTO map VALUES(0, 10);
145 INSERT INTO map VALUES(1, 11);
146 UPDATE u1 SET c=t FROM map WHERE c=f;
156 UPDATE u1 SET b=t FROM map WHERE b=f;
239 CREATE TABLE map(f, t);
240 INSERT INTO map VALUES('a', 111);
241 INSERT INTO map VALUES('c', 112);
245 UPDATE c1 SET y=t FROM map WHERE x=f;
[all …]
H A Dtriggerupfrom.test18 CREATE TABLE map(k, v);
19 INSERT INTO map VALUES(1, 'one'), (2, 'two'), (3, 'three'), (4, 'four');
24 UPDATE t1 SET c = v FROM map WHERE k=new.a AND a=new.a;
160 CREATE TABLE map(k, v);
161 INSERT INTO map VALUES('b', 'twelve');
162 INSERT INTO map VALUES('d', 'fourteen');
163 UPDATE v1 SET a=map.v FROM map WHERE v1.k=map.k;
H A Dfts4unicode.test21 set input [string map {' ''} $input]
28 set input [string map {' ''} $input]
39 append sql [string map {' ''} $a]
112 set map(a) [list "\u00C4" "\u00E4"] ; # LATIN LETTER A WITH DIAERESIS
121 foreach k [array names map] {
122 lappend mappings [string toupper $k] [lindex $map($k) 0]
123 lappend mappings $k [lindex $map($k) 1]
127 string map $::mappings [string trim $doc]
414 set config [string map [list * $c] $config]
415 set input [string map [list * $c] "hello*world"]
[all …]
H A Dbestindex1.test115 set map [list %1% [lindex $args 2 0]]
116 set sql [string map $map [lindex $args 1]]
166 } [string map {"\n " "\n"} $plan($mode)]
216 set map [list]
218 lappend map "%$i%"
221 lappend map $v
223 lappend map "'$v'"
226 set sql [string map $map $idxstr]
H A Dbestindex6.test68 set map [list]
70 lappend map %$iCons% [lindex $aa $iCons]
73 "SELECT rowid, * FROM $src WHERE [string map $map $idxstr]"
H A Dpg_common.tcl21 set sql [string map {{WITHOUT ROWID} {}} $sql]
74 set sql [string map {string_agg group_concat} $sql]
90 set sql [string map {string_agg group_concat} $sql]
H A Drowvalue5.test75 set a "'[string map {' ''} $a]'"
77 set ee [string map [list "%$i%" $a] $ee]
80 set ee [string map [list "'" "''"] $ee]
H A Dwindow8.tcl429 CREATE TABLE map(v INTEGER PRIMARY KEY, t TEXT);
430 INSERT INTO map VALUES
438 SELECT t FROM map WHERE v=a
447 SELECT t FROM map WHERE v=a
454 SELECT * FROM map
465 SELECT * FROM map
H A Dbc_common.tcl13 set pattern [string map {\.exe {}} $pattern]
57 set bintag [string map {\.exe {}} $bintag]
H A Dzipfile2.test28 set concat [string map {" " "" "\n" ""} $str]
173 set blob [blob [string map {0800 0900} $archive2]]
185 set blob [blob [string map [list 504B0506 $sub] $archive2]]
205 set hex [string map {6e6f7461646972 6e6f746164692f} $hex]
H A Dwindow6.test64 set setup_sql [string map $MAP $setup]
68 do_execsql_test 1.$tn.1 [string map $MAP {
72 do_execsql_test 1.$tn.2 [string map $MAP {
76 do_execsql_test 1.$tn.3 [string map $MAP {
80 do_execsql_test 1.$tn.4 [string map $MAP {
H A Dtester.tcl186 return [string map [list \\ /] \
796 set result [string map [list [string tolower ICECUBE] main] $result]
808 set re [string map {# {[-0-9.]+}} $re]
833 set re [string map {# {[-0-9.]+}} $re]
914 string map [list \\ / \{/ / .db\} .db] \
928 string map {1.#INF inf Inf inf .0e e} [regsub -all {(e[+-])0+} $r {\1}]
1763 set cfile [string map {\\ \\\\} [file nativename [file join [get_pwd] $crashfile]]]
2210 set contents [string map {' ''} $contents]
2215 set escaped [string map [list "{" "\\{" "}" "\\}" "\\" "\\\\"] $escaped]
2221 puts $fd {set BUILTIN [string map [list "\\{" "{" "\\}" "}" "\\\\" "\\"] $BUILTIN]}
H A Dupfrom2.test36 eval [string map [list %WO% $wo %TN% $tn] {
228 eval [string map [list %WO% $wo %TN% $tn] {
342 CREATE TABLE map(o, t);
343 INSERT INTO map VALUES(3, 30), (4, 40), (1, 10);
347 UPDATE x1 SET a=t FROM map WHERE a=o;
/sqlite-3.40.0/ext/fts5/
H A Dextract_api_docs.tcl201 set map [list /* <i>/* */ */</i>]
202 string map $map $res
225 set map [list]
228 lappend map $k "<a href=#$k>$k</a>"
230 output [string map $map $struct]
/sqlite-3.40.0/tool/
H A Dmkmsvcmin.tcl54 set blocks(1) [string trimleft [string map [list \\\\ \\] {
107 set data [string map [list " -I\$(TOP)\\src" ""] $data]
108 set data [string map [list " libsqlite3.lib" ""] $data]
109 set data [string map [list " \$(ALL_TCL_TARGETS)" ""] $data]
110 set data [string map [list "\$(TOP)\\src\\" "\$(TOP)\\"] $data]
H A Dmkccode.tcl67 set x [string map "\\\\ \\\\\\\\ \\\" \\\\\"" $line]
88 set x [string map "\\\\ \\\\\\\\ \\\" \\\\\"" $line]
H A Dcg_anno.tcl17 set line [string map {\t { }} [gets $in]]
36 set x [string map {, {}} $x]
H A Dmkshellc.tcl39 return "/* [string map {/* // */ //} $line] */"
64 set lx [string map [list __declspec(dllexport) {}] $lx]
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5unicode2.test119 set map(a) [list "\u00C4" "\u00E4"] ; # LATIN LETTER A WITH DIAERESIS
120 set map(e) [list "\u00CB" "\u00EB"] ; # LATIN LETTER E WITH DIAERESIS
121 set map(i) [list "\u00CF" "\u00EF"] ; # LATIN LETTER I WITH DIAERESIS
122 set map(o) [list "\u00D6" "\u00F6"] ; # LATIN LETTER O WITH DIAERESIS
128 foreach k [array names map] {
129 lappend mappings [string toupper $k] [lindex $map($k) 0]
130 lappend mappings $k [lindex $map($k) 1]
134 string map $::mappings [string trim $doc]
425 set config [string map [list * $c] $config]
426 set input [string map [list * $c] "hello*world"]
[all …]
H A Dfts5fault1.test126 set map [list 0 a 1 b 2 c 3 d 4 e 5 f 6 g 7 h 8 i 9 j]
129 lappend doc [string map $map [format %.3d [expr int(rand()*1000)]]]
290 set map [list 0 a 1 b 2 c 3 d 4 e 5 f 6 g 7 h 8 i 9 j]
293 lappend doc "x[string map $map [format %.3d [expr int(rand()*1000)]]]"
H A Dfts5_common.tcl36 lappend res [string map {{ } .} [$cmd xInst $i]]
192 set map [list 0 a 1 b 2 c 3 d 4 e 5 f 6 g 7 h 8 i 9 j]
195 lappend doc "x[string map $map [format %.3d [expr int(rand()*1000)]]]"
422 set s [string map [list %DETAIL% $d] $script]
H A Dfts5hash.test52 set map [list 0 a 1 b 2 c 3 d 4 e 5 f 6 g 7 h 8 i 9 j]
54 return [string map $map $iVal]
/sqlite-3.40.0/ext/fts5/tool/
H A Dmkfts5c.tcl6 set G(src) [string map [list %dir% $srcdir] {
65 set date [string map {T { }} $date]
98 set line [string map $sub_map $line]
/sqlite-3.40.0/vsixtest/
H A Dvsixtest.tcl64 set groups [string map [list \r\n \n] $groups]
356 set data [string map [list %versionNumber% $versionNumber] $data]
366 putsAndEval [string map [list \
/sqlite-3.40.0/ext/fts3/unicode/
H A Dmkunicode.tcl4 proc print_rd {map} { argument
10 set iFirst [lindex $map 0 0]
11 set cPrev [lindex $map 0 1]
12 set fPrev [lindex $map 0 2]
14 foreach m [lrange $map 1 end] {
104 proc print_isdiacritic {zFunc map} { argument
107 foreach m $map {

123456