Home
last modified time | relevance | path

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

/external/libcppbor/src/
Dcppbor.cpp126 const Bstr* bstr = item->asBstr(); in prettyPrintInternal()
329 if (asBstr() != nullptr && other.asBstr() != nullptr) { in operator ==()
330 return *asBstr() == *(other.asBstr()); in operator ==()
/external/libcppbor/tests/
Dcppbor_test.cpp724 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
743 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
762 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
781 EXPECT_NE(nullptr, item->asBstr()); in TEST()
788 EXPECT_EQ(vec, item->asBstr()->value()); in TEST()
799 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
821 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
839 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
856 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
884 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
[all …]
/external/libcppbor/include/cppbor/
Dcppbor.h127 virtual Bstr* asBstr() { return nullptr; } in asBstr() function
128 const Bstr* asBstr() const { return const_cast<Item*>(this)->asBstr(); } in asBstr() function
402 using Item::asBstr;
403 Bstr* asBstr() override { return this; } in asBstr() function
802 using Item::asBstr;
803 Bstr* asBstr() override { return mTaggedItem->asBstr(); } in asBstr() function