Searched refs:asSimple (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 1512 const cppbor::Simple* simple_value = value_item->asSimple(); in parse_eat_record() 1577 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_eat_record() 1589 ASSERT_OR_RETURN_ERROR((*array_value)[4]->asSimple()->asBool()->value() == false, in parse_eat_record() 1591 verified_or_self_signed = (*array_value)[0]->asSimple()->asBool()->value(); in parse_eat_record() 1593 (*array_value)[1]->asSimple()->asBool()->value(), in parse_eat_record() 1596 (*array_value)[2]->asSimple()->asBool()->value(), in parse_eat_record() 1599 (*array_value)[3]->asSimple()->asBool()->value(), in parse_eat_record() 1732 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_submod_values() 1738 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_submod_values() 1744 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_submod_values() [all …]
|
/system/libcppbor/tests/ |
D | cppbor_test.cpp | 723 EXPECT_EQ(nullptr, item->asSimple()); in TEST() 744 EXPECT_EQ(nullptr, item->asSimple()); in TEST() 765 EXPECT_EQ(nullptr, item->asSimple()); in TEST() 786 EXPECT_EQ(nullptr, item->asSimple()); in TEST() 806 EXPECT_NE(nullptr, item->asSimple()); in TEST() 814 EXPECT_EQ(cppbor::BOOLEAN, item->asSimple()->simpleType()); in TEST() 816 EXPECT_NE(nullptr, item->asSimple()->asBool()); in TEST() 818 EXPECT_EQ(nullptr, item->asSimple()->asNull()); in TEST() 821 EXPECT_FALSE(item->asSimple()->asBool()->value()); in TEST() 833 EXPECT_EQ(nullptr, item->asSimple()); in TEST() [all …]
|
/system/libcppbor/src/ |
D | cppbor.cpp | 240 const Bool* asBool = item->asSimple()->asBool(); in prettyPrintInternal() 241 const Null* asNull = item->asSimple()->asNull(); in prettyPrintInternal() 354 return *asSimple() == *(other.asSimple()); in operator ==()
|
/system/libcppbor/include/cppbor/ |
D | cppbor.h | 143 virtual Simple* asSimple() { return nullptr; } in asSimple() function 144 const Simple* asSimple() const { return const_cast<Item*>(this)->asSimple(); } in asSimple() function 830 using Item::asSimple; 831 Simple* asSimple() override { return mTaggedItem->asSimple(); } in asSimple() function 866 Simple* asSimple() override { return this; } in asSimple() function
|
/system/keymaster/cppcose/ |
D | cppcose.cpp | 509 if (!ciphertext->asSimple() || !ciphertext->asSimple()->asNull()) { in getSenderPubKeyFromCoseEncrypt()
|
/system/security/identity/ |
D | CredentialData.cpp | 152 const cppbor::Simple* simple = ((*array)[2])->asSimple(); in parseSacp()
|