Searched refs:Method (Results 1 - 25 of 90) sorted by relevance

1234

/freebsd-9.3-release/sys/contrib/dev/acpica/dispatcher/
H A Ddsmethod.c169 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel;
170 MethodDesc->Method.Mutex = MutexDesc;
211 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX)
214 "Method reached maximum reentrancy limit (255)"));
221 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED)
228 if (!ObjDesc->Method.Mutex)
245 (WalkState->Thread->CurrentSyncLevel > ObjDesc->Method.Mutex->Mutex.SyncLevel))
260 !ObjDesc->Method.Mutex->Mutex.ThreadId ||
261 (WalkState->Thread->ThreadId != ObjDesc->Method.Mutex->Mutex.ThreadId))
267 Status = AcpiExSystemWaitMutex (ObjDesc->Method
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DObjCMethodList.h25 ObjCMethodDecl *Method; member in struct:clang::ObjCMethodList
29 ObjCMethodList() : Method(0) { }
31 : Method(M), NextAndExtraBits(C, 0) { }
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DABI.h187 const CXXMethodDecl *Method; member in struct:clang::ThunkInfo
189 ThunkInfo() : Method(0) { }
192 const CXXMethodDecl *Method = 0)
193 : This(This), Return(Return), Method(Method) {}
197 LHS.Method == RHS.Method;
200 bool isEmpty() const { return This.isEmpty() && Return.isEmpty() && Method == 0; }
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCXXInheritance.h235 UniqueVirtualMethod() : Method(0), Subobject(0), InVirtualSubobject(0) { }
237 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject, argument
239 : Method(Method), Subobject(Subobject),
243 CXXMethodDecl *Method; member in struct:clang::UniqueVirtualMethod
256 return X.Method == Y.Method && X.Subobject == Y.Subobject &&
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp147 Selector Sel, const ObjCMethodDecl *Method) {
148 if (!Method) {
155 QualType ReturnType = Method->getResultType();
159 S.Diag(Method->getLocation(), diag::note_objc_literal_method_return)
224 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); local
225 if (!Method && S.getLangOpts().DebuggerObjCLiteral) {
228 Method = ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel,
237 ParmVarDecl *value = ParmVarDecl::Create(S.Context, Method,
242 Method->setMethodParams(S.Context, value, None);
245 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method))
145 validateBoxingMethod(Sema &S, SourceLocation Loc, const ObjCInterfaceDecl *Class, Selector Sel, const ObjCMethodDecl *Method) argument
285 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, local
661 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel); local
778 ObjCMethodDecl *Method = NSDictionaryDecl->lookupClassMethod(Sel); local
983 ObjCMethodDecl *Method = LookupInstanceMethodInGlobalPool(Sel, local
1080 getMessageSendResultType(QualType ReceiverType, ObjCMethodDecl *Method, bool isClassMessage, bool isSuperMessage) argument
1192 const ObjCMethodDecl *Method = MsgSend->getMethodDecl(); local
1213 CheckMessageArgumentTypes(QualType ReceiverType, MultiExprArg Args, Selector Sel, ArrayRef<SourceLocation> SelectorLocs, ObjCMethodDecl *Method, bool isClassMessage, bool isSuperMessage, SourceLocation lbrac, SourceLocation rbrac, QualType &ReturnType, ExprValueKind &VK) argument
1469 ObjCMethodDecl *Method = ME->getMethodDecl(); local
1770 ObjCInterfaceOrSuperCCC(ObjCMethodDecl *Method) argument
1890 ObjCMethodDecl *Method = tryCaptureObjCSelf(SuperLoc); local
1935 BuildClassMessageImplicit(QualType ReceiverType, bool isSuperReceiver, SourceLocation Loc, Selector Sel, ObjCMethodDecl *Method, MultiExprArg Args) argument
2024 BuildClassMessage(TypeSourceInfo *ReceiverTypeInfo, QualType ReceiverType, SourceLocation SuperLoc, Selector Sel, ObjCMethodDecl *Method, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg ArgsIn, bool isImplicit) argument
2161 BuildInstanceMessageImplicit(Expr *Receiver, QualType ReceiverType, SourceLocation Loc, Selector Sel, ObjCMethodDecl *Method, MultiExprArg Args) argument
2201 BuildInstanceMessage(Expr *Receiver, QualType ReceiverType, SourceLocation SuperLoc, Selector Sel, ObjCMethodDecl *Method, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg ArgsIn, bool isImplicit) argument
[all...]
H A DSemaDeclObjC.cpp816 ObjCMethodDecl *Method = *i; local
817 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()];
818 if (PrevMethod && !MatchTwoMethodDeclarations(Method, PrevMethod)) {
819 Diag(Method->getLocation(), diag::err_duplicate_method_decl)
820 << Method->getDeclName();
1546 void Sema::CheckConflictingOverridingMethod(ObjCMethodDecl *Method, argument
1550 CheckMethodOverrideReturn(*this, Method, Overridden,
1554 for (ObjCMethodDecl::param_iterator IM = Method->param_begin(),
1555 IF = Overridden->param_begin(), EM = Method->param_end(),
1558 CheckMethodOverrideParam(*this, Method, Overridde
2139 addMethodToGlobalList(ObjCMethodList *List, ObjCMethodDecl *Method) argument
2200 AddMethodToGlobalPool(ObjCMethodDecl *Method, bool impl, bool instance) argument
2339 HelperSelectorsForTypoCorrection( SmallVectorImpl<const ObjCMethodDecl *> &BestMethod, StringRef Typo, const ObjCMethodDecl * Method) argument
2536 ObjCMethodDecl *Method = local
2794 CheckRelatedResultTypeCompatibility(Sema &S, ObjCMethodDecl *Method, ObjCInterfaceDecl *CurrentClass) argument
2835 ObjCMethodDecl *Method; member in class:__anon3275::OverrideSearch
3504 GetIvarBackingPropertyAccessor(const ObjCMethodDecl *Method, const ObjCPropertyDecl *&PDecl) const argument
[all...]
H A DSemaLambda.cpp300 CXXMethodDecl *Method local
310 Method->setAccess(AS_public);
314 Method->setLexicalDeclContext(CurContext);
318 Method->getLocation(), MethodName,
320 Method) : 0;
324 Method->setDescribedFunctionTemplate(TemplateMethod);
329 Method->setParams(Params);
334 for (CXXMethodDecl::param_iterator P = Method->param_begin(),
335 PEnd = Method->param_end();
337 (*P)->setOwningFunction(Method);
832 CXXMethodDecl *Method = startLambdaDefinition(Class, Intro.Range, local
[all...]
H A DSemaTemplateInstantiateDecl.cpp1554 CXXMethodDecl *Method = 0; local
1560 Method = CXXConstructorDecl::Create(SemaRef.Context, Record,
1593 cast<CXXConstructorDecl>(Method)->setInheritedConstructor(Inh);
1596 Method = CXXDestructorDecl::Create(SemaRef.Context, Record,
1601 Method = CXXConversionDecl::Create(SemaRef.Context, Record,
1609 Method = CXXMethodDecl::Create(SemaRef.Context, Record,
1616 Method->setImplicitlyInline();
1619 Method->setQualifierInfo(QualifierLoc);
1636 Method->getLocation(),
1637 Method
[all...]
H A DSemaCodeComplete.cpp190 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl())
191 if (Method->isInstanceMethod())
192 if (ObjCInterfaceDecl *Interface = Method->getClassInterface())
665 else if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(ND))
666 T = Method->getSendResultType();
756 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(R.Declaration))
757 if (PreferredSelector == Method->getSelector())
996 if (const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(R.Declaration))
997 if (Method->isInstance()) {
999 = Qualifiers::fromCVRMask(Method
3106 CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(CurContext); local
4812 isAcceptableObjCMethod(ObjCMethodDecl *Method, ObjCMethodKind WantKind, ArrayRef<IdentifierInfo *> SelIdents, bool AllowSameLength = true) argument
5384 const ObjCMethodDecl *Method = cast<ObjCMethodDecl>(R.Declaration); local
6922 ObjCMethodDecl *Method = M->second.getPointer(); local
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/parser/
H A Dpsxface.c128 * PARAMETERS: Info - Method info struct
183 * PARAMETERS: Info - Method info struct
234 * PARAMETERS: Info - Method info block, contains:
235 * Node - Method Node to execute
236 * ObjDesc - Method object
297 "**** Begin Method Parse/Execute [%4.4s] **** Node=%p Obj=%p\n",
313 Info->ObjDesc->Method.OwnerId, NULL, NULL, NULL);
321 Info->ObjDesc->Method.AmlStart,
322 Info->ObjDesc->Method.AmlLength, Info, Info->PassNumber);
329 if (Info->ObjDesc->Method
[all...]
H A Dpsloop.c668 Next = Next->Method.Mutex;
676 ((Prev->Method.AmlStart + Prev->Method.AmlLength) != AmlStart))
695 MethodObj->Method.AmlStart = AmlStart;
696 MethodObj->Method.AmlLength = AmlLength;
697 MethodObj->Method.OwnerId = OwnerId;
698 MethodObj->Method.InfoFlags |= ACPI_METHOD_MODULE_LEVEL;
704 MethodObj->Method.NextObject =
713 Prev->Method.Mutex = MethodObj;
718 Prev->Method
[all...]
H A Dpsparse.c499 WalkState->Thread->CurrentSyncLevel = WalkState->MethodDesc->Method.SyncLevel;
559 ACPI_ERROR_METHOD ("Method parse/execution failed",
565 (!(WalkState->MethodDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED)))
568 * Method is not serialized and tried to create an object
573 WalkState->MethodDesc->Method.InfoFlags |=
/freebsd-9.3-release/sys/contrib/dev/acpica/namespace/
H A Dnseval.c69 * PrefixNode - Prefix or Method/Object Node to execute
176 ACPI_DUMP_PATHNAME (Info->ResolvedNode, "ACPI: Execute Method",
180 "Method at AML address %p Length %X\n",
181 Info->ObjDesc->Method.AmlStart + 1,
182 Info->ObjDesc->Method.AmlLength - 1));
346 Next = Next->Method.Mutex;
350 Prev->Method.Mutex = NULL;
404 MethodObj->Method.NextObject);
416 MethodObj->Method.Dispatch.Handler =
422 MethodObj->Method
[all...]
H A Dnsdump.c298 (UINT32) ObjDesc->Method.ParamCount,
299 ObjDesc->Method.AmlLength, ObjDesc->Method.AmlStart);
473 /* Name is a Method and its AML offset/length are set */
475 AcpiOsPrintf (" M:%p-%X\n", ObjDesc->Method.AmlStart,
476 ObjDesc->Method.AmlLength);
599 ObjDesc = (void *) ObjDesc->Method.AmlStart;
H A Dnsxfname.c345 ParamCount = Node->Object->Method.ParamCount;
663 MethodObj->Method.AmlStart = AmlBuffer;
664 MethodObj->Method.AmlLength = AmlLength;
666 MethodObj->Method.ParamCount = (UINT8)
671 MethodObj->Method.InfoFlags = ACPI_METHOD_SERIALIZED;
673 MethodObj->Method.SyncLevel = (UINT8)
H A Dnsaccess.c170 ObjDesc->Method.ParamCount = (UINT8) ACPI_TO_INTEGER (Val);
177 NewNode->Value = ObjDesc->Method.ParamCount;
181 ObjDesc->Method.InfoFlags = ACPI_METHOD_INTERNAL_ONLY;
182 ObjDesc->Method.Dispatch.Implementation = AcpiUtOsiImplementation;
360 * Device/Method, etc.) It could be a Package or other object
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DModuleBuilder.cpp101 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(*M))
102 if (Method->doesThisDeclarationHaveABody() &&
103 (Method->hasAttr<UsedAttr>() ||
104 Method->hasAttr<ConstructorAttr>()))
105 Builder->EmitTopLevelDecl(Method);
H A DCGObjCRuntime.h127 const ObjCMethodDecl *Method) = 0;
150 /// \param Method - The method being called, this may be null if synthesizing
160 const ObjCMethodDecl *Method = 0) = 0;
166 /// \param Method - The method being called, this may be null if synthesizing
178 const ObjCMethodDecl *Method = 0) = 0;
/freebsd-9.3-release/sys/contrib/dev/acpica/debugger/
H A Ddbutils.c423 ACPI_PARSE_OBJECT *Method; local
440 Method = Op;
453 WalkState->ParserState.AmlStart = Method->Named.Data;
455 WalkState->ParserState.PkgEnd = Method->Named.Data +
456 Method->Named.Length;
466 BaseAmlOffset = (Method->Common.Value.Arg)->Common.AmlOffset + 1;
467 StartOp = (Method->Common.Value.Arg)->Common.Next;
482 * Method = (ACPI_DEFERRED_OP *) Op;
483 * Status = AcpiPsParseAml (Op, Method->Body, Method
[all...]
H A Ddbmethod.c341 ACPI_NAMESPACE_NODE *Method; local
344 Method = AcpiDbConvertToNode (Name);
345 if (!Method)
350 ObjDesc = Method->Object;
367 ObjDesc->Method.AmlStart,
368 ObjDesc->Method.AmlLength, NULL, ACPI_IMODE_LOAD_PASS1);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp523 ObjCMethodDecl *Method = 0; local
525 Method = Instance ? ImpDecl->getInstanceMethod(Sel)
529 if (!Method)
530 Method = Instance ? getCategoryInstanceMethod(Sel)
536 if (!Instance && !Method && !getSuperClass()) {
537 Method = lookupInstanceMethod(Sel);
540 if (!Method)
541 Method = lookupPrivateMethod(Sel, true);
544 if (!Method && getSuperClass())
546 return Method;
863 CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, const ObjCMethodDecl *Method, SmallVectorImpl<const ObjCMethodDecl *> &Methods, bool MovedToSuper) argument
936 CollectOverriddenMethods(const ObjCContainerDecl *Container, const ObjCMethodDecl *Method, SmallVectorImpl<const ObjCMethodDecl *> &Methods) argument
943 collectOverriddenMethodsSlow(const ObjCMethodDecl *Method, SmallVectorImpl<const ObjCMethodDecl *> &overridden) argument
986 const ObjCMethodDecl *Method = this; local
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/executer/
H A Dexcreate.c522 ObjDesc->Method.AmlStart = AmlStart;
523 ObjDesc->Method.AmlLength = AmlLength;
530 ObjDesc->Method.ParamCount = (UINT8) (MethodFlags & AML_METHOD_ARG_COUNT);
538 ObjDesc->Method.InfoFlags = ACPI_METHOD_SERIALIZED;
544 ObjDesc->Method.SyncLevel = (UINT8)
H A Dexdump.c147 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.InfoFlags), "Info Flags"},
148 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ParamCount), "Parameter Count"},
149 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.SyncLevel), "Sync Level"},
150 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.Mutex), "Mutex"},
151 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.OwnerId), "Owner Id"},
152 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"},
153 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET (Method.AmlLength), "Aml Length"},
154 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.AmlStart), "Aml Start"}
720 AcpiOsPrintf ("Method(%X) @ %p:%X\n",
721 ObjDesc->Method
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp436 ObjCMethodDecl *Method = (*M); local
437 if (Method->isDeprecated())
439 bool PropertyInferred = migrateProperty(Ctx, D, Method);
446 migrateNsReturnsInnerPointer(Ctx, Method);
473 ObjCMethodDecl *Method = (*M); local
474 if (Method->isDeprecated() || Method->isImplicit())
478 commit.insertBefore(Method->getLocEnd(), " DEPRECATED");
1032 ObjCMethodDecl *Method) {
1033 if (Method
1030 migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *Method) argument
1163 ObjCMethodDecl *Method = (*M); local
1450 ObjCMethodDecl *Method = (*M); local
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/utilities/
H A Dutdelete.c220 "***** Method %p\n", Object));
224 if (Object->Method.Mutex)
226 AcpiOsDeleteMutex (Object->Method.Mutex->Mutex.OsMutex);
227 AcpiUtDeleteObjectDesc (Object->Method.Mutex);
228 Object->Method.Mutex = NULL;
448 "Method Obj %p Refs=%X, [Decremented]\n", Object, NewCount));

Completed in 293 milliseconds

1234