Home
last modified time | relevance | path

Searched full:auto (Results 1 – 25 of 5238) sorted by relevance

12345678910>>...210

/freebsd/contrib/bsnmp/tests/
H A Dsnmp_parse_server.cc41 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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DContainerModeling.cpp153 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 *SIE = dyn_cast<SymIntExpr>(CData.getEnd())) in checkLiveSymbols()
[all …]
/freebsd/tests/atf_python/sys/netlink/
H A Dnetlink_route.py9 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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectLinkingLayer.cpp34 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 &KV : Symbols) { in lookup()
[all …]
H A DLLJIT.cpp57 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 Ctx = std::make_unique<LLVMContext>(); in setupJITDylib()
[all …]
H A DCOFFPlatform.cpp58 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 OrcRuntimeArchiveGenerato in Create()
[all...]
H A DRTDyldObjectLinkingLayer.cpp24 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 SymType = Sym.getType()) { in emit()
[all …]
H A DCore.cpp90 for (auto &[JD, Syms] : *this->Symbols) in FailedToMaterialize()
95 for (auto &[JD, Syms] : *Symbols) in ~FailedToMaterialize()
129 for (auto &Sym : Symbols) in SymbolsNotFound()
190 for (auto &[Name, Flags] : Symbols) in AsynchronousSymbolQuery()
196 auto I = ResolvedSymbols.find(Name); in notifySymbolMetRequiredState()
231 auto T = std::make_unique<RunQueryCompleteTask>(std::move(ResolvedSymbols), in handleComplete()
254 auto QRI = QueryRegistrations.find(&JD); in removeQueryDependence()
264 auto I = ResolvedSymbols.find(Name); in dropSymbol()
274 for (auto &[JD, Syms] : QueryRegistrations) in detach()
294 if (auto Err = R->notifyResolved(Symbols)) { in materialize()
[all …]
H A DEPCIndirectionUtils.cpp82 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/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp155 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_up = results_up->getChildAtIndex(cu_idx); in GetCompileUnitIndex()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp37 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 DLLC = Obj->getDylibIDLoadCommand(LCI); in readMachOHeader()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp43 auto [It, IsNew] = VisitedBody.insert(Body); in VisitBody()
59 if (auto *Body = Decl->getBody()) in HasSpecializedDelete()
74 auto *Arg = E->getArgument(); in VisitCXXDeleteExpr()
76 if (auto *Paren = dyn_cast<ParenExpr>(Arg)) in VisitCXXDeleteExpr()
78 else if (auto *Cast = dyn_cast<CastExpr>(Arg)) { in VisitCXXDeleteExpr()
80 auto CastType = Cast->getType(); in VisitCXXDeleteExpr()
81 if (auto *PtrType = dyn_cast<PointerType>(CastType)) { in VisitCXXDeleteExpr()
82 auto PointeeType = PtrType->getPointeeType(); in VisitCXXDeleteExpr()
83 while (auto *ET = dyn_cast<ElaboratedType>(PointeeType)) { in VisitCXXDeleteExpr()
87 if (auto *ParmType = dyn_cast<TemplateTypeParmType>(PointeeType)) { in VisitCXXDeleteExpr()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/
H A Drtsan_test_interceptors.cpp69 auto Func = []() { EXPECT_NE(nullptr, malloc(1)); }; in TEST()
76 auto Func = [ptr_1]() { EXPECT_NE(nullptr, realloc(ptr_1, 8)); }; in TEST()
84 auto Func = [ptr_1]() { EXPECT_NE(nullptr, reallocf(ptr_1, 8)); }; in TEST()
91 auto Func = []() { EXPECT_NE(nullptr, valloc(4)); }; in TEST()
98 auto Func = []() { EXPECT_NE(nullptr, aligned_alloc(16, 32)); }; in TEST()
122 auto Func = []() { in TEST()
132 auto Func = []() { EXPECT_NE(memalign(2, 2048), nullptr); }; in TEST()
140 auto Func = []() { EXPECT_NE(pvalloc(2048), nullptr); }; in TEST()
151 auto Func = []() { sleep(0u); }; in TEST()
157 auto Func = []() { usleep(1u); }; in TEST()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp29 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 *ME = dyn_cast<MemberExpr>(NoParens)) in computeDependence()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp33 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_sp = GetTypeSystem()) in IsConst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBalancedPartitioning.cpp94 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 LeftNodes = llvm::make_range(Nodes.begin(), NodesMid); in bisect()
147 auto RightNodes = llvm::make_range(NodesMid, Nodes.end()); in bisect()
149 auto LeftRecTask = [=, &TP]() { in bisect()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DYAMLOutputStyle.cpp49 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/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp179 auto Wrapper = CB->getWrapperFunction(); in lowerAwaitSuspend()
180 auto Awaiter = CB->getAwaiter(); in lowerAwaitSuspend()
181 auto FramePtr = CB->getFrame(); in lowerAwaitSuspend()
192 if (auto Invoke = dyn_cast<InvokeInst>(CB)) { in lowerAwaitSuspend()
193 auto WrapperInvoke = in lowerAwaitSuspend()
203 } else if (auto Call = dyn_cast<CallInst>(CB)) { in lowerAwaitSuspend()
204 auto WrapperCall = Builder.CreateCall(Wrapper, {Awaiter, FramePtr}); in lowerAwaitSuspend()
217 if (auto *Invoke = dyn_cast<InvokeInst>(CB)) { in lowerAwaitSuspend()
223 auto *ResumeAddr = LB.makeSubFnCall(NewCall, CoroSubFnInst::ResumeIndex, in lowerAwaitSuspend()
229 auto *ResumeCall = Builder.CreateCall(ResumeTy, ResumeAddr, {NewCall}); in lowerAwaitSuspend()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DProfile.cpp28 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 PathRoot = *It++; in internPath()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp58 auto GetModified = in applyNullability()
69 if (auto Function = dyn_cast<FunctionDecl>(D)) { in applyNullability()
70 if (auto Modified = in applyNullability()
80 } else if (auto Method = dyn_cast<ObjCMethodDecl>(D)) { in applyNullability()
81 if (auto Modified = GetModified(D, Method->getReturnType(), Nullability)) { in applyNullability()
89 } else if (auto Value = dyn_cast<ValueDecl>(D)) { in applyNullability()
90 if (auto Modified = GetModified(D, Value->getType(), Nullability)) { in applyNullability()
94 if (auto Parm = dyn_cast<ParmVarDecl>(D)) { in applyNullability()
100 } else if (auto Property = dyn_cast<ObjCPropertyDecl>(D)) { in applyNullability()
101 if (auto Modified = GetModified(D, Property->getType(), Nullability)) { in applyNullability()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp108 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 EC = Reader.readArray(ContainerLayout.StreamSizes, NumStreams)) in parseStreamData()
[all …]
H A DDbiStreamBuilder.cpp127 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 E in generateFileInfoSubstream()
[all...]
/freebsd/tests/sys/fs/fusefs/
H A Dsetattr.cc89 .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/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp221 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 VersionStr = Obj->getString(Keys[TBDKey::Deployment]); in getTargetsSection()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp26 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 &AG = KV.first; in getContiguousPageBasedLayoutSizes()
[all …]

12345678910>>...210