/external/clang/test/SemaTemplate/ |
D | explicit-instantiation.cpp | 43 typedef int X1::*MemPtr; typedef 45 template MemPtr X0<MemPtr>::f0(MemPtr); // expected-note{{requested here}}
|
/external/clang/test/SemaCXX/ |
D | member-pointer-ms.cpp | 188 typedef int MemPtrInBody::*MemPtr; typedef 190 operator MemPtr() const { in operator MemPtr() 195 static_assert(sizeof(MemPtrInBody::MemPtr) == kSingleDataSize, "");
|
D | constexpr-printing.cpp | 71 constexpr int MemPtr(int (MemPtrTest::*a), void (MemPtrTest::*b)(), int &c) { in MemPtr() function 74 static_assert(MemPtr(&MemPtrTest::n, &MemPtrTest::f, mpt.*&MemPtrTest::n), ""); // expected-error {…
|
/external/clang/test/CodeGenCXX/ |
D | microsoft-abi-vmemptr-vbase.cpp | 10 void (B::*MemPtr)(void) = &B::f; variable
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 79 llvm::Value *MemPtr, const MemberPointerType *MPT) { in EmitLoadOfMemberFunctionPointer() argument 94 Address Base, llvm::Value *MemPtr, in EmitMemberDataPointerAddress() argument 126 llvm::Value *MemPtr, in EmitMemberPointerIsNotNull() argument
|
D | CGCXXABI.h | 149 llvm::Value *&ThisPtrForCall, llvm::Value *MemPtr, 155 Address Base, llvm::Value *MemPtr, 202 llvm::Value *MemPtr,
|
D | ItaniumCXXABI.cpp | 126 llvm::Value *MemPtr, 618 CodeGenFunction &CGF, const Expr *E, Address Base, llvm::Value *MemPtr, in EmitMemberDataPointerAddress() argument 620 assert(MemPtr->getType() == CGM.PtrDiffTy); in EmitMemberDataPointerAddress() 629 Builder.CreateInBoundsGEP(Base.getPointer(), MemPtr, "memptr.offset"); in EmitMemberDataPointerAddress() 799 llvm::Constant *MemPtr[2]; in BuildMemberPointer() local 815 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset); in BuildMemberPointer() 816 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy, in BuildMemberPointer() 823 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset + 1); in BuildMemberPointer() 824 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy, in BuildMemberPointer() 841 MemPtr[0] = llvm::ConstantExpr::getPtrToInt(addr, CGM.PtrDiffTy); in BuildMemberPointer() [all …]
|
D | MicrosoftCXXABI.cpp | 637 llvm::Value *MemPtr, 642 Address Base, llvm::Value *MemPtr, 666 llvm::Value *MemPtr, 2772 llvm::Value *MemPtr, in EmitMemberPointerIsNotNull() argument 2782 llvm::Value *FirstField = MemPtr; in EmitMemberPointerIsNotNull() 2783 if (MemPtr->getType()->isStructTy()) in EmitMemberPointerIsNotNull() 2784 FirstField = Builder.CreateExtractValue(MemPtr, 0); in EmitMemberPointerIsNotNull() 2794 llvm::Value *Field = Builder.CreateExtractValue(MemPtr, I); in EmitMemberPointerIsNotNull() 2928 CodeGenFunction &CGF, const Expr *E, Address Base, llvm::Value *MemPtr, in EmitMemberDataPointerAddress() argument 2940 llvm::Value *FieldOffset = MemPtr; in EmitMemberDataPointerAddress() [all …]
|
D | CGExprScalar.cpp | 1571 llvm::Value *MemPtr = Visit(E); in VisitCastExpr() local 1573 return CGF.CGM.getCXXABI().EmitMemberPointerIsNotNull(CGF, MemPtr, MPT); in VisitCastExpr()
|
D | CGExpr.cpp | 112 llvm::Value *MemPtr = EmitScalarExpr(E); in EvaluateExprAsBool() local 113 return CGM.getCXXABI().EmitMemberPointerIsNotNull(*this, MemPtr, MPT); in EvaluateExprAsBool()
|
/external/libcxx/test/std/utilities/function.objects/func.require/ |
D | bullet_3_and_4.pass.cpp | 71 typedef ObjectType (TestType::*MemPtr); in doTest() 73 MemPtr M = &TestType::object; in doTest()
|
D | bullet_1_and_2.pass.cpp | 209 typedef CallSig (ClassType::*MemPtr); in runTest() 211 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest() 212 b.runTest( (MemPtr)&ClassType::f, obj); in runTest()
|
/external/clang/test/CodeGenObjCXX/ |
D | encode.mm | 46 @interface MemPtr {} interface 49 @implementation MemPtr implementation
|
/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmsio0.c | 1102 cmsHPROFILE CMSEXPORT cmsOpenProfileFromMemTHR(cmsContext ContextID, const void* MemPtr, cmsUInt32N… in cmsOpenProfileFromMemTHR() argument 1114 NewIcc ->IOhandler = cmsOpenIOhandlerFromMem(ContextID, (void*) MemPtr, dwSize, "r"); in cmsOpenProfileFromMemTHR() 1126 cmsHPROFILE CMSEXPORT cmsOpenProfileFromMem(const void* MemPtr, cmsUInt32Number dwSize) in cmsOpenProfileFromMem() argument 1128 return cmsOpenProfileFromMemTHR(NULL, MemPtr, dwSize); in cmsOpenProfileFromMem() 1361 cmsBool CMSEXPORT cmsSaveProfileToMem(cmsHPROFILE hProfile, void *MemPtr, cmsUInt32Number* BytesNee… in cmsSaveProfileToMem() argument 1370 if (MemPtr == NULL) { in cmsSaveProfileToMem() 1377 io = cmsOpenIOhandlerFromMem(ContextID, MemPtr, *BytesNeeded, "w"); in cmsSaveProfileToMem()
|
D | cmscgats.c | 1785 cmsBool CMSEXPORT cmsIT8SaveToMem(cmsHANDLE hIT8, void *MemPtr, cmsUInt32Number* BytesNeeded) in cmsIT8SaveToMem() argument 1794 sd.Base = (cmsUInt8Number*) MemPtr; in cmsIT8SaveToMem()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 3150 MemberPtr MemPtr; in HandleMemberPointerAccess() local 3151 if (!EvaluateMemberPointer(RHS, MemPtr, Info)) in HandleMemberPointerAccess() 3156 if (!MemPtr.getDecl()) { in HandleMemberPointerAccess() 3162 if (MemPtr.isDerivedMember()) { in HandleMemberPointerAccess() 3166 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() > in HandleMemberPointerAccess() 3172 LV.Designator.Entries.size() - MemPtr.Path.size(); in HandleMemberPointerAccess() 3173 for (unsigned I = 0, N = MemPtr.Path.size(); I != N; ++I) { in HandleMemberPointerAccess() 3176 const CXXRecordDecl *MPDecl = MemPtr.Path[I]; in HandleMemberPointerAccess() 3184 if (!CastToDerivedClass(Info, RHS, LV, MemPtr.getContainingRecord(), in HandleMemberPointerAccess() 3187 } else if (!MemPtr.Path.empty()) { in HandleMemberPointerAccess() [all …]
|
D | Type.cpp | 3711 if (const MemberPointerType *MemPtr = getAs<MemberPointerType>()) in isObjCIndirectLifetimeType() local 3712 return MemPtr->getPointeeType()->isObjCIndirectLifetimeType(); in isObjCIndirectLifetimeType()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 7500 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addEqualEqualOrNotEqualMemberPointerOverloads() local 7502 MemPtr != MemPtrEnd; in addEqualEqualOrNotEqualMemberPointerOverloads() 7503 ++MemPtr) { in addEqualEqualOrNotEqualMemberPointerOverloads() 7505 if (!AddedTypes.insert(S.Context.getCanonicalType(*MemPtr)).second) in addEqualEqualOrNotEqualMemberPointerOverloads() 7508 QualType ParamTypes[2] = { *MemPtr, *MemPtr }; in addEqualEqualOrNotEqualMemberPointerOverloads() 7794 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addAssignmentMemberPointerOrEnumeralOverloads() local 7796 MemPtr != MemPtrEnd; ++MemPtr) { in addAssignmentMemberPointerOrEnumeralOverloads() 7797 if (!AddedTypes.insert(S.Context.getCanonicalType(*MemPtr)).second) in addAssignmentMemberPointerOrEnumeralOverloads() 7800 AddBuiltinAssignmentOperatorCandidates(S, *MemPtr, Args, CandidateSet); in addAssignmentMemberPointerOrEnumeralOverloads() 8118 MemPtr = CandidateTypes[1].member_pointer_begin(), in addArrowStarOverloads() local [all …]
|
D | SemaExprCXX.cpp | 4544 const MemberPointerType *MemPtr = RHSType->getAs<MemberPointerType>(); in CheckPointerToMemberOperands() local 4545 if (!MemPtr) { in CheckPointerToMemberOperands() 4551 QualType Class(MemPtr->getClass(), 0); in CheckPointerToMemberOperands() 4614 QualType Result = MemPtr->getPointeeType(); in CheckPointerToMemberOperands() 5352 else if (const MemberPointerType *MemPtr = T->getAs<MemberPointerType>()) in MaybeBindToTemporary() local 5353 T = MemPtr->getPointeeType(); in MaybeBindToTemporary()
|
D | SemaTemplateDeduction.cpp | 4778 const MemberPointerType *MemPtr = cast<MemberPointerType>(T.getTypePtr()); in MarkUsedTemplateParameters() local 4779 MarkUsedTemplateParameters(Ctx, MemPtr->getPointeeType(), OnlyDeduced, in MarkUsedTemplateParameters() 4781 MarkUsedTemplateParameters(Ctx, QualType(MemPtr->getClass(), 0), in MarkUsedTemplateParameters()
|
/external/pdfium/third_party/lcms2-2.6/include/ |
D | lcms2.h | 1525 CMSAPI cmsHPROFILE CMSEXPORT cmsOpenProfileFromMem(const void * MemPtr, cmsUInt32Number dwSize… 1526 … CMSEXPORT cmsOpenProfileFromMemTHR(cmsContext ContextID, const void * MemPtr, cmsUInt32Number d… 1533 CMSAPI cmsBool CMSEXPORT cmsSaveProfileToMem(cmsHPROFILE hProfile, void *MemPtr, cmsUInt32… 1793 CMSAPI cmsBool CMSEXPORT cmsIT8SaveToMem(cmsHANDLE hIT8, void *MemPtr, cmsUInt32Number* By…
|