Searched refs:SemanticTag (Results 1 – 4 of 4) sorted by relevance
/external/libcppbor/tests/ |
D | cppbor_test.cpp | 143 SemanticTag(std::numeric_limits<uint64_t>::max(), "AES").toString()); in TEST() 148 SemanticTag(254, in TEST() 149 SemanticTag(1, // in TEST() 150 SemanticTag(std::numeric_limits<uint64_t>::max(), // in TEST() 215 (details::is_unique_ptr_of_subclass_of_v<Item, std::unique_ptr<SemanticTag>>::value)); in TEST() 455 .add("key3", SemanticTag(1, SemanticTag(987654321, "Zhai gana test"))); in TEST() 516 SemanticTag tag(4321, Array().add(Array().add("Qaiyrly kesh!").add("Kesh zharyq!").add("431")) in TEST() 652 TEST(EqualityTest, SemanticTag) { in TEST() argument 653 SemanticTag val(215, Bstr("asd")); in TEST() 654 EXPECT_EQ(val, SemanticTag(215, Bstr("asd"))); in TEST() [all …]
|
/external/libcppbor/include/cppbor/ |
D | cppbor.h | 68 class SemanticTag; variable 147 virtual SemanticTag* asSemanticTag() { return nullptr; } in asSemanticTag() 148 const SemanticTag* asSemanticTag() const { return const_cast<Item*>(this)->asSemanticTag(); } in asSemanticTag() 760 class SemanticTag : public Item { 765 SemanticTag(uint64_t tagValue, T&& taggedItem); 766 SemanticTag(const SemanticTag& other) = delete; 767 SemanticTag(SemanticTag&&) = default; 768 SemanticTag& operator=(const SemanticTag& other) = delete; 769 SemanticTag& operator=(SemanticTag&&) = default; 771 bool operator==(const SemanticTag& other) const& { [all …]
|
/external/libcppbor/src/ |
D | cppbor.cpp | 561 std::unique_ptr<Item> SemanticTag::clone() const { in clone() 562 return std::make_unique<SemanticTag>(mValue, mTaggedItem->clone()); in clone() 565 uint8_t* SemanticTag::encode(uint8_t* pos, const uint8_t* end) const { in encode() 573 void SemanticTag::encode(EncodeCallback encodeCallback) const { in encode() 580 size_t SemanticTag::semanticTagCount() const { in semanticTagCount() 582 const SemanticTag* cur = this; in semanticTagCount() 587 uint64_t SemanticTag::semanticTag(size_t nesting) const { in semanticTag() 596 const SemanticTag* cur = this; in semanticTag()
|
D | cppbor_parse.cpp | 153 class IncompleteSemanticTag : public SemanticTag, public IncompleteItem { 155 explicit IncompleteSemanticTag(uint64_t value) : SemanticTag(value) {} in IncompleteSemanticTag()
|