Searched refs:ToUint8 (Results 1 – 6 of 6) sorted by relevance
/third_party/node/deps/npm/node_modules/es-abstract/test/ |
D | tests.js | 300 t.ok(is(0, ES.ToUint8(NaN)), 'NaN coerces to +0'); 302 t.ok(is(0, ES.ToUint8(num)), num + ' returns +0'); 303 t.ok(is(0, ES.ToUint8(-num)), '-' + num + ' returns +0'); 305 …t['throws'](function () { return ES.ToUint8(v.uncoercibleObject); }, TypeError, 'uncoercibleObject… 306 t.ok(is(ES.ToUint8(0x100000000), 0), '2^32 returns +0'); 307 t.ok(is(ES.ToUint8(0x100000000 - 1), 0x100 - 1), '2^32 - 1 returns 2^8 - 1'); 308 t.ok(is(ES.ToUint8(0x80000000), 0), '2^31 returns +0'); 309 t.ok(is(ES.ToUint8(0x80000000 - 1), 0x100 - 1), '2^31 - 1 returns 2^8 - 1'); 310 t.ok(is(ES.ToUint8(0x10000), 0), '2^16 returns +0'); 311 t.ok(is(ES.ToUint8(0x10000 - 1), 0x100 - 1), '2^16 - 1 returns 2^8 - 1'); [all …]
|
/third_party/node/deps/npm/node_modules/es-abstract/ |
D | es2015.js | 129 var int8bit = this.ToUint8(argument); 134 ToUint8: function ToUint8(argument) {
|
/third_party/node/deps/npm/node_modules/es-abstract/operations/ |
D | 2015.js | 20 ToUint8: 'https://ecma-international.org/ecma-262/6.0/#sec-touint8', property
|
D | 2016.js | 20 ToUint8: 'https://ecma-international.org/ecma-262/7.0/#sec-touint8', property
|
D | 2017.js | 20 ToUint8: 'https://ecma-international.org/ecma-262/8.0/#sec-touint8', property
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 128716 ToUint8(JSContext *cx, JS::HandleValue v, uint8_t *out) in ToUint8() function 128879 ToUint8(double d) in ToUint8() function
|