Home
last modified time | relevance | path

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

/external/libcppbor/tests/
Dcppbor_test.cpp725 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
744 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
763 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
782 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
800 EXPECT_NE(nullptr, item->asSimple()); in TEST()
806 EXPECT_EQ(BOOLEAN, item->asSimple()->simpleType()); in TEST()
807 EXPECT_NE(nullptr, item->asSimple()->asBool()); in TEST()
808 EXPECT_EQ(nullptr, item->asSimple()->asNull()); in TEST()
810 EXPECT_FALSE(item->asSimple()->asBool()->value()); in TEST()
822 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
[all …]
/external/libcppbor/src/
Dcppbor.cpp240 const Bool* asBool = item->asSimple()->asBool(); in prettyPrintInternal()
241 const Null* asNull = item->asSimple()->asNull(); in prettyPrintInternal()
354 return *asSimple() == *(other.asSimple()); in operator ==()
/external/libcppbor/include/cppbor/
Dcppbor.h129 virtual Simple* asSimple() { return nullptr; } in asSimple() function
130 const Simple* asSimple() const { return const_cast<Item*>(this)->asSimple(); } in asSimple() function
804 using Item::asSimple;
805 Simple* asSimple() override { return mTaggedItem->asSimple(); } in asSimple() function
840 Simple* asSimple() override { return this; } in asSimple() function