Searched refs:asSemanticTag (Results 1 – 4 of 4) sorted by relevance
/external/libcppbor/src/ |
D | cppbor.cpp | 356 return *asSemanticTag() == *(other.asSemanticTag()); in operator ==() 583 while (cur->mTaggedItem && (cur = cur->mTaggedItem->asSemanticTag()) != nullptr) ++levelCount; in semanticTagCount() 597 while (--levelCount > 0) cur = cur->mTaggedItem->asSemanticTag(); in semanticTag()
|
D | cppbor_parse.cpp | 350 } else if (parent->asSemanticTag()) { in appendToLastParent()
|
/external/libcppbor/tests/ |
D | cppbor_test.cpp | 865 EXPECT_NE(nullptr, item->asSemanticTag()); in TEST() 868 EXPECT_NE(static_cast<Item*>(item->asTstr()), static_cast<Item*>(item->asSemanticTag())); in TEST() 870 EXPECT_EQ(1U, item->asSemanticTag()->size()); in TEST() 893 EXPECT_NE(nullptr, item->asSemanticTag()); in TEST() 897 EXPECT_NE(static_cast<Item*>(item->asTstr()), static_cast<Item*>(item->asSemanticTag())); in TEST() 899 EXPECT_EQ(1U, item->asSemanticTag()->size()); in TEST() 1051 EXPECT_NE(clone->asSemanticTag(), nullptr); in TEST() 1052 EXPECT_EQ(item, *clone->asSemanticTag()); in TEST() 1053 EXPECT_EQ(*clone->asSemanticTag(), copy); in TEST() 1068 EXPECT_NE(clone->asSemanticTag(), nullptr); in TEST() [all …]
|
/external/libcppbor/include/cppbor/ |
D | cppbor.h | 147 virtual SemanticTag* asSemanticTag() { return nullptr; } in asSemanticTag() function 148 const SemanticTag* asSemanticTag() const { return const_cast<Item*>(this)->asSemanticTag(); } in asSemanticTag() function 789 using Item::asSemanticTag; 790 SemanticTag* asSemanticTag() override { return this; } in asSemanticTag() function
|