/external/perfetto/src/base/ |
D | paged_memory.cc | 53 PagedMemory PagedMemory::Allocate(size_t req_size, int flags) { in Allocate() 60 return PagedMemory(); in Allocate() 67 return PagedMemory(); in Allocate() 75 auto memory = PagedMemory(usable_region, req_size); in Allocate() 85 PagedMemory::PagedMemory() {} in PagedMemory() function in perfetto::base::PagedMemory 88 PagedMemory::PagedMemory(char* p, size_t size) : p_(p), size_(size) { in PagedMemory() function in perfetto::base::PagedMemory 92 PagedMemory::PagedMemory(PagedMemory&& other) noexcept { in PagedMemory() function in perfetto::base::PagedMemory 98 PagedMemory& PagedMemory::operator=(PagedMemory&& other) { in operator =() 99 this->~PagedMemory(); in operator =() 100 new (this) PagedMemory(std::move(other)); in operator =() [all …]
|
D | paged_memory_unittest.cc | 41 PagedMemory mem = PagedMemory::Allocate(kSize); in TEST() 69 PagedMemory mem = PagedMemory::Allocate(kSize); in TEST() 98 PagedMemory mem = PagedMemory::Allocate(kSize, PagedMemory::kDontCommit); in TEST() 153 PagedMemory mem = in TEST() 154 PagedMemory::Allocate(kSize, PagedMemory::kDontCommit); in TEST() 168 PagedMemory mem = PagedMemory::Allocate(kSize); in TEST() 199 auto mem = PagedMemory::Allocate(kMemLimit * 2, PagedMemory::kMayFail); in TEST()
|
D | watchdog_unittest.cc | 82 auto void_ptr = PagedMemory::Allocate(kSize); in TEST()
|
/external/perfetto/include/perfetto/ext/base/ |
D | paged_memory.h | 35 class PagedMemory { 38 PagedMemory(); 40 ~PagedMemory(); 42 PagedMemory(PagedMemory&& other) noexcept; 43 PagedMemory& operator=(PagedMemory&& other); 61 static PagedMemory Allocate(size_t size, int flags = 0); 83 PagedMemory(char* p, size_t size); 85 PagedMemory(const PagedMemory&) = delete; 87 PagedMemory& operator=(const PagedMemory&) = default;
|
/external/perfetto/src/tracing/internal/ |
D | in_process_tracing_backend.cc | 47 base::PagedMemory mem_; 59 : mem_(base::PagedMemory::Allocate(size)) {} in InProcessShm()
|
/external/perfetto/src/trace_processor/containers/ |
D | string_pool.h | 159 : mem_(base::PagedMemory::Allocate(size, in Block() 160 base::PagedMemory::kDontCommit)), in Block() 188 base::PagedMemory mem_;
|
/external/perfetto/src/trace_processor/rpc/ |
D | proto_ring_buffer.cc | 77 : buf_(base::PagedMemory::Allocate(kGrowBytes)) {} in ProtoRingBuffer() 140 auto new_buf = base::PagedMemory::Allocate(new_size); in Append()
|
D | proto_ring_buffer.h | 129 base::PagedMemory buf_;
|
D | httpd.cc | 52 rxbuf(base::PagedMemory::Allocate(kMaxRequestSize)) {} in Client() 56 base::PagedMemory rxbuf;
|
/external/perfetto/src/tracing/test/ |
D | test_shared_memory.cc | 27 mem_ = base::PagedMemory::Allocate(size); in TestSharedMemory()
|
D | test_shared_memory.h | 45 base::PagedMemory mem_;
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer.cc | 130 base::PagedMemory buf_; 140 buf_(base::PagedMemory::Allocate(kMaxPacketSize)), in ZipPacketWriter()
|
/external/perfetto/src/ipc/ |
D | buffered_frame_deserializer.h | 128 base::PagedMemory buf_;
|
D | buffered_frame_deserializer.cc | 55 buf_ = base::PagedMemory::Allocate(capacity_); in BeginReceive()
|
/external/perfetto/tools/trace_to_text/ |
D | utils.h | 90 base::PagedMemory buf_;
|
D | trace_to_systrace.cc | 119 buffer_(base::PagedMemory::Allocate(kBufferSize)), in QueryWriter() 158 base::PagedMemory buffer_;
|
D | utils.cc | 164 buf_(base::PagedMemory::Allocate(kCompressionBufferSize)), in DeflateTraceWriter()
|
/external/perfetto/src/traced/probes/android_log/ |
D | android_log_data_source.h | 134 base::PagedMemory buf_;
|
/external/perfetto/src/traced/probes/sys_stats/ |
D | sys_stats_data_source.h | 94 base::PagedMemory read_buf_;
|
D | sys_stats_data_source.cc | 90 read_buf_ = base::PagedMemory::Allocate(kReadBufSize); in SysStatsDataSource()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_controller.h | 116 base::PagedMemory parsing_mem_;
|
D | ftrace_controller.cc | 178 base::PagedMemory::Allocate(base::kPageSize * kParsingBufferSizePages); in StartIfNeeded()
|
/external/perfetto/src/kallsyms/ |
D | kernel_symbol_map.cc | 72 base::PagedMemory buffer = base::PagedMemory::Allocate(kBufSize); in ForEachSym()
|
/external/perfetto/src/tracing/core/ |
D | trace_buffer.cc | 89 data_ = base::PagedMemory::Allocate( in Initialize() 90 size, base::PagedMemory::kMayFail | base::PagedMemory::kDontCommit); in Initialize()
|
D | trace_buffer.h | 621 base::PagedMemory data_;
|