Home
last modified time | relevance | path

Searched refs:cValue (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/test/fuzztest/biginttoint64_fuzzer/
H A Dbiginttoint64_fuzzer.cpp44 int64_t cValue = 0; in BigIntToInt64FuzzTest() local
46 bigint->BigIntToInt64(vm, &cValue, &lossless); in BigIntToInt64FuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/biginttouint64_fuzzer/
H A Dbiginttouint64_fuzzer.cpp44 uint64_t cValue = 0; in BigIntToUint64FuzzTest() local
46 bigint->BigIntToUint64(vm, &cValue, &lossless); in BigIntToUint64FuzzTest()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_bigint_test.cpp655 int64_t cValue = 0; in HWTEST_F_L0() local
657 BigInt::BigIntToInt64(thread, JSHandle<JSTaggedValue>(resBigint1), &cValue, &lossless); in HWTEST_F_L0()
658 EXPECT_TRUE(cValue == LLONG_MAX); in HWTEST_F_L0()
660 BigInt::BigIntToInt64(thread, JSHandle<JSTaggedValue>(resBigint2), &cValue, &lossless); in HWTEST_F_L0()
661 EXPECT_TRUE(cValue == LLONG_MIN); in HWTEST_F_L0()
663 BigInt::BigIntToInt64(thread, JSHandle<JSTaggedValue>(resBigint3), &cValue, &lossless); in HWTEST_F_L0()
664 EXPECT_TRUE(cValue == INT_MAX); in HWTEST_F_L0()
666 BigInt::BigIntToInt64(thread, JSHandle<JSTaggedValue>(resBigint4), &cValue, &lossless); in HWTEST_F_L0()
667 EXPECT_TRUE(cValue == INT_MIN); in HWTEST_F_L0()
669 BigInt::BigIntToInt64(thread, JSHandle<JSTaggedValue>(resBigint5), &cValue, in HWTEST_F_L0()
701 uint64_t cValue = 0; HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Djs_bigint.h112 static void BigIntToInt64(JSThread *thread, JSHandle<JSTaggedValue> bigint, int64_t *cValue, bool *lossless);
113 static void BigIntToUint64(JSThread *thread, JSHandle<JSTaggedValue> bigint, uint64_t *cValue, bool *lossless);
H A Djs_bigint.cpp618 void BigInt::BigIntToInt64(JSThread *thread, JSHandle<JSTaggedValue> bigint, int64_t *cValue, bool *lossless) in BigIntToInt64() argument
620 ASSERT(cValue != nullptr); in BigIntToInt64()
628 *cValue = bigInt64->ToInt64(); in BigIntToInt64()
638 *cValue = bigInt64->ToInt64(); in BigIntToInt64()
641 void BigInt::BigIntToUint64(JSThread *thread, JSHandle<JSTaggedValue> bigint, uint64_t *cValue, bool *lossless) in BigIntToUint64() argument
643 ASSERT(cValue != nullptr); in BigIntToUint64()
651 *cValue = bigInt64->ToInt64(); in BigIntToUint64()
661 *cValue = bigUint64->ToUint64(); in BigIntToUint64()

Completed in 6 milliseconds