Home
last modified time | relevance | path

Searched refs:WrapUnique (Results 1 – 25 of 75) sorted by relevance

123

/external/v8/tools/clang/blink_gc_plugin/tests/
Dmake_unique_gc_object.txt10 make_unique_gc_object.cpp:13:22: warning: [blink-gc] Disallowed use of 'WrapUnique<blink::Mixin>' f…
11 auto owned_mixin = base::WrapUnique(static_cast<Mixin*>(nullptr));
Dmake_unique_gc_object.cpp13 auto owned_mixin = base::WrapUnique(static_cast<Mixin*>(nullptr)); in DisallowedUseOfUniquePtr()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dmultiplex_router_unittest.cc161 std::move(endpoint0_), nullptr, base::WrapUnique(new PassThroughFilter()), in TEST_F()
166 base::WrapUnique(new PassThroughFilter()), in TEST_F()
233 std::move(endpoint0_), nullptr, base::WrapUnique(new PassThroughFilter()), in TEST_F()
243 base::WrapUnique(new PassThroughFilter()), in TEST_F()
/external/libchrome/base/metrics/
Dsingle_sample_metrics_unittest.cc46 WrapUnique<SingleSampleMetricsFactory>(nullptr))); in TEST_F()
51 SingleSampleMetricsFactory::SetFactory(WrapUnique(factory)); in TEST_F()
Dhistogram.cc136 return WrapUnique( in HeapAlloc()
316 return WrapUnique(new Histogram(name, minimum, maximum, ranges, counts, in PersistentCreate()
839 return WrapUnique(new LinearHistogram(GetPermanentName(name_), minimum_, in HeapAlloc()
913 return WrapUnique(new LinearHistogram(name, minimum, maximum, ranges, counts, in PersistentCreate()
1107 return WrapUnique(new BooleanHistogram(GetPermanentName(name_), ranges)); in HeapAlloc()
1130 return WrapUnique(new BooleanHistogram(name, ranges, counts, logged_counts, in PersistentCreate()
1215 return WrapUnique(new CustomHistogram(GetPermanentName(name_), ranges)); in HeapAlloc()
1247 return WrapUnique(new CustomHistogram(name, ranges, counts, logged_counts, in PersistentCreate()
Dpersistent_histogram_allocator.cc663 Set(WrapUnique( in CreateWithPersistentMemory()
673 Set(WrapUnique(new GlobalHistogramAllocator( in CreateWithLocalMemory()
702 Set(WrapUnique(new GlobalHistogramAllocator( in CreateWithFile()
882 Set(WrapUnique(new GlobalHistogramAllocator( in CreateWithSharedMemoryHandle()
927 return WrapUnique(histogram_allocator); in ReleaseForTesting()
Dsample_map.cc109 return WrapUnique(new SampleMapIterator(sample_counts_)); in Iterator()
/external/tensorflow/tensorflow/core/common_runtime/data/
Dstandalone.cc79 WrapUnique(new Dataset(dataset, device_mgr.release(), pflr.release(), in FromGraph()
106 *result = WrapUnique(new Iterator(iterator.release(), ctx.release())); in MakeIterator()
/external/libchrome/ipc/
Dipc_sync_message_filter.cc35 pending_messages_.emplace_back(base::WrapUnique(message)); in Send()
68 pending_messages_.emplace_back(base::WrapUnique(message)); in Send()
Dipc_channel_mojo.cc89 return base::WrapUnique(new ChannelMojo(std::move(handle), mode, listener, in Create()
226 std::unique_ptr<Message> scoped_message = base::WrapUnique(message); in Send()
/external/libchrome/base/files/
Dfile_descriptor_watcher_posix.cc208 return WrapUnique(new Controller(MessagePumpForIO::WATCH_READ, fd, callback)); in WatchReadable()
213 return WrapUnique( in WatchWritable()
/external/tensorflow/tensorflow/stream_executor/lib/
Dptr_util.h24 using tensorflow::WrapUnique;
/external/libchrome/base/memory/
Dptr_util.h17 std::unique_ptr<T> WrapUnique(T* ptr) { in WrapUnique() function
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dtracer.cc23 return absl::WrapUnique(new Tracer()); in Create()
/external/tensorflow/tensorflow/core/profiler/rpc/
Dprofiler_server.cc34 return WrapUnique(env->StartThread({}, "profiler server", [ctx, port]() { in StartProfilerServer()
/external/tensorflow/tensorflow/core/profiler/internal/runtime/
Deager_profiler.cc35 return absl::WrapUnique(new EagerProfiler(eager_context)); in Create()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_domain_map.cc31 auto domain_map = absl::WrapUnique(new HloDomainMap(std::move(domain_kind))); in Create()
38 auto domain_map = absl::WrapUnique(new HloDomainMap(std::move(domain_kind))); in Create()
/external/tensorflow/tensorflow/core/common_runtime/
Drenamed_device.cc39 return absl::WrapUnique(new RenamedDevice( in NewRenamedDevice()
/external/tensorflow/tensorflow/core/util/
Dptr_util.h59 std::unique_ptr<T> WrapUnique(T* ptr) {
/external/pdfium/third_party/base/
Dptr_util.h17 std::unique_ptr<T> WrapUnique(T* ptr) { in WrapUnique() function
/external/tensorflow/tensorflow/core/kernels/data/
Dcaptured_function.cc117 *out_function = absl::WrapUnique(new CapturedFunction( in Create()
126 *out_function = absl::WrapUnique(new CapturedFunction( in Create()
157 absl::WrapUnique<InstantiatedCapturedFunction>( in Instantiate()
/external/libchrome/base/task_scheduler/
Dtracked_ref.h123 : ptr_(ptr), self_ref_(WrapUnique(new TrackedRef<T>(ptr_, this))) { in TrackedRefFactory()
/external/libchrome/mojo/core/
Duser_message_impl.cc344 base::WrapUnique(new UserMessageImpl(message_event.get()))); in CreateEventForNewMessage()
364 event->AttachMessage(base::WrapUnique( in CreateEventForNewSerializedMessage()
388 return base::WrapUnique( in CreateFromChannelMessage()
/external/libchrome/mojo/public/cpp/bindings/
Dassociated_binding.h121 base::WrapUnique(new typename Interface::RequestValidator_()),
/external/pdfium/core/fpdfapi/parser/
Dcpdf_linearized_header.cpp77 auto result = pdfium::WrapUnique( in Parse()

123