Lines Matching refs:ArrayBuffer
16 assert(ArrayBuffer.isView() === false);
17 assert(ArrayBuffer.isView([]) === false);
18 assert(ArrayBuffer.isView({}) === false);
19 assert(ArrayBuffer.isView(null) === false);
20 assert(ArrayBuffer.isView(undefined) === false);
21 assert(ArrayBuffer.isView(new ArrayBuffer(10)) === false);
23 assert(ArrayBuffer.isView(new Int8Array()) === true);
24 assert(ArrayBuffer.isView(new Uint8Array()) === true);
25 assert(ArrayBuffer.isView(new Uint8ClampedArray()) === true);
26 assert(ArrayBuffer.isView(new Int16Array()) === true);
27 assert(ArrayBuffer.isView(new Uint16Array()) === true);
28 assert(ArrayBuffer.isView(new Int32Array()) === true);
29 assert(ArrayBuffer.isView(new Uint32Array()) === true);
30 assert(ArrayBuffer.isView(new Float32Array()) === true);
31 assert(ArrayBuffer.isView(new Float64Array()) === true);
33 assert(ArrayBuffer.isView(new Int8Array(10).subarray(0, 3)) === true);
35 var buffer = new ArrayBuffer(2);
37 assert(ArrayBuffer.isView(dv) === true);