Home
last modified time | relevance | path

Searched refs:Method (Results 1 – 25 of 144) sorted by relevance

123456

/trueos/sys/contrib/dev/acpica/components/dispatcher/
HDdsmethod.c129 Status = AcpiDsInitAmlWalk (WalkState, Op, Node, ObjDesc->Method.AmlStart, in AcpiDsAutoSerializeMethod()
130 ObjDesc->Method.AmlLength, NULL, 0); in AcpiDsAutoSerializeMethod()
193 WalkState->MethodDesc->Method.SyncLevel = 0; in AcpiDsDetectNamedOpcodes()
194 WalkState->MethodDesc->Method.InfoFlags |= in AcpiDsDetectNamedOpcodes()
314 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel; in AcpiDsCreateMethodMutex()
315 MethodDesc->Method.Mutex = MutexDesc; in AcpiDsCreateMethodMutex()
356 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX) in AcpiDsBeginMethodExecution()
366 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED) in AcpiDsBeginMethodExecution()
373 if (!ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
394 (!(ObjDesc->Method.InfoFlags & ACPI_METHOD_IGNORE_SYNC_LEVEL)) && in AcpiDsBeginMethodExecution()
[all …]
/trueos/sys/contrib/dev/acpica/components/debugger/
HDdbmethod.c337 ACPI_NAMESPACE_NODE *Method; in AcpiDbDisassembleMethod() local
340 Method = AcpiDbConvertToNode (Name); in AcpiDbDisassembleMethod()
341 if (!Method) in AcpiDbDisassembleMethod()
346 if (Method->Type != ACPI_TYPE_METHOD) in AcpiDbDisassembleMethod()
349 Name, AcpiUtGetTypeName (Method->Type))); in AcpiDbDisassembleMethod()
353 ObjDesc = Method->Object; in AcpiDbDisassembleMethod()
370 ObjDesc->Method.AmlStart, in AcpiDbDisassembleMethod()
371 ObjDesc->Method.AmlLength, NULL, ACPI_IMODE_LOAD_PASS1); in AcpiDbDisassembleMethod()
377 Status = AcpiUtAllocateOwnerId (&ObjDesc->Method.OwnerId); in AcpiDbDisassembleMethod()
378 WalkState->OwnerId = ObjDesc->Method.OwnerId; in AcpiDbDisassembleMethod()
[all …]
HDdbutils.c411 ACPI_PARSE_OBJECT *Method; in AcpiDbSecondPassParse() local
428 Method = Op; in AcpiDbSecondPassParse()
441 WalkState->ParserState.AmlStart = Method->Named.Data; in AcpiDbSecondPassParse()
443 WalkState->ParserState.PkgEnd = Method->Named.Data + in AcpiDbSecondPassParse()
444 Method->Named.Length; in AcpiDbSecondPassParse()
454 BaseAmlOffset = (Method->Common.Value.Arg)->Common.AmlOffset + 1; in AcpiDbSecondPassParse()
455 StartOp = (Method->Common.Value.Arg)->Common.Next; in AcpiDbSecondPassParse()
/trueos/contrib/llvm/tools/clang/lib/Sema/
HDSemaExprObjC.cpp147 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod() argument
148 if (!Method) { in validateBoxingMethod()
155 QualType ReturnType = Method->getResultType(); in validateBoxingMethod()
159 S.Diag(Method->getLocation(), diag::note_objc_literal_method_return) in validateBoxingMethod()
224 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod() local
225 if (!Method && S.getLangOpts().DebuggerObjCLiteral) { in getNSNumberFactoryMethod()
228 Method = ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod()
237 ParmVarDecl *value = ParmVarDecl::Create(S.Context, Method, in getNSNumberFactoryMethod()
242 Method->setMethodParams(S.Context, value, None); in getNSNumberFactoryMethod()
245 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method)) in getNSNumberFactoryMethod()
[all …]
HDSemaDeclObjC.cpp816 ObjCMethodDecl *Method = *i; in DiagnoseClassExtensionDupMethods() local
817 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods()
818 if (PrevMethod && !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()
819 Diag(Method->getLocation(), diag::err_duplicate_method_decl) in DiagnoseClassExtensionDupMethods()
820 << Method->getDeclName(); in DiagnoseClassExtensionDupMethods()
1546 void Sema::CheckConflictingOverridingMethod(ObjCMethodDecl *Method, in CheckConflictingOverridingMethod() argument
1550 CheckMethodOverrideReturn(*this, Method, Overridden, in CheckConflictingOverridingMethod()
1554 for (ObjCMethodDecl::param_iterator IM = Method->param_begin(), in CheckConflictingOverridingMethod()
1555 IF = Overridden->param_begin(), EM = Method->param_end(), in CheckConflictingOverridingMethod()
1558 CheckMethodOverrideParam(*this, Method, Overridden, *IM, *IF, in CheckConflictingOverridingMethod()
[all …]
HDSemaLambda.cpp300 CXXMethodDecl *Method in startLambdaDefinition() local
310 Method->setAccess(AS_public); in startLambdaDefinition()
314 Method->setLexicalDeclContext(CurContext); in startLambdaDefinition()
318 Method->getLocation(), MethodName, in startLambdaDefinition()
320 Method) : 0; in startLambdaDefinition()
324 Method->setDescribedFunctionTemplate(TemplateMethod); in startLambdaDefinition()
329 Method->setParams(Params); in startLambdaDefinition()
334 for (CXXMethodDecl::param_iterator P = Method->param_begin(), in startLambdaDefinition()
335 PEnd = Method->param_end(); in startLambdaDefinition()
337 (*P)->setOwningFunction(Method); in startLambdaDefinition()
[all …]
HDSemaTemplateInstantiateDecl.cpp1554 CXXMethodDecl *Method = 0; in VisitCXXMethodDecl() local
1560 Method = CXXConstructorDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
1593 cast<CXXConstructorDecl>(Method)->setInheritedConstructor(Inh); in VisitCXXMethodDecl()
1596 Method = CXXDestructorDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
1601 Method = CXXConversionDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
1609 Method = CXXMethodDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
1616 Method->setImplicitlyInline(); in VisitCXXMethodDecl()
1619 Method->setQualifierInfo(QualifierLoc); in VisitCXXMethodDecl()
1636 Method->getLocation(), in VisitCXXMethodDecl()
1637 Method->getDeclName(), in VisitCXXMethodDecl()
[all …]
HDSemaCodeComplete.cpp190 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl()) in ResultBuilder() local
191 if (Method->isInstanceMethod()) in ResultBuilder()
192 if (ObjCInterfaceDecl *Interface = Method->getClassInterface()) in ResultBuilder()
665 else if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(ND)) in getDeclUsageType() local
666 T = Method->getSendResultType(); in getDeclUsageType()
756 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(R.Declaration)) in AdjustResultPriorityForDecl() local
757 if (PreferredSelector == Method->getSelector()) in AdjustResultPriorityForDecl()
996 if (const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(R.Declaration)) in AddResult() local
997 if (Method->isInstance()) { in AddResult()
999 = Qualifiers::fromCVRMask(Method->getTypeQualifiers()); in AddResult()
[all …]
/trueos/contrib/llvm/tools/clang/include/clang/Basic/
HDABI.h187 const CXXMethodDecl *Method; member
189 ThunkInfo() : Method(0) { } in ThunkInfo()
192 const CXXMethodDecl *Method = 0)
193 : This(This), Return(Return), Method(Method) {} in This()
197 LHS.Method == RHS.Method;
200 bool isEmpty() const { return This.isEmpty() && Return.isEmpty() && Method == 0; } in isEmpty()
/trueos/contrib/llvm/tools/clang/lib/AST/
HDDeclObjC.cpp523 ObjCMethodDecl *Method = 0; in lookupPrivateMethod() local
525 Method = Instance ? ImpDecl->getInstanceMethod(Sel) in lookupPrivateMethod()
529 if (!Method) in lookupPrivateMethod()
530 Method = Instance ? getCategoryInstanceMethod(Sel) in lookupPrivateMethod()
536 if (!Instance && !Method && !getSuperClass()) { in lookupPrivateMethod()
537 Method = lookupInstanceMethod(Sel); in lookupPrivateMethod()
540 if (!Method) in lookupPrivateMethod()
541 Method = lookupPrivateMethod(Sel, true); in lookupPrivateMethod()
544 if (!Method && getSuperClass()) in lookupPrivateMethod()
546 return Method; in lookupPrivateMethod()
[all …]
/trueos/contrib/llvm/tools/clang/include/clang/AST/
HDCXXInheritance.h235 UniqueVirtualMethod() : Method(0), Subobject(0), InVirtualSubobject(0) { } in UniqueVirtualMethod()
237 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject, in UniqueVirtualMethod()
239 : Method(Method), Subobject(Subobject), in UniqueVirtualMethod()
243 CXXMethodDecl *Method; member
256 return X.Method == Y.Method && X.Subobject == Y.Subobject &&
/trueos/sys/contrib/dev/acpica/components/namespace/
HDnseval.c239 Info->ObjDesc->Method.AmlStart + 1, in AcpiNsEvaluate()
240 Info->ObjDesc->Method.AmlLength - 1)); in AcpiNsEvaluate()
386 Next = Next->Method.Mutex; in AcpiNsExecModuleCodeList()
390 Prev->Method.Mutex = NULL; in AcpiNsExecModuleCodeList()
444 MethodObj->Method.NextObject); in AcpiNsExecModuleCode()
456 MethodObj->Method.Dispatch.Handler = in AcpiNsExecModuleCode()
462 MethodObj->Method.NextObject = NULL; in AcpiNsExecModuleCode()
494 MethodObj->Method.AmlStart)); in AcpiNsExecModuleCode()
HDnsxfname.c348 ParamCount = Node->Object->Method.ParamCount; in AcpiGetObjectInfo()
691 MethodObj->Method.AmlStart = AmlBuffer; in ACPI_EXPORT_SYMBOL()
692 MethodObj->Method.AmlLength = AmlLength; in ACPI_EXPORT_SYMBOL()
694 MethodObj->Method.ParamCount = (UINT8) in ACPI_EXPORT_SYMBOL()
699 MethodObj->Method.InfoFlags = ACPI_METHOD_SERIALIZED; in ACPI_EXPORT_SYMBOL()
701 MethodObj->Method.SyncLevel = (UINT8) in ACPI_EXPORT_SYMBOL()
HDnsdump.c329 (UINT32) ObjDesc->Method.ParamCount, in AcpiNsDumpOneObject()
330 ObjDesc->Method.AmlLength, ObjDesc->Method.AmlStart); in AcpiNsDumpOneObject()
495 AcpiOsPrintf (" M:%p-%X\n", ObjDesc->Method.AmlStart, in AcpiNsDumpOneObject()
496 ObjDesc->Method.AmlLength); in AcpiNsDumpOneObject()
621 ObjDesc = (void *) ObjDesc->Method.AmlStart; in AcpiNsDumpOneObject()
HDnsaccess.c169 ObjDesc->Method.ParamCount = (UINT8) ACPI_TO_INTEGER (Val); in AcpiNsRootInitialize()
176 NewNode->Value = ObjDesc->Method.ParamCount; in AcpiNsRootInitialize()
180 ObjDesc->Method.InfoFlags = ACPI_METHOD_INTERNAL_ONLY; in AcpiNsRootInitialize()
181 ObjDesc->Method.Dispatch.Implementation = AcpiUtOsiImplementation; in AcpiNsRootInitialize()
HDnsxfeval.c321 if (Info->ObjDesc->Method.ParamCount > Info->ParamCount) in ACPI_EXPORT_SYMBOL()
326 Info->ObjDesc->Method.ParamCount)); in ACPI_EXPORT_SYMBOL()
332 else if (Info->ObjDesc->Method.ParamCount < Info->ParamCount) in ACPI_EXPORT_SYMBOL()
337 Info->ObjDesc->Method.ParamCount)); in ACPI_EXPORT_SYMBOL()
341 Info->ParamCount = Info->ObjDesc->Method.ParamCount; in ACPI_EXPORT_SYMBOL()
/trueos/sys/contrib/dev/acpica/components/parser/
HDpsloop.c328 Next = Next->Method.Mutex; in AcpiPsLinkModuleCode()
336 ((Prev->Method.AmlStart + Prev->Method.AmlLength) != AmlStart)) in AcpiPsLinkModuleCode()
355 MethodObj->Method.AmlStart = AmlStart; in AcpiPsLinkModuleCode()
356 MethodObj->Method.AmlLength = AmlLength; in AcpiPsLinkModuleCode()
357 MethodObj->Method.OwnerId = OwnerId; in AcpiPsLinkModuleCode()
358 MethodObj->Method.InfoFlags |= ACPI_METHOD_MODULE_LEVEL; in AcpiPsLinkModuleCode()
364 MethodObj->Method.NextObject = in AcpiPsLinkModuleCode()
373 Prev->Method.Mutex = MethodObj; in AcpiPsLinkModuleCode()
378 Prev->Method.AmlLength += AmlLength; in AcpiPsLinkModuleCode()
HDpsxface.c311 Info->ObjDesc->Method.OwnerId, NULL, NULL, NULL); in AcpiPsExecuteMethod()
319 Info->ObjDesc->Method.AmlStart, in AcpiPsExecuteMethod()
320 Info->ObjDesc->Method.AmlLength, Info, Info->PassNumber); in AcpiPsExecuteMethod()
327 if (Info->ObjDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL) in AcpiPsExecuteMethod()
334 if (Info->ObjDesc->Method.InfoFlags & ACPI_METHOD_INTERNAL_ONLY) in AcpiPsExecuteMethod()
336 Status = Info->ObjDesc->Method.Dispatch.Implementation (WalkState); in AcpiPsExecuteMethod()
/trueos/contrib/llvm/tools/clang/include/clang/Sema/
HDObjCMethodList.h25 ObjCMethodDecl *Method; member
29 ObjCMethodList() : Method(0) { } in ObjCMethodList()
31 : Method(M), NextAndExtraBits(C, 0) { } in ObjCMethodList()
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDModuleBuilder.cpp101 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(*M)) in HandleTagDeclDefinition() local
102 if (Method->doesThisDeclarationHaveABody() && in HandleTagDeclDefinition()
103 (Method->hasAttr<UsedAttr>() || in HandleTagDeclDefinition()
104 Method->hasAttr<ConstructorAttr>())) in HandleTagDeclDefinition()
105 Builder->EmitTopLevelDecl(Method); in HandleTagDeclDefinition()
/trueos/sys/contrib/dev/acpica/components/executer/
HDexcreate.c527 ObjDesc->Method.AmlStart = AmlStart; in AcpiExCreateMethod()
528 ObjDesc->Method.AmlLength = AmlLength; in AcpiExCreateMethod()
535 ObjDesc->Method.ParamCount = (UINT8) (MethodFlags & AML_METHOD_ARG_COUNT); in AcpiExCreateMethod()
543 ObjDesc->Method.InfoFlags = ACPI_METHOD_SERIALIZED; in AcpiExCreateMethod()
549 ObjDesc->Method.SyncLevel = (UINT8) in AcpiExCreateMethod()
HDexdump.c146 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.InfoFlags), "Info Flags"},
147 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ParamCount), "Parameter Count"},
148 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.SyncLevel), "Sync Level"},
149 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.Mutex), "Mutex"},
150 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.OwnerId), "Owner Id"},
151 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"},
152 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET (Method.AmlLength), "Aml Length"},
153 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.AmlStart), "Aml Start"}
856 ObjDesc->Method.ParamCount, in AcpiExDumpOperand()
857 ObjDesc->Method.AmlStart, in AcpiExDumpOperand()
[all …]
/trueos/contrib/llvm/tools/clang/lib/ARCMigrate/
HDObjCMT.cpp436 ObjCMethodDecl *Method = (*M); in migrateObjCInterfaceDecl() local
437 if (Method->isDeprecated()) in migrateObjCInterfaceDecl()
439 bool PropertyInferred = migrateProperty(Ctx, D, Method); in migrateObjCInterfaceDecl()
446 migrateNsReturnsInnerPointer(Ctx, Method); in migrateObjCInterfaceDecl()
473 ObjCMethodDecl *Method = (*M); in migrateDeprecatedAnnotation() local
474 if (Method->isDeprecated() || Method->isImplicit()) in migrateDeprecatedAnnotation()
478 commit.insertBefore(Method->getLocEnd(), " DEPRECATED"); in migrateDeprecatedAnnotation()
1032 ObjCMethodDecl *Method) { in migrateProperty() argument
1033 if (Method->isPropertyAccessor() || !Method->isInstanceMethod() || in migrateProperty()
1034 Method->param_size() != 0) in migrateProperty()
[all …]
/trueos/sys/contrib/dev/acpica/common/
HDdmextern.c938 ObjDesc->Method.ParamCount = (UINT8) External->Value; in AcpiDmAddExternalsToNamespace()
1213 Method (ABCD, 1)
1216 Method (EFGH, 0)
1219 Method (T1)
1223 Method (T2)
1231 185: Method (T1)
1243 190: Method (T2)
/trueos/sys/contrib/dev/acpica/components/utilities/
HDutdelete.c217 if (Object->Method.Mutex) in AcpiUtDeleteInternalObj()
219 AcpiOsDeleteMutex (Object->Method.Mutex->Mutex.OsMutex); in AcpiUtDeleteInternalObj()
220 AcpiUtDeleteObjectDesc (Object->Method.Mutex); in AcpiUtDeleteInternalObj()
221 Object->Method.Mutex = NULL; in AcpiUtDeleteInternalObj()

123456