Lines Matching refs:args
34 const toss = function(...args){throw new Error(args.join(' '))}; argument
63 const logImpl = (level,...args)=>{ argument
64 if(state.verbose>level) loggers[level]("OPFS asyncer:",...args);
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
405 const rc = await vfsAsyncImpls.xDeleteNoWait(...args);
689 state.s11n.serialize = function(...args){ argument
692 if(args.length){
696 viewU8[0] = args.length & 0xff /* header = # of args */;
697 for(; i < args.length; ++i, ++offset){
700 typeIds.push(getTypeId(args[i]));
703 for(i = 0; i < args.length; ++i) {
708 viewDV[t.setter](offset, args[i], state.littleEndian);
711 const s = textEncoder.encode(args[i]);
770 const args = state.s11n.deserialize(
776 if(hnd.f) await hnd.f(...args);
791 const opt = data.args;