Lines Matching refs:Offset
105 #define ASSERT_PAGE_OFFSET(offset) \
106 ASSERT((Page::kObjectStartOffset <= offset) \
107 && (offset <= Page::kPageSize))
125 // page offset. The exact encoding is described in the comments for
150 ASSERT_PAGE_OFFSET(p->Offset(top));
171 // Return the allocation watermark offset from the beginning of the page.
206 // Returns the offset of a given address to this page.
207 INLINE(int Offset(Address a)) {
208 int offset = static_cast<int>(a - address());
209 ASSERT_PAGE_OFFSET(offset);
210 return offset;
213 // Returns the address for a given offset to the this page.
214 Address OffsetToAddress(int offset) {
215 ASSERT_PAGE_OFFSET(offset);
216 return address() + offset;
248 // The start offset of the object area in a page. Aligned to both maps and
336 // offset of allocation top.
1141 // Computes the offset of a given address in this space to the beginning
1369 // The offset of an address from the beginning of the space.
2092 int offset = live_maps % kMapsPerPage * Map::kSize;
2093 Address top = top_page->ObjectAreaStart() + offset;