Lines Matching full:slab
615 // @slab: An array of data, or a number. If a number, then the size of the block to allocate,
620 // is initial data - if @slab is a number, then this does not matter at all and is
623 function allocate(slab, types, allocator, ptr) {
625 if (typeof slab === 'number') {
627 size = slab;
630 size = slab.length;
653 if (slab.subarray || slab.slice) {
654 HEAPU8.set(slab, ret);
656 HEAPU8.set(new Uint8Array(slab), ret);
662 var curr = slab[i];