Home
last modified time | relevance | path

Searched refs:PageHeader (Results 1 – 8 of 8) sorted by relevance

/external/google-breakpad/src/common/
Dmemory_allocator.h90 (bytes + sizeof(PageHeader) + page_size_ - 1) / page_size_; in Alloc()
96 (page_size_ - (page_size_ * pages - (bytes + sizeof(PageHeader)))) % in Alloc()
100 return ret + sizeof(PageHeader); in Alloc()
106 for (PageHeader* header = last_; header; header = header->next) { in OwnsPointer()
130 struct PageHeader *header = reinterpret_cast<PageHeader*>(a); in GetNPages()
141 PageHeader *next; in FreeAll()
143 for (PageHeader *cur = last_; cur; cur = next) { in FreeAll()
149 struct PageHeader { struct
150 PageHeader *next; // pointer to the start of the next set of pages. argument
155 PageHeader *last_; argument
/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc45 return ((page_size - sizeof(SharedMemoryABI::PageHeader)) / divider) & ~3UL; in GetChunkSize()
96 static_assert(sizeof(PageHeader) == 8, "PageHeader size"); in Initialize()
151 size_t chunk_offset_in_page = sizeof(PageHeader) + chunk_idx * chunk_size; in GetChunkUnchecked()
166 PageHeader* phdr = page_header(page_idx); in TryAcquireChunk()
211 PageHeader* phdr = page_header(page_idx); in TryPartitionPage()
246 PageHeader* phdr = page_header(page_idx); in ReleaseChunk()
324 PERFETTO_DCHECK(offset >= sizeof(PageHeader)); in GetPageAndChunkIndex()
326 PERFETTO_DCHECK((offset - sizeof(PageHeader)) % chunk.size() == 0); in GetPageAndChunkIndex()
327 const size_t chunk_idx = (offset - sizeof(PageHeader)) / chunk.size(); in GetPageAndChunkIndex()
Dshared_memory_abi_unittest.cc112 (page_size() - sizeof(SharedMemoryABI::PageHeader)) / num_chunks; in TEST_P()
Dtrace_buffer.cc78 static_assert(sizeof(ChunkRecord) == sizeof(SharedMemoryABI::PageHeader) + in TraceBuffer()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader.h61 struct PageHeader { struct
174 static base::Optional<CpuReader::PageHeader> ParsePageHeader(
187 const PageHeader* page_header,
Dcpu_reader.cc252 base::Optional<PageHeader> hdr = in ReadAndProcessBatch()
390 base::Optional<PageHeader> page_header = in ProcessPagesForDataSource()
442 base::Optional<CpuReader::PageHeader> CpuReader::ParsePageHeader( in ParsePageHeader()
455 PageHeader page_header; in ParsePageHeader()
486 const PageHeader* page_header, in ParsePagePayload()
Dcpu_reader_unittest.cc326 CpuReader::PageHeader parsed = ret.value(); in TEST()
341 CpuReader::PageHeader parsed = ret.value(); in TEST()
391 base::Optional<CpuReader::PageHeader> page_header = in TEST()
519 base::Optional<CpuReader::PageHeader> page_header = in TEST()
568 base::Optional<CpuReader::PageHeader> page_header = in TEST()
606 base::Optional<CpuReader::PageHeader> page_header = in TEST()
671 base::Optional<CpuReader::PageHeader> page_header = in TEST()
780 base::Optional<CpuReader::PageHeader> page_header = in TEST()
830 base::Optional<CpuReader::PageHeader> page_header = in TEST()
1400 base::Optional<CpuReader::PageHeader> page_header = in TEST()
[all …]
/external/perfetto/include/perfetto/ext/tracing/core/
Dshared_memory_abi.h276 struct PageHeader { struct
466 PageHeader* page_header(size_t page_idx) { in page_header()
467 return reinterpret_cast<PageHeader*>(page_start(page_idx)); in page_header()
550 PageHeader* phdr = page_header(page_idx); in GetChunkState()