/external/tensorflow/tensorflow/stream_executor/lib/ |
ptr_util.h | 24 using tensorflow::WrapUnique;
|
/external/libchrome/base/memory/ |
ptr_util.h | 17 std::unique_ptr<T> WrapUnique(T* ptr) {
|
/external/v8/tools/clang/blink_gc_plugin/tests/ |
make_unique_gc_object.cpp | 13 auto owned_mixin = base::WrapUnique(static_cast<Mixin*>(nullptr));
|
/external/tensorflow/tensorflow/core/profiler/internal/gpu/ |
tracer.cc | 23 return absl::WrapUnique(new Tracer());
|
/external/tensorflow/tensorflow/core/profiler/internal/runtime/ |
eager_profiler.cc | 35 return absl::WrapUnique(new EagerProfiler(eager_context));
|
/external/tensorflow/tensorflow/core/profiler/rpc/ |
profiler_server.cc | 34 return WrapUnique(env->StartThread({}, "profiler server", [ctx, port]() {
|
/external/libchrome/base/metrics/ |
single_sample_metrics_unittest.cc | 46 WrapUnique<SingleSampleMetricsFactory>(nullptr))); 51 SingleSampleMetricsFactory::SetFactory(WrapUnique(factory));
|
sample_map.cc | 109 return WrapUnique(new SampleMapIterator(sample_counts_));
|
histogram.cc | 136 return WrapUnique( 316 return WrapUnique(new Histogram(name, minimum, maximum, ranges, counts, 839 return WrapUnique(new LinearHistogram(GetPermanentName(name_), minimum_, [all...] |
/external/pdfium/third_party/base/ |
ptr_util.h | 17 std::unique_ptr<T> WrapUnique(T* ptr) { 43 // MakeUnique<T>(args) should be preferred over WrapUnique(new T(args)): bare
|
/external/tensorflow/tensorflow/core/common_runtime/ |
renamed_device.cc | 38 // Call absl::WrapUnique to access private constructor. 39 return absl::WrapUnique(new RenamedDevice(
|
/external/tensorflow/tensorflow/core/util/ |
ptr_util.h | 50 // auto x = WrapUnique(NewX(1, 2)); // 'x' is std::unique_ptr<X>. 52 // WrapUnique is useful for capturing the output of a raw pointer factory. 53 // However, prefer 'MakeUnique<T>(args...) over 'WrapUnique(new T(args...))'. 54 // auto x = WrapUnique(new X(1, 2)); // works, but nonideal. 59 std::unique_ptr<T> WrapUnique(T* ptr) {
|
/external/libchrome/base/files/ |
file_descriptor_watcher_posix.cc | 208 return WrapUnique(new Controller(MessagePumpForIO::WATCH_READ, fd, callback)); 213 return WrapUnique(
|
/external/libchrome/ipc/ |
ipc_sync_message_filter.cc | 35 pending_messages_.emplace_back(base::WrapUnique(message)); 68 pending_messages_.emplace_back(base::WrapUnique(message));
|
/external/tensorflow/tensorflow/core/common_runtime/data/ |
standalone.cc | 79 WrapUnique(new Dataset(dataset, device_mgr.release(), pflr.release(), 106 *result = WrapUnique(new Iterator(iterator.release(), ctx.release()));
|
/external/libchrome/base/task_scheduler/ |
tracked_ref.h | 123 : ptr_(ptr), self_ref_(WrapUnique(new TrackedRef<T>(ptr_, this))) {
|
/external/libchrome/mojo/public/cpp/bindings/ |
associated_binding.h | 121 base::WrapUnique(new typename Interface::RequestValidator_()),
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
multiplex_router_unittest.cc | 161 std::move(endpoint0_), nullptr, base::WrapUnique(new PassThroughFilter()), 166 base::WrapUnique(new PassThroughFilter()), 233 std::move(endpoint0_), nullptr, base::WrapUnique(new PassThroughFilter()), 243 base::WrapUnique(new PassThroughFilter()),
|
/external/pdfium/core/fpdfapi/parser/ |
cpdf_linearized_header.cpp | 77 auto result = pdfium::WrapUnique(
|
/external/tensorflow/tensorflow/core/profiler/internal/cpu/ |
host_tracer.cc | 30 return absl::WrapUnique(new HostTracer(host_trace_level));
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_domain_map.cc | 31 auto domain_map = absl::WrapUnique(new HloDomainMap(std::move(domain_kind))); 38 auto domain_map = absl::WrapUnique(new HloDomainMap(std::move(domain_kind)));
|
/external/libchrome/base/ |
cancelable_callback_unittest.cc | 201 cb.callback().Run(base::WrapUnique(new int(kExpectedResult)));
|
/external/tensorflow/tensorflow/compiler/aot/ |
embedded_protocol_buffers.cc | 107 return absl::WrapUnique(target->createTargetMachine(
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
buffer_allocations.cc | 44 auto buffer_allocations = absl::WrapUnique(new BufferAllocations(
|
/external/tensorflow/tensorflow/core/profiler/lib/ |
profiler_session.cc | 122 return absl::WrapUnique(new ProfilerSession(context));
|