Lines Matching refs:ptr
57 std::unique_ptr<asn1_context> ptr(ctx.asn1_constructed_get()); in TEST() local
58 ASSERT_NE(nullptr, ptr); in TEST()
59 ASSERT_EQ(5, ptr->asn1_constructed_type()); in TEST()
62 ASSERT_FALSE(ptr->asn1_oid_get(&oid, &length)); in TEST()
68 std::unique_ptr<asn1_context> ptr(ctx.asn1_constructed_get()); in TEST() local
69 ASSERT_NE(nullptr, ptr); in TEST()
70 ASSERT_EQ(5, ptr->asn1_constructed_type()); in TEST()
73 ASSERT_TRUE(ptr->asn1_oid_get(&oid, &length)); in TEST()
104 std::unique_ptr<asn1_context> ptr(ctx.asn1_sequence_get()); in TEST() local
105 ASSERT_NE(nullptr, ptr); in TEST()
108 ASSERT_FALSE(ptr->asn1_oid_get(&oid, &length)); in TEST()
114 std::unique_ptr<asn1_context> ptr(ctx.asn1_sequence_get()); in TEST() local
115 ASSERT_NE(nullptr, ptr); in TEST()
118 ASSERT_TRUE(ptr->asn1_oid_get(&oid, &length)); in TEST()
132 std::unique_ptr<asn1_context> ptr(ctx.asn1_set_get()); in TEST() local
133 ASSERT_NE(nullptr, ptr); in TEST()
136 ASSERT_FALSE(ptr->asn1_oid_get(&oid, &length)); in TEST()
142 std::unique_ptr<asn1_context> ptr(ctx.asn1_set_get()); in TEST() local
143 ASSERT_NE(nullptr, ptr); in TEST()
146 ASSERT_TRUE(ptr->asn1_oid_get(&oid, &length)); in TEST()