Lines Matching refs:Offset
792 #define SLOT_ADDR(obj, offset) \
793 reinterpret_cast<Object**>((obj)->address() + offset)
1615 // Any valid map page offset must lie in the object area of the page, so map
1637 for (int offset = 2 * kIntSize;
1638 offset < free_size;
1639 offset += kPointerSize) {
1640 Memory::Address_at(free_start + offset) = kZapValue;
1709 // The forwarding address is encoded at the same offset as the current
1716 int offset =
1718 Memory::Address_at(heap->new_space()->FromSpaceLow() + offset) =
1724 // offset (in terms of live bytes) from the address of the first live object
1730 int* offset) {
1732 if (*offset == 0) {
1738 MapWord::EncodeAddress(old_object->map()->address(), *offset);
1740 *offset += object_size;
1741 ASSERT(*offset <= Page::kObjectAreaSize);
1763 int* offset) {
1786 Encode(collector->heap(), object, object_size, forwarded, offset);
1837 // The offset of each live object in the page from the first live object
1839 int offset = 0;
1846 &offset);
2797 int offset = encoding.DecodeOffset();
2798 obj->set_map_word(MapWord::EncodeAddress(new_map_addr, offset));
2818 // Offset to the first live object's forwarding address.
2819 int offset = encoding.DecodeOffset();
2828 int forwarded_offset = forwarded_page->Offset(first_forwarded);
2835 if (forwarded_offset + offset < mc_top_offset) {
2837 return first_forwarded + offset;
2844 offset -= (mc_top_offset - forwarded_offset);
2845 offset += Page::kObjectStartOffset;
2847 ASSERT_PAGE_OFFSET(offset);
2848 ASSERT(next_page->OffsetToAddress(offset) < next_page->AllocationTop());
2850 return next_page->OffsetToAddress(offset);
3059 int offset = heap()->new_space()->ToSpaceOffsetForAddress(old_addr);
3062 Memory::Address_at(heap()->new_space()->FromSpaceLow() + offset);