Home
last modified time | relevance | path

Searched refs:scopedAlloc (Results 1 – 5 of 5) sorted by relevance

/sqlite-3.40.0/ext/wasm/common/
H A Dwhwasmutil.js244 cache.scopedAlloc = [];
1004 cache.scopedAlloc.push(a);
1033 ? cache.scopedAlloc.indexOf(state)
1034 : cache.scopedAlloc.length-1;
1036 if(0===arguments.length) state = cache.scopedAlloc[n];
1037 cache.scopedAlloc.splice(n,1);
1057 target.scopedAlloc = function(n){ function
1058 if(!cache.scopedAlloc.length){
1062 cache.scopedAlloc[cache.scopedAlloc.length-1].push(p);
1066 Object.defineProperty(target.scopedAlloc, 'level', {
[all …]
/sqlite-3.40.0/ext/wasm/
H A Dtester1.js464 let cpy = w.scopedAlloc(n+10);
506 T.assert(!w.scopedAlloc.level)
518 const p1 = w.scopedAlloc(16),
519 p2 = w.scopedAlloc(16);
520 T.assert(1===w.scopedAlloc.level)
526 const p3 = w.scopedAlloc(16);
527 T.assert(2===w.scopedAlloc.level)
550 T.assert(0===w.scopedAlloc.level);
552 T.assert(1===w.scopedAlloc.level);
1636 ptrInt = w.scopedAlloc(4);
[all …]
H A Dbatch-runner.js223 …pSqlBegin = wasm.scopedAlloc( sqlByteLen + 1/*SQL + NUL*/) || toss("alloc(",sqlByteLen,") failed");
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-api-oo1.js783 const ppStmt = wasm.scopedAlloc(/* output (sqlite3_stmt**) arg and pzTail */
1230 const pStr = wasm.scopedAlloc(n);
1299 const pBlob = wasm.scopedAlloc(val.byteLength || 1);
H A Dsqlite3-api-opfs.js1181 const pOut = wasm.scopedAlloc(8);
1213 const readBuf = wasm.scopedAlloc(16);