Home
last modified time | relevance | path

Searched refs:ToInt32 (Results 1 – 19 of 19) sorted by relevance

/third_party/node/deps/npm/node_modules/es-abstract/test/
Des5.js104 t.ok(is(0, ES.ToInt32(NaN)), 'NaN coerces to +0');
106 t.ok(is(0, ES.ToInt32(num)), num + ' returns +0');
107 t.ok(is(0, ES.ToInt32(-num)), '-' + num + ' returns +0');
109 …t['throws'](function () { return ES.ToInt32(uncoercibleObject); }, TypeError, 'uncoercibleObject t…
110 t.ok(is(ES.ToInt32(0x100000000), 0), '2^32 returns +0');
111 t.ok(is(ES.ToInt32(0x100000000 - 1), -1), '2^32 - 1 returns -1');
112 t.ok(is(ES.ToInt32(0x80000000), -0x80000000), '2^31 returns -2^31');
113 t.ok(is(ES.ToInt32(0x80000000 - 1), 0x80000000 - 1), '2^31 - 1 returns 2^31 - 1');
115 …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…
[all …]
Dtests.js213 t.ok(is(0, ES.ToInt32(NaN)), 'NaN coerces to +0');
215 t.ok(is(0, ES.ToInt32(num)), num + ' returns +0');
216 t.ok(is(0, ES.ToInt32(-num)), '-' + num + ' returns +0');
218 …t['throws'](function () { return ES.ToInt32(v.uncoercibleObject); }, TypeError, 'uncoercibleObject…
219 t.ok(is(ES.ToInt32(0x100000000), 0), '2^32 returns +0');
220 t.ok(is(ES.ToInt32(0x100000000 - 1), -1), '2^32 - 1 returns -1');
221 t.ok(is(ES.ToInt32(0x80000000), -0x80000000), '2^31 returns -2^31');
222 t.ok(is(ES.ToInt32(0x80000000 - 1), 0x80000000 - 1), '2^31 - 1 returns 2^31 - 1');
224 …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…
[all …]
/third_party/zlib/contrib/dotzlib/DotZLib/
DChecksumImpl.cs140 … _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
191 … _current = adler32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
DGZipStream.cs166 result = gzread(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Read()
210 int result = gzwrite(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Write()
/third_party/node/deps/npm/node_modules/es-abstract/
Des5.js36 ToInt32: function ToInt32(x) {
/third_party/node/deps/npm/node_modules/typedarray/
Dindex.js19 ToInt32: function(v) { return v >> 0; },
249 length = ECMAScript.ToInt32(length);
292 this.length = ECMAScript.ToInt32(arguments[0]);
467 start = ECMAScript.ToInt32(start);
468 end = ECMAScript.ToInt32(end);
/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc117 StatusOr<int32> DataPiece::ToInt32() const { in ToInt32() function in google::protobuf::util::converter::DataPiece
289 StatusOr<int32> int_value = ToInt32(); in ToEnum()
327 return ToInt32(); in ToEnum()
Dobject_writer.cc45 ow->RenderInt32(name, data.ToInt32().value()); in RenderDataPieceTo()
Ddatapiece.h128 util::StatusOr<int32> ToInt32() const;
Dproto_writer.cc125 StatusOr<int32> i32 = data.ToInt32(); in WriteInt32()
135 StatusOr<int32> i32 = data.ToInt32(); in WriteSFixed32()
145 StatusOr<int32> i32 = data.ToInt32(); in WriteSInt32()
Ddefault_value_objectwriter.cc461 field.default_value(), &DataPiece::ToInt32, static_cast<int32>(0))); in CreateDefaultDataPieceForField()
Dprotostream_objectwriter.cc896 StatusOr<int32> int_value = data.ToInt32(); in RenderStructValue()
/third_party/node/deps/npm/node_modules/es-abstract/operations/
D2015.js15 ToInt32: 'https://ecma-international.org/ecma-262/6.0/#sec-toint32', property
D2016.js15 ToInt32: 'https://ecma-international.org/ecma-262/7.0/#sec-toint32', property
D2017.js15 ToInt32: 'https://ecma-international.org/ecma-262/8.0/#sec-toint32', property
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtmessagebox.cpp102 int clicked_index = results.ToInt32(); in WINRT_ShowMessageBox()
/third_party/cef/libcef/renderer/
Dv8_impl.cc1517 InitInt(value->ToInt32(context).ToLocalChecked()->Value()); in InitFromV8Value()
/third_party/node/tools/
Dlint-md.mjs27508 ToInt32: function(v) { return v >> 0; },
27737 length = ECMAScript.ToInt32(length);
27780 this.length = ECMAScript.ToInt32(arguments[0]);
27955 start = ECMAScript.ToInt32(start);
27956 end = ECMAScript.ToInt32(end);
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp128651 ToInt32(JSContext* cx, JS::HandleValue v, int32_t* out) in ToInt32() function
128856 ToInt32(double d) in ToInt32() function