Home
last modified time | relevance | path

Searched refs:DoubleToInt32 (Results 1 – 14 of 14) sorted by relevance

/third_party/node/deps/v8/src/numbers/
Dconversions-inl.h92 int32_t DoubleToInt32(double x) { in DoubleToInt32() function
281 return static_cast<uint32_t>(DoubleToInt32(x)); in DoubleToUint32()
Dconversions.h69 inline int32_t DoubleToInt32(double x);
/third_party/node/deps/v8/src/builtins/
Dbuiltins-trace.cc152 char phase = static_cast<char>(DoubleToInt32(phase_arg->Number())); in BUILTIN()
170 id = DoubleToInt32(id_arg->Number()); in BUILTIN()
/third_party/node/deps/v8/src/compiler/
Dsimplified-operator-reducer.cc109 return ReplaceInt32(DoubleToInt32(m.ResolvedValue())); in Reduce()
137 return ReplaceInt32(DoubleToInt32(m.ResolvedValue())); in Reduce()
Dmachine-operator-reducer.cc868 return ReplaceInt32(DoubleToInt32(m.ResolvedValue())); in Reduce()
889 return ReplaceInt32(DoubleToInt32(m.ResolvedValue())); in Reduce()
Drepresentation-change.cc812 return jsgraph()->Int32Constant(DoubleToInt32(value)); in MakeTruncatedInt32Constant()
/third_party/node/deps/v8/src/runtime/
Druntime-numbers.cc42 int radix32 = DoubleToInt32(radix->Number()); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/parsing/
Dparser.cc174 int value = DoubleToInt32(x_val) | DoubleToInt32(y_val); in ShortcutNumericLiteralBinaryExpression()
179 int value = DoubleToInt32(x_val) & DoubleToInt32(y_val); in ShortcutNumericLiteralBinaryExpression()
184 int value = DoubleToInt32(x_val) ^ DoubleToInt32(y_val); in ShortcutNumericLiteralBinaryExpression()
190 base::ShlWithWraparound(DoubleToInt32(x_val), DoubleToInt32(y_val)); in ShortcutNumericLiteralBinaryExpression()
195 uint32_t shift = DoubleToInt32(y_val) & 0x1F; in ShortcutNumericLiteralBinaryExpression()
201 uint32_t shift = DoubleToInt32(y_val) & 0x1F; in ShortcutNumericLiteralBinaryExpression()
202 int value = ArithmeticShiftRight(DoubleToInt32(x_val), shift); in ShortcutNumericLiteralBinaryExpression()
277 return factory()->NewNumberLiteral(~DoubleToInt32(value), pos); in BuildUnaryExpression()
/third_party/node/deps/v8/src/wasm/
Dwasm-objects-inl.h431 return static_cast<ElementType>(DoubleToInt32(double_value)); in FromNumber()
Dmodule-instantiate.cc1547 ? WasmValue(DoubleToInt32(number_value)) in ProcessImportedGlobal()
/third_party/node/deps/v8/src/json/
Djson-stringifier.cc321 int gap_length = DoubleToInt32(value); in InitializeGap()
/third_party/node/deps/v8/src/objects/
Delements.cc3059 return FromScalar(DoubleToInt32(value)); in FromScalar()
Dobjects.cc348 return isolate->factory()->NewNumberFromInt(DoubleToInt32(input->Number())); in ConvertToInt32()
/third_party/node/deps/v8/src/api/
Dapi.cc10665 return internal::DoubleToInt32(d); in EXPORT_TEMPLATE_DEFINE()