Searched refs:AsInt64 (Results 1 – 18 of 18) sorted by relevance
47 static napi_value AsInt64(napi_env env, napi_callback_info info) { in AsInt64() function141 DECLARE_NODE_API_PROPERTY("asInt64", AsInt64), in Init()
52 int64_t AsInt64() const { return static_cast<int64_t>(uint_value_); } in AsInt64() function
75 int64_t AsInt64() const { return static_cast<int64_t>(uint_value_); } in AsInt64() function
41 double_value_ = static_cast<double>(AsInt64()); in ConvertToDouble()
356 *(ValuesAs<int64_t>(ptr)) = value.AsInt64(); in WriteValueFromComponent()
432 EXPECT_EQ(std::numeric_limits<int64_t>::min(), next->AsInt64()); in TEST_F()
360 expected_value, timeout_ns->AsInt64()); in RUNTIME_FUNCTION()383 expected_value->AsInt64(), in RUNTIME_FUNCTION()384 timeout_ns->AsInt64()); in RUNTIME_FUNCTION()
256 return Handle<BigInt>::cast(bigint)->AsInt64(); in FromObject()
242 Handle<BigInt>::cast(value)->AsInt64(), timeout_number); in DoWait()
220 V8_EXPORT_PRIVATE int64_t AsInt64(bool* lossless = nullptr);
1025 int64_t epoch_milliseconds = bigint->AsInt64(); in GetISOPartsFromEpoch()1064 int64_t remainder = remainder_ns->AsInt64(); in GetISOPartsFromEpoch()3642 *nanoseconds = end_ns->AsInt64(); in BalanceDuration()3912 *result_day_length = day_length_ns->AsInt64(); in NanosecondsToDays()3935 *result_days = days_bigint->AsInt64(); in NanosecondsToDays()3936 *result_nanoseconds = nanoseconds->AsInt64() * sign; in NanosecondsToDays()3937 *result_day_length = day_length_ns->AsInt64(); in NanosecondsToDays()4094 *result_nanoseconds = nanoseconds->AsInt64(); in NanosecondsToDays()4095 *result_day_length = std::abs(day_length_ns->AsInt64()); in NanosecondsToDays()4312 int64_t ns = epoch_nanoseconds->AsInt64(); in IsValidEpochNanoseconds()
1559 int64_t BigInt::AsInt64(bool* lossless) { in AsInt64() function in v8::internal::BigInt
4075 return BigInt::cast(value).AsInt64(lossless); in FromObject()4287 return BigInt::cast(value).AsInt64(lossless); in FromObject()
459 int64_t scalar_value = BigInt::cast(*value).AsInt64(); in WriteValueAt()
1556 WriteGlobalValue(global, WasmValue(BigInt::cast(*value).AsInt64())); in ProcessImportedGlobal()
814 int64_t AsInt64() const { return AsIntN(64); } in AsInt64() function
2952 thread->ExpectLocal(name->AsString(), value->AsInt64()); in ParseDebugThreadBody()
8340 return handle->AsInt64(lossless); in Int64Value()