Lines Matching refs:mValue

276     explicit EncodedItem(std::vector<uint8_t> value) : mValue(std::move(value)) {}  in EncodedItem()
278 bool operator==(const EncodedItem& other) const& { return mValue == other.mValue; }
286 size_t encodedSize() const override { return mValue.size(); } in encodedSize()
288 if (end - pos < static_cast<ssize_t>(mValue.size())) return nullptr; in encode()
289 return std::copy(mValue.begin(), mValue.end(), pos); in encode()
292 std::for_each(mValue.begin(), mValue.end(), encodeCallback); in encode()
294 std::unique_ptr<Item> clone() const override { return std::make_unique<EncodedItem>(mValue); } in clone()
297 std::vector<uint8_t> mValue;
320 explicit Uint(uint64_t v) : mValue(v) {} in Uint()
322 bool operator==(const Uint& other) const& { return mValue == other.mValue; }
328 size_t encodedSize() const override { return headerSize(mValue); } in encodedSize()
330 int64_t value() const override { return mValue; } in value()
331 uint64_t unsignedValue() const { return mValue; } in unsignedValue()
335 return encodeHeader(mValue, pos, end); in encode()
338 encodeHeader(mValue, encodeCallback); in encode()
341 std::unique_ptr<Item> clone() const override { return std::make_unique<Uint>(mValue); } in clone()
344 uint64_t mValue;
361 bool operator==(const Nint& other) const& { return mValue == other.mValue; }
368 int64_t value() const override { return mValue; } in value()
378 std::unique_ptr<Item> clone() const override { return std::make_unique<Nint>(mValue); } in clone()
381 uint64_t addlInfo() const { return -1ll - mValue; } in addlInfo()
383 int64_t mValue; variable
397 explicit Bstr(std::vector<uint8_t> v) : mValue(std::move(v)) {} in Bstr()
401 : mValue(reinterpret_cast<const uint8_t*>(v.data()), in Bstr()
406 : mValue(buf.first, buf.first + buf.second) {} in Bstr()
412 explicit Bstr(const std::pair<I1, I2>& pair) : mValue(pair.first, pair.second) {} in Bstr()
418 Bstr(I1 begin, I2 end) : mValue(begin, end) {} in Bstr()
420 bool operator==(const Bstr& other) const& { return mValue == other.mValue; }
425 size_t encodedSize() const override { return headerSize(mValue.size()) + mValue.size(); } in encodedSize()
429 encodeHeader(mValue.size(), encodeCallback); in encode()
433 const std::vector<uint8_t>& value() const { return mValue; } in value()
434 std::vector<uint8_t>&& moveValue() { return std::move(mValue); } in moveValue()
436 std::unique_ptr<Item> clone() const override { return std::make_unique<Bstr>(mValue); } in clone()
441 std::vector<uint8_t> mValue; variable
504 explicit Tstr(std::string v) : mValue(std::move(v)) {} in Tstr()
507 explicit Tstr(const std::string_view& v) : mValue(v) {} in Tstr()
510 explicit Tstr(const char* v) : mValue(std::string(v)) {} in Tstr()
516 explicit Tstr(const std::pair<I1, I2>& pair) : mValue(pair.first, pair.second) {} in Tstr()
522 Tstr(I1 begin, I2 end) : mValue(begin, end) {} in Tstr()
524 bool operator==(const Tstr& other) const& { return mValue == other.mValue; }
529 size_t encodedSize() const override { return headerSize(mValue.size()) + mValue.size(); } in encodedSize()
533 encodeHeader(mValue.size(), encodeCallback); in encode()
537 const std::string& value() const { return mValue; } in value()
538 std::string&& moveValue() { return std::move(mValue); } in moveValue()
540 std::unique_ptr<Item> clone() const override { return std::make_unique<Tstr>(mValue); } in clone()
545 std::string mValue; variable
802 return mValue == other.mValue && *mTaggedItem == *other.mTaggedItem;
810 size_t encodedSize() const override { return headerSize(mValue) + mTaggedItem->encodedSize(); } in encodedSize()
852 SemanticTag(uint64_t value) : mValue(value) {} in SemanticTag()
853 uint64_t mValue; variable
881 explicit Bool(bool v) : mValue(v) {} in Bool()
883 bool operator==(const Bool& other) const& { return mValue == other.mValue; }
892 return encodeHeader(mValue ? TRUE : FALSE, pos, end); in encode()
895 encodeHeader(mValue ? TRUE : FALSE, encodeCallback); in encode()
898 bool value() const { return mValue; } in value()
900 std::unique_ptr<Item> clone() const override { return std::make_unique<Bool>(mValue); } in clone()
903 bool mValue;
1143 : mValue(value), mTaggedItem(details::makeItem(std::forward<T>(taggedItem))) {}