reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
76 page_size_ = GetPageSizeCached(); 88 if (alignment > page_size_) 101 CHECK(IsAligned(map_beg, page_size_)); 104 uptr res = map_beg + page_size_; 108 CHECK(IsAligned(res, page_size_)); 169 return RoundUpTo(GetHeader(p)->size, page_size_); 175 if (!IsAligned(reinterpret_cast<uptr>(p), page_size_)) { 177 CHECK(IsAligned(reinterpret_cast<uptr>(p), page_size_)); 301 CHECK(IsAligned(p, page_size_)); 302 return reinterpret_cast<Header*>(p - page_size_); 309 CHECK(IsAligned((uptr)h, page_size_)); 310 return reinterpret_cast<void*>(reinterpret_cast<uptr>(h) + page_size_); 314 return RoundUpTo(size, page_size_) + page_size_; 314 return RoundUpTo(size, page_size_) + page_size_;