Searched refs:FastD2I (Results 1 – 9 of 9) sorted by relevance
/external/v8/test/cctest/ |
D | test-utils.cc | 41 CHECK_EQ(-1000000, FastD2I(-1000000.0)); in TEST() 42 CHECK_EQ(-1, FastD2I(-1.0)); in TEST() 43 CHECK_EQ(0, FastD2I(0.0)); in TEST() 44 CHECK_EQ(1, FastD2I(1.0)); in TEST() 45 CHECK_EQ(1000000, FastD2I(1000000.0)); in TEST() 47 CHECK_EQ(-1000000, FastD2I(-1000000.123)); in TEST() 48 CHECK_EQ(-1, FastD2I(-1.234)); in TEST() 49 CHECK_EQ(0, FastD2I(0.345)); in TEST() 50 CHECK_EQ(1, FastD2I(1.234)); in TEST() 51 CHECK_EQ(1000000, FastD2I(1000000.123)); in TEST()
|
/external/v8/src/ |
D | conversions-inl.h | 87 int32_t i = FastD2I(x); in DoubleToInt32() 103 value <= Smi::kMaxValue && value == FastI2D(FastD2I(value)); in IsSmiDouble() 109 value == FastI2D(FastD2I(value)); in IsInt32Double()
|
D | conversions.h | 56 inline int FastD2I(double x) { in FastD2I() function
|
D | builtins.cc | 2045 int y = FastD2I(year); in MakeDay() 2046 int m = FastD2I(month); in MakeDay()
|
D | objects.cc | 959 if (FastI2D(FastD2I(num)) == num) { in ToInt32() 960 *value = FastD2I(num); in ToInt32() 1497 return Smi::FromInt(FastD2I(num))->GetHash(); in GetSimpleHash()
|
/external/v8/src/runtime/ |
D | runtime-numbers.cc | 202 int int_value = FastD2I(value); in RUNTIME_FUNCTION()
|
/external/v8/src/compiler/ |
D | machine-operator-reducer.cc | 392 if (m.HasValue()) return ReplaceInt32(FastD2I(m.Value())); in Reduce()
|
/external/v8/test/cctest/compiler/ |
D | test-js-typed-lowering.cc | 323 double e = static_cast<double>(is_signed ? FastD2I(v) : FastD2UI(v)); in CheckToI32()
|
/external/v8/src/ic/ |
D | ic.cc | 1287 int int_value = FastD2I(value); in TryConvertKey()
|