Lines Matching refs:Bstr
62 class Bstr; variable
127 virtual Bstr* asBstr() { return nullptr; } in asBstr()
128 const Bstr* asBstr() const { return const_cast<Item*>(this)->asBstr(); } in asBstr()
368 class Bstr : public Item {
373 explicit Bstr() {} in Bstr() function
376 explicit Bstr(std::vector<uint8_t> v) : mValue(std::move(v)) {} in Bstr() function
379 explicit Bstr(const std::string& v) in Bstr() function
384 explicit Bstr(const std::pair<const uint8_t*, size_t>& buf) in Bstr() function
391 explicit Bstr(const std::pair<I1, I2>& pair) : mValue(pair.first, pair.second) {} in Bstr() function
397 Bstr(I1 begin, I2 end) : mValue(begin, end) {} in Bstr() function
399 bool operator==(const Bstr& other) const& { return mValue == other.mValue; }
403 Bstr* asBstr() override { return this; } in asBstr()
415 std::unique_ptr<Item> clone() const override { return std::make_unique<Bstr>(mValue); } in clone()
803 Bstr* asBstr() override { return mTaggedItem->asBstr(); } in asBstr()
1008 p = new Bstr(v);