Home
last modified time | relevance | path

Searched refs:page_layout (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/include/perfetto/ext/tracing/core/
Dshared_memory_abi.h536 uint32_t page_layout,
557 uint16_t GetChunkSizeForLayout(uint32_t page_layout) const { in GetChunkSizeForLayout() argument
558 return chunk_sizes_[(page_layout & kLayoutMask) >> kLayoutShift]; in GetChunkSizeForLayout()
561 static ChunkState GetChunkStateFromLayout(uint32_t page_layout, in GetChunkStateFromLayout() argument
563 return static_cast<ChunkState>((page_layout >> (chunk_idx * kChunkShift)) & in GetChunkStateFromLayout()
567 static constexpr uint32_t GetNumChunksForLayout(uint32_t page_layout) { in GetNumChunksForLayout() argument
568 return kNumChunksForLayout[(page_layout & kLayoutMask) >> kLayoutShift]; in GetNumChunksForLayout()
575 static uint32_t GetUsedChunks(uint32_t page_layout) { in GetUsedChunks() argument
576 const uint32_t num_chunks = GetNumChunksForLayout(page_layout); in GetUsedChunks()
579 res |= ((page_layout & kChunkMask) != kChunkFree) ? (1 << i) : 0; in GetUsedChunks()
[all …]
/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc145 uint32_t page_layout, in GetChunkUnchecked() argument
147 const size_t num_chunks = GetNumChunksForLayout(page_layout); in GetChunkUnchecked()
150 const uint16_t chunk_size = GetChunkSizeForLayout(page_layout); in GetChunkUnchecked()
Dtrace_writer_impl_unittest.cc82 uint32_t page_layout = abi->GetPageLayout(page_idx); in TEST_P() local
83 size_t num_chunks = SharedMemoryABI::GetNumChunksForLayout(page_layout); in TEST_P()
/external/ImageMagick/coders/
Dpdf.c1121 *page_layout; in WritePOCKETMODImage() local
1148 page_layout=MontageImages(images,montage_info,exception); in WritePOCKETMODImage()
1151 if (page_layout == (Image *) NULL) in WritePOCKETMODImage()
1153 AppendImageToList(&pocket_mod,page_layout); in WritePOCKETMODImage()