/external/perfetto/include/perfetto/base/ |
D | no_destructor.h | 41 class NoDestructor { 46 explicit NoDestructor(Args&&... args) { in NoDestructor() function 50 NoDestructor(const NoDestructor&) = delete; 51 NoDestructor& operator=(const NoDestructor&) = delete; 52 NoDestructor(NoDestructor&&) = delete; 53 NoDestructor& operator=(NoDestructor&&) = delete; 55 ~NoDestructor() = default;
|
/external/libchrome/base/ |
D | no_destructor.h | 49 class NoDestructor { 54 explicit NoDestructor(Args&&... args) { in NoDestructor() function 60 explicit NoDestructor(const T& x) { new (storage_) T(x); } in NoDestructor() function 61 explicit NoDestructor(T&& x) { new (storage_) T(std::move(x)); } in NoDestructor() function 63 NoDestructor(const NoDestructor&) = delete; 64 NoDestructor& operator=(const NoDestructor&) = delete; 66 ~NoDestructor() = default;
|
D | no_destructor_unittest.cc | 23 NoDestructor<CheckOnDestroy> destructor_should_not_run; in TEST() 54 static NoDestructor<ForwardingTestStruct> test_forwarding( in TEST() 59 static NoDestructor<std::string> awesome("awesome"); in TEST() 71 static NoDestructor<std::vector<std::string>> vector({"a", "b", "c"}); in TEST()
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | sync_call_restrictions.cc | 44 static base::NoDestructor<GlobalSyncCallSettings> global_settings; in GetGlobalSettings() 49 static base::NoDestructor<base::SequenceLocalStorageSlot<size_t>> count; in GetSequenceLocalScopedAllowCount()
|
D | message_dumper.cc | 21 static base::NoDestructor<base::FilePath> dump_directory; in DumpDirectory()
|
D | sequence_local_sync_event_watcher.cc | 174 static base::NoDestructor<StorageSlotType> storage; in GetStorageSlot()
|
/external/perfetto/src/base/ |
D | no_destructor_unittest.cc | 43 { NoDestructor<SetFlagOnDestruct> f(&destructor_called); } in TEST() 57 static NoDestructor<NonTrivial> x(std::vector<int>{1, 2, 3}, in TEST()
|
/external/libchrome/base/sampling_heap_profiler/ |
D | sampling_heap_profiler.h | 21 class NoDestructor; variable 112 friend class base::NoDestructor<SamplingHeapProfiler>;
|
D | sampling_heap_profiler.cc | 163 static base::NoDestructor<base::ThreadLocalStorage::Slot> in AccumulatedBytesTLS() 433 static base::NoDestructor<SamplingHeapProfiler> instance; in GetInstance()
|
/external/libchrome/base/time/ |
D | default_tick_clock.cc | 19 static const base::NoDestructor<DefaultTickClock> default_tick_clock; in GetInstance()
|
D | time.cc | 362 static const base::NoDestructor<base::TimeTicks> epoch([]() { in UnixEpoch()
|
/external/libchrome/libchrome_tools/patch/ |
D | mojom_disable_trace_and_mem_dump.patch | 86 - static base::NoDestructor<MessageMemoryDumpProvider> provider; 116 +// static base::NoDestructor<MessageMemoryDumpProvider> provider; 214 - static base::NoDestructor<scoped_refptr<base::TaskRunner>> task_runner( 218 + // static base::NoDestructor<scoped_refptr<base::TaskRunner>> task_runner(
|
/external/libchrome/base/metrics/ |
D | dummy_histogram.h | 51 friend class NoDestructor<DummyHistogram>;
|
D | dummy_histogram.cc | 67 static base::NoDestructor<DummyHistogram> dummy_histogram; in GetInstance()
|
/external/libchrome/base/debug/ |
D | task_annotator.cc | 27 static NoDestructor<ThreadLocalPointer<const PendingTask>> in GetTLSForCurrentPendingTask()
|
/external/libchrome/base/threading/ |
D | thread_id_name_manager.cc | 25 static base::NoDestructor<base::ThreadLocalStorage::Slot> thread_name_tls; in GetThreadNameTLS()
|
D | thread_local_storage_unittest.cc | 52 static NoDestructor<ThreadLocalStorage::Slot> slot( in TLSSlot()
|
/external/perfetto/src/trace_processor/ |
D | trace_storage.cc | 57 static const base::NoDestructor<std::vector<const char*>> map( in GetRefTypeStringMap()
|
/external/libchrome/base/message_loop/ |
D | message_loop_current.cc | 19 static NoDestructor<ThreadLocalPointer<MessageLoop>> lazy_tls_ptr; in GetTLSMessageLoop()
|
/external/libchrome/mojo/public/c/system/ |
D | thunks.cc | 147 static base::NoDestructor<mojo::CoreLibraryInitializer> initializer(options); in MojoInitialize()
|
/external/perfetto/src/profiling/memory/ |
D | malloc_hooks.cc | 130 perfetto::base::NoDestructor<std::shared_ptr<perfetto::profiling::Client>>
|
/external/libchrome/ipc/ |
D | ipc_mojo_bootstrap.cc | 89 static base::NoDestructor<ControllerMemoryDumpProvider> provider; in GetMemoryDumpProvider()
|