Home
last modified time | relevance | path

Searched refs:words_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/inner_api/include/
H A Dpreferences_value.h40 BigInt(const std::vector<uint64_t> &words, int sign) : words_(std::move(words)), sign_(sign) in BigInt()
46 return sign_ == value.sign_ && words_ == value.words_;
48 std::vector<uint64_t> words_; member
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_impl.cpp240 value.words_.push_back(val); in Convert2PrefValue()
243 if (!value.words_.empty()) { in Convert2PrefValue()
244 value.sign_ = static_cast<int>(value.words_[value.words_.size() - 1]); in Convert2PrefValue()
245 value.words_.pop_back(); in Convert2PrefValue()
351 for (const auto &val : value.words_) { in Convert2Element()
H A Dpreferences_utils.cpp67 if (bigint.words_.empty()) { in CheckValue()
H A Dpreferences_value_parcel.cpp97 std::get<BigInt>(value.value_).words_.size() * sizeof(uint64_t); in CalSize()
298 std::vector<uint64_t> words = bigIntValue.words_; in MarshallingVecBigIntAfterType()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Djs_common_utils.cpp156 output.words_.resize(wordCount); in Convert2NativeValue()
157 …status = napi_get_value_bigint_words(env, jsValue, &output.sign_, &wordCount, output.words_.data()… in Convert2NativeValue()
288 …atus status = napi_create_bigint_words(env, value.sign_, value.words_.size(), value.words_.data(),… in Convert2JSValue()