Home
last modified time | relevance | path

Searched refs:Pointee (Results 1 – 25 of 36) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DMicrosoftDemangle.cpp289 Type *Pointee = nullptr; member
301 Type *Pointee = nullptr; member
693 const Type *Pointee) { in outputPointerIndicator() argument
698 if (Pointee->Prim == PrimTy::Function || Pointee->Prim == PrimTy::Array) { in outputPointerIndicator()
700 if (Pointee->Prim == PrimTy::Function) { in outputPointerIndicator()
701 const FunctionType *FTy = static_cast<const FunctionType *>(Pointee); in outputPointerIndicator()
722 Type::outputPre(OS, *Pointee); in outputPre()
729 outputPointerIndicator(OS, Affinity, nullptr, Pointee); in outputPre()
737 if (Pointee->Prim == PrimTy::Function || Pointee->Prim == PrimTy::Array) in outputPost()
740 Type::outputPost(OS, *Pointee); in outputPost()
[all …]
DItaniumDemangle.cpp404 const Node *Pointee; member in __anon17245d330111::PointerType
409 Pointee(Pointee_) {} in PointerType()
412 return Pointee->hasRHSComponent(S); in hasRHSComponentSlow()
417 if (Pointee->getKind() != KObjCProtoName || in printLeft()
418 !static_cast<const ObjCProtoName *>(Pointee)->isObjCObject()) { in printLeft()
419 Pointee->printLeft(s); in printLeft()
420 if (Pointee->hasArray(s)) in printLeft()
422 if (Pointee->hasArray(s) || Pointee->hasFunction(s)) in printLeft()
426 const auto *objcProto = static_cast<const ObjCProtoName *>(Pointee); in printLeft()
434 if (Pointee->getKind() != KObjCProtoName || in printRight()
[all …]
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc85 using testing::Pointee;
348 EXPECT_THAT(&v, Pointee(ElementsAre(0, 1, _))); in TEST()
349 EXPECT_THAT(&v, Not(Pointee(ElementsAre(0, _, 3)))); in TEST()
1285 EXPECT_THAT(p, AllOf(Pointee(Eq(3)), Pointee(Gt(0)), Pointee(Lt(5)))); in TEST()
1286 EXPECT_THAT(p, Not(AllOf(Pointee(Eq(3)), Pointee(Gt(0)), Pointee(Lt(3))))); in TEST()
1291 EXPECT_THAT(p, AnyOf(Pointee(Eq(5)), Pointee(Lt(0)), Pointee(Lt(5)))); in TEST()
1292 EXPECT_THAT(p, Not(AnyOf(Pointee(Eq(5)), Pointee(Lt(0)), Pointee(Gt(5))))); in TEST()
Dgmock-matchers_test.cc1685 EXPECT_CALL(helper, Call(Contains(Pointee(2)))); in TEST()
3638 const Matcher<int*> m = Pointee(Ge(0)); in TEST()
3648 const Matcher<const double*> m = Pointee(Ge(0)); in TEST()
3658 const Matcher<int* const &> m = Pointee(Ge(0)); in TEST()
3668 const Matcher<double* &> m = Pointee(Ge(0)); in TEST()
3691 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Pointee(FieldIIs(4)))); in TEST()
3693 Not(WhenDynamicCastTo<Derived*>(Pointee(FieldIIs(5))))); in TEST()
3702 EXPECT_THAT(&base, Not(WhenDynamicCastTo<Derived*>(Pointee(_)))); in TEST()
3705 EXPECT_THAT(as_base_ptr, Not(WhenDynamicCastTo<OtherDerived*>(Pointee(_)))); in TEST()
3708 EXPECT_THAT(as_base_ptr, Not(WhenDynamicCastTo<Derived*>(Pointee(_)))); in TEST()
[all …]
Dgmock_link_test.h165 using testing::Pointee;
656 Matcher<int*> m = Pointee(Eq(1)); in TEST()
/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/libcxxabi/src/demangle/
DItaniumDemangle.h468 const Node *Pointee; variable
473 Pointee(Pointee_) {} in PointerType()
475 template<typename Fn> void match(Fn F) const { F(Pointee); } in match()
478 return Pointee->hasRHSComponent(S); in hasRHSComponentSlow()
483 if (Pointee->getKind() != KObjCProtoName || in printLeft()
484 !static_cast<const ObjCProtoName *>(Pointee)->isObjCObject()) { in printLeft()
485 Pointee->printLeft(s); in printLeft()
486 if (Pointee->hasArray(s)) in printLeft()
488 if (Pointee->hasArray(s) || Pointee->hasFunction(s)) in printLeft()
492 const auto *objcProto = static_cast<const ObjCProtoName *>(Pointee); in printLeft()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DRecordName.cpp166 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord() local
168 Name = formatv("{0} {1}::*", Pointee, Class); in visitKnownRecord()
/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/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Ddibuilder.go308 Pointee Metadata member
321 t.Pointee.C,
/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/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/perfetto/src/traced/probes/ftrace/
Dproto_translation_table_unittest.cc36 using testing::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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h2066 GTEST_REMOVE_REFERENCE_(Pointer))>::type Pointee;
2069 : matcher_(MatcherCast<const Pointee&>(matcher)) {}
2091 const Matcher<const Pointee&> matcher_;
3888 inline internal::PointeeMatcher<InnerMatcher> Pointee(
/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