/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/ |
D | Core.cpp | 49 out = value.ToNumber().Int32Value(); in FromJS() 60 out = value.ToNumber().Uint32Value(); in FromJS() 71 out = value.ToNumber().Int32Value(); in FromJS() 82 out = value.ToNumber().Uint32Value(); in FromJS() 93 out = value.ToNumber().Int32Value(); in FromJS() 104 out = value.ToNumber().Uint32Value(); in FromJS() 115 out = value.ToNumber().Int64Value(); in FromJS() 129 out = static_cast<uint64_t>(value.ToNumber().Int64Value()); in FromJS() 140 out = value.ToNumber().FloatValue(); in FromJS() 151 out = value.ToNumber().DoubleValue(); in FromJS()
|
/third_party/node/deps/npm/node_modules/es-abstract/ |
D | es5.js | 27 ToNumber: function ToNumber(value) { 31 var number = this.ToNumber(value); 37 return this.ToNumber(x) >> 0; 40 return this.ToNumber(x) >>> 0; 43 var number = this.ToNumber(value);
|
D | es2015.js | 87 ToNumber: function ToNumber(argument) { 94 return this.ToNumber(parseInteger(strSlice(value, 2), 2)); 96 return this.ToNumber(parseInteger(strSlice(value, 2), 8)); 102 return this.ToNumber(trimmed); 135 var number = this.ToNumber(argument); 143 var number = this.ToNumber(argument); 187 var n = this.ToNumber(argument);
|
D | CHANGELOG.md | 30 * [Fix] `es2015`+: `ToNumber`: provide the proper hint for Date objects (#27) 55 * [Tests] ES2015: add ToNumber symbol tests 97 * [Fix] `ES6.ToNumber`: should give `NaN` for explicitly signed hex strings (#4) 98 * [Refactor] `ES6.ToNumber`: No need to double-trim 104 * [Fix] ensure `ES.ToNumber` trims whitespace, and does not trim non-whitespace (#3) 133 * [New] ES6’s ToNumber now supports binary and octal literals.
|
/third_party/node/deps/npm/node_modules/es-abstract/test/ |
D | es5.js | 74 t.ok(is(NaN, ES.ToNumber(undefined)), 'undefined coerces to NaN'); 75 t.ok(is(ES.ToNumber(null), 0), 'null coerces to +0'); 76 t.ok(is(ES.ToNumber(false), 0), 'false coerces to +0'); 77 t.equal(1, ES.ToNumber(true), 'true coerces to 1'); 78 t.ok(is(NaN, ES.ToNumber(NaN)), 'NaN returns itself'); 80 t.equal(num, ES.ToNumber(num), num + ' returns itself'); 83 …t.ok(is(+numString, ES.ToNumber(numString)), '"' + numString + '" coerces to ' + Number(numString)… 86 …t.ok(is(ES.ToNumber(object), ES.ToNumber(ES.ToPrimitive(object))), 'object ' + object + ' coerces … 88 …t['throws'](function () { return ES.ToNumber(uncoercibleObject); }, TypeError, 'uncoercibleObject …
|
D | tests.js | 113 t.ok(is(NaN, ES.ToNumber(undefined)), 'undefined coerces to NaN'); 114 t.ok(is(ES.ToNumber(null), 0), 'null coerces to +0'); 115 t.ok(is(ES.ToNumber(false), 0), 'false coerces to +0'); 116 t.equal(1, ES.ToNumber(true), 'true coerces to 1'); 119 st.ok(is(NaN, ES.ToNumber(NaN)), 'NaN returns itself'); 121 st.equal(num, ES.ToNumber(num), num + ' returns itself'); 124 …st.ok(is(+numString, ES.ToNumber(numString)), '"' + numString + '" coerces to ' + Number(numString… 131 …st.ok(is(ES.ToNumber(object), ES.ToNumber(ES.ToPrimitive(object))), 'object ' + object + ' coerces… 133 …st['throws'](function () { return ES.ToNumber(v.uncoercibleObject); }, TypeError, 'uncoercibleObje… 138 st.equal(ES.ToNumber('0b10'), 2, '0b10 is 2'); [all …]
|
/third_party/node/test/js-native-api/test_conversions/ |
D | test_conversions.c | 102 static napi_value ToNumber(napi_env env, napi_callback_info info) { in ToNumber() function 145 DECLARE_NAPI_PROPERTY("toNumber", ToNumber), in Init()
|
/third_party/typescript/tests/baselines/reference/ |
D | objectTypeWithDuplicateNumericProperty.types | 2 // numeric properties must be distinct after a ToNumber operation
|
D | numericStringNamedPropertyEquivalence.types | 3 // String named and numeric named properties conflict if they would be equivalent after ToNumber on…
|
D | numericStringNamedPropertyEquivalence.symbols | 3 // String named and numeric named properties conflict if they would be equivalent after ToNumber on…
|
D | numericStringNamedPropertyEquivalence.errors.txt | 12 …and numeric named properties conflict if they would be equivalent after ToNumber on the property n…
|
D | objectTypeWithDuplicateNumericProperty.errors.txt | 18 // numeric properties must be distinct after a ToNumber operation
|
D | objectTypeWithDuplicateNumericProperty.symbols | 2 // numeric properties must be distinct after a ToNumber operation
|
/third_party/node/deps/npm/node_modules/es-abstract/operations/ |
D | 2015.js | 13 ToNumber: 'https://ecma-international.org/ecma-262/6.0/#sec-tonumber', property
|
D | 2016.js | 13 ToNumber: 'https://ecma-international.org/ecma-262/7.0/#sec-tonumber', property
|
D | 2017.js | 13 ToNumber: 'https://ecma-international.org/ecma-262/8.0/#sec-tonumber', property
|
/third_party/node/test/cctest/ |
D | test_aliased_buffer.cc | 70 v8::MaybeLocal<v8::Number> v3 = v2->ToNumber(context); in ReadAndValidate()
|
/third_party/cef/libcef/renderer/ |
D | v8_impl.cc | 1521 InitDouble(value->ToNumber(context).ToLocalChecked()->Value()); in InitFromV8Value() 1525 CefTime(value->ToNumber(context).ToLocalChecked()->Value() / 1000)); in InitFromV8Value()
|
/third_party/jerryscript/docs/ |
D | 02.API-REFERENCE.md | 3223 Call ToNumber operation on the api value.
|
/third_party/typescript/doc/ |
D | spec-ARCHIVED.md | 2050 … property with a name *N* for which ToString(ToNumber(*N*)) is identical to *N*, where ToString an…
|
/third_party/node/doc/api/ |
D | n-api.md | 3340 This API implements the abstract operation `ToNumber()` as defined in
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 128622 ToNumber(JSContext* cx, HandleValue v, double* out) in ToNumber() function
|