Home
last modified time | relevance | path

Searched refs:ToUint32 (Results 1 – 16 of 16) sorted by relevance

/third_party/node/deps/npm/node_modules/es-abstract/test/
Des5.js115 …t.ok(is(ES.ToInt32(num), ES.ToInt32(ES.ToUint32(num))), 'ToInt32(x) === ToInt32(ToUint32(x)) for 0…
116 …t.ok(is(ES.ToInt32(-num), ES.ToInt32(ES.ToUint32(-num))), 'ToInt32(x) === ToInt32(ToUint32(x)) for…
122 t.ok(is(0, ES.ToUint32(NaN)), 'NaN coerces to +0');
124 t.ok(is(0, ES.ToUint32(num)), num + ' returns +0');
125 t.ok(is(0, ES.ToUint32(-num)), '-' + num + ' returns +0');
127 …t['throws'](function () { return ES.ToUint32(uncoercibleObject); }, TypeError, 'uncoercibleObject …
128 t.ok(is(ES.ToUint32(0x100000000), 0), '2^32 returns +0');
129 t.ok(is(ES.ToUint32(0x100000000 - 1), 0x100000000 - 1), '2^32 - 1 returns 2^32 - 1');
130 t.ok(is(ES.ToUint32(0x80000000), 0x80000000), '2^31 returns 2^31');
131 t.ok(is(ES.ToUint32(0x80000000 - 1), 0x80000000 - 1), '2^31 - 1 returns 2^31 - 1');
[all …]
Dtests.js224 …t.ok(is(ES.ToInt32(num), ES.ToInt32(ES.ToUint32(num))), 'ToInt32(x) === ToInt32(ToUint32(x)) for 0…
225 …t.ok(is(ES.ToInt32(-num), ES.ToInt32(ES.ToUint32(-num))), 'ToInt32(x) === ToInt32(ToUint32(x)) for…
231 t.ok(is(0, ES.ToUint32(NaN)), 'NaN coerces to +0');
233 t.ok(is(0, ES.ToUint32(num)), num + ' returns +0');
234 t.ok(is(0, ES.ToUint32(-num)), '-' + num + ' returns +0');
236 …t['throws'](function () { return ES.ToUint32(v.uncoercibleObject); }, TypeError, 'uncoercibleObjec…
237 t.ok(is(ES.ToUint32(0x100000000), 0), '2^32 returns +0');
238 t.ok(is(ES.ToUint32(0x100000000 - 1), 0x100000000 - 1), '2^32 - 1 returns 2^32 - 1');
239 t.ok(is(ES.ToUint32(0x80000000), 0x80000000), '2^31 returns 2^31');
240 t.ok(is(ES.ToUint32(0x80000000 - 1), 0x80000000 - 1), '2^31 - 1 returns 2^31 - 1');
[all …]
/third_party/node/deps/npm/node_modules/typedarray/
Dindex.js20 ToUint32: function(v) { return v >>> 0; }
315 this.length = ECMAScript.ToUint32(sequence.length);
330 this.byteOffset = ECMAScript.ToUint32(byteOffset);
349 this.length = ECMAScript.ToUint32(length);
376 index = ECMAScript.ToUint32(index);
397 index = ECMAScript.ToUint32(index);
421 offset = ECMAScript.ToUint32(arguments[1]);
447 len = ECMAScript.ToUint32(sequence.length);
448 offset = ECMAScript.ToUint32(arguments[1]);
540 this.byteOffset = ECMAScript.ToUint32(byteOffset);
[all …]
/third_party/node/deps/npm/node_modules/es-abstract/
Des5.js39 ToUint32: function ToUint32(x) {
/third_party/node/deps/npm/node_modules/es-abstract/operations/
D2015.js16 ToUint32: 'https://ecma-international.org/ecma-262/6.0/#sec-touint32', property
D2016.js16 ToUint32: 'https://ecma-international.org/ecma-262/7.0/#sec-touint32', property
D2017.js16 ToUint32: 'https://ecma-international.org/ecma-262/8.0/#sec-touint32', property
/third_party/protobuf/src/google/protobuf/util/internal/
Dobject_writer.cc53 ow->RenderUint32(name, data.ToUint32().value()); in RenderDataPieceTo()
Ddatapiece.h131 util::StatusOr<uint32> ToUint32() const;
Dproto_writer.cc155 StatusOr<uint32> u32 = data.ToUint32(); in WriteFixed32()
165 StatusOr<uint32> u32 = data.ToUint32(); in WriteUInt32()
Ddatapiece.cc129 StatusOr<uint32> DataPiece::ToUint32() const { in ToUint32() function in google::protobuf::util::converter::DataPiece
Ddefault_value_objectwriter.cc476 field.default_value(), &DataPiece::ToUint32, static_cast<uint32>(0))); in CreateDefaultDataPieceForField()
Dprotostream_objectwriter.cc909 StatusOr<uint32> int_value = data.ToUint32(); in RenderStructValue()
/third_party/cef/libcef/renderer/
Dv8_impl.cc1519 InitUInt(value->ToUint32(context).ToLocalChecked()->Value()); in InitFromV8Value()
/third_party/node/tools/
Dlint-md.mjs27509 ToUint32: function(v) { return v >>> 0; }
27803 this.length = ECMAScript.ToUint32(sequence.length);
27818 this.byteOffset = ECMAScript.ToUint32(byteOffset);
27837 this.length = ECMAScript.ToUint32(length);
27864 index = ECMAScript.ToUint32(index);
27885 index = ECMAScript.ToUint32(index);
27909 offset = ECMAScript.ToUint32(arguments[1]);
27935 len = ECMAScript.ToUint32(sequence.length);
27936 offset = ECMAScript.ToUint32(arguments[1]);
28028 this.byteOffset = ECMAScript.ToUint32(byteOffset);
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp128664 ToUint32(JSContext* cx, HandleValue v, uint32_t* out) in ToUint32() function
128865 ToUint32(double d) in ToUint32() function