Home
last modified time | relevance | path

Searched refs:TestTypedArrayOutOfRange (Results 1 – 2 of 2) sorted by relevance

/external/v8/test/mjsunit/harmony/
Dsharedarraybuffer.js278 function TestTypedArrayOutOfRange(constructor, value, result) { class
284 TestTypedArrayOutOfRange(Uint8Array, 0x1FA, 0xFA);
285 TestTypedArrayOutOfRange(Uint8Array, -1, 0xFF);
287 TestTypedArrayOutOfRange(Int8Array, 0x1FA, 0x7A - 0x80);
289 TestTypedArrayOutOfRange(Uint16Array, 0x1FFFA, 0xFFFA);
290 TestTypedArrayOutOfRange(Uint16Array, -1, 0xFFFF);
291 TestTypedArrayOutOfRange(Int16Array, 0x1FFFA, 0x7FFA - 0x8000);
293 TestTypedArrayOutOfRange(Uint32Array, 0x1FFFFFFFA, 0xFFFFFFFA);
294 TestTypedArrayOutOfRange(Uint32Array, -1, 0xFFFFFFFF);
295 TestTypedArrayOutOfRange(Int32Array, 0x1FFFFFFFA, 0x7FFFFFFA - 0x80000000);
[all …]
/external/v8/test/mjsunit/es6/
Dtypedarray.js385 function TestTypedArrayOutOfRange(constructor, value, result) { class
391 TestTypedArrayOutOfRange(Uint8Array, 0x1FA, 0xFA);
392 TestTypedArrayOutOfRange(Uint8Array, -1, 0xFF);
394 TestTypedArrayOutOfRange(Int8Array, 0x1FA, 0x7A - 0x80);
396 TestTypedArrayOutOfRange(Uint16Array, 0x1FFFA, 0xFFFA);
397 TestTypedArrayOutOfRange(Uint16Array, -1, 0xFFFF);
398 TestTypedArrayOutOfRange(Int16Array, 0x1FFFA, 0x7FFA - 0x8000);
400 TestTypedArrayOutOfRange(Uint32Array, 0x1FFFFFFFA, 0xFFFFFFFA);
401 TestTypedArrayOutOfRange(Uint32Array, -1, 0xFFFFFFFF);
402 TestTypedArrayOutOfRange(Int32Array, 0x1FFFFFFFA, 0x7FFFFFFA - 0x80000000);
[all …]