Home
last modified time | relevance | path

Searched refs:BigInteger (Results 1 - 15 of 15) sorted by relevance

/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dbig_integer.cpp19 BigInteger::BigInteger(int64_t value) in BigInteger() function in OHOS::NativeRdb::BigInteger
28 BigInteger::BigInteger(int32_t sign, std::vector<uint64_t>&& trueForm) in BigInteger() function in OHOS::NativeRdb::BigInteger
33 BigInteger::BigInteger(const BigInteger& other) in BigInteger() function in OHOS::NativeRdb::BigInteger
38 BigInteger::BigInteger(BigInteger function in OHOS::NativeRdb::BigInteger
[all...]
H A Draw_data_parser.cpp135 size_t RawDataParser::ParserRawData(const uint8_t* data, size_t length, BigInteger& bigint) in ParserRawData()
175 bigint = BigInteger(static_cast<int32_t>(sign), std::move(trueFrom)); in ParserRawData()
222 std::vector<uint8_t> RawDataParser::PackageRawData(const BigInteger& bigint) in PackageRawData()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dbig_integer.h24 class API_EXPORT BigInteger final {
26 BigInteger() = default;
27 ~BigInteger() = default;
29 BigInteger(int64_t value);
30 BigInteger(int32_t sign, std::vector<uint64_t> &&trueForm);
31 BigInteger(const BigInteger &other);
32 BigInteger(BigInteger &&other);
33 BigInteger
[all...]
H A Dvalue_object.h45 using BigInt = BigInteger;
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_bigint_test.cpp90 bucket.Put("value1", BigInteger(158)); in HWTEST_F()
91 bucket.Put("value2", BigInteger(-158)); in HWTEST_F()
101 auto val = std::get_if<BigInteger>(&value.value); in HWTEST_F()
104 EXPECT_TRUE(*val == BigInteger(158)); in HWTEST_F()
107 val = std::get_if<BigInteger>(&value.value); in HWTEST_F()
110 EXPECT_TRUE(*val == BigInteger(-158)); in HWTEST_F()
124 bucket.Put("value1", BigInteger(158)); in HWTEST_F()
125 bucket.Put("value2", BigInteger(-158)); in HWTEST_F()
135 auto val = std::get_if<BigInteger>(&value.value); in HWTEST_F()
138 EXPECT_TRUE(*val == BigInteger(15 in HWTEST_F()
[all...]
H A Dbig_integer_test.cpp45 bool BigInteger::operator==(const BigInteger& other)
56 BigInteger bigInt1 = BigInteger(100); in HWTEST_F()
57 BigInteger bigInt2 = BigInteger(-100); in HWTEST_F()
H A Dvalue_object_test.cpp106 BigInteger bigInt1(1234); in HWTEST_F()
108 BigInteger bigInt = obj; in HWTEST_F()
H A Draw_data_parser_test.cpp60 BigInteger value1 = BigInteger(0, std::vector<uint64_t>(u64Val)); in HWTEST_F()
65 BigInteger parsedValue1; in HWTEST_F()
H A Drdb_trans_db_test.cpp55 { "years", ValueObject(BigInteger(0, { 128, 225 })) },
412 row.Put("years", BigInteger(i % 2, { 128, 225 })); in HWTEST_F()
449 row.Put("years", BigInteger(i % 2, { 128, 225 })); in HWTEST_F()
517 row.Put("years", BigInteger(i % 2, { 128, 225 })); in HWTEST_F()
561 row.Put("years", BigInteger(i % 2, { 128, 225 })); in HWTEST_F()
634 row.Put("years", BigInteger(i % 2, { 128, 225 })); in HWTEST_F()
682 row.Put("years", BigInteger(i % 2, { 128, 225 })); in HWTEST_F()
727 row.Put("years", BigInteger(i % 2, { 128, 225 })); in HWTEST_F()
762 row.Put("years", BigInteger(i % 2, { 128, 225 })); in HWTEST_F()
793 row.Put("years", BigInteger( in HWTEST_F()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Draw_data_parser.h34 static size_t ParserRawData(const uint8_t *data, size_t length, BigInteger &bigint);
40 static std::vector<uint8_t> PackageRawData(const BigInteger &bigint);
H A Drdb_types_util.h47 using BigInt = NativeRdb::BigInteger;
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/
H A Dnapi_rdb_js_utils.h27 using BigInt = OHOS::NativeRdb::BigInteger;
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_rdb_js_utils.cpp114 value = BigInteger(sign, std::move(words)); in Convert2Value()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
H A Dnapi_rdb_js_utils.h43 using BigInt = OHOS::NativeRdb::BigInteger;
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_js_utils.cpp274 value = BigInteger(sign, std::move(words)); in Convert2Value()

Completed in 7 milliseconds