/third_party/mindspore/mindspore/lite/test/st/ |
D | sub_graph_test.cc | 42 auto add_0 = std::make_unique<schema::CNodeT>(); in TEST_F() 45 add_0->primitive = std::make_unique<schema::PrimitiveT>(); in TEST_F() 51 auto tensor_0 = std::make_unique<schema::TensorT>(); in TEST_F() 56 auto tensor_1 = std::make_unique<schema::TensorT>(); in TEST_F() 65 auto tensor_2 = std::make_unique<schema::TensorT>(); in TEST_F() 75 auto add_1 = std::make_unique<schema::CNodeT>(); in TEST_F() 78 add_1->primitive = std::make_unique<schema::PrimitiveT>(); in TEST_F() 84 auto tensor_3 = std::make_unique<schema::TensorT>(); in TEST_F() 93 auto tensor_4 = std::make_unique<schema::TensorT>(); in TEST_F() 102 auto partial_cond = std::make_unique<schema::CNodeT>(); in TEST_F() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/ |
D | onnx_arithmetic_operation_parser.cc | 52 auto prim = std::make_unique<ops::AddFusion>(); in Parse() 58 auto prim = std::make_unique<ops::SubFusion>(); in Parse() 64 auto prim = std::make_unique<ops::DivFusion>(); in Parse() 70 auto prim = std::make_unique<ops::MulFusion>(); in Parse() 76 auto prim = std::make_unique<ops::Equal>(); in Parse() 82 auto prim = std::make_unique<ops::Less>(); in Parse() 88 auto prim = std::make_unique<ops::Greater>(); in Parse() 94 auto prim = std::make_unique<ops::Floor>(); in Parse() 100 auto prim = std::make_unique<ops::Abs>(); in Parse() 106 auto prim = std::make_unique<ops::ExpFusion>(); in Parse() [all …]
|
/third_party/mindspore/mindspore/lite/test/ut/src/ |
D | scheduler_test.cc | 41 auto split = std::make_unique<mindspore::schema::CNodeT>(); in TEST_F() 44 split->primitive = std::make_unique<mindspore::schema::PrimitiveT>(); in TEST_F() 52 auto abs1 = std::make_unique<mindspore::schema::CNodeT>(); in TEST_F() 55 abs1->primitive = std::make_unique<mindspore::schema::PrimitiveT>(); in TEST_F() 61 auto cons1 = std::make_unique<mindspore::schema::CNodeT>(); in TEST_F() 64 cons1->primitive = std::make_unique<mindspore::schema::PrimitiveT>(); in TEST_F() 70 auto abs2 = std::make_unique<mindspore::schema::CNodeT>(); in TEST_F() 73 abs2->primitive = std::make_unique<mindspore::schema::PrimitiveT>(); in TEST_F() 79 auto cons2 = std::make_unique<mindspore::schema::CNodeT>(); in TEST_F() 82 cons2->primitive = std::make_unique<mindspore::schema::PrimitiveT>(); in TEST_F() [all …]
|
/third_party/boost/libs/smart_ptr/doc/smart_ptr/ |
D | make_unique.adoc | 11 [#make_unique] anchor 12 # make_unique: Creating unique_ptr 19 The `make_unique` function templates provide convenient and safe ways to 25 `make_unique` utility like `std::make_shared` that provided the same 28 standard introducing `std::make_unique`), this library provided it due to 31 This library also provides additional overloads of `make_unique` for 34 feature with `std::make_unique`. 38 `make_unique` is defined in `<boost/smart_ptr/make_unique.hpp>`. 45 std::unique_ptr<T> make_unique(Args&&... args); 49 std::unique_ptr<T> make_unique(type_identity_t<T>&& v); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/ |
D | Context.cpp | 35 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/mindspore/mindspore/lite/test/ut/tools/optimizer/fusion/ |
D | conv_bn_fusion_test.cc | 39 auto convNode = std::make_unique<schema::CNodeT>(); in BuildConv2D() 42 convNode->primitive = std::make_unique<schema::PrimitiveT>(); in BuildConv2D() 56 auto convNode = std::make_unique<schema::CNodeT>(); in BuildDepthwiseConv2D() 59 convNode->primitive = std::make_unique<schema::PrimitiveT>(); in BuildDepthwiseConv2D() 88 auto bn_node = std::make_unique<schema::CNodeT>(); in BuildCaffeGraph() 91 bn_node->primitive = std::make_unique<schema::PrimitiveT>(); in BuildCaffeGraph() 99 auto input0 = std::make_unique<schema::TensorT>(); in BuildCaffeGraph() 108 auto input1 = std::make_unique<schema::TensorT>(); in BuildCaffeGraph() 117 auto conv_output = std::make_unique<schema::TensorT>(); in BuildCaffeGraph() 125 auto input2 = std::make_unique<schema::TensorT>(); in BuildCaffeGraph() [all …]
|
D | conv_scale_fusion_test.cc | 40 auto convNode = std::make_unique<schema::CNodeT>(); in BuildConv2D() 48 convNode->primitive = std::make_unique<schema::PrimitiveT>(); in BuildConv2D() 63 auto convNode = std::make_unique<schema::CNodeT>(); in BuildDepthwiseConv2D() 71 convNode->primitive = std::make_unique<schema::PrimitiveT>(); in BuildDepthwiseConv2D() 99 auto scale_node = std::make_unique<schema::CNodeT>(); in BuildGraph() 108 scale_node->primitive = std::make_unique<schema::PrimitiveT>(); in BuildGraph() 116 auto input0 = std::make_unique<schema::TensorT>(); in BuildGraph() 125 auto input1 = std::make_unique<schema::TensorT>(); in BuildGraph() 135 auto input00 = std::make_unique<schema::TensorT>(); in BuildGraph() 145 auto conv_output = std::make_unique<schema::TensorT>(); in BuildGraph() [all …]
|
/third_party/gn/src/gn/ |
D | tool.cc | 262 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 …]
|
D | scope_per_file_provider.cc | 51 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()
|
/third_party/skia/third_party/externals/tint/src/ |
D | castable_test.cc | 55 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/flutter/engine/flutter/shell/common/ |
D | pipeline_unittests.cc | 26 continuation.Complete(std::make_unique<int>(test_val)); in TEST() 40 continuation.Complete(std::make_unique<int>(test_val)); in TEST() 45 continuation.Complete(std::make_unique<int>(test_val)); in TEST() 51 continuation.Complete(std::make_unique<int>(test_val)); in TEST() 63 continuation_1.Complete(std::make_unique<int>(test_val_1)); in TEST() 64 continuation_2.Complete(std::make_unique<int>(test_val_2)); in TEST() 80 continuation_1.Complete(std::make_unique<int>(test_val_1)); in TEST() 81 continuation_2.Complete(std::make_unique<int>(test_val_2)); in TEST() 100 continuation_1.Complete(std::make_unique<int>(test_val_1)); in TEST() 101 continuation_2.Complete(std::make_unique<int>(test_val_2)); in TEST() [all …]
|
/third_party/cef/libcef/browser/ |
D | browser_platform_delegate_create.cc | 43 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/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | FDRRecordProducer.cpp | 43 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/skia/third_party/externals/oboe/src/common/ |
D | DataConversionFlowGraph.cpp | 111 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/boost/libs/smart_ptr/test/ |
D | make_unique_args_test.cpp | 51 std::unique_ptr<type> result = boost::make_unique<type>(); in main() 61 std::unique_ptr<type> result = boost::make_unique<type>(1); in main() 70 std::unique_ptr<type> result = boost::make_unique<type>(1, 2); in main() 80 boost::make_unique<type>(1, 2, 3); in main() 90 boost::make_unique<type>(1, 2, 3, 4); in main() 100 boost::make_unique<type>(1, 2, 3, 4, 5); in main() 110 boost::make_unique<type>(1, 2, 3, 4, 5, 6); in main() 120 boost::make_unique<type>(1, 2, 3, 4, 5, 6, 7); in main() 130 boost::make_unique<type>(1, 2, 3, 4, 5, 6, 7, 8); in main() 140 boost::make_unique<type>(1, 2, 3, 4, 5, 6, 7, 8, 9); in main()
|
D | make_unique_array_test.cpp | 35 std::unique_ptr<int[]> result = boost::make_unique<int[]>(3); in main() 43 boost::make_unique<int[][2]>(2); in main() 52 boost::make_unique<const int[]>(3); in main() 60 boost::make_unique<const int[][2]>(2); in main() 70 boost::make_unique<type[]>(3); in main() 79 boost::make_unique<type[][2]>(2); in main() 88 boost::make_unique<const type[]>(3); in main() 97 boost::make_unique<const type[][2]>(2); in main()
|
/third_party/boost/libs/container/test/ |
D | vector_test.hpp | 137 ::boost::movelib::make_unique<MyBoostVector>(boostvector); in vector_copyable_only() 139 ::boost::movelib::make_unique<MyStdVector>(stdvector); in vector_copyable_only() 152 …::boost::movelib::make_unique<MyBoostVector>(boostvector, typename MyBoostVector::allocator_type()… in vector_copyable_only() 154 ::boost::movelib::make_unique<MyStdVector>(stdvector); in vector_copyable_only() 167 ::boost::movelib::make_unique<MyStdVector>(100, int(5)); in vector_copyable_only() 169 ::boost::movelib::make_unique<MyBoostVector>(100, IntType(5)); in vector_copyable_only() 174 ::boost::movelib::make_unique<MyStdVector>(100, int(5)); in vector_copyable_only() 176 …::boost::movelib::make_unique<MyBoostVector>(100, IntType(5), typename MyBoostVector::allocator_ty… in vector_copyable_only() 181 ::boost::movelib::make_unique<MyStdVector>(100); in vector_copyable_only() 183 ::boost::movelib::make_unique<MyBoostVector>(100); in vector_copyable_only() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/ |
D | tf_arithmetic_parser.cc | 55 auto prim = std::make_unique<ops::AddFusion>(); in Parse() 69 auto prim = std::make_unique<ops::SubFusion>(); in Parse() 83 auto prim = std::make_unique<ops::MulFusion>(); in Parse() 97 auto prim = std::make_unique<ops::DivFusion>(); in Parse() 111 auto prim = std::make_unique<ops::Maximum>(); in Parse() 125 auto prim = std::make_unique<ops::Minimum>(); in Parse() 139 auto prim = std::make_unique<ops::Greater>(); in Parse() 153 auto prim = std::make_unique<ops::GreaterEqual>(); in Parse() 167 auto prim = std::make_unique<ops::Less>(); in Parse() 181 auto prim = std::make_unique<ops::LessEqual>(); in Parse() [all …]
|
/third_party/skia/tests/ |
D | PDFTaggedTest.cpp | 39 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 …]
|
D | VkProtectedContextTest.cpp | 72 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 …]
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/ |
D | tflite_arithmetic_parser.cc | 58 auto prim = std::make_unique<ops::AddFusion>(); in Parse() 74 auto prim = std::make_unique<ops::MulFusion>(); in Parse() 92 auto prim = std::make_unique<ops::DivFusion>(); in Parse() 110 auto prim = std::make_unique<ops::SubFusion>(); in Parse() 128 auto prim = std::make_unique<ops::FloorDiv>(); in Parse() 139 auto prim = std::make_unique<ops::FloorMod>(); in Parse() 150 auto prim = std::make_unique<ops::PowFusion>(); in Parse() 164 auto prim = std::make_unique<ops::SquaredDifference>(); in Parse() 175 auto prim = std::make_unique<ops::Maximum>(); in Parse() 186 auto prim = std::make_unique<ops::Minimum>(); in Parse() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ResultTests.cpp | 86 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/ |
D | RemarkSerializer.cpp | 28 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/flutter/engine/flutter/shell/platform/windows/ |
D | win32_flutter_window.cc | 12 surface_manager = std::make_unique<AngleSurfaceManager>(); in Win32FlutterWindow() 34 auto state = std::make_unique<FlutterDesktopWindowControllerState>(); in CreateWin32FlutterWindow() 35 state->window = std::make_unique<flutter::Win32FlutterWindow>(title, 10, 10, in CreateWin32FlutterWindow() 40 state->window_wrapper = std::make_unique<FlutterDesktopWindow>(); in CreateWin32FlutterWindow() 48 auto messenger = std::make_unique<FlutterDesktopMessenger>(); in SetState() 50 std::make_unique<flutter::IncomingMessageDispatcher>(messenger.get()); in SetState() 54 window_wrapper_ = std::make_unique<FlutterDesktopWindow>(); in SetState() 57 plugin_registrar_ = std::make_unique<FlutterDesktopPluginRegistrar>(); in SetState() 62 std::make_unique<flutter::PluginRegistrar>(plugin_registrar_.get()); in SetState() 67 std::make_unique<flutter::KeyEventHandler>(internal_plugin_messenger)); in SetState() [all …]
|
/third_party/boost/libs/hana/example/tutorial/ |
D | integral-branching.cpp | 19 std::unique_ptr<T> make_unique(Args&&... args) { in make_unique() function 32 std::unique_ptr<T> make_unique(Args&&... args) { in make_unique() function 48 std::unique_ptr<int> a = ns1::make_unique<int>(3); in main() 49 std::unique_ptr<Student> b = ns1::make_unique<Student>("Bob", 25); in main() 52 std::unique_ptr<int> a = ns2::make_unique<int>(3); in main() 53 std::unique_ptr<Student> b = ns2::make_unique<Student>("Bob", 25); in main()
|