Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 82) sorted by relevance

1234

/sqlite-3.40.0/test/
H A Dlock.test133 # callback of another SELECT on that same table because two
183 proc callback {count} {
188 db2 busy callback
204 proc callback {count} {
209 db2 busy callback
216 proc callback {count} {
221 db2 busy callback
230 proc callback {count} {
235 db2 busy callback
310 proc callback {count} {
[all …]
H A Dprogress.test12 # focus of this file is testing the 'progress callback'.
19 # If the progress callback is not available in this build, skip this
45 # Test that the progress callback is invoked.
62 # Test that the query is abandoned when the progress callback returns non-zero
72 # Test that the query is rolled back when the progress callback returns
87 # Now set up the progress callback to abandon the query after the number of
90 # callback abandons the query.
125 # Check that a value of 0 for N means no progress callback
H A Dvtab7.test13 # virtual table xSync() callback.
28 # xRollback() callbacks. For each of these callback, two elements are
41 # the echo module xSync() callback.
63 # The following tests, vtab7-1.*, test that the trace callback on
81 # Write to an existing database table from within an xSync callback.
105 # Create a database table from within xSync callback.
116 # Drop a database table from within xSync callback.
156 # the xCommit callback causes a misuse error.
169 # virtual table from within an xSync() callback.
H A De_walhook.test20 # register a callback that is invoked each time data is committed to a
60 # EVIDENCE-OF: R-65366-15139 The callback is invoked by SQLite after the
118 # statement that provoked the callback to report an error, though the
141 # previously registered write-ahead log callback.
182 # EVIDENCE-OF: R-52629-38967 The first parameter passed to the callback
184 # sqlite3_wal_hook() when registering the callback.
H A Dtkt3093.test14 # Verify that a busy callback waiting on a reserved lock resolves
47 # This will be the busy callback for connection db2. On the first
48 # busy callback, commit the transaction in db. This should clear
49 # the lock so that there should not be a second callback. If the
H A Dtrace2.test36 # Test that the list of string passed to the trace callback when $sql
48 # Now execute each SQL statement passed to the trace callback in the
50 # passed to the trace callback again. i.e. that executing the output
51 # of the trace callback is equivalent to the SQL script in $sql.
H A Dnotify1.test27 # Warm body test. Test that an unlock-notify callback can be registered
61 # a NULL xNotify argument) cancels a pending notify callback.
241 # allocating an array to use as an argument to an unlock-notify callback
284 # waiting on an unlock-notify callback.
287 # already waiting on an unlock-notify callback, and then
289 # transaction, the unlock-notify callback is not invoked.
293 # unlock-notify callback is therefore invoked.
H A DsharedA.test158 # Set up a callback that will cause db2 to try to execute its
161 # This callback will be invoked after the content of test.db has
164 # db2 statement in the callback will see old content with the newer
185 # Verify that the db2 statement invoked by the callback detected the
H A Dauth3.test13 # authorization callback returns SQLITE_IGNORE.
42 # by an SQLITE_DELETE authorization callback triggered by a
56 # EVIDENCE-OF: R-64962-58611 If the authorizer callback returns any
H A Dautovacuum2.test62 # Disable the autovacuum-pages callback. Then do any transaction.
71 # Rig the autovacuum-pages callback to always return zero. No
H A De_walauto.test134 # EVIDENCE-OF: R-10203-42688 The callback registered by this function
135 # replaces any existing callback registered using sqlite3_wal_hook().
152 # EVIDENCE-OF: R-17497-43474 Likewise, registering a callback using
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-api-glue.js171 capi.sqlite3_exec = function f(pDb, sql, callback, pVoid, pErrMsg){ argument
174 }else if('function' !== typeof callback){
175 return __exec(pDb, sql, callback, pVoid, pErrMsg);
187 rc = callback(pVoid, nCols, aVals, aNames) | 0;
334 const __xFunc = function(callback){ argument
344 const __xInverseAndStep = function(callback){ argument
346 try{ callback(pCtx, ...__udfConvertArgs(argc, pArgv)) }
351 const __xFinalAndValue = function(callback){ argument
353 try{ __udfSetResult(pCtx, callback(pCtx)) }
358 const __xDestroy = function(callback){ argument
[all …]
H A Dsqlite3-api-worker1.js516 if(rc.callback || Array.isArray(rc.resultRows)){
520 const theCallback = rc.callback;
527 rc.callback = function(row,stmt){ function
538 if(rc.callback instanceof Function){
539 rc.callback = theCallback;
553 if(rc.callback) rc.callback = theCallback;
H A Dsqlite3-worker1-promiser.js204 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){
H A Dsqlite3-api-oo1.js409 if(opt.callback || opt.resultRows){
768 const callback = opt.callback;
828 if(callback) callback.call(opt, row, stmt);
1103 transaction: function(callback){
1106 const rc = callback(this);
1123 savepoint: function(callback){
1126 const rc = callback(this);
/sqlite-3.40.0/ext/wasm/
H A Ddemo-worker1-promiser.js62 const wtest = async function(msgType, msgArgs, callback){ argument
64 callback = msgArgs;
68 return callback ? p.then(callback).finally(testCount) : p;
173 callback: resultRowTest1, property
195 callback: resultRowTest2, property
214 callback: resultRowTest3, property
H A Ddemo-123.js110 callback: function(row){ method
119 callback: function(row){ method
128 callback: function(row){ method
137 callback: function(row){ method
146 callback: function(value){ method
173 callback: function(row){ method
H A Ddemo-worker1.js57 push: function(type,callback){ argument
58 this.queue.push(callback);
81 const runOneTest = function(eventType, eventArgs, callback){ argument
87 if(callback instanceof Function){
88 callback(ev);
200 callback: 'resultRowTest1', property
/sqlite-3.40.0/ext/rtree/
H A Drtreedoc3.test166 # xQueryFunc callback.
172 if {$P(iLevel)==0} { error "query callback mismatch (1)" }
179 error "coordinate mismatch in query callback (1)"
182 if {$a!=$b} { error "coordinate mismatch in query callback (2)" }
188 error "iLevel mismatch in query callback (1)"
191 # Unless the callback returned NOT_WITHIN, add the entry to the priority
195 # callback sets eWithin to PARTLY_WITHIN or FULLY_WITHIN are added to
196 # the priority queue using the score supplied by the callback.
H A Drtreedoc2.test37 # [register_circle_geom db] registers new geometry callback "Qcircle"
84 # callback defined by the third argument (xQueryFunc or xGeom) is
164 # structure is used for every callback for same MATCH operator in the
206 # callback is registered.
266 # callback implementation to any arbitrary value that may be useful to
267 # subsequent invocations of the callback within the same query (for
301 # EVIDENCE-OF: R-28176-28813 The xGeom callback always does a
/sqlite-3.40.0/src/
H A Dsqlite.h.in357 ** The type for a callback function.
379 ** callback invocation. ^If the callback pointer to sqlite3_exec()
2752 ** ^The default busy callback is NULL.
3055 ** KEYWORDS: {authorizer callback}
3169 ** the authorizer callback may be passed.
3247 ** profile callback.
3330 ** ^A trace callback is invoked with four arguments: callback(T,C,P,X).
6525 ** <p><b>The callback is not reentrant.</b> The callback function should
9128 ** same callback function, then instead of invoking the callback function
9309 ** ^The callback registered by this function replaces any existing callback
[all …]
/sqlite-3.40.0/ext/misc/
H A Deval.c34 static int callback(void *pCtx, int argc, char **argv, char **colnames){ in callback() function
92 rc = sqlite3_exec(db, zSql, callback, &x, &zErr); in sqlEvalFunc()
/sqlite-3.40.0/ext/wasm/fiddle/
H A Dfiddle.js265 addMsgHandler: function f(type,callback){
267 type.forEach((t)=>this.addMsgHandler(t, callback));
272 : (this._msgMap[type] = [])).push(callback);
/sqlite-3.40.0/ext/fts2/
H A DREADME.tokenizers29 structure containing pointers to various callback functions that
56 authorisation callback.
/sqlite-3.40.0/ext/recover/
H A Drecoversql.test48 } {1 {callback returned an error - 4}}

1234