Searched refs:Method (Results 51 - 75 of 104) sorted by relevance

12345

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DRetainCountChecker.cpp379 // Function/Method behavior summaries.
1522 const ObjCMethodDecl *Method = Msg.getDecl(); local
1523 if (!Method && ReceiverClass)
1524 Method = ReceiverClass->getInstanceMethod(S);
1526 return getMethodSummary(S, ReceiverClass, Method, Msg.getResultType(),
1723 : CFRefBug(checker, "Method should return an owned object") {}
1882 auto Method = dyn_cast_or_null<ObjCMethodDecl>(SFC->getDecl()); local
1883 if (!Method || !Method->isPropertyAccessor())
1935 if (const ObjCMethodDecl *Method
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCGNU.cpp118 /// Instance Method Pointer type. This is a pointer to a function that takes,
496 const ObjCMethodDecl *Method) override;
503 const ObjCMethodDecl *Method) override;
509 const ObjCMethodDecl *Method) override;
1092 const ObjCMethodDecl *Method) {
1094 CGM.getContext().getObjCEncodingForMethodDecl(Method, SelTypes);
1095 return GetSelector(CGF, Method->getSelector(), SelTypes);
1237 const ObjCMethodDecl *Method) {
1258 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs);
1345 const ObjCMethodDecl *Method) {
1091 GetSelector(CodeGenFunction &CGF, const ObjCMethodDecl *Method) argument
1228 GenerateMessageSendSuper(CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, const ObjCInterfaceDecl *Class, bool isCategoryImpl, llvm::Value *Receiver, bool IsClassMessage, const CallArgList &CallArgs, const ObjCMethodDecl *Method) argument
1338 GenerateMessageSend(CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, llvm::Value *Receiver, const CallArgList &CallArgs, const ObjCInterfaceDecl *Class, const ObjCMethodDecl *Method) argument
1503 llvm::Constant *Method = local
2630 llvm::Function *Method local
[all...]
H A DCGDebugInfo.h191 llvm::DISubroutineType *getOrCreateMethodType(const CXXMethodDecl *Method,
208 llvm::DISubprogram *CreateCXXMemberFunction(const CXXMethodDecl *Method,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp2856 // Global Method Pool and Selector Serialization
2891 for (const ObjCMethodList *Method = &Methods.Instance; Method;
2892 Method = Method->getNext())
2893 if (Method->getMethod())
2895 for (const ObjCMethodList *Method = &Methods.Factory; Method;
2896 Method = Method
[all...]
/freebsd-11.0-release/sys/contrib/dev/acpica/components/parser/
H A Dpsargs.c317 "Control Method - %p Desc %p Path=%p\n", Node, MethodDesc, Path));
338 "Control Method %p has no attached object",
344 "Control Method - %p Args %X\n",
345 Node, MethodDesc->Method.ParamCount));
349 WalkState->ArgCount = MethodDesc->Method.ParamCount;
/freebsd-11.0-release/sys/contrib/dev/acpica/components/debugger/
H A Ddbobject.c65 * PARAMETERS: Status - Method execution status
216 AcpiOsPrintf (" [Method Arg]");
220 AcpiOsPrintf (" [Method Local]");
560 "Initialized Arguments for Method [%4.4s]: "
562 AcpiUtGetNodeName (Node), ObjDesc->Method.ParamCount);
H A Ddbtest.c137 Method (_T98, 1, NotSerialized) /* Read */
144 Method (_T99, 2, NotSerialized) /* Write */
H A Ddbdisply.c117 {&AcpiGbl_ExceptionHandler, "Control Method Exceptions"},
422 (UINT32) ObjDesc->Method.ParamCount,
423 (UINT32) ObjDesc->Method.SyncLevel);
482 "Method contains: %X AML Opcodes - %X Operators, %X Operands\n",
591 AcpiOsPrintf ("Method [%4.4s] has %X stacked result objects\n",
644 AcpiOsPrintf ("Current Control Method Call Tree\n");
960 AcpiOsPrintf ("Method");
/freebsd-11.0-release/sys/contrib/dev/acpica/components/namespace/
H A Dnsalloc.c280 WalkState->MethodDesc->Method.InfoFlags |=
H A Dnsobject.c243 ACPI_FREE (ObjDesc->Method.AmlStart);
/freebsd-11.0-release/sys/contrib/dev/acpica/include/
H A Dacobject.h233 #define ACPI_METHOD_MODULE_LEVEL 0x01 /* Method is actually module-level code */
234 #define ACPI_METHOD_INTERNAL_ONLY 0x02 /* Method is implemented internally (_OSI) */
235 #define ACPI_METHOD_SERIALIZED 0x04 /* Method is serialized */
236 #define ACPI_METHOD_SERIALIZED_PENDING 0x08 /* Method is to be marked serialized */
237 #define ACPI_METHOD_IGNORE_SYNC_LEVEL 0x10 /* Method was auto-serialized at table load time */
238 #define ACPI_METHOD_MODIFIED_NAMESPACE 0x20 /* Method modified the namespace */
450 ACPI_REFCLASS_LOCAL = 0, /* Method local */
451 ACPI_REFCLASS_ARG = 1, /* Method argument */
517 ACPI_OBJECT_METHOD Method; member in union:acpi_operand_object
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclCXX.cpp152 const CXXMethodDecl *Method) {
154 if (!Method || ComputedEST == EST_MSAny)
158 = Method->getType()->getAs<FunctionProtoType>();
827 const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD); local
828 if (Method && Method->isVirtual()) {
829 Method = Method->getCanonicalDecl();
830 Diag(Method->getLocation(), diag::err_constexpr_virtual);
834 const CXXMethodDecl *WrittenVirtual = Method;
151 CalledDecl(SourceLocation CallLoc, const CXXMethodDecl *Method) argument
6284 CXXMethodDecl *Method; member in struct:__anon4009::FindHiddenVirtualMethod
6628 FunctionDecl *Method = cast<FunctionDecl>(MethodD); local
13094 CheckPureMethod(CXXMethodDecl *Method, SourceRange InitRange) argument
13545 checkThisInStaticMemberFunctionType(CXXMethodDecl *Method) argument
13577 checkThisInStaticMemberFunctionExceptionSpec(CXXMethodDecl *Method) argument
13615 checkThisInStaticMemberFunctionAttributes(CXXMethodDecl *Method) argument
13732 CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(MethodD); local
[all...]
H A DSemaLookup.cpp1150 if (ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(Ctx)) {
1151 if (Method->isInstanceMethod() && Name.getAsIdentifierInfo())
1152 if (ObjCInterfaceDecl *Class = Method->getClassInterface()) {
3547 if (ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(Ctx)) {
3548 if (Method->isInstanceMethod()) {
3552 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) {
4226 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl()) {
4227 if (Method->isInstanceMethod() && Method->getClassInterface() &&
4232 = Method
[all...]
H A DSemaExprMember.cpp207 CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FunctionLevelDC); local
208 CXXRecordDecl *ContextClass = Method ? Method->getParent() : nullptr;
211 bool InStaticMethod = Method && Method->isStatic();
H A DSemaObjCProperty.cpp1579 /// an ivar synthesized for 'Method' and 'Method' is a property accessor
1583 ObjCMethodDecl *Method, ObjCIvarDecl *IV) {
1586 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(),
1587 Method->isInstanceMethod());
1731 Selector Method,
1741 if (!SMap.count(Method) &&
1743 !PrimaryClass->lookupPropertyAccessor(Method, C))) {
1748 << Prop->getDeclName() << Method;
1582 IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, ObjCMethodDecl *Method, ObjCIvarDecl *IV) argument
1729 DiagnoseUnimplementedAccessor(Sema &S, ObjCInterfaceDecl *PrimaryClass, Selector Method, ObjCImplDecl* IMPDecl, ObjCContainerDecl *CDecl, ObjCCategoryDecl *C, ObjCPropertyDecl *Prop, Sema::SelectorSet &SMap) argument
H A DSemaTemplateDeduction.cpp2590 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Function)) {
2591 ThisContext = Method->getParent();
2592 ThisTypeQuals = Method->getTypeQualifiers();
2991 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Fn))
2992 if (Method->isInstance()) {
2998 S.Context.getTypeDeclType(Method->getParent()).getTypePtr());
4171 CXXMethodDecl *Method,
4180 QualType ArgTy = Context.getTypeDeclType(Method->getParent());
4182 Qualifiers::fromCVRMask(Method->getTypeQualifiers()));
4183 if (Method
4170 AddImplicitObjectParameterType(ASTContext &Context, CXXMethodDecl *Method, SmallVectorImpl<QualType> &ArgTypes) argument
[all...]
H A DSemaExprCXX.cpp1706 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FD))
1707 return Method->isUsualDeallocationFunction();
2913 CXXMethodDecl *Method,
2920 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Method);
2933 if (S.DiagnoseUseOfDecl(Method, CastLoc))
2937 CastLoc, Ty, cast<CXXConstructorDecl>(Method),
2951 if (S.DiagnoseUseOfDecl(Method, CastLoc))
2955 CXXConversionDecl *Conv = cast<CXXConversionDecl>(Method);
6065 CXXConversionDecl *Method,
6067 if (Method
2909 BuildCXXCastArgument(Sema &S, SourceLocation CastLoc, QualType Ty, CastKind Kind, CXXMethodDecl *Method, DeclAccessPair FoundDecl, bool HadMultipleCandidates, Expr *From) argument
6064 BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl, CXXConversionDecl *Method, bool HadMultipleCandidates) argument
[all...]
H A DSemaExpr.cpp204 CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Decl); local
206 if (Method && Method->isDeleted() && Method->isDefaulted()) {
208 if (!Method->isImplicit())
213 CXXSpecialMember CSM = getSpecialMember(Method);
215 ShouldDeleteSpecialMember(Method, CSM, /*Diagnose=*/true);
2538 } else if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Member)) {
2539 if (Method->isStatic())
2542 DestType = Method
8609 ObjCMethodDecl *Method = S.LookupMethodInObjectType(IsEqualSel, local
[all...]
/freebsd-11.0-release/sys/dev/hptmv/
H A Dhptintf.h170 #define CTL_CODE( DeviceType, Function, Method, Access ) \
171 (((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method))
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h956 /// Method Pool - allows efficient lookup when typechecking messages to "id".
964 /// Method selectors used in a \@selector expression. Used for implementation
990 bool isSelfExpr(Expr *RExpr, const ObjCMethodDecl *Method);
2264 CXXMethodDecl *Method);
2408 void AddMethodCandidate(CXXMethodDecl *Method,
2997 void WarnConflictingTypedMethods(ObjCMethodDecl *Method,
3001 void CheckConflictingOverridingMethod(ObjCMethodDecl *Method,
3007 void WarnExactTypedMethods(ObjCMethodDecl *Method,
3042 /// an ivar synthesized for 'Method' and 'Method' i
3182 AddInstanceMethodToGlobalPool(ObjCMethodDecl *Method, bool impl=false) argument
3187 AddFactoryMethodToGlobalPool(ObjCMethodDecl *Method, bool impl=false) argument
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h814 overridden_methods_begin(const CXXMethodDecl *Method) const;
817 overridden_methods_end(const CXXMethodDecl *Method) const;
819 unsigned overridden_methods_size(const CXXMethodDecl *Method) const;
821 /// \brief Note that the given C++ \p Method overrides the given \p
823 void addOverriddenMethod(const CXXMethodDecl *Method,
826 /// \brief Return C++ or ObjC overridden methods for the given \p Method.
834 const NamedDecl *Method,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DRecordLayoutBuilder.cpp3002 void ASTContext::setNonKeyFunction(const CXXMethodDecl *Method) { argument
3003 assert(Method == Method->getFirstDecl() &&
3010 auto I = Map.find(Method->getParent());
3019 if (Ptr.get(getExternalSource()) == Method) {
3021 KeyFunctions.erase(Method->getParent());
H A DStmtPrinter.cpp1976 CXXMethodDecl *Method = Node->getCallOperator(); local
1978 for (auto P : Method->params()) {
1987 if (Method->isVariadic()) {
1998 = Method->getType()->getAs<FunctionProtoType>();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp295 const ObjCMethodDecl *Method = Msg->getMethodDecl(); local
296 if (!Method)
300 NS.getASTContext().getObjContainingInterface(Method);
/freebsd-11.0-release/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h308 Method = 0x150f, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions::ModuleSubstreamKind::PointerKind::PointerMode::PointerOptions::PointerToMemberRepresentation::TypeRecordKind

Completed in 365 milliseconds

12345