Searched refs:page_size_ (Results 1 – 5 of 5) sorted by relevance
/external/google-breakpad/src/common/ |
D | memory.h | 64 : page_size_(getpagesize()), in PageAllocator() 78 if (current_page_ && page_size_ - page_offset_ >= bytes) { in Alloc() 81 if (page_offset_ == page_size_) { in Alloc() 90 (bytes + sizeof(PageHeader) + page_size_ - 1) / page_size_; in Alloc() 96 (page_size_ - (page_size_ * pages - (bytes + sizeof(PageHeader)))) % in Alloc() 97 page_size_; in Alloc() 98 current_page_ = page_offset_ ? ret + page_size_ * (pages - 1) : NULL; in Alloc() 108 if ((p >= current) && (p < current + header->num_pages * page_size_)) in OwnsPointer() 119 void *a = sys_mmap(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages() 122 void *a = sys_mmap2(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages() [all …]
|
/external/webp/src/enc/ |
D | token.c | 50 b->page_size_ = (page_size < MIN_PAGE_SIZE) ? MIN_PAGE_SIZE : page_size; in VP8TBufferInit() 62 VP8TBufferInit(b, b->page_size_); in VP8TBufferClear() 69 const size_t size = sizeof(*page) + b->page_size_ * sizeof(token_t); in TBufferNewPage() 80 b->left_ = b->page_size_; in TBufferNewPage() 231 int n = b->page_size_; in VP8EmitTokens() 257 int n = b->page_size_; in VP8EstimateTokenSize()
|
D | vp8enci.h | 312 int page_size_; // number of tokens per page member
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_ptrace_dumper_unittest.cc | 181 size_t page_size_; member in LinuxPtraceDumperMappingsTest 194 page_size_ = sysconf(_SC_PAGESIZE); in SetUp() 195 const size_t kMappingSize = 3 * page_size_; in SetUp() 213 mmap(mapping + 2 * page_size_, in SetUp() 214 page_size_, in SetUp() 220 page_size_)); in SetUp()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 1015 page_size_ = GetPageSizeCached(); in InitLinkerInitialized() 1027 if (alignment > page_size_) in Allocate() 1034 CHECK(IsAligned(map_beg, page_size_)); in Allocate() 1037 uptr res = map_beg + page_size_; in Allocate() 1041 CHECK(IsAligned(res, page_size_)); in Allocate() 1113 return RoundUpTo(GetHeader(p)->size, page_size_); in GetActuallyAllocatedSize() 1119 if (!IsAligned(reinterpret_cast<uptr>(p), page_size_)) { in GetMetaData() 1121 CHECK(IsAligned(reinterpret_cast<uptr>(p), page_size_)); in GetMetaData() 1231 CHECK(IsAligned(p, page_size_)); in GetHeader() 1232 return reinterpret_cast<Header*>(p - page_size_); in GetHeader() [all …]
|