Searched refs:FastD2I (Results 1 – 11 of 11) sorted by relevance
/external/v8/test/cctest/ |
D | test-utils.cc | 42 CHECK_EQ(-1000000, FastD2I(-1000000.0)); in TEST() 43 CHECK_EQ(-1, FastD2I(-1.0)); in TEST() 44 CHECK_EQ(0, FastD2I(0.0)); in TEST() 45 CHECK_EQ(1, FastD2I(1.0)); in TEST() 46 CHECK_EQ(1000000, FastD2I(1000000.0)); in TEST() 48 CHECK_EQ(-1000000, FastD2I(-1000000.123)); in TEST() 49 CHECK_EQ(-1, FastD2I(-1.234)); in TEST() 50 CHECK_EQ(0, FastD2I(0.345)); in TEST() 51 CHECK_EQ(1, FastD2I(1.234)); in TEST() 52 CHECK_EQ(1000000, FastD2I(1000000.123)); in TEST()
|
/external/v8/src/ |
D | conversions.h | 57 inline int FastD2I(double x) { in FastD2I() function 162 value <= Smi::kMaxValue && value == FastI2D(FastD2I(value)); in IsSmiDouble() 173 value == FastI2D(FastD2I(value)); in IsInt32Double()
|
D | conversions-inl.h | 86 int32_t i = FastD2I(x); in DoubleToInt32()
|
D | types.cc | 278 if (IsInt32Double(value)) return Lub(FastD2I(value)); in Lub()
|
D | factory.cc | 1021 int int_value = FastD2I(value); in NewNumber()
|
D | objects-inl.h | 1085 int int_value = FastD2I(value); in ToSmi()
|
D | objects.cc | 182 if (FastI2D(FastD2I(num)) == num) { in ToInt32() 183 *value = FastD2I(num); in ToInt32()
|
D | runtime.cc | 7022 int int_value = FastD2I(value); in RUNTIME_FUNCTION()
|
/external/v8/src/compiler/ |
D | machine-operator-reducer.cc | 398 if (m.HasValue()) return ReplaceInt32(FastD2I(m.Value())); in Reduce()
|
/external/v8/test/cctest/compiler/ |
D | test-js-typed-lowering.cc | 269 double e = static_cast<double>(is_signed ? FastD2I(v) : FastD2UI(v)); in CheckToI32()
|
/external/v8/src/ic/ |
D | ic.cc | 1112 int int_value = FastD2I(value); in TryConvertKey()
|