/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | big_integer.cpp | 19 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 D | raw_data_parser.cpp | 135 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 D | big_integer.h | 24 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 D | value_object.h | 45 using BigInt = BigInteger;
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_bigint_test.cpp | 90 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 D | big_integer_test.cpp | 45 bool BigInteger::operator==(const BigInteger& other) 56 BigInteger bigInt1 = BigInteger(100); in HWTEST_F() 57 BigInteger bigInt2 = BigInteger(-100); in HWTEST_F()
|
H A D | value_object_test.cpp | 106 BigInteger bigInt1(1234); in HWTEST_F() 108 BigInteger bigInt = obj; in HWTEST_F()
|
H A D | raw_data_parser_test.cpp | 60 BigInteger value1 = BigInteger(0, std::vector<uint64_t>(u64Val));
in HWTEST_F() 65 BigInteger parsedValue1;
in HWTEST_F()
|
H A D | rdb_trans_db_test.cpp | 55 { "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 D | raw_data_parser.h | 34 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 D | rdb_types_util.h | 47 using BigInt = NativeRdb::BigInteger;
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/ |
H A D | napi_rdb_js_utils.h | 27 using BigInt = OHOS::NativeRdb::BigInteger;
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_js_utils.cpp | 114 value = BigInteger(sign, std::move(words)); in Convert2Value()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_rdb_js_utils.h | 43 using BigInt = OHOS::NativeRdb::BigInteger;
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_js_utils.cpp | 274 value = BigInteger(sign, std::move(words)); in Convert2Value()
|