/freebsd-src/contrib/bsnmp/tests/ |
H A D | snmp_parse_server.cc | 41 const auto str = "somehost"s; 50 const auto str = "some.host.domain"s; 59 const auto str = "some-mul.host-32.domain."s; 68 const auto str = "foo/bar"s; 77 const auto str = "/foo/bar"s; 92 const auto host = "::"s; 93 const auto str = "[" + host + "]"; 102 const auto host = "::1"s; 103 const auto str = "[" + host + "]"; 112 const auto host = "fc00:0:12::1"s; [all …]
|
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ContainerModeling.cpp | 153 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); in checkPostCall() 158 const auto Op = Func->getOverloadedOperator(); in checkPostCall() 161 const auto *InstCall = cast<CXXInstanceCall>(&Call); in checkPostCall() 172 if (const auto *InstCall = dyn_cast<CXXInstanceCall>(&Call)) { in checkPostCall() 193 const auto *OrigExpr = Call.getOriginExpr(); in checkPostCall() 215 auto ContMap = State->get<ContainerMap>(); in checkLiveSymbols() 216 for (const auto &Cont : ContMap) { in checkLiveSymbols() 217 const auto CData = Cont.second; in checkLiveSymbols() 220 if(const auto *SIE = dyn_cast<SymIntExpr>(CData.getBegin())) in checkLiveSymbols() 225 if(const auto *SI in checkLiveSymbols() [all...] |
H A D | GCDAntipatternChecker.cpp | 55 decltype(auto) callsName(const char *FunctionName) { in callsName() 59 decltype(auto) equalsBoundArgDecl(int ArgIdx, const char *DeclName) { in equalsBoundArgDecl() 64 decltype(auto) bindAssignmentToDecl(const char *DeclName) { in bindAssignmentToDecl() 74 if (const auto* ND = dyn_cast<NamedDecl>(D)) { in isTest() 79 if (const auto *OD = dyn_cast<ObjCMethodDecl>(D)) { in isTest() 80 if (const auto *CD = dyn_cast<ObjCContainerDecl>(OD->getParent())) { in isTest() 90 static auto findGCDAntiPatternWithSemaphore() -> decltype(compoundStmt()) { in findGCDAntiPatternWithSemaphore() 93 auto SemaphoreCreateM = callExpr(allOf( in findGCDAntiPatternWithSemaphore() 97 auto SemaphoreBindingM = anyOf( in findGCDAntiPatternWithSemaphore() 103 auto HasBlockArgumentM = hasAnyArgument(hasType( in findGCDAntiPatternWithSemaphore() [all …]
|
/freebsd-src/tests/atf_python/sys/netlink/ |
H A D | netlink_route.py | 9 from enum import auto 158 RTN_UNICAST = auto() 159 RTN_LOCAL = auto() 160 RTN_BROADCAST = auto() 161 RTN_ANYCAST = auto() 162 RTN_MULTICAST = auto() 163 RTN_BLACKHOLE = auto() 164 RTN_UNREACHABLE = auto() 165 RTN_PROHIBIT = auto() 166 RTN_THROW = auto() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | LLJIT.cpp | 57 for (auto *Arg : HelperPrefixArgs) in addHelperAndWrapper() 59 for (auto *T : WrapperFnType->params()) in addHelperAndWrapper() 61 auto *HelperFnType = in addHelperAndWrapper() 63 auto *HelperFn = Function::Create(HelperFnType, GlobalValue::ExternalLinkage, in addHelperAndWrapper() 66 auto *WrapperFn = Function::Create( in addHelperAndWrapper() 70 auto *EntryBlock = BasicBlock::Create(M.getContext(), "entry", WrapperFn); in addHelperAndWrapper() 74 for (auto *Arg : HelperPrefixArgs) in addHelperAndWrapper() 76 for (auto &Arg : WrapperFn->args()) in addHelperAndWrapper() 78 auto *HelperResult = IB.CreateCall(HelperFn, HelperArgs); in addHelperAndWrapper() 168 auto Ct in setupJITDylib() [all...] |
H A D | ObjectLinkingLayer.cpp | 34 for (auto &Sec : G.sections()) { in hasInitializerSection() 81 auto LGI = scanLinkGraph(ObjLinkingLayer.getExecutionSession(), *G); in Create() 97 auto AddSymbol = [&](Symbol *Sym) { in scanLinkGraph() 107 for (auto *Sym : G.defined_symbols()) in scanLinkGraph() 109 for (auto *Sym : G.absolute_symbols()) in scanLinkGraph() 131 for (auto *Sym : G->defined_symbols()) in discard() 174 for (auto &P : Plugins) in notifyMaterializing() 181 for (auto &P : Plugins) in notifyFailed() 194 auto &ES = Layer.getExecutionSession(); in lookup() 197 for (auto in lookup() [all...] |
H A D | COFFPlatform.cpp | 58 const auto &TT = CP.getExecutionSession().getTargetTriple(); in materialize() 69 auto G = std::make_unique<jitlink::LinkGraph>( in materialize() 72 auto &HeaderSection = G->createSection("__header", MemProt::Read); in materialize() 73 auto &HeaderBlock = createHeaderBlock(*G, HeaderSection); in materialize() 76 auto &ImageBaseSymbol = G->addDefinedSymbol( in materialize() 128 auto HeaderContent = G.allocateContent( in createHeaderBlock() 137 auto ImageBaseOffset = offsetof(HeaderBlockContent, NTHeader) + in addImageBaseRelocationEdge() 174 auto &EPC = ES.getExecutorProcessControl(); in Create() 176 auto GeneratorArchive = in Create() 181 auto OrcRuntimeArchiveGenerator = StaticLibraryDefinitionGenerator::Create( in Create() [all …]
|
H A D | RTDyldObjectLinkingLayer.cpp | 24 auto &ES = MR.getTargetJITDylib().getExecutionSession(); in lookup() 28 for (auto &S : Symbols) in lookup() 33 auto OnResolvedWithUnwrap = in lookup() 42 for (auto &KV : *InternedResult) in lookup() 60 for (auto &KV : MR.getSymbols()) { in getResponsibilitySet() 97 auto &ES = getExecutionSession(); in emit() 99 auto Obj = object::ObjectFile::createObjectFile(*O); in emit() 109 auto InternalSymbols = std::make_shared<std::set<StringRef>>(); in emit() 112 for (auto &Sym : (*Obj)->symbols()) { in emit() 115 if (auto SymTyp in emit() [all...] |
H A D | Core.cpp | 90 for (auto &[JD, Syms] : *this->Symbols) in FailedToMaterialize() 95 for (auto &[JD, Syms] : *Symbols) in ~FailedToMaterialize() 129 for (auto &Sym : Symbols) in SymbolsCouldNotBeRemoved() 190 for (auto &[Name, Flags] : Symbols) 196 auto I = ResolvedSymbols.find(Name); in handleComplete() 231 auto T = std::make_unique<RunQueryCompleteTask>(std::move(ResolvedSymbols), 254 auto QRI = QueryRegistrations.find(&JD); in detach() 264 auto I = ResolvedSymbols.find(Name); in getName() 274 for (auto &[JD, Syms] : QueryRegistrations) in materialize() 294 if (auto Er in extractFlags() [all...] |
H A D | EPCIndirectionUtils.cpp | 82 auto &EPC = EPCIU.getExecutorProcessControl(); in EPCTrampolinePool() 83 auto &ABI = EPCIU.getABISupport(); in EPCTrampolinePool() 92 auto DeallocResultF = DeallocResultP.get_future(); in deallocatePool() 107 auto ResolverAddress = EPCIU.getResolverBlockAddress(); in grow() 110 auto &EPC = EPCIU.getExecutorProcessControl(); in grow() 111 auto PageSize = EPC.getPageSize(); in grow() 112 auto Alloc = SimpleSegmentAlloc::Create( in grow() 120 auto SegInfo = Alloc->getSegInfo(MemProt::Read | MemProt::Exec); in grow() 126 auto FA = Alloc->finalize(); in grow() 144 auto AvailableStubInfos = getIndirectStubs(EPCIU, StubInits.size()); in createStubs() [all …]
|
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | SymbolFilePDB.cpp | 155 auto error = loadDataForEXE(PDB_ReaderType::DIA, llvm::StringRef(exePath), in CalculateAbilities() 159 auto module_sp = m_objfile_sp->GetModule(); in CalculateAbilities() 177 auto enum_tables_up = m_session_up->getEnumTables(); in CalculateAbilities() 180 while (auto table_up = enum_tables_up->getNext()) { in CalculateAbilities() 183 auto type = table_up->getTableType(); in CalculateAbilities() 212 auto compilands = m_global_scope_up->findAllChildren<PDBSymbolCompiland>(); in CalculateNumCompileUnits() 229 auto last_compiland_up = compilands->getChildAtIndex(compile_unit_count - 1); in CalculateNumCompileUnits() 239 auto results_up = m_global_scope_up->findAllChildren<PDBSymbolCompiland>(); in GetCompileUnitIndex() 242 auto uid = pdb_compiland.getSymIndexId(); in GetCompileUnitIndex() 244 auto compiland_u in GetCompileUnitIndex() [all...] |
/freebsd-src/contrib/llvm-project/clang/lib/AST/ |
H A D | ComputeDependence.cpp | 29 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence() 30 if (auto *S = E->getSourceExpr()) in computeDependence() 65 auto *VD = Result.Val.getLValueBase().dyn_cast<const ValueDecl *>(); in computeDependence() 67 auto *VarD = dyn_cast<VarDecl>(VD); in computeDependence() 84 auto ArgDeps = E->getArgumentExpr()->getDependence(); in computeDependence() 85 auto Deps = ArgDeps & ~ExprDependence::TypeValue; in computeDependence() 91 auto ExprKind = E->getKind(); in computeDependence() 97 auto *NoParens = E->getArgumentExpr()->IgnoreParens(); in computeDependence() 99 if (const auto *DRE = dyn_cast<DeclRefExpr>(NoParens)) in computeDependence() 101 else if (const auto *M in computeDependence() [all...] |
H A D | ASTImporter.cpp | 112 for (auto *R : D->getFirstDecl()->redecls()) { in getCanonicalForwardRedeclChain() 122 if (auto *FD = dyn_cast<FunctionDecl>(D)) in getCanonicalForwardRedeclChain() 124 if (auto *VD = dyn_cast<VarDecl>(D)) in getCanonicalForwardRedeclChain() 126 if (auto *TD = dyn_cast<TagDecl>(D)) in getCanonicalForwardRedeclChain() 192 auto ToOrErr = Importer.Import(From); in importInto() 201 auto import(T *From) in import() 204 auto ToOrErr = Importer.Import(From); in import() 211 auto import(const T *From) { in import() 234 template <typename... Args> decltype(auto) operator()(Args &&... args) { in operator ()() 337 if (auto *FromName in addDeclToContexts() [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/ |
H A D | DylibReader.cpp | 37 auto I = partition_point(Container, [=](const Triple &CT) { in emplace() 50 auto getOSVersionStr = [](uint32_t V) { in constructTriples() 57 auto getOSVersion = [&](const MachOObjectFile::LoadCommandInfo &cmd) { in constructTriples() 58 auto Vers = Obj->getVersionMinLoadCommand(cmd); in constructTriples() 64 auto Arch = getArchitectureName(ArchT); in constructTriples() 66 for (const auto &cmd : Obj->load_commands()) { in constructTriples() 146 auto H = Obj->getHeader(); in readMachOHeader() 147 auto &BA = Slice.getBinaryAttrs(); in readMachOHeader() 168 for (const auto &LCI : Obj->load_commands()) { in readMachOHeader() 171 auto DLL in readMachOHeader() [all...] |
/freebsd-src/contrib/llvm-project/lldb/source/Symbol/ |
H A D | CompilerType.cpp | 33 if (auto type_system_sp = GetTypeSystem()) in IsAggregateType() 40 if (auto type_system_sp = GetTypeSystem()) in IsAnonymousType() 47 if (auto type_system_sp = GetTypeSystem()) in IsScopedEnumerationType() 55 if (auto type_system_sp = GetTypeSystem()) in IsArrayType() 71 if (auto type_system_sp = GetTypeSystem()) in IsVectorType() 78 if (auto type_system_sp = GetTypeSystem()) in IsRuntimeGeneratedType() 85 if (auto type_system_sp = GetTypeSystem()) in IsCharType() 92 if (auto type_system_sp = GetTypeSystem()) in IsCompleteType() 99 if (auto type_system_sp = GetTypeSystem()) in IsForcefullyCompleted() 106 if (auto type_system_s in IsConst() [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Support/ |
H A D | BalancedPartitioning.cpp | 94 auto NodesRange = llvm::make_range(Nodes.begin(), Nodes.end()); in run() 95 auto BisectTask = [=, &TP]() { in run() 105 llvm::stable_sort(NodesRange, [](const auto &L, const auto &R) { in run() 120 llvm::sort(Nodes, [](const auto &L, const auto &R) { in bisect() 123 for (auto &N : Nodes) in bisect() 142 auto NodesMid = in bisect() 143 llvm::partition(Nodes, [&](auto &N) { return N.Bucket == LeftBucket; }); in bisect() 146 auto LeftNode in bisect() [all...] |
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | YAMLOutputStyle.cpp | 49 if (auto EC = dumpFileHeaders()) in dump() 52 if (auto EC = dumpStreamMetadata()) in dump() 55 if (auto EC = dumpStreamDirectory()) in dump() 58 if (auto EC = dumpStringTable()) in dump() 61 if (auto EC = dumpPDBStream()) in dump() 64 if (auto EC = dumpDbiStream()) in dump() 67 if (auto EC = dumpTpiStream()) in dump() 70 if (auto EC = dumpIpiStream()) in dump() 73 if (auto EC = dumpPublics()) in dump() 90 auto Blocks = File.getDirectoryBlockArray(); in dumpFileHeaders() [all …]
|
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ExprMutationAnalyzer.cpp | 26 const auto IgnoreDerivedToBase = [](const Expr *E, auto Matcher) { in canExprResolveTo() 29 if (const auto *Cast = dyn_cast<ImplicitCastExpr>(E)) { in canExprResolveTo() 38 const auto EvalCommaExpr = [](const Expr *E, auto Matcher) { in canExprResolveTo() 40 while (const auto *BOComma = in canExprResolveTo() 57 const auto ConditionalOperatorM = [Target](const Expr *E) { in canExprResolveTo() 58 if (const auto *OP = dyn_cast<ConditionalOperator>(E)) { in canExprResolveTo() 59 if (const auto *TE = OP->getTrueExpr()->IgnoreParens()) in canExprResolveTo() 62 if (const auto *F in canExprResolveTo() [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/XRay/ |
H A D | Profile.cpp | 28 for (const auto &Block : O) { in Profile() 30 auto &B = Blocks.back(); in Profile() 31 for (const auto &PathData : Block.PathData) in Profile() 82 auto CurrentOffset = Offset; in readPath() 102 auto CurrentOffset = Offset; in readData() 132 auto It = PathIDMap.find(P); in expandPath() 138 for (auto Node = It->second; Node; Node = Node->Caller) in expandPath() 147 auto RootToLeafPath = reverse(P); in internPath() 150 auto It = RootToLeafPath.begin(); in internPath() 151 auto PathRoo in internPath() [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | PDBFile.cpp | 108 if (auto EC = Buffer->readBytes(StreamBlockOffset, NumBytes, Result)) in getBlockData() 124 if (auto EC = Reader.readObject(SB)) { in parseFileHeaders() 130 if (auto EC = msf::validateSuperBlock(*SB)) in parseFileHeaders() 153 auto FpmStream = in parseFileHeaders() 157 if (auto EC = FpmReader.readBytes(FpmBytes, FpmReader.bytesRemaining())) in parseFileHeaders() 161 for (auto Byte : FpmBytes) { in parseFileHeaders() 172 if (auto EC = Reader.readArray(ContainerLayout.DirectoryBlocks, in parseFileHeaders() 191 auto DS = MappedBlockStream::createDirectoryStream(ContainerLayout, *Buffer, in parseStreamData() 194 if (auto EC = Reader.readInteger(NumStreams)) in parseStreamData() 197 if (auto E in parseStreamData() [all...] |
H A D | DbiStreamBuilder.cpp | 127 auto NameIter = SourceFileNames.find(File); in getSourceFileNameIndex() 136 for (const auto &M : ModiList) in calculateModiSubstreamSize() 161 for (const auto &M : ModiList) in calculateNamesOffset() 175 for (const auto &F : SourceFileNames) { in calculateNamesBufferSize() 187 auto Data = Allocator.Allocate<uint8_t>(Size); in generateFileInfoSubstream() 199 if (auto EC = MetadataWriter.writeInteger(ModiCount)) // NumModules in generateFileInfoSubstream() 201 if (auto EC = MetadataWriter.writeInteger(FileCount)) // NumSourceFiles in generateFileInfoSubstream() 204 if (auto EC = MetadataWriter.writeInteger(I)) // Mod Indices in generateFileInfoSubstream() 207 for (const auto &MI : ModiList) { in generateFileInfoSubstream() 209 if (auto EC = MetadataWriter.writeInteger(FileCount)) // Mod File Counts in generateFileInfoSubstream() [all …]
|
/freebsd-src/tests/sys/fs/fusefs/ |
H A D | setattr.cc | 89 .WillRepeatedly(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F() 97 ResultOf([](auto in) { in TEST_F() 102 ).WillOnce(Invoke(ReturnImmediate([](auto in __unused, auto& out) { in TEST_F() 109 ResultOf([](auto in) { in TEST_F() 133 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F() 140 ResultOf([](auto in) { in TEST_F() 148 ).WillOnce(Invoke(ReturnImmediate([](auto in __unused, auto& out) { in TEST_F() 172 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F() 182 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F() 192 ResultOf([](auto in) { in TEST_F() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | TextStubV5.cpp | 221 const auto *Values = Obj->getArray(Keys[Key]); in collectFromArray() 229 auto ValStr = Val.getAsString(); in collectFromArray() 241 auto VersionOrErr = getRequiredValue<int64_t, FileType>( in getVersion() 256 const auto *Targets = Section->getArray(Keys[TBDKey::Targets]); in getTargets() 262 auto TargetStr = JSONTarget.getAsString(); in getTargets() 265 auto TargetOrErr = Target::create(TargetStr.value()); in getTargets() 280 const auto *Obj = JSONTarget.getAsObject(); in getTargetsSection() 283 auto TargetStr = in getTargetsSection() 287 auto TargetOrErr = Target::create(*TargetStr); in getTargetsSection() 291 auto VersionSt in getTargetsSection() [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLinkMemoryManager.cpp | 26 for (auto &Sec : G.sections()) { in BasicLayout() 32 auto &Seg = Segments[{Sec.getMemProt(), Sec.getMemLifetime()}]; in BasicLayout() 33 for (auto *B : Sec.blocks()) in BasicLayout() 41 auto CompareBlocks = [](const Block *LHS, const Block *RHS) { in BasicLayout() 51 for (auto &KV : Segments) { in BasicLayout() 52 auto &Seg = KV.second; in BasicLayout() 57 for (auto *B : Seg.ContentBlocks) { in BasicLayout() 64 for (auto *B : Seg.ZeroFillBlocks) { in BasicLayout() 84 for (auto &KV : segments()) { in getContiguousPageBasedLayoutSizes() 85 auto in getContiguousPageBasedLayoutSizes() [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 179 auto Wrapper = CB->getWrapperFunction(); in maybeFreeRetconStorage() 180 auto Awaiter = CB->getAwaiter(); 181 auto FramePtr = CB->getFrame(); 192 if (auto Invoke = dyn_cast<InvokeInst>(CB)) { in replaceCoroEndAsync() 193 auto WrapperInvoke = in replaceCoroEndAsync() 203 } else if (auto Call = dyn_cast<CallInst>(CB)) { in replaceCoroEndAsync() 204 auto WrapperCall = Builder.CreateCall(Wrapper, {Awaiter, FramePtr}); in replaceCoroEndAsync() 217 if (auto *Invoke = dyn_cast<InvokeInst>(CB)) { in replaceCoroEndAsync() 223 auto *ResumeAddr = LB.makeSubFnCall(NewCall, CoroSubFnInst::ResumeIndex, in replaceCoroEndAsync() 229 auto *ResumeCal in replaceFallthroughCoroEnd() [all...] |