Home
last modified time | relevance | path

Searched refs:ToUint16 (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/npm/node_modules/es-abstract/test/
Des5.js140 t.ok(is(0, ES.ToUint16(NaN)), 'NaN coerces to +0');
142 t.ok(is(0, ES.ToUint16(num)), num + ' returns +0');
143 t.ok(is(0, ES.ToUint16(-num)), '-' + num + ' returns +0');
145 …t['throws'](function () { return ES.ToUint16(uncoercibleObject); }, TypeError, 'uncoercibleObject …
146 t.ok(is(ES.ToUint16(0x100000000), 0), '2^32 returns +0');
147 t.ok(is(ES.ToUint16(0x100000000 - 1), 0x10000 - 1), '2^32 - 1 returns 2^16 - 1');
148 t.ok(is(ES.ToUint16(0x80000000), 0), '2^31 returns +0');
149 t.ok(is(ES.ToUint16(0x80000000 - 1), 0x10000 - 1), '2^31 - 1 returns 2^16 - 1');
150 t.ok(is(ES.ToUint16(0x10000), 0), '2^16 returns +0');
151 t.ok(is(ES.ToUint16(0x10000 - 1), 0x10000 - 1), '2^16 - 1 returns 2^16 - 1');
Dtests.js265 t.ok(is(0, ES.ToUint16(NaN)), 'NaN coerces to +0');
267 t.ok(is(0, ES.ToUint16(num)), num + ' returns +0');
268 t.ok(is(0, ES.ToUint16(-num)), '-' + num + ' returns +0');
270 …t['throws'](function () { return ES.ToUint16(v.uncoercibleObject); }, TypeError, 'uncoercibleObjec…
271 t.ok(is(ES.ToUint16(0x100000000), 0), '2^32 returns +0');
272 t.ok(is(ES.ToUint16(0x100000000 - 1), 0x10000 - 1), '2^32 - 1 returns 2^16 - 1');
273 t.ok(is(ES.ToUint16(0x80000000), 0), '2^31 returns +0');
274 t.ok(is(ES.ToUint16(0x80000000 - 1), 0x10000 - 1), '2^31 - 1 returns 2^16 - 1');
275 t.ok(is(ES.ToUint16(0x10000), 0), '2^16 returns +0');
276 t.ok(is(ES.ToUint16(0x10000 - 1), 0x10000 - 1), '2^16 - 1 returns 2^16 - 1');
/third_party/node/deps/npm/node_modules/es-abstract/
Des5.js42 ToUint16: function ToUint16(value) {
Des2015.js120 var int16bit = this.ToUint16(argument);
/third_party/node/deps/npm/node_modules/es-abstract/operations/
D2015.js18 ToUint16: 'https://ecma-international.org/ecma-262/6.0/#sec-touint16', property
D2016.js18 ToUint16: 'https://ecma-international.org/ecma-262/7.0/#sec-touint16', property
D2017.js18 ToUint16: 'https://ecma-international.org/ecma-262/8.0/#sec-touint16', property
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp128690 ToUint16(JSContext* cx, HandleValue v, uint16_t* out) in ToUint16() function
128892 ToUint16(double d) in ToUint16() function