Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 204) sorted by relevance

123456789

/sqlite-3.40.0/test/
H A Dtester.tcl116 proc sqlite3 {args} {
117 if {[llength $args]>=2 && [string index [lindex $args 0] 0]!="-"} {
121 set args [concat $args $::G(perm:sqlite3_args)]
248 proc test_pwd { args } { argument
708 proc output1 {args} { argument
716 proc output2 {args} { argument
718 uplevel puts $args
725 uplevel puts [lrange $args 0 end-1] stdout [lrange $args end end]
746 proc puts {args} { uplevel puts_override $args } argument
960 set args [lrange $args 2 end]
[all …]
H A Dauth.test40 proc auth {code arg1 arg2 arg3 arg4 args} {
75 proc auth {code arg1 arg2 arg3 arg4 args} {
1899 proc auth {code args} {
1982 proc auth {code args} {
2005 proc auth {code args} {
2027 proc auth {code args} {
2522 proc auth {args} {
2548 proc auth {args} {
2570 proc auth {args} {
2642 proc auth {op args} {
[all …]
H A Dmalloc_common.tcl121 proc do_faultsim_test {name args} { argument
138 array set O $args
169 proc faultsim_save {args} { uplevel db_save $args } argument
170 proc faultsim_save_and_close {args} { uplevel db_save_and_close $args } argument
171 proc faultsim_restore {args} { uplevel db_restore $args } argument
178 uplevel db_delete_and_reopen $args
294 set r $args
342 array set O $args
348 proc faultsim_test_result {args} "
416 proc do_malloc_test {tn args} { argument
[all …]
H A Dreleasetest_data.tcl410 proc main_script {args} { argument
412 set nArg [llength $args]
414 if {![is_prefix [lindex $args 0] -msvc 2]} usage
419 set config [lindex $args end-1]
420 set target [lindex $args end]
573 proc main_tests {args} { argument
575 set nArg [llength $args]
577 if {[is_prefix [lindex $args 0] -nodebug 2]} {
579 } elseif {[is_prefix [lindex $args 0] -debug 2]} {
585 set p [lindex $args end]
H A Dbestindex8.test24 proc vtab_command {src method args} {
31 set hdl [lindex $args 0]
58 set idxnum [lindex $args 0]
113 proc vtab_command {src method args} {
120 set hdl [lindex $args 0]
179 proc vtab_command {src method args} {
186 set hdl [lindex $args 0]
201 set lArg [lindex $args 2]
245 proc vtab_command {src method args} {
252 set hdl [lindex $args 0]
[all …]
H A Dfts3_common.tcl57 proc fts3_build_db_1 {args} { argument
61 set nArg [llength $args]
66 set n [lindex $args [expr $nArg-1]]
68 array set opts [lrange $args 0 [expr $nArg-2]]
105 proc fts3_build_db_2 {args} { argument
110 set nArg [llength $args]
115 set n [lindex $args [expr $nArg-1]]
117 array set opts [lrange $args 0 [expr $nArg-2]]
H A Dtestrunner.tcl427 proc puts_sts_wrapper {args} {
428 set n [llength $args]
429 if {$n==1 || ($n==2 && [string first [lindex $args 0] -nonewline]==0)} {
430 uplevel puts_into_caller $args
433 uplevel puts_sts_original $args
437 proc puts {args} { uplevel puts_sts_wrapper $args }
537 proc puts_into_caller {args} { argument
539 if {[llength $args]==1} {
540 append R(output) [lindex $args 0]
543 append R(output) [lindex $args 1]
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-api-prologue.js239 constructor(...args){ argument
240 if(1===args.length && __isInt(args[0])){
242 }else if(2===args.length && 'object'===typeof args){
243 if(__isInt(args[0])) super(__rcStr(args[0]), args[1]);
244 else super(...args);
410 constructor(...args){ argument
411 if(2===args.length && 'object'===typeof args){
412 super(...args);
413 }else if(args.length){
1163 if(1===args.length && util.isTypedArray(args[0])
[all …]
H A Dsqlite3-api-worker1.js328 const toss = (...args)=>{throw new Error(args.join(' '))}; argument
447 const oargs = Object.create(null), args = (ev.args || Object.create(null));
454 oargs.vfs = args.vfs;
455 if(isSpecialDbFilename(args.filename)){
456 oargs.filename = args.filename || "";
458 oargs.filename = args.filename;
459 byteArray = args.byteArray;
460 if(byteArray) pVfs = guessVfs(args.filename);
498 const doUnlink = ((ev.args && 'object'===typeof ev.args)
507 'string'===typeof ev.args
[all …]
H A Dsqlite3-opfs-async-proxy.js34 const toss = function(...args){throw new Error(args.join(' '))}; argument
63 const logImpl = (level,...args)=>{ argument
66 const log = (...args)=>logImpl(2, ...args); argument
67 const warn = (...args)=>logImpl(1, ...args); argument
68 const error = (...args)=>logImpl(0, ...args); argument
403 xDelete: async function(...args){ argument
692 if(args.length){
700 typeIds.push(getTypeId(args[i]));
703 for(i = 0; i < args.length; ++i) {
776 if(hnd.f) await hnd.f(...args);
[all …]
H A Dsqlite3-worker1-promiser.js145 const toss = (...args)=>{throw new Error(args.join(' '))}; argument
192 args: arguments[1] property
203 if('exec'===msg.type && msg.args){
204 if('function'===typeof msg.args.callback){
206 proxy.onrow = msg.args.callback;
207 msg.args.callback = rowCallbackId;
209 }else if('string' === typeof msg.args.callback){
258 onerror: (...args)=>console.error('worker1 promiser error',...args)
H A Dsqlite3-api-opfs.js113 const logImpl = (level,...args)=>{ argument
116 const log = (...args)=>logImpl(2, ...args); argument
117 const warn = (...args)=>logImpl(1, ...args); argument
118 const error = (...args)=>logImpl(0, ...args); argument
119 const toss = function(...args){throw new Error(args.join(' '))}; argument
356 const opRun = (op,...args)=>{ argument
358 state.s11n.serialize(...args);
520 if(args.length){
604 return function(...args){ argument
608 return func.apply(this, args);
[all …]
H A Dsqlite3-api-oo1.js18 const toss = (...args)=>{throw new Error(args.join(' '))}; argument
19 const toss3 = (...args)=>{throw new sqlite3.SQLite3Error(...args)}; argument
281 const DB = function(...args){ argument
371 switch(args.length){
373 if('string'===typeof args[0] || util.isSQLableTypedArray(args[0])){
374 out.sql = args[0];
376 out.sql = args[0];
377 }else if(args[0] && 'object'===typeof args[0]){
378 out.opt = args[0];
383 out.sql = args[0];
[all …]
/sqlite-3.40.0/ext/wasm/
H A Ddemo-jsstorage.js20 const toss = function(...args){throw new Error(args.join(' '))}; argument
27 const logHtml = function(cssClass,...args){ argument
30 ln.append(document.createTextNode(args.join(' ')));
33 const log = function(...args){ argument
34 logC(...args);
35 logHtml('',...args);
37 const warn = function(...args){ argument
38 logHtml('warning',...args);
40 const error = function(...args){ argument
41 logHtml('error',...args);
H A Ddemo-123.js25 logHtml = function(cssClass,...args){ argument
28 ln.append(document.createTextNode(args.join(' ')));
33 logHtml = function(cssClass,...args){
36 payload:{cssClass, args}
40 const log = (...args)=>logHtml('',...args); argument
41 const warn = (...args)=>logHtml('warning',...args); argument
42 const error = (...args)=>logHtml('error',...args); argument
H A Dtest-opfs-vfs.js17 const toss = function(...args){throw new Error(args.join(' '))}; argument
19 const log = (...args)=>console.log(logPrefix,...args); argument
20 const warn = (...args)=>console.warn(logPrefix,...args); argument
21 const error = (...args)=>console.error(logPrefix,...args); argument
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5_common.tcl224 proc nearset {aCol args} { argument
370 proc AND {args} { argument
371 foreach a $args {
376 proc OR {args} { argument
580 proc nearset_rf {aCol args} { argument
582 if {$idx != [llength $args]-2 || [llength [lindex $args end]]!=1} {
589 proc nearset_rc {aCol args} { argument
590 nearset_rf $aCol {*}$args
610 proc tclnum_create {args} { argument
612 if {[llength $args]} {
[all …]
/sqlite-3.40.0/ext/rtree/
H A Drtreedoc2.test87 proc box_geom {args} {
88 lappend ::box_geom [concat [lindex $args 0] [lrange $args 2 end-1]]
148 proc box_geom {args} {
166 proc box_geom {args} {
183 proc box_geom {args} {
184 lappend ::box_geom [concat [lindex $args 0] [lrange $args 2 end-1]]
217 proc box_geom {args} {
233 proc box_geom {args} {
255 proc box_geom {args} {
277 proc box_geom {args} {
[all …]
/sqlite-3.40.0/ext/wasm/common/
H A DSqliteTestUtil.js146 const args = Object.create(null);
153 args[decodeURIComponent(m[1])] = (m[3] ? decodeURIComponent(m[3]) : true);
155 return args;
175 print: (...args)=>{console.log(...args)}, argument
177 printErr: (...args)=>{console.error(...args)}, argument
H A Dwhwasmutil.js182 const toss = (...args)=>{throw new Error(args.join(' '))}; argument
1216 target.xCall = function(fname, ...args){ argument
1219 if(f.length!==args.length) __argcMismatch(fname,f.length)
1224 : f.apply(null, args);
1484 return (...args)=>(args.length
1488 return function(...args){ argument
1489 if(args.length!==xf.length) __argcMismatch(fname, xf.length);
1599 target.xCallWrapped = function(fname, resultType, argTypes, ...args){ argument
1600 if(Array.isArray(arguments[3])) args = arguments[3];
1601 return target.xWrap(fname, resultType, argTypes||[]).apply(null, args||[]);
[all …]
/sqlite-3.40.0/tool/
H A DReplace.cs130 string[] args in Main() argument
136 if (args == null) in Main()
142 if (args.Length != 3) in Main()
155 Regex regEx = new Regex(args[0]); in Main()
156 string replacement = args[1]; in Main()
163 if (!bool.TryParse(args[2], out matchingOnly)) in Main()
H A DGetFile.cs328 string[] args in Main() argument
334 if (args == null) in Main()
340 if ((args.Length < 1) || (args.Length > 2)) in Main()
352 if (!Uri.TryCreate(args[0], UriKind.Absolute, out uri)) in Main()
363 string fileName = (args.Length == 2) ? in Main()
364 Path.GetFileName(args[1]) : null; in Main()
H A Dmerge-test.tcl29 proc safeexec {args} { argument
31 set res [catch "exec $args" result]
37 proc mustbeok {args} { argument
39 set res [catch "exec $args" result]
41 puts "FAILED: $args"
/sqlite-3.40.0/ext/session/
H A Dsession_common.tcl35 proc do_conflict_test {tn args} { argument
42 array set V $args
46 array set O $args
48 proc xConflict {args} [subst -nocommands {
49 lappend ::xConflict [set args]
52 proc bgerror {args} { set ::background_error $args }
116 proc xConflict args { return "OMIT" }
H A Dsessionstat1.test191 proc sql_changeset_concat {args} {
192 foreach sql $args {
209 proc do_scc_test {tn args} {
211 do_test $tn [concat sql_changeset_concat [lrange $args 0 end-1]] \
212 [list {*}[ lindex $args end ]]
250 proc xConflict {args} {
251 lappend ::c $args
266 proc xConflict {args} {
287 proc xConflict {args} {
288 lappend ::c $args
[all …]

123456789