Home
last modified time | relevance | path

Searched refs:Pointee (Results 1 – 25 of 37) sorted by relevance

12

/external/perfetto/src/traced/probes/filesystem/
Dlru_inode_cache_unittest.cc31 using ::testing::Pointee;
55 EXPECT_THAT(cache.Get(key1), Pointee(Eq(val1()))); in TEST()
57 EXPECT_THAT(cache.Get(key1), Pointee(Eq(val1()))); in TEST()
58 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2()))); in TEST()
60 EXPECT_THAT(cache.Get(key1), Pointee(Eq(val2()))); in TEST()
67 EXPECT_THAT(cache.Get(key1), Pointee(Eq(val1()))); in TEST()
68 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2()))); in TEST()
72 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2()))); in TEST()
73 EXPECT_THAT(cache.Get(key3), Pointee(Eq(val3()))); in TEST()
Dinode_file_data_source_unittest.cc33 using ::testing::Pointee;
101 Pointee(Eq(value))); in TEST_F()
/external/libcxxabi/src/
Dcxa_demangle.cpp487 const Node *Pointee; member in __anon9d46d5f30111::PointerType
493 Pointee(Pointee_) {} in PointerType()
496 return Pointee->hasRHSComponent(S); in hasRHSComponentSlow()
501 if (Pointee->getKind() != KObjCProtoName || in printLeft()
502 !static_cast<const ObjCProtoName *>(Pointee)->isObjCObject()) { in printLeft()
503 Pointee->printLeft(s); in printLeft()
504 if (Pointee->hasArray(s)) in printLeft()
506 if (Pointee->hasArray(s) || Pointee->hasFunction(s)) in printLeft()
510 const auto *objcProto = static_cast<const ObjCProtoName *>(Pointee); in printLeft()
518 if (Pointee->getKind() != KObjCProtoName || in printRight()
[all …]
/external/clang/include/clang/AST/
DType.h2182 PointerType(QualType Pointee, QualType CanonicalPtr) :
2183 Type(Pointer, CanonicalPtr, Pointee->isDependentType(),
2184 Pointee->isInstantiationDependentType(),
2185 Pointee->isVariablyModifiedType(),
2186 Pointee->containsUnexpandedParameterPack()),
2187 PointeeType(Pointee) {
2217 static void Profile(llvm::FoldingSetNodeID &ID, QualType Pointee) {
2218 ID.AddPointer(Pointee.getAsOpaquePtr());
2288 BlockPointerType(QualType Pointee, QualType CanonicalCls) :
2289 Type(BlockPointer, CanonicalCls, Pointee->isDependentType(),
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc41 using ::testing::Pointee;
530 EXPECT_CALL(mock_decoder, DecodeInternal(Pointee(0), kPayloadLengthBytes, in TEST_F()
573 EXPECT_CALL(mock_decoder, DecodeInternal(Pointee(2), kPayloadLengthBytes, in TEST_F()
691 EXPECT_CALL(mock_decoder, DecodeInternal(Pointee(0), kPayloadLengthBytes, in TEST_F()
698 EXPECT_CALL(mock_decoder, DecodeInternal(Pointee(1), kPayloadLengthBytes, in TEST_F()
712 EXPECT_CALL(mock_decoder, DecodeInternal(Pointee(2), kPayloadLengthBytes, in TEST_F()
831 EXPECT_CALL(decoder_, PacketDuration(Pointee(kFirstPayloadValue), in TEST_F()
837 DecodeInternal(Pointee(kFirstPayloadValue), _, _, _, _)) in TEST_F()
840 EXPECT_CALL(decoder_, DecodeInternal(Pointee(kSecondPayloadValue), in TEST_F()
851 EXPECT_CALL(decoder_, PacketDuration(Pointee(kSecondPayloadValue), in TEST_F()
/external/webrtc/webrtc/modules/video_coding/
Dvideo_sender_unittest.cc34 using ::testing::Pointee;
229 Encode(_, _, Pointee(ElementsAre(kVideoFrameDelta, kVideoFrameDelta, in ExpectIntraRequest()
240 Encode(_, _, Pointee(ElementsAreArray(&frame_types[0], in ExpectIntraRequest()
Dvideo_coding_robustness_unittest.cc27 using ::testing::Pointee;
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader_die_unittest.cc66 using testing::Pointee;
344 Pointee('*'), 258)) in TEST_P()
407 Pointee(173), 29)) in TEST_P()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc125 using testing::Pointee;
3149 const Matcher<int*> m = Pointee(Ge(0)); in TEST()
3159 const Matcher<const double*> m = Pointee(Ge(0)); in TEST()
3169 const Matcher<int* const &> m = Pointee(Ge(0)); in TEST()
3179 const Matcher<double* &> m = Pointee(Ge(0)); in TEST()
3203 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Pointee(FieldIIs(4)))); in TEST()
3205 Not(WhenDynamicCastTo<Derived*>(Pointee(FieldIIs(5))))); in TEST()
3214 EXPECT_THAT(&base, Not(WhenDynamicCastTo<Derived*>(Pointee(_)))); in TEST()
3217 EXPECT_THAT(as_base_ptr, Not(WhenDynamicCastTo<OtherDerived*>(Pointee(_)))); in TEST()
3220 EXPECT_THAT(as_base_ptr, Not(WhenDynamicCastTo<Derived*>(Pointee(_)))); in TEST()
[all …]
Dgmock_link_test.h160 using testing::Pointee;
635 Matcher<int*> m = Pointee(Eq(1)); in TEST()
Dgmock-generated-matchers_test.cc75 using testing::Pointee;
486 EXPECT_THAT(&v, Pointee(ElementsAre(0, 1, _))); in TEST()
487 EXPECT_THAT(&v, Not(Pointee(ElementsAre(0, _, 3)))); in TEST()
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc120 using testing::Pointee;
3137 const Matcher<int*> m = Pointee(Ge(0)); in TEST()
3147 const Matcher<const double*> m = Pointee(Ge(0)); in TEST()
3157 const Matcher<int* const &> m = Pointee(Ge(0)); in TEST()
3167 const Matcher<double* &> m = Pointee(Ge(0)); in TEST()
3189 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Pointee(FieldIIs(4)))); in TEST()
3191 Not(WhenDynamicCastTo<Derived*>(Pointee(FieldIIs(5))))); in TEST()
3200 EXPECT_THAT(&base, Not(WhenDynamicCastTo<Derived*>(Pointee(_)))); in TEST()
3203 EXPECT_THAT(as_base_ptr, Not(WhenDynamicCastTo<OtherDerived*>(Pointee(_)))); in TEST()
3206 EXPECT_THAT(as_base_ptr, Not(WhenDynamicCastTo<Derived*>(Pointee(_)))); in TEST()
[all …]
Dgmock_link_test.h160 using testing::Pointee;
635 Matcher<int*> m = Pointee(Eq(1)); in TEST()
Dgmock-generated-matchers_test.cc75 using testing::Pointee;
487 EXPECT_THAT(&v, Pointee(ElementsAre(0, 1, _))); in TEST()
488 EXPECT_THAT(&v, Not(Pointee(ElementsAre(0, _, 3)))); in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc109 using testing::Pointee;
2786 const Matcher<int*> m = Pointee(Ge(0)); in TEST()
2796 const Matcher<const double*> m = Pointee(Ge(0)); in TEST()
2806 const Matcher<int* const &> m = Pointee(Ge(0)); in TEST()
2816 const Matcher<double* &> m = Pointee(Ge(0)); in TEST()
2848 const Matcher< ConstPropagatingPtr<int> > m = Pointee(Lt(5)); in TEST()
2860 const Matcher<const char*> m = Pointee(_); in TEST()
2866 const Matcher<int*> m = Pointee(5); in TEST()
2876 const Matcher<int*> m = Pointee(Gt(3)); in TEST()
2883 const Matcher<const string*> m = Pointee(StartsWith("Hi")); in TEST()
[all …]
Dgmock_link_test.h160 using testing::Pointee;
635 Matcher<int*> m = Pointee(Eq(1)); in TEST()
Dgmock-generated-matchers_test.cc74 using testing::Pointee;
488 EXPECT_THAT(&v, Pointee(ElementsAre(0, 1, _))); in TEST()
489 EXPECT_THAT(&v, Not(Pointee(ElementsAre(0, _, 3)))); in TEST()
/external/llvm/bindings/go/llvm/
Ddibuilder.go300 Pointee Metadata member
312 t.Pointee.C,
/external/perfetto/src/ftrace_reader/
Dproto_translation_table_unittest.cc32 using testing::Pointee;
/external/clang/lib/Sema/
DSemaExprCXX.cpp2926 QualType Pointee = Type->getAs<PointerType>()->getPointeeType(); in ActOnCXXDelete() local
2927 QualType PointeeElem = Context.getBaseElementType(Pointee); in ActOnCXXDelete()
2929 if (unsigned AddressSpace = Pointee.getAddressSpace()) in ActOnCXXDelete()
2932 << Pointee.getUnqualifiedType() << AddressSpace; in ActOnCXXDelete()
2935 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete()
2941 } else if (Pointee->isFunctionType() || Pointee->isVoidType()) { in ActOnCXXDelete()
2944 } else if (!Pointee->isDependentType()) { in ActOnCXXDelete()
2947 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete()
2954 if (Pointee->isArrayType() && !ArrayForm) { in ActOnCXXDelete()
3002 StartLoc, isCompleteType(StartLoc, Pointee) && in ActOnCXXDelete()
[all …]
/external/v8/testing/gmock/
DCHANGES22 * Improvement: Pointee() now works on an optional<T>.
/external/googletest/googlemock/
DCHANGES22 * Improvement: Pointee() now works on an optional<T>.
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h1679 GTEST_REMOVE_REFERENCE_(Pointer))>::type Pointee; typedef
1682 : matcher_(MatcherCast<const Pointee&>(matcher)) {} in Impl()
1704 const Matcher<const Pointee&> matcher_;
2803 inline internal::PointeeMatcher<InnerMatcher> Pointee(
/external/googletest/googlemock/docs/
DCookBook.md1060 Well, you can use the `Pointee(m)` matcher.
1062 `Pointee(m)` matches a pointer iff `m` matches the value the pointer
1067 using ::testing::Pointee;
1069 EXPECT_CALL(foo, Bar(Pointee(Ge(3))));
1075 One nice thing about `Pointee()` is that it treats a `NULL` pointer as
1076 a match failure, so you can write `Pointee(m)` instead of
1079 AllOf(NotNull(), Pointee(m))
1084 Also, did we tell you that `Pointee()` works with both raw pointers
1089 nested `Pointee()` to probe deeper inside the value. For example,
1090 `Pointee(Pointee(Lt(3)))` matches a pointer that points to a pointer
[all …]
/external/clang/lib/AST/
DExpr.cpp3154 QualType Pointee = PT->getPointeeType(); in isNullPointerConstant() local
3155 Qualifiers Q = Pointee.getQualifiers(); in isNullPointerConstant()
3160 if (Pointee.getAddressSpace() == LangAS::opencl_generic) in isNullPointerConstant()
3167 Pointee->isVoidType() && // to void* in isNullPointerConstant()

12