Home
last modified time | relevance | path

Searched refs:make_unique (Results 1 – 25 of 1237) sorted by relevance

12345678910>>...50

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DContext.cpp35 auto RCU = std::make_unique<RetireControlUnit>(SM); in createDefaultPipeline()
36 auto PRF = std::make_unique<RegisterFile>(SM, MRI, Opts.RegisterFileSize); in createDefaultPipeline()
37 auto LSU = std::make_unique<LSUnit>(SM, Opts.LoadQueueSize, in createDefaultPipeline()
39 auto HWS = std::make_unique<Scheduler>(SM, *LSU); in createDefaultPipeline()
42 auto Fetch = std::make_unique<EntryStage>(SrcMgr); in createDefaultPipeline()
43 auto Dispatch = std::make_unique<DispatchStage>(STI, MRI, Opts.DispatchWidth, in createDefaultPipeline()
46 std::make_unique<ExecuteStage>(*HWS, Opts.EnableBottleneckAnalysis); in createDefaultPipeline()
47 auto Retire = std::make_unique<RetireStage>(*RCU, *PRF, *LSU); in createDefaultPipeline()
56 auto StagePipeline = std::make_unique<Pipeline>(); in createDefaultPipeline()
59 StagePipeline->appendStage(std::make_unique<MicroOpQueueStage>( in createDefaultPipeline()
/third_party/skia/third_party/externals/tint/src/
Dcastable_test.cc55 std::unique_ptr<CastableBase> frog = std::make_unique<Frog>(); in TEST()
56 std::unique_ptr<CastableBase> bear = std::make_unique<Bear>(); in TEST()
57 std::unique_ptr<CastableBase> gecko = std::make_unique<Gecko>(); in TEST()
79 auto frog = std::make_unique<Frog>(); in TEST()
80 auto bear = std::make_unique<Bear>(); in TEST()
81 auto gecko = std::make_unique<Gecko>(); in TEST()
101 std::unique_ptr<CastableBase> frog = std::make_unique<Frog>(); in TEST()
120 std::unique_ptr<CastableBase> frog = std::make_unique<Frog>(); in TEST()
121 std::unique_ptr<CastableBase> bear = std::make_unique<Bear>(); in TEST()
122 std::unique_ptr<CastableBase> gecko = std::make_unique<Gecko>(); in TEST()
[all …]
/third_party/gn/src/gn/
Dtool.cc262 return std::make_unique<CTool>(CTool::kCToolCc); in CreateTool()
264 return std::make_unique<CTool>(CTool::kCToolCxx); in CreateTool()
266 return std::make_unique<CTool>(CTool::kCToolCxxModule); in CreateTool()
268 return std::make_unique<CTool>(CTool::kCToolObjC); in CreateTool()
270 return std::make_unique<CTool>(CTool::kCToolObjCxx); in CreateTool()
272 return std::make_unique<CTool>(CTool::kCToolRc); in CreateTool()
274 return std::make_unique<CTool>(CTool::kCToolAsm); in CreateTool()
276 return std::make_unique<CTool>(CTool::kCToolSwift); in CreateTool()
278 return std::make_unique<CTool>(CTool::kCToolAlink); in CreateTool()
280 return std::make_unique<CTool>(CTool::kCToolSolink); in CreateTool()
[all …]
Dscope_per_file_provider.cc51 current_toolchain_ = std::make_unique<Value>( in GetCurrentToolchain()
60 default_toolchain_ = std::make_unique<Value>( in GetDefaultToolchain()
70 gn_version_ = std::make_unique<Value>( in GetGnVersion()
78 python_path_ = std::make_unique<Value>( in GetPythonPath()
87 root_build_dir_ = std::make_unique<Value>( in GetRootBuildDir()
96 root_gen_dir_ = std::make_unique<Value>( in GetRootGenDir()
105 root_out_dir_ = std::make_unique<Value>( in GetRootOutDir()
114 target_gen_dir_ = std::make_unique<Value>( in GetTargetGenDir()
123 target_out_dir_ = std::make_unique<Value>( in GetTargetOutDir()
Ddesc_builder.cc135 auto res = std::make_unique<base::ListValue>(); in RenderValue()
143 return (s.empty() && optional) ? std::make_unique<base::Value>() in RenderValue()
148 return d.is_null() ? std::make_unique<base::Value>() in RenderValue()
153 return f.is_null() ? std::make_unique<base::Value>() in RenderValue()
241 auto res = std::make_unique<base::DictionaryValue>(); in BuildDescription()
251 auto configs = std::make_unique<base::ListValue>(); in BuildDescription()
303 auto res = std::make_unique<base::ListValue>(); in render_config_value_array()
324 auto res = std::make_unique<base::DictionaryValue>(); in BuildDescription()
383 auto labels = std::make_unique<base::ListValue>(); in BuildDescription()
427 auto configs = std::make_unique<base::ListValue>(); in BuildDescription()
[all …]
Dvisual_studio_writer_unittest.cc39 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
45 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
51 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
57 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
98 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
104 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
111 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
123 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
174 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
209 std::make_unique<VisualStudioWriter::SolutionProject>( in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DFDRRecordProducer.cpp43 return std::make_unique<NewBufferRecord>(); in metadataRecordType()
50 return std::make_unique<EndBufferRecord>(); in metadataRecordType()
52 return std::make_unique<NewCPUIDRecord>(); in metadataRecordType()
54 return std::make_unique<TSCWrapRecord>(); in metadataRecordType()
56 return std::make_unique<WallclockRecord>(); in metadataRecordType()
59 return std::make_unique<CustomEventRecordV5>(); in metadataRecordType()
60 return std::make_unique<CustomEventRecord>(); in metadataRecordType()
62 return std::make_unique<CallArgRecord>(); in metadataRecordType()
64 return std::make_unique<BufferExtents>(); in metadataRecordType()
66 return std::make_unique<TypedEventRecord>(); in metadataRecordType()
[all …]
/third_party/cef/libcef/browser/
Dbrowser_platform_delegate_create.cc43 return std::make_unique<CefBrowserPlatformDelegateNativeWin>( in CreateNativeDelegate()
46 return std::make_unique<CefBrowserPlatformDelegateNativeMac>( in CreateNativeDelegate()
49 return std::make_unique<CefBrowserPlatformDelegateNativeLinux>( in CreateNativeDelegate()
59 return std::make_unique<CefBrowserPlatformDelegateOsrWin>( in CreateOSRDelegate()
62 return std::make_unique<CefBrowserPlatformDelegateOsrMac>( in CreateOSRDelegate()
65 return std::make_unique<CefBrowserPlatformDelegateOsrLinux>( in CreateOSRDelegate()
89 return std::make_unique<CefBrowserPlatformDelegateChromeViews>( in Create()
94 return std::make_unique<CefBrowserPlatformDelegateChrome>( in Create()
122 return std::make_unique<CefBrowserPlatformDelegateBackground>( in Create()
130 return std::make_unique<CefBrowserPlatformDelegateViews>( in Create()
/third_party/skia/third_party/externals/oboe/src/common/
DDataConversionFlowGraph.cpp111 mSourceCaller = std::make_unique<SourceFloatCaller>(sourceChannelCount, in configure()
115 mSourceCaller = std::make_unique<SourceI16Caller>(sourceChannelCount, in configure()
129 mSource = std::make_unique<SourceFloat>(sourceChannelCount); in configure()
132 mSource = std::make_unique<SourceI16>(sourceChannelCount); in configure()
144 mAppBuffer = std::make_unique<uint8_t[]>( in configure()
154 mMultiToMonoConverter = std::make_unique<MultiToMonoConverter>(sourceChannelCount); in configure()
158 mChannelCountConverter = std::make_unique<ChannelCountConverter>( in configure()
175 mRateConverter = std::make_unique<SampleRateConverter>(lastOutput->getSamplesPerFrame(), in configure()
184 mMonoToMultiConverter = std::make_unique<MonoToMultiConverter>(sinkChannelCount); in configure()
188 mChannelCountConverter = std::make_unique<ChannelCountConverter>( in configure()
[all …]
/third_party/skia/tests/
DPDFTaggedTest.cpp39 auto root = std::make_unique<PDFTag>(); in DEF_TEST()
44 auto h1 = std::make_unique<PDFTag>(); in DEF_TEST()
50 auto p = std::make_unique<PDFTag>(); in DEF_TEST()
57 auto div = std::make_unique<PDFTag>(); in DEF_TEST()
63 auto l = std::make_unique<PDFTag>(); in DEF_TEST()
67 auto lm1 = std::make_unique<PDFTag>(); in DEF_TEST()
72 auto li1 = std::make_unique<PDFTag>(); in DEF_TEST()
77 auto lm2 = std::make_unique<PDFTag>(); in DEF_TEST()
81 auto li2 = std::make_unique<PDFTag>(); in DEF_TEST()
89 auto p2 = std::make_unique<PDFTag>(); in DEF_TEST()
[all …]
DVkProtectedContextTest.cpp72 auto nonprotectedTestHelper = std::make_unique<VkTestHelper>(false); in DEF_GPUTEST()
77 auto protectedTestHelper = std::make_unique<VkTestHelper>(true); in DEF_GPUTEST()
84 auto protectedTestHelper = std::make_unique<VkTestHelper>(true); in DEF_GPUTEST()
96 auto protectedTestHelper = std::make_unique<VkTestHelper>(true); in DEF_GPUTEST()
112 auto protectedTestHelper = std::make_unique<VkTestHelper>(false); in DEF_GPUTEST()
128 auto protectedTestHelper = std::make_unique<VkTestHelper>(true); in DEF_GPUTEST()
155 auto protectedTestHelper = std::make_unique<VkTestHelper>(true); in DEF_GPUTEST()
182 auto protectedTestHelper = std::make_unique<VkTestHelper>(true); in DEF_GPUTEST()
198 auto protectedTestHelper = std::make_unique<VkTestHelper>(true); in DEF_GPUTEST()
215 auto protectedTestHelper = std::make_unique<VkTestHelper>(true); in DEF_GPUTEST()
[all …]
DPDFTaggedPruningTest.cpp40 auto root = std::make_unique<PDFTag>(); in DEF_TEST()
46 auto p1 = std::make_unique<PDFTag>(); in DEF_TEST()
53 auto p2 = std::make_unique<PDFTag>(); in DEF_TEST()
105 auto root = std::make_unique<PDFTag>(); in DEF_TEST()
111 auto p1 = std::make_unique<PDFTag>(); in DEF_TEST()
118 auto p2 = std::make_unique<PDFTag>(); in DEF_TEST()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DResultTests.cpp86 Result<void, int> result(std::make_unique<int>(dummyError)); in TEST()
92 Result<void, int> result(std::make_unique<int>(dummyError)); in TEST()
100 return {std::make_unique<int>(dummyError)}; in TEST()
135 Result<float*, int> result(std::make_unique<int>(dummyError)); in TEST()
141 Result<float*, int> result(std::make_unique<int>(dummyError)); in TEST()
149 return {std::make_unique<int>(dummyError)}; in TEST()
206 Result<const float*, int> result(std::make_unique<int>(dummyError)); in TEST()
212 Result<const float*, int> result(std::make_unique<int>(dummyError)); in TEST()
220 return {std::make_unique<int>(dummyError)}; in TEST()
252 Result<Ref<AClass>, int> result(std::make_unique<int>(dummyError)); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DRemarkSerializer.cpp28 return std::make_unique<YAMLRemarkSerializer>(OS, Mode); in createRemarkSerializer()
30 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode); in createRemarkSerializer()
32 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode); in createRemarkSerializer()
45 return std::make_unique<YAMLRemarkSerializer>(OS, Mode, std::move(StrTab)); in createRemarkSerializer()
47 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode, in createRemarkSerializer()
50 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode, in createRemarkSerializer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIASession.cpp153 auto RawSymbol = std::make_unique<DIARawSymbol>(*this, GlobalScope); in getGlobalScope()
188 auto RawSymbol = std::make_unique<DIARawSymbol>(*this, LocatedSymbol); in getSymbolById()
205 auto RawSymbol = std::make_unique<DIARawSymbol>(*this, Symbol); in findSymbolByAddress()
217 auto RawSymbol = std::make_unique<DIARawSymbol>(*this, Symbol); in findSymbolByRVA()
230 auto RawSymbol = std::make_unique<DIARawSymbol>(*this, Symbol); in findSymbolBySectOffset()
246 return std::make_unique<DIAEnumLineNumbers>(LineNumbers); in findLineNumbers()
260 return std::make_unique<DIAEnumLineNumbers>(LineNumbers); in findLineNumbersByAddress()
269 return std::make_unique<DIAEnumLineNumbers>(LineNumbers); in findLineNumbersByRVA()
279 return std::make_unique<DIAEnumLineNumbers>(LineNumbers); in findLineNumbersBySectOffset()
301 return std::make_unique<DIAEnumSourceFiles>(*this, SourceFiles); in findSourceFiles()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DLLJIT.cpp43 return std::make_unique<ObjectLinkingLayer>( in prepareForConstruction()
44 ES, std::make_unique<jitlink::InProcessMemoryManager>()); in prepareForConstruction()
95 auto GetMemMgr = []() { return std::make_unique<SectionMemoryManager>(); }; in createObjectLinkingLayer()
97 std::make_unique<RTDyldObjectLinkingLayer>(ES, std::move(GetMemMgr)); in createObjectLinkingLayer()
121 return std::make_unique<ConcurrentIRCompiler>(std::move(JTMB)); in createCompileFunction()
127 return std::make_unique<TMOwningSimpleCompiler>(std::move(*TM)); in createCompileFunction()
131 : ES(S.ES ? std::move(S.ES) : std::make_unique<ExecutionSession>()), in LLJIT()
152 CompileLayer = std::make_unique<IRCompileLayer>( in LLJIT()
158 CompileThreads = std::make_unique<ThreadPool>(S.NumCompileThreads); in LLJIT()
255 TransformLayer = std::make_unique<IRTransformLayer>(*ES, *CompileLayer); in LLLazyJIT()
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/
Dfuzzers.rs165 fn make_unique(&mut self, stamp: usize); in make_unique() method
171 fn make_unique(&mut self, stamp: usize) { in make_unique() method
173 DeclarationC::FunctionDecl(ref mut d) => d.make_unique(stamp), in make_unique()
174 DeclarationC::FunctionPtrDecl(ref mut d) => d.make_unique(stamp), in make_unique()
175 DeclarationC::StructDecl(ref mut d) => d.make_unique(stamp), in make_unique()
176 DeclarationC::UnionDecl(ref mut d) => d.make_unique(stamp), in make_unique()
177 DeclarationC::VariableDecl(ref mut d) => d.make_unique(stamp), in make_unique()
350 fn make_unique(&mut self, stamp: usize) { in make_unique() method
387 fn make_unique(&mut self, stamp: usize) { in make_unique() method
407 decl.make_unique(i); in arbitrary()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dnode_hash_set_test.cc62 set1.insert(absl::make_unique<int>(7)); in TEST()
63 set1.insert(absl::make_unique<int>(17)); in TEST()
65 set2.insert(absl::make_unique<int>(7)); in TEST()
66 set2.insert(absl::make_unique<int>(19)); in TEST()
76 auto node = set1.extract(absl::make_unique<int>(7)); in TEST()
90 node = set1.extract(absl::make_unique<int>(17)); in TEST()
95 node.value() = absl::make_unique<int>(23); in TEST()
Dflat_hash_set_test.cc97 set1.insert(absl::make_unique<int>(7)); in TEST()
98 set1.insert(absl::make_unique<int>(17)); in TEST()
100 set2.insert(absl::make_unique<int>(7)); in TEST()
101 set2.insert(absl::make_unique<int>(19)); in TEST()
111 auto node = set1.extract(absl::make_unique<int>(7)); in TEST()
125 node = set1.extract(absl::make_unique<int>(17)); in TEST()
130 node.value() = absl::make_unique<int>(23); in TEST()
/third_party/skia/src/sksl/ir/
DSkSLLiteral.h32 return std::make_unique<Literal>(line, value, context.fTypes.fFloatLiteral.get()); in MakeFloat()
38 return std::make_unique<Literal>(line, value, type); in MakeFloat()
43 return std::make_unique<Literal>(line, value, context.fTypes.fIntLiteral.get()); in MakeInt()
53 return std::make_unique<Literal>(line, value, type); in MakeInt()
58 return std::make_unique<Literal>(line, value, context.fTypes.fBool.get()); in MakeBool()
65 return std::make_unique<Literal>(line, value, type); in MakeBool()
128 return std::make_unique<Literal>(fLine, this->value(), &this->type()); in clone()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.cpp54 return std::make_unique<RuntimeDyldCOFFI386>(MemMgr, Resolver); in create()
56 return std::make_unique<RuntimeDyldCOFFThumb>(MemMgr, Resolver); in create()
58 return std::make_unique<RuntimeDyldCOFFX86_64>(MemMgr, Resolver); in create()
60 return std::make_unique<RuntimeDyldCOFFAArch64>(MemMgr, Resolver); in create()
67 return std::make_unique<LoadedCOFFObjectInfo>(*this, *ObjSectionToIDOrErr); in loadObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeRawSymbol.cpp33 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildren()
39 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildren()
45 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildrenByAddr()
51 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildrenByVA()
57 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildrenByRVA()
63 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findInlineFramesByAddr()
68 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findInlineFramesByRVA()
73 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findInlineFramesByVA()
78 return std::make_unique<NullEnumerator<IPDBLineNumber>>(); in findInlineeLines()
84 return std::make_unique<NullEnumerator<IPDBLineNumber>>(); in findInlineeLinesByAddr()
[all …]
/third_party/node/deps/v8/tools/debug_helper/
Dget-object-properties.cc69 std::make_unique<Tq##ClassName>(address)}; \ in GetTypedObjectByHint()
79 std::make_unique<TqHeapObject>(address)}; in GetTypedObjectByHint()
89 return {type_source, std::make_unique<Tq##ClassName>(address)}; \ in GetTypedObjectForString()
96 std::make_unique<TqString>(address)}; in GetTypedObjectForString()
111 return {type_source, std::make_unique<Tq##ClassName>(address)}; in GetTypedObjectByInstanceType()
127 return {type_source, std::make_unique<Tq##ClassName>(address)}; \ in GetTypedObjectByInstanceType()
133 std::make_unique<TqHeapObject>(address)}; in GetTypedObjectByInstanceType()
140 auto heap_object = std::make_unique<TqHeapObject>(address); in IsTypedHeapObjectInstanceTypeOf()
157 auto heap_object = std::make_unique<TqHeapObject>(address); in GetTypedHeapObject()
486 properties_.push_back(std::make_unique<ObjectProperty>( in VisitExternalString()
[all …]
/third_party/cef/tests/ceftests/views/
Dwindow_unittest.cc40 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowCreateImpl()
45 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowCreateFramelessImpl()
59 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowCreateWithOriginImpl()
73 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowShowHideImpl()
79 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowShowHideFramelessImpl()
206 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowLayoutAndCoordsImpl()
212 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowLayoutAndCoordsFramelessImpl()
256 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowMaximizeImpl()
263 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowMaximizeFramelessImpl()
300 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowMinimizeImpl()
[all …]
/third_party/node/deps/v8/src/heap/cppgc/
Dheap-base.cc61 oom_handler_(std::make_unique<FatalOutOfMemoryHandler>(this)), in HeapBase()
63 lsan_page_allocator_(std::make_unique<v8::base::LsanPageAllocator>( in HeapBase()
68 page_backend_(std::make_unique<PageBackend>(caged_heap_.allocator(), in HeapBase()
71 page_backend_(std::make_unique<PageBackend>(*page_allocator(), in HeapBase()
74 stats_collector_(std::make_unique<StatsCollector>(platform_.get())), in HeapBase()
75 stack_(std::make_unique<heap::base::Stack>( in HeapBase()
77 prefinalizer_handler_(std::make_unique<PreFinalizerHandler>(*this)), in HeapBase()

12345678910>>...50