Home
last modified time | relevance | path

Searched refs:toss (Results 1 – 19 of 19) sorted by relevance

/sqlite-3.40.0/ext/wasm/jaccwabyt/
H A Djaccwabyt.js30 const toss = (...args)=>{throw new Error(args.join(' '))}; function in self.Jaccwabyt
49 toss("Config option '"+k+"' must be a function.");
130 toss("Unhandled signature IR:",s);
142 toss("Unhandled signature sizeof:",s);
175 toss("Unhandled DataView getter for signature:",s);
193 toss("Unhandled DataView setter for signature:",s);
211 toss("Unhandled DataView set wrapper for signature:",s);
511 toss("Do not call the StructType constructor",
589 || toss("Malformed signature for",
665 if(!structName) toss("Struct name is required.");
[all …]
/sqlite-3.40.0/ext/wasm/
H A Dtest-opfs-vfs.js17 const toss = function(...args){throw new Error(args.join(' '))}; function
25 const e = toss("OPFS is not available.");
30 const pVfs = capi.sqlite3_vfs_find("opfs") || toss("Missing 'opfs' VFS.");
31 …const oVfs = capi.sqlite3_vfs.instanceForPointer(pVfs) || toss("Unexpected instanceForPointer() re…
65 await opfs.mkdir(aDir) || toss("mkdir failed");
66 await opfs.mkdir(aDir) || toss("mkdir must pass if the dir exists");
67 await opfs.unlink(testDir+'/test') && toss("delete 1 should have failed (dir not empty)");
69 await opfs.unlink(testDir+'/test/dir') || toss("delete 2 failed");
70 …await opfs.unlink(testDir+'/test/dir') && toss("delete 2b should have failed (dir already deleted)…
71 await opfs.unlink(testDir, true) || toss("delete 3 failed");
[all …]
H A Dbatch-runner.js18 const toss = function(...args){throw new Error(args.join(' '))}; function
29 if(rc) toss("Prepare failed:",sqlite3.capi.sqlite3_errmsg(dbh));
223 …pSqlBegin = wasm.scopedAlloc( sqlByteLen + 1/*SQL + NUL*/) || toss("alloc(",sqlByteLen,") failed");
255 default: checkSqliteRc(db.handle, rc); toss("Not reached.");
313 toss("Missing file '"+infile+"'.");
315 if(!r.ok) toss("Loading",infile,"failed:",r.statusText);
352 if(!r.ok) toss("Fetch failed:",r.statusText);
476 toss("Unhandled db init option");
499 if(rc) toss("sqlite3_open_v2() failed with code",rc);
H A Dscratchpad-wasmfs-main.js18 const toss = function(...args){throw new Error(args.join(' '))}; function
H A Ddemo-jsstorage.js20 const toss = function(...args){throw new Error(args.join(' '))}; function
H A Dtester1.js123 const toss = (...args)=>{ function
361 try{ sqlite3.SQLite3Error.toss(capi.SQLITE_CORRUPT,{cause: true}) }
801 toss("Argument mismatch. Native signature is:",sig);
866 (iom instanceof capi.sqlite3_io_methods) || toss("Invalid argument type.");
1319 toss("Must not be reached.");
1548 default: toss("Too many rows to window function.");
H A Ddemo-worker1-promiser.js101 const mustNotReach = ()=>toss("This is not supposed to be reached.");
H A Ddemo-worker1.js37 const toss = (...args)=>{throw new Error(args.join(' '))}; function
/sqlite-3.40.0/ext/wasm/common/
H A Dwhwasmutil.js182 const toss = (...args)=>{throw new Error(args.join(' '))}; function in self.WhWasmUtilInstaller
228 ? 8 : toss("Unhandled ptrSizeof:",ptrIR)));
660 toss('Invalid type for getMemValue():',type);
695 toss('Invalid type for setMemValue(): ' + type);
1059 toss("No scopedAllocPush() scope is active.");
1069 set: ()=>toss("The 'active' property is read-only.")
1084 if(!list.length) toss("Cannot allocate empty array.");
1201 (f,n)=>toss(f+"() requires",n,"argument(s).");
1509 toss(modeName,"requires a function argument.");
1515 toss("Invalid arguments to",modeName);
[all …]
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-api-worker1.js328 const toss = (...args)=>{throw new Error(args.join(' '))}; function
330 toss("initWorker1API() must be run from a Worker thread.");
413 return (db && db.pointer) ? db : toss("DB is not opened.");
449 toss("Throwing because of simulateError flag.");
472 if(rc) sqlite3.SQLite3Error.toss(rc);
510 toss("Invalid rowMode for 'exec': stmt mode",
513 toss("'exec' requires input SQL.");
593 toss: function(ev){
594 toss("Testing worker exception");
598 if(!sqlite3.opfs) toss("OPFS support is unavailable.");
[all …]
H A Dsqlite3-api-opfs.js119 const toss = function(...args){throw new Error(args.join(' '))}; function
345 toss("Maintenance required: not found:",k);
357 const opNdx = state.opIds[op] || toss("Invalid op ID:",op);
463 default: toss("Invalid type ID:",tid);
597 toss("Usage error: target object is-not-a StructType.");
1202 if(!rc) toss("xAccess() failed to detect file.");
1204 if(rc) toss('sync failed w/ rc',rc);
1206 if(rc) toss('truncate failed w/ rc',rc);
1209 if(rc) toss('xFileSize failed w/ rc',rc);
1212 if(rc) toss("xWrite() failed!");
[all …]
H A Dsqlite3-opfs-async-proxy.js34 const toss = function(...args){throw new Error(args.join(' '))}; function
36 toss("This code cannot run from the main thread.",
39 toss("This API requires navigator.storage.getDirectory.");
270 if(fh.readOnly) toss(opName+"(): File is read-only: "+fh.filenameAbs);
648 || toss("Maintenance required: this value type cannot be serialized.",v)
656 default: toss("Invalid type ID:",tid);
769 const hnd = opHandlers[opId] ?? toss("No waitLoop handler for whichOp #",opId);
807 toss("Maintenance required: missing state.opIds[",k,"]");
H A Dsqlite3-api-glue.js21 const toss = (...args)=>{throw new Error(args.join(' '))}; function
22 const toss3 = sqlite3.SQLite3Error.toss;
50 : toss("Invalid (object) type for StructType-type argument.");
98 return ()=>toss(fname+"() disabled due to lack",
307 if(n && !pBlob) sqlite3.WasmAllocError.toss(
578 toss("Maintenance required: increase sqlite3_wasm_enum_json()'s",
H A Dsqlite3-worker1-promiser.js145 const toss = (...args)=>{throw new Error(args.join(' '))}; function
195 toss("Invalid arugments for sqlite3Worker1Promiser()-created factory.");
210 toss("exec callback may not be a string when using the Promise interface.");
H A Dsqlite3-api-prologue.js260 SQLite3Error.toss = (...args)=>{ function
263 const toss3 = SQLite3Error.toss;
429 WasmAllocError.toss = (...args)=>{ function
1078 || WasmAllocError.toss("Could not allocate",n,
1365 || (n ? WasmAllocError.toss("Cannot allocate",n,
H A Dsqlite3-api-oo1.js18 const toss = (...args)=>{throw new Error(args.join(' '))}; function
/sqlite-3.40.0/ext/wasm/fiddle/
H A Dfiddle-worker.js102 const toss = (...args)=>{ function
253 if(!fn2) toss("DB appears to be closed.");
/sqlite-3.40.0/test/
H A Dfts1porter.test20898 toss toss
20899 tossed toss
20901 tossing toss
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5porter.test10457 toss toss tossed toss
10458 tosseth tosseth tossing toss