/external/v8/test/cctest/wasm/ |
D | test-run-wasm-js.cc | 93 Handle<Object> buffer[] = {isolate->factory()->NewNumber(a), in EXPECT_CALL() 94 isolate->factory()->NewNumber(b)}; in EXPECT_CALL() 226 isolate->factory()->NewNumber(inputs.arg_d(0)), in RunWASMSelectTest() 227 isolate->factory()->NewNumber(inputs.arg_d(1)), in RunWASMSelectTest() 228 isolate->factory()->NewNumber(inputs.arg_d(2)), in RunWASMSelectTest() 229 isolate->factory()->NewNumber(inputs.arg_d(3)), in RunWASMSelectTest() 230 isolate->factory()->NewNumber(inputs.arg_d(4)), in RunWASMSelectTest() 231 isolate->factory()->NewNumber(inputs.arg_d(5)), in RunWASMSelectTest() 232 isolate->factory()->NewNumber(inputs.arg_d(6)), in RunWASMSelectTest() 233 isolate->factory()->NewNumber(inputs.arg_d(7)), in RunWASMSelectTest() [all …]
|
/external/v8/src/runtime/ |
D | runtime-maths.cc | 23 return *isolate->factory()->NewNumber(signed32); in RUNTIME_FUNCTION() 34 return *isolate->factory()->NewNumber(signed32); in RUNTIME_FUNCTION() 51 return *isolate->factory()->NewNumber(power_double_int(x, y)); in RUNTIME_FUNCTION() 57 return *isolate->factory()->NewNumber(result); in RUNTIME_FUNCTION() 75 return *isolate->factory()->NewNumber(result); in RUNTIME_FUNCTION()
|
D | runtime-date.cc | 36 return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate)); in RUNTIME_FUNCTION()
|
D | runtime-simd.cc | 241 FUNCTION(Float32x4, float, 4, NewNumber, GET_NUMERIC_ARG) \ 242 FUNCTION(Int32x4, int32_t, 4, NewNumber, GET_NUMERIC_ARG) \ 243 FUNCTION(Uint32x4, uint32_t, 4, NewNumber, GET_NUMERIC_ARG) \ 245 FUNCTION(Int16x8, int16_t, 8, NewNumber, GET_NUMERIC_ARG) \ 246 FUNCTION(Uint16x8, uint16_t, 8, NewNumber, GET_NUMERIC_ARG) \ 248 FUNCTION(Int8x16, int8_t, 16, NewNumber, GET_NUMERIC_ARG) \ 249 FUNCTION(Uint8x16, uint8_t, 16, NewNumber, GET_NUMERIC_ARG) \
|
D | runtime-numbers.cc | 141 return *isolate->factory()->NewNumber(value); in RUNTIME_FUNCTION() 155 return *isolate->factory()->NewNumber(value); in RUNTIME_FUNCTION()
|
D | runtime-typedarray.cc | 556 DATA_VIEW_GETTER(Float32, float, NewNumber) 557 DATA_VIEW_GETTER(Float64, double, NewNumber)
|
D | runtime-atomics.cc | 181 return *isolate->factory()->NewNumber(t); in ToObject() 186 return *isolate->factory()->NewNumber(t); in ToObject()
|
D | runtime-i18n.cc | 137 factory->NewNumber(i), NONE)); in RUNTIME_FUNCTION() 509 return *isolate->factory()->NewNumber(result.getDouble()); in RUNTIME_FUNCTION() 513 return *isolate->factory()->NewNumber( in RUNTIME_FUNCTION()
|
/external/v8/test/cctest/ |
D | test-types.cc | 303 CHECK(T.Constant(fac->NewNumber(0))->Is(T.UnsignedSmall)); in Constant() 304 CHECK(T.Constant(fac->NewNumber(1))->Is(T.UnsignedSmall)); in Constant() 305 CHECK(T.Constant(fac->NewNumber(0x3fffffff))->Is(T.UnsignedSmall)); in Constant() 306 CHECK(T.Constant(fac->NewNumber(-1))->Is(T.Negative31)); in Constant() 307 CHECK(T.Constant(fac->NewNumber(-0x3fffffff))->Is(T.Negative31)); in Constant() 308 CHECK(T.Constant(fac->NewNumber(-0x40000000))->Is(T.Negative31)); in Constant() 309 CHECK(T.Constant(fac->NewNumber(0x40000000))->Is(T.Unsigned31)); in Constant() 310 CHECK(!T.Constant(fac->NewNumber(0x40000000))->Is(T.Unsigned30)); in Constant() 311 CHECK(T.Constant(fac->NewNumber(0x7fffffff))->Is(T.Unsigned31)); in Constant() 312 CHECK(!T.Constant(fac->NewNumber(0x7fffffff))->Is(T.Unsigned30)); in Constant() [all …]
|
D | types-fuzz.h | 94 integers.push_back(isolate->factory()->NewNumber(-V8_INFINITY)); in Types() 95 integers.push_back(isolate->factory()->NewNumber(+V8_INFINITY)); in Types() 96 integers.push_back(isolate->factory()->NewNumber(-rng_->NextInt(10))); in Types() 97 integers.push_back(isolate->factory()->NewNumber(+rng_->NextInt(10))); in Types() 100 integers.push_back(isolate->factory()->NewNumber(x)); in Types() 102 if (!IsMinusZero(x)) integers.push_back(isolate->factory()->NewNumber(x)); in Types()
|
D | test-elements-kind.cc | 294 Handle<Object> value_double = factory->NewNumber(3.1415); in TEST() 417 Handle<Object> value_double = factory->NewNumber(3.1415); in TEST()
|
/external/v8/test/unittests/interpreter/ |
D | constant-array-builder-unittest.cc | 236 CHECK_EQ(builder.Insert(isolate()->factory()->NewNumber(i)), i); in TEST_F() 238 CHECK_EQ(builder.Insert(isolate()->factory()->NewNumber(256)), 256); in TEST_F() 264 isolate()->factory()->NewNumber(1)), in TEST_F() 267 isolate()->factory()->NewNumber(2)), in TEST_F() 270 isolate()->factory()->NewNumber(3)), in TEST_F() 278 expected = isolate()->factory()->NewNumber(count++); in TEST_F()
|
/external/v8/test/unittests/compiler/ |
D | typer-unittest.cc | 139 isolate()->factory()->NewNumber(result_value), zone()); in TestBinaryArithOpCloseToZero() 160 isolate()->factory()->NewNumber(result_value), zone()); in TestBinaryArithOp() 196 isolate()->factory()->NewNumber(result_value), zone()); in TestBinaryBitOp()
|
D | js-typed-lowering-unittest.cc | 134 Type::Constant(factory()->NewNumber(0), zone()), zone()))); in TEST_F() 160 Handle<Object> constant = factory()->NewNumber(nan); in TEST_F() 181 Handle<Object> constant = factory()->NewNumber(value); in TEST_F()
|
D | js-type-feedback-unittest.cc | 68 SetGlobalProperty(string, isolate()->factory()->NewNumber(value)); in SetGlobalProperty()
|
/external/v8/src/ast/ |
D | ast-value-factory.cc | 184 value_ = isolate->factory()->NewNumber(number_, TENURED); in Internalize() 298 const AstValue* AstValueFactory::NewNumber(double number, bool with_dot) { in NewNumber() function in v8::internal::AstValueFactory
|
D | ast-value-factory.h | 337 const AstValue* NewNumber(double number, bool with_dot = false);
|
/external/v8/test/cctest/compiler/ |
D | test-run-bytecode-graph-builder.cc | 203 {"return 0.001;", {factory->NewNumber(0.001)}}, in TEST() 204 {"return 3.7e-60;", {factory->NewNumber(3.7e-60)}}, in TEST() 205 {"return -3.7e60;", {factory->NewNumber(-3.7e60)}}, in TEST() 1048 {"return x;", {factory->NewNumber(12)}}, in TEST() 1049 {"return obj.val;", {factory->NewNumber(3.1414)}}, in TEST() 1053 {"x = 23; return x;", {factory->NewNumber(23)}}, in TEST() 1055 {factory->NewNumber(23.456)}}}; in TEST() 1092 {factory->NewNumber(12)}}, in TEST() 1096 {factory->NewNumber(23)}}, in TEST() 1098 {factory->NewNumber(23.456)}}}; in TEST() [all …]
|
D | function-tester.h | 176 return isolate->factory()->NewNumber(value); in Val()
|
/external/v8/test/cctest/interpreter/ |
D | test-interpreter.cc | 287 factory->NewNumber(BinaryOpC(kShiftOperators[o], lhs, rhs)); in TEST() 320 factory->NewNumber(BinaryOpC(kArithmeticOperators[o], lhs, rhs)); in TEST() 342 builder.LoadLiteral(factory->NewNumber(lhs)) in TEST() 344 .LoadLiteral(factory->NewNumber(rhs)) in TEST() 353 factory->NewNumber(BinaryOpC(kArithmeticOperators[o], lhs, rhs)); in TEST() 1062 builder.LoadLiteral(handles.main_isolate()->factory()->NewNumber(i)); in TEST() 1111 builder.LoadLiteral(handles.main_isolate()->factory()->NewNumber(i)); in TEST() 1313 builder.LoadLiteral(factory->NewNumber(lhs)) in TEST() 1322 .LoadLiteral(factory->NewNumber(rhs)) in TEST() 1360 Handle<Object> lhs_obj = factory->NewNumber(lhs); in TEST() [all …]
|
/external/v8/src/ |
D | factory.h | 358 Handle<Object> NewNumber(double value, 373 return NewNumber(static_cast<double>(value), pretenure);
|
D | json-parser.cc | 53 Handle<Object> index = isolate_->factory()->NewNumber(i); in InternalizeJsonProperty() 579 return factory()->NewNumber(number, pretenure_); in ParseJsonNumber()
|
/external/v8/src/compiler/ |
D | code-generator.cc | 762 constant_object = isolate()->factory()->NewNumber(constant.ToFloat32()); in AddTranslationForOperand() 767 constant_object = isolate()->factory()->NewNumber(constant.ToFloat64()); in AddTranslationForOperand()
|
/external/v8/src/compiler/mips/ |
D | code-generator-mips.cc | 76 isolate()->factory()->NewNumber(constant.ToFloat32(), TENURED)); in InputImmediate() 79 isolate()->factory()->NewNumber(constant.ToFloat64(), TENURED)); in InputImmediate() 1915 __ li(dst, isolate()->factory()->NewNumber(src.ToFloat32(), TENURED)); in AssembleMove() 1921 __ li(dst, isolate()->factory()->NewNumber(src.ToFloat64(), TENURED)); in AssembleMove()
|
/external/v8/src/compiler/arm/ |
D | code-generator-arm.cc | 50 isolate()->factory()->NewNumber(constant.ToFloat32(), TENURED)); in InputImmediate() 53 isolate()->factory()->NewNumber(constant.ToFloat64(), TENURED)); in InputImmediate() 1592 isolate()->factory()->NewNumber(src.ToFloat32(), TENURED)); in AssembleMove() 1596 isolate()->factory()->NewNumber(src.ToFloat64(), TENURED)); in AssembleMove()
|