Home
last modified time | relevance | path

Searched refs:mTaggedItem (Results 1 – 3 of 3) sorted by relevance

/external/libcppbor/include/cppbor/
Dcppbor.h772 return mValue == other.mValue && *mTaggedItem == *other.mTaggedItem;
780 size_t encodedSize() const override { return headerSize(mValue) + mTaggedItem->encodedSize(); } in encodedSize()
788 MajorType type() const override { return mTaggedItem ? mTaggedItem->type() : SEMANTIC; } in type()
795 Int* asInt() override { return mTaggedItem->asInt(); } in asInt()
797 Uint* asUint() override { return mTaggedItem->asUint(); } in asUint()
799 Nint* asNint() override { return mTaggedItem->asNint(); } in asNint()
801 Tstr* asTstr() override { return mTaggedItem->asTstr(); } in asTstr()
803 Bstr* asBstr() override { return mTaggedItem->asBstr(); } in asBstr()
805 Simple* asSimple() override { return mTaggedItem->asSimple(); } in asSimple()
807 Map* asMap() override { return mTaggedItem->asMap(); } in asMap()
[all …]
/external/libcppbor/src/
Dcppbor.cpp562 return std::make_unique<SemanticTag>(mValue, mTaggedItem->clone()); in clone()
570 return mTaggedItem->encode(pos, end); in encode()
577 mTaggedItem->encode(encodeCallback); in encode()
583 while (cur->mTaggedItem && (cur = cur->mTaggedItem->asSemanticTag()) != nullptr) ++levelCount; in semanticTagCount()
597 while (--levelCount > 0) cur = cur->mTaggedItem->asSemanticTag(); in semanticTag()
Dcppbor_parse.cpp160 void add(std::unique_ptr<Item> item) override { mTaggedItem = std::move(item); } in add()