Searched refs:asTstr (Results 1 – 6 of 6) sorted by relevance
/system/libcppbor/src/ |
D | cppbor.cpp | 169 if (item->asTstr() != nullptr) { in prettyPrintInternal() 170 out.append(item->asTstr()->value().c_str()); in prettyPrintInternal() 225 map_key->asTstr()->value()) != mapKeysToNotPrint.end()) { in prettyPrintInternal() 341 if (asTstr() != nullptr && other.asTstr() != nullptr) { in operator ==() 342 return *asTstr() == *(other.asTstr()); in operator ==()
|
/system/libcppbor/tests/ |
D | cppbor_test.cpp | 722 EXPECT_EQ(nullptr, item->asTstr()); in TEST() 743 EXPECT_EQ(nullptr, item->asTstr()); in TEST() 764 EXPECT_NE(nullptr, item->asTstr()); in TEST() 774 EXPECT_EQ("hello"s, item->asTstr()->value()); in TEST() 785 EXPECT_EQ(nullptr, item->asTstr()); in TEST() 805 EXPECT_EQ(nullptr, item->asTstr()); in TEST() 832 EXPECT_EQ(nullptr, item->asTstr()); in TEST() 852 EXPECT_EQ(nullptr, item->asTstr()); in TEST() 882 EXPECT_NE(nullptr, item->asTstr()); in TEST() 886 EXPECT_NE(static_cast<Item*>(item->asTstr()), static_cast<Item*>(item->asSemanticTag())); in TEST() [all …]
|
/system/libcppbor/include/cppbor/ |
D | cppbor.h | 141 virtual Tstr* asTstr() { return nullptr; } in asTstr() function 142 const Tstr* asTstr() const { return const_cast<Item*>(this)->asTstr(); } in asTstr() function 527 using Item::asTstr; 528 Tstr* asTstr() override { return this; } in asTstr() function 830 using Item::asTstr; 831 Tstr* asTstr() override { return mTaggedItem->asTstr(); } in asTstr() function
|
/system/security/identity/ |
D | CredentialData.cpp | 279 const cppbor::Tstr* tstr = keyItem->asTstr(); in loadFromDisk() 331 const cppbor::Tstr* ecTstr = ecKeyItem->asTstr(); in loadFromDisk()
|
D | Credential.cpp | 870 const cppbor::Tstr* tstr = ((*array)[0])->asTstr(); in extractDocType()
|
/system/security/provisioner/ |
D | rkp_factory_extraction_lib_test.cpp | 267 EXPECT_THAT(*unverifedDeviceInfo->get("fingerprint")->asTstr(), Eq(fingerprint)); in TEST()
|