Home
last modified time | relevance | path

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

1234567

/freebsd-12.1/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsmethod.c239 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, NULL, 0); in AcpiDsAutoSerializeMethod()
437 MethodDesc->Method.Mutex = MutexDesc; in AcpiDsCreateMethodMutex()
497 if (!ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
595 if (!ObjDesc->Method.OwnerId) in AcpiDsBeginMethodExecution()
608 ObjDesc->Method.ThreadCount++; in AcpiDsBeginMethodExecution()
616 if (ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
714 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, in AcpiDsCallControlMethod()
946 if (MethodDesc->Method.Mutex) in AcpiDsTerminateControlMethod()
965 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
967 MethodDesc->Method.ThreadCount--; in AcpiDsTerminateControlMethod()
[all …]
/freebsd-12.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-generated-function-mockers.h427 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
451 GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \
479 GMOCK_MOCKER_(2, constness, Method).SetOwnerAndName(this, #Method); \
512 GMOCK_MOCKER_(3, constness, Method).SetOwnerAndName(this, #Method); \
551 GMOCK_MOCKER_(4, constness, Method).SetOwnerAndName(this, #Method); \
595 GMOCK_MOCKER_(5, constness, Method).SetOwnerAndName(this, #Method); \
644 GMOCK_MOCKER_(6, constness, Method).SetOwnerAndName(this, #Method); \
698 GMOCK_MOCKER_(7, constness, Method).SetOwnerAndName(this, #Method); \
758 GMOCK_MOCKER_(8, constness, Method).SetOwnerAndName(this, #Method); \
823 GMOCK_MOCKER_(9, constness, Method).SetOwnerAndName(this, #Method); \
[all …]
H A Dgmock-generated-function-mockers.h.pump179 #define GMOCK_MOCKER_(arity, constness, Method) \
180 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
194 #define GMOCK_METHOD$i[[]]_(tn, constness, ct, Method, ...) \
195 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \
200 GMOCK_MOCKER_($i, constness, Method).SetOwnerAndName(this, #Method); \
201 return GMOCK_MOCKER_($i, constness, Method).Invoke($as); \
204 gmock_##Method($matcher_arg_as) constness { \
205 GMOCK_MOCKER_($i, constness, Method).RegisterOwner(this); \
206 return GMOCK_MOCKER_($i, constness, Method).With($matcher_as); \
208 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp149 if (!Method) { in validateBoxingMethod()
286 Method = in getNSNumberFactoryMethod()
309 return Method; in getNSNumberFactoryMethod()
345 if (!Method) in BuildObjCNumericLiteral()
1166 if (!Method) in ParseObjCSelectorExpression()
1515 if (!Method) in EmitRelatedResultTypeNote()
1530 << Method->isInstanceMethod() << Method->getSelector() in EmitRelatedResultTypeNote()
2090 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC()
2514 if (Method && !Method->getReturnType()->isVoidType() && in BuildClassMessage()
2560 if (Method) in BuildClassMessage()
[all …]
H A DSemaDeclObjC.cpp3399 Method->setDefined(impl); in AddMethodToGlobalPool()
3603 for (const ObjCMethodList *Method = &Methods.first; Method; in LookupImplementedMethodInGlobalPool() local
3604 Method = Method->getNext()) in LookupImplementedMethodInGlobalPool()
3610 for (const ObjCMethodList *Method = &Methods.second; Method; in LookupImplementedMethodInGlobalPool() local
3611 Method = Method->getNext()) in LookupImplementedMethodInGlobalPool()
3923 InsMap[Method->getSelector()] = Method; in ActOnAtEnd()
3947 ClsMap[Method->getSelector()] = Method; in ActOnAtEnd()
4156 ObjCMethodDecl *Method; member in __anon310a6f9a0711::OverrideSearch
4981 Method = IDecl->lookupMethod(Method->getSelector(), /*isInstance=*/true, in GetIvarBackingPropertyAccessor()
4984 if (!Method || !Method->isPropertyAccessor()) in GetIvarBackingPropertyAccessor()
[all …]
H A DSemaLambda.cpp409 CXXMethodDecl *Method in startLambdaDefinition() local
419 Method->setAccess(AS_public); in startLambdaDefinition()
438 Method->setParams(Params); in startLambdaDefinition()
443 P->setOwningFunction(Method); in startLambdaDefinition()
454 return Method; in startLambdaDefinition()
910 CXXMethodDecl *Method = in ActOnStartOfLambdaDefinition() local
914 CheckCXXDefaultArguments(Method); in ActOnStartOfLambdaDefinition()
918 AddRangeBasedOptnone(Method); in ActOnStartOfLambdaDefinition()
922 Method->addAttr(A); in ActOnStartOfLambdaDefinition()
930 CUDASetLambdaAttrs(Method); in ActOnStartOfLambdaDefinition()
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/components/debugger/
H A Ddbmethod.c455 ACPI_NAMESPACE_NODE *Method; in AcpiDbDisassembleMethod() local
458 Method = AcpiDbConvertToNode (Name); in AcpiDbDisassembleMethod()
459 if (!Method) in AcpiDbDisassembleMethod()
464 if (Method->Type != ACPI_TYPE_METHOD) in AcpiDbDisassembleMethod()
471 ObjDesc = Method->Object; in AcpiDbDisassembleMethod()
488 ObjDesc->Method.AmlStart, in AcpiDbDisassembleMethod()
496 WalkState->OwnerId = ObjDesc->Method.OwnerId; in AcpiDbDisassembleMethod()
500 Status = AcpiDsScopeStackPush (Method, in AcpiDbDisassembleMethod()
501 Method->Type, WalkState); in AcpiDbDisassembleMethod()
525 AcpiNsDeleteNamespaceSubtree (Method); in AcpiDbDisassembleMethod()
[all …]
H A Ddbutils.c522 ACPI_PARSE_OBJECT *Method; in AcpiDbSecondPassParse() local
539 Method = Op; in AcpiDbSecondPassParse()
552 WalkState->ParserState.AmlStart = Method->Named.Data; in AcpiDbSecondPassParse()
554 WalkState->ParserState.PkgEnd = Method->Named.Data + in AcpiDbSecondPassParse()
555 Method->Named.Length; in AcpiDbSecondPassParse()
565 BaseAmlOffset = (Method->Common.Value.Arg)->Common.AmlOffset + 1; in AcpiDbSecondPassParse()
566 StartOp = (Method->Common.Value.Arg)->Common.Next; in AcpiDbSecondPassParse()
/freebsd-12.1/sys/contrib/dev/acpica/components/parser/
H A Dpsxface.c283 Op = AcpiPsCreateScopeOp (Info->ObjDesc->Method.AmlStart); in AcpiPsExecuteMethod()
294 Info->ObjDesc->Method.OwnerId, NULL, NULL, NULL); in AcpiPsExecuteMethod()
302 Info->ObjDesc->Method.AmlStart, in AcpiPsExecuteMethod()
303 Info->ObjDesc->Method.AmlLength, Info, Info->PassNumber); in AcpiPsExecuteMethod()
313 if (Info->ObjDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL) in AcpiPsExecuteMethod()
320 if (Info->ObjDesc->Method.InfoFlags & ACPI_METHOD_INTERNAL_ONLY) in AcpiPsExecuteMethod()
418 Op = AcpiPsCreateScopeOp (Info->ObjDesc->Method.AmlStart); in AcpiPsExecuteTable()
428 Info->ObjDesc->Method.OwnerId, NULL, NULL, NULL); in AcpiPsExecuteTable()
436 Info->ObjDesc->Method.AmlStart, in AcpiPsExecuteTable()
437 Info->ObjDesc->Method.AmlLength, Info, Info->PassNumber); in AcpiPsExecuteTable()
[all …]
H A Dpsloop.c486 Next = Next->Method.Mutex; in AcpiPsLinkModuleCode()
494 ((Prev->Method.AmlStart + Prev->Method.AmlLength) != AmlStart)) in AcpiPsLinkModuleCode()
516 MethodObj->Method.AmlStart = AmlStart; in AcpiPsLinkModuleCode()
517 MethodObj->Method.AmlLength = AmlLength; in AcpiPsLinkModuleCode()
518 MethodObj->Method.OwnerId = OwnerId; in AcpiPsLinkModuleCode()
519 MethodObj->Method.InfoFlags |= ACPI_METHOD_MODULE_LEVEL; in AcpiPsLinkModuleCode()
525 MethodObj->Method.NextObject = in AcpiPsLinkModuleCode()
534 Prev->Method.Mutex = MethodObj; in AcpiPsLinkModuleCode()
542 Prev->Method.AmlLength += AmlLength; in AcpiPsLinkModuleCode()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprObjC.cpp28 ObjCMethodDecl *Method, SourceRange SR) in ObjCArrayLiteral() argument
31 NumElements(Elements.size()), Range(SR), ArrayWithObjectsMethod(Method) { in ObjCArrayLiteral()
47 QualType T, ObjCMethodDecl *Method, in Create() argument
50 return new (Mem) ObjCArrayLiteral(Elements, T, Method, SR); in Create()
136 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())), in ObjCMessageExpr()
138 HasMethod(Method != nullptr), IsDelegateInitCall(false), in ObjCMessageExpr()
156 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())), in ObjCMessageExpr()
174 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())), in ObjCMessageExpr()
211 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create() argument
230 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create() argument
[all …]
H A DDeclObjC.cpp756 if (!Method) in lookupPrivateMethod()
766 if (!Method) in lookupPrivateMethod()
770 if (!Method && getSuperClass()) in lookupPrivateMethod()
772 return Method; in lookupPrivateMethod()
1212 if (Method != Overridden) { in CollectOverriddenMethodsRecurse()
1246 assert(Method->isOverriding()); in collectOverriddenMethodsSlow()
1262 Method = IFaceMeth; in collectOverriddenMethodsSlow()
1275 Method = IFaceMeth; in collectOverriddenMethodsSlow()
1290 Method = cast<ObjCContainerDecl>(Method->getDeclContext())-> in getOverriddenMethods()
1291 getMethod(Method->getSelector(), Method->isInstanceMethod()); in getOverriddenMethods()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DABI.h191 const CXXMethodDecl *Method; member
193 ThunkInfo() : Method(nullptr) { } in ThunkInfo()
196 const CXXMethodDecl *Method = nullptr)
197 : This(This), Return(Return), Method(Method) {} in This()
201 LHS.Method == RHS.Method;
205 return This.isEmpty() && Return.isEmpty() && Method == nullptr; in isEmpty()
/freebsd-12.1/sys/contrib/dev/acpica/components/namespace/
H A Dnseval.c354 Info->ObjDesc->Method.AmlStart + 1, in AcpiNsEvaluate()
355 Info->ObjDesc->Method.AmlLength - 1)); in AcpiNsEvaluate()
532 Next = Next->Method.Mutex; in AcpiNsExecModuleCodeList()
536 Prev->Method.Mutex = NULL; in AcpiNsExecModuleCodeList()
590 ACPI_NAMESPACE_NODE, MethodObj->Method.NextObject); in AcpiNsExecModuleCode()
602 MethodObj->Method.Dispatch.Handler = in AcpiNsExecModuleCode()
608 MethodObj->Method.NextObject = NULL; in AcpiNsExecModuleCode()
640 MethodObj->Method.AmlStart)); in AcpiNsExecModuleCode()
H A Dnsxfname.c443 ParamCount = Node->Object->Method.ParamCount; in AcpiGetObjectInfo()
773 MethodObj->Method.AmlStart = AmlBuffer; in ACPI_EXPORT_SYMBOL()
774 MethodObj->Method.AmlLength = AmlLength; in ACPI_EXPORT_SYMBOL()
776 MethodObj->Method.ParamCount = (UINT8) in ACPI_EXPORT_SYMBOL()
781 MethodObj->Method.InfoFlags = ACPI_METHOD_SERIALIZED; in ACPI_EXPORT_SYMBOL()
783 MethodObj->Method.SyncLevel = (UINT8) in ACPI_EXPORT_SYMBOL()
H A Dnsparse.c248 MethodObj->Method.AmlStart = AmlStart; in AcpiNsExecuteTable()
249 MethodObj->Method.AmlLength = AmlLength; in AcpiNsExecuteTable()
250 MethodObj->Method.OwnerId = OwnerId; in AcpiNsExecuteTable()
251 MethodObj->Method.InfoFlags |= ACPI_METHOD_MODULE_LEVEL; in AcpiNsExecuteTable()
H A Dnsdump.c444 (UINT32) ObjDesc->Method.ParamCount, in AcpiNsDumpOneObject()
445 ObjDesc->Method.AmlLength, ObjDesc->Method.AmlStart); in AcpiNsDumpOneObject()
610 AcpiOsPrintf (" M:%p-%X\n", ObjDesc->Method.AmlStart, in AcpiNsDumpOneObject()
611 ObjDesc->Method.AmlLength); in AcpiNsDumpOneObject()
741 ObjDesc = (void *) ObjDesc->Method.AmlStart; in AcpiNsDumpOneObject()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCXXInheritance.h244 CXXMethodDecl *Method = nullptr; member
257 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject, in UniqueVirtualMethod()
259 : Method(Method), Subobject(Subobject), in UniqueVirtualMethod()
264 return X.Method == Y.Method && X.Subobject == Y.Subobject &&
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp659 const ObjCMethodDecl *Method = nullptr; in findMethodDecl() local
678 if (!Method) in findMethodDecl()
679 Method = InterfaceDecl->lookupClassMethod(Sel); in findMethodDecl()
685 return Method ? Method : MessageExpr->getMethodDecl(); in findMethodDecl()
694 QualType StaticResultType = Method->getReturnType(); in getReturnTypeForMethod()
729 const ObjCMethodDecl *Method = in checkPreObjCMessage() local
733 if (!Method) in checkPreObjCMessage()
774 for (unsigned i = 0; i < Method->param_size(); i++) { in checkPreObjCMessage()
776 const ParmVarDecl *Param = Method->parameters()[i]; in checkPreObjCMessage()
865 const ObjCMethodDecl *Method = in checkPostObjCMessage() local
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/DIA/
H A DDIARawSymbol.cpp100 if (S_OK == (Symbol->*Method)(&Value)) in PrivateGetDIAValue()
110 if (S_OK == (Symbol->*Method)(&Value)) in PrivateGetDIAValue()
119 return invokeBstrMethod(*Symbol, Method); in PrivateGetDIAValue()
126 if (S_OK != (Symbol->*Method)(&Result)) in PrivateGetDIAValue()
141 if (S_OK == (Symbol->*Method)(&Value)) in DumpDIAValueAs()
151 if (S_OK == (Symbol->*Method)(&Value)) in DumpDIAIdValue()
161 if (S_OK == (Symbol->*Method)(&Value)) in DumpDIAValue()
169 if (S_OK != (Symbol->*Method)(&Value)) in DumpDIAValue()
184 if (S_OK != (Symbol->*Method)(&Value)) in DumpDIAValue()
213 &IDiaSymbol::get_##Method);
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/components/executer/
H A Dexcreate.c617 ObjDesc->Method.AmlStart = AmlStart; in AcpiExCreateMethod()
618 ObjDesc->Method.AmlLength = AmlLength; in AcpiExCreateMethod()
619 ObjDesc->Method.Node = Operand[0]; in AcpiExCreateMethod()
626 ObjDesc->Method.ParamCount = (UINT8) in AcpiExCreateMethod()
635 ObjDesc->Method.InfoFlags = ACPI_METHOD_SERIALIZED; in AcpiExCreateMethod()
641 ObjDesc->Method.SyncLevel = (UINT8) in AcpiExCreateMethod()
H A Dexdump.c254 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.InfoFlags), "Info Flags"},
255 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ParamCount), "Parameter Count"},
256 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.SyncLevel), "Sync Level"},
257 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.Mutex), "Mutex"},
258 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.OwnerId), "Owner Id"},
259 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"},
260 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET (Method.AmlLength), "Aml Length"},
261 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.AmlStart), "Aml Start"}
985 ObjDesc->Method.ParamCount, in AcpiExDumpOperand()
986 ObjDesc->Method.AmlStart, in AcpiExDumpOperand()
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DTypeDumpVisitor.cpp474 OneMethodRecord &Method) { in visitKnownMember() argument
475 MethodKind K = Method.getMethodKind(); in visitKnownMember()
476 printMemberAttributes(Method.getAccess(), K, Method.getOptions()); in visitKnownMember()
477 printTypeIndex("Type", Method.getType()); in visitKnownMember()
479 if (Method.isIntroducingVirtual()) in visitKnownMember()
480 W->printHex("VFTableOffset", Method.getVFTableOffset()); in visitKnownMember()
481 W->printString("Name", Method.getName()); in visitKnownMember()
486 OverloadedMethodRecord &Method) { in visitKnownMember() argument
487 W->printHex("MethodCount", Method.getNumOverloads()); in visitKnownMember()
488 printTypeIndex("MethodListIndex", Method.getMethodList()); in visitKnownMember()
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/components/utilities/
H A Dutdelete.c325 if (Object->Method.Mutex) in AcpiUtDeleteInternalObj()
327 AcpiOsDeleteMutex (Object->Method.Mutex->Mutex.OsMutex); in AcpiUtDeleteInternalObj()
328 AcpiUtDeleteObjectDesc (Object->Method.Mutex); in AcpiUtDeleteInternalObj()
329 Object->Method.Mutex = NULL; in AcpiUtDeleteInternalObj()
332 if (Object->Method.Node) in AcpiUtDeleteInternalObj()
334 Object->Method.Node = NULL; in AcpiUtDeleteInternalObj()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp296 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); in ParseLexedMethodDeclaration()
395 ExceptionSpecEnd.setEofData(LM.Method); in ParseLexedMethodDeclaration()
411 CXXMethodDecl *Method; in ParseLexedMethodDeclaration() local
413 = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration()
414 Method = cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in ParseLexedMethodDeclaration()
416 Method = cast<CXXMethodDecl>(LM.Method); in ParseLexedMethodDeclaration()
418 Sema::CXXThisScopeRAII ThisScope(Actions, Method->getParent(), in ParseLexedMethodDeclaration()
419 Method->getTypeQualifiers(), in ParseLexedMethodDeclaration()
435 if (Tok.isNot(tok::eof) || Tok.getEofData() != LM.Method) in ParseLexedMethodDeclaration()
439 Actions.actOnDelayedExceptionSpecification(LM.Method, EST, in ParseLexedMethodDeclaration()
[all …]

1234567