Home
last modified time | relevance | path

Searched refs:asNint (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/identity/support/src/
Dcppbor.cpp113 return *asNint() == *(other.asNint()); in operator ==()
DIdentityCredentialSupport.cpp200 snprintf(buf, sizeof(buf), "%" PRId64, item->asNint()->value()); in cborPrettyPrintInternal()
/hardware/interfaces/identity/support/tests/
Dcppbor_test.cpp559 EXPECT_EQ(nullptr, item->asNint()); in TEST()
576 EXPECT_NE(nullptr, item->asNint()); in TEST()
584 EXPECT_EQ(-10, item->asNint()->value()); in TEST()
593 EXPECT_EQ(nullptr, item->asNint()); in TEST()
610 EXPECT_EQ(nullptr, item->asNint()); in TEST()
626 EXPECT_EQ(nullptr, item->asNint()); in TEST()
645 EXPECT_EQ(nullptr, item->asNint()); in TEST()
661 EXPECT_EQ(nullptr, item->asNint()); in TEST()
897 EXPECT_EQ(item->asNint()->value(), std::numeric_limits<int64_t>::min()); in TEST()
/hardware/interfaces/identity/support/include/cppbor/
Dcppbor.h116 virtual const Nint* asNint() const { return nullptr; } in asNint() function
261 const Nint* asNint() const override { return this; } in asNint() function