HomeSort by relevance Sort by last modified time
    Searched refs:make_unique (Results 1 - 25 of 1385) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/v8/tools/clang/blink_gc_plugin/tests/
make_unique_gc_object.cpp 10 auto owned_base = std::make_unique<Base>();
11 auto owned_base_array = std::make_unique<Base[]>(1);
12 auto owned_derived = std::make_unique<Derived>();
  /external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/
make_unique.array2.fail.cpp 16 auto up2 = std::make_unique<int[]>(10, 20, 30, 40);
make_unique.array3.fail.cpp 16 auto up3 = std::make_unique<int[5]>(); // this is deleted
make_unique.array4.fail.cpp 16 auto up4 = std::make_unique<int[5]>(11, 22, 33, 44, 55); // deleted
make_unique.single.pass.cpp 18 std::unique_ptr<int> p1 = std::make_unique<int>(1);
20 p1 = std::make_unique<int> ();
25 std::unique_ptr<std::string> p2 = std::make_unique<std::string> ( "Meow!" );
27 p2 = std::make_unique<std::string> ();
29 p2 = std::make_unique<std::string> ( 6, 'z' );
make_unique.array1.fail.cpp 16 auto up1 = std::make_unique<std::string[]>("error"); // doesn't compile - no bound
make_unique.array.pass.cpp 28 auto p1 = std::make_unique<int[]>(5);
34 auto p2 = std::make_unique<std::string[]>(5);
40 auto p3 = std::make_unique<foo[]>(7);
  /external/llvm/unittests/ADT/
MakeUniqueTest.cpp 1 //===- llvm/unittest/ADT/MakeUniqueTest.cpp - make_unique unit tests ------===//
18 auto p0 = make_unique<int>();
22 auto p1 = make_unique<int>(5);
26 auto p2 = make_unique<std::tuple<int, int>>(0, 1);
30 auto p3 = make_unique<std::tuple<int, int, int>>(0, 1, 2);
34 auto p4 = make_unique<std::tuple<int, int, int, int>>(0, 1, 2, 3);
38 auto p5 = make_unique<std::tuple<int, int, int, int, int>>(0, 1, 2, 3, 4);
43 make_unique<std::tuple<int, int, int, int, int, int>>(0, 1, 2, 3, 4, 5);
47 auto p7 = make_unique<std::tuple<int, int, int, int, int, int, int>>(
52 auto p8 = make_unique<std::tuple<int, int, int, int, int, int, int, int>>
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
MakeUniqueTest.cpp 1 //===- llvm/unittest/ADT/MakeUniqueTest.cpp - make_unique unit tests ------===//
18 auto p0 = make_unique<int>();
22 auto p1 = make_unique<int>(5);
26 auto p2 = make_unique<std::tuple<int, int>>(0, 1);
30 auto p3 = make_unique<std::tuple<int, int, int>>(0, 1, 2);
34 auto p4 = make_unique<std::tuple<int, int, int, int>>(0, 1, 2, 3);
38 auto p5 = make_unique<std::tuple<int, int, int, int, int>>(0, 1, 2, 3, 4);
43 make_unique<std::tuple<int, int, int, int, int, int>>(0, 1, 2, 3, 4, 5);
47 auto p7 = make_unique<std::tuple<int, int, int, int, int, int, int>>(
52 auto p8 = make_unique<std::tuple<int, int, int, int, int, int, int, int>>
    [all...]
  /external/clang/lib/FrontendTool/
ExecuteCompilerInvocation.cpp 41 case ASTDeclList: return llvm::make_unique<ASTDeclListAction>();
42 case ASTDump: return llvm::make_unique<ASTDumpAction>();
43 case ASTPrint: return llvm::make_unique<ASTPrintAction>();
44 case ASTView: return llvm::make_unique<ASTViewAction>();
45 case DumpRawTokens: return llvm::make_unique<DumpRawTokensAction>();
46 case DumpTokens: return llvm::make_unique<DumpTokensAction>();
47 case EmitAssembly: return llvm::make_unique<EmitAssemblyAction>();
48 case EmitBC: return llvm::make_unique<EmitBCAction>();
49 case EmitHTML: return llvm::make_unique<HTMLPrintAction>();
50 case EmitLLVM: return llvm::make_unique<EmitLLVMAction>()
    [all...]
  /external/skia/src/svg/
SkSVGCanvas.cpp 17 auto svgDevice = SkSVGDevice::Make(size, skstd::make_unique<SkXMLStreamWriter>(writer));
19 return svgDevice ? skstd::make_unique<SkCanvas>(svgDevice)
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
Context.cpp 37 auto RCU = llvm::make_unique<RetireControlUnit>(SM);
38 auto PRF = llvm::make_unique<RegisterFile>(SM, MRI, Opts.RegisterFileSize);
39 auto HWS = llvm::make_unique<Scheduler>(
43 auto P = llvm::make_unique<Pipeline>();
44 auto F = llvm::make_unique<FetchStage>(IB, SrcMgr);
45 auto D = llvm::make_unique<DispatchStage>(
47 auto R = llvm::make_unique<RetireStage>(*RCU, *PRF);
48 auto E = llvm::make_unique<ExecuteStage>(*RCU, *HWS);
  /external/parameter-framework/upstream/utility/
Memory.hpp 36 /** Implementation of C++14's std::make_unique.
41 std::unique_ptr<T> make_unique(Args &&... args) function in namespace:utility
  /external/libchrome/base/
value_iterators_unittest.cc 61 storage.emplace("0", std::make_unique<Value>(0));
74 storage.emplace("0", std::make_unique<Value>(0));
87 storage.emplace("0", std::make_unique<Value>(0));
88 storage.emplace("1", std::make_unique<Value>(1));
104 storage.emplace("0", std::make_unique<Value>(0));
105 storage.emplace("1", std::make_unique<Value>(1));
120 storage.emplace("0", std::make_unique<Value>(0));
121 storage.emplace("1", std::make_unique<Value>(1));
137 storage.emplace("0", std::make_unique<Value>(0));
138 storage.emplace("1", std::make_unique<Value>(1))
    [all...]
sequence_checker_impl.cc 36 SequenceCheckerImpl::SequenceCheckerImpl() : core_(std::make_unique<Core>()) {}
42 core_ = std::make_unique<Core>();
  /external/bcc/src/cc/
shared_table.cc 39 virtual unique_ptr<self_type> clone() const override { return make_unique<iterator>(it_); }
65 result = TableStorage::iterator(make_unique<iterator>(it));
86 return make_unique<iterator>(tables_.begin());
89 return make_unique<iterator>(tables_.end());
93 return make_unique<iterator>(tables_.lower_bound(k));
96 return make_unique<iterator>(tables_.upper_bound(k));
102 return make_unique<iterator>(tables_.erase(i));
109 auto t = make_unique<TableStorage>();
110 t->Init(make_unique<SharedTableStorage>());
  /frameworks/av/media/libaaudio/src/client/
AAudioFlowGraph.cpp 46 mSource = std::make_unique<SourceFloat>(sourceChannelCount);
49 mSource = std::make_unique<SourceI16>(sourceChannelCount);
52 mSource = std::make_unique<SourceI24>(sourceChannelCount);
61 mVolumeRamp = std::make_unique<RampLinear>(sourceChannelCount);
68 mClipper = std::make_unique<ClipToRange>(sourceChannelCount);
75 mChannelConverter = std::make_unique<MonoToMultiConverter>(sinkChannelCount);
85 mSink = std::make_unique<SinkFloat>(sinkChannelCount);
88 mSink = std::make_unique<SinkI16>(sinkChannelCount);
91 mSink = std::make_unique<SinkI24>(sinkChannelCount);
  /external/libbrillo/brillo/
value_conversion.cc 41 return std::make_unique<base::Value>(value);
45 return std::make_unique<base::Value>(value);
49 return std::make_unique<base::Value>(value);
53 return std::make_unique<base::Value>(value);
57 return std::make_unique<base::Value>(value);
  /external/tensorflow/tensorflow/core/grappler/graph_analyzer/
graph_analyzer_test.cc 80 gran_ = absl::make_unique<GraphAnalyzer>(graph_3n_self_control_, 1);
93 gran_ = absl::make_unique<GraphAnalyzer>(graph_3n_self_control_, 1);
100 gran_ = absl::make_unique<GraphAnalyzer>(graph_3n_self_control_, 0);
113 gran_ = absl::make_unique<GraphAnalyzer>(graph_3n_self_control_, 1);
134 gran_ = absl::make_unique<GraphAnalyzer>(graph_3n_self_control_, 4);
149 gran_ = absl::make_unique<GraphAnalyzer>(graph_multi_input_, 4);
154 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")}));
171 gran_ = absl::make_unique<GraphAnalyzer>(graph_multi_input_, 4);
175 auto parent = absl::make_unique<Subgraph>(Subgraph::Identity());
177 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")}))
    [all...]
  /external/libchrome/base/debug/
alias_unittest.cc 13 std::make_unique<std::string>("string contents");
  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldCOFF.cpp 51 return make_unique<RuntimeDyldCOFFI386>(MemMgr, Resolver);
53 return make_unique<RuntimeDyldCOFFThumb>(MemMgr, Resolver);
55 return make_unique<RuntimeDyldCOFFX86_64>(MemMgr, Resolver);
62 return llvm::make_unique<LoadedCOFFObjectInfo>(*this, *ObjSectionToIDOrErr);
  /external/skia/tests/
VptrTest.cpp 36 std::unique_ptr<Base> a = skstd::make_unique<SubclassA>(21),
37 b = skstd::make_unique<SubclassB>(),
38 c = skstd::make_unique<SubclassA>(22),
39 d = skstd::make_unique<SubclassB>();
  /external/skqp/tests/
VptrTest.cpp 36 std::unique_ptr<Base> a = skstd::make_unique<SubclassA>(21),
37 b = skstd::make_unique<SubclassB>(),
38 c = skstd::make_unique<SubclassA>(22),
39 d = skstd::make_unique<SubclassB>();
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldCOFF.cpp 54 return make_unique<RuntimeDyldCOFFI386>(MemMgr, Resolver);
56 return make_unique<RuntimeDyldCOFFThumb>(MemMgr, Resolver);
58 return make_unique<RuntimeDyldCOFFX86_64>(MemMgr, Resolver);
65 return llvm::make_unique<LoadedCOFFObjectInfo>(*this, *ObjSectionToIDOrErr);
  /external/tensorflow/tensorflow/compiler/xla/client/
xla_computation.cc 35 auto session = absl::make_unique<HloSnapshot>();

Completed in 1677 milliseconds

1 2 3 4 5 6 7 8 91011>>