Lines Matching refs:alloc
504 const alloc = w.alloc, dealloc = w.dealloc;
505 w.alloc = w.dealloc = null;
508 .mustThrowMatching(()=>w.scopedAllocPush(), /missing alloc/);
509 w.alloc = alloc;
510 T.mustThrowMatching(()=>w.scopedAllocPush(), /missing alloc/);
1038 .mustThrowMatching(()=>P.alloc(0), isAllocErr)
1039 .mustThrowMatching(()=>P.alloc(-1), isAllocErr);
1040 let p1 = P.alloc(12);
1043 let p2 = P.alloc(7);
1045 .mustThrowMatching(()=>P.alloc(remaining), isAllocErr)
1049 let p3 = P.alloc(n);
1051 .mustThrowMatching(()=>P.alloc(1), isAllocErr);
1094 const p = wasm.pstack.alloc(n);