Lines Matching refs:Address

184   INLINE(Address address()) { return reinterpret_cast<Address>(this); }  in INLINE()
186 INLINE(static Bitmap* FromAddress(Address addr)) { in INLINE()
276 static MemoryChunk* FromAddress(Address a) { in FromAddress()
285 static inline MemoryChunk* FromAnyPointerAddress(Heap* heap, Address addr);
287 Address address() { return reinterpret_cast<Address>(this); } in address()
319 owner_ = reinterpret_cast<Address>(space) + kPageHeaderTag; in set_owner()
348 bool Contains(Address addr) { in Contains()
355 bool ContainsLimit(Address addr) { in ContainsLimit()
511 Address slot_address = reinterpret_cast<Address>(slot); in IsLeftOfProgressBar()
517 static void IncrementLiveBytesFromGC(Address address, int by) { in IncrementLiveBytesFromGC()
521 static void IncrementLiveBytesFromMutator(Address address, int by);
558 void SetArea(Address area_start, Address area_end) { in SetArea()
586 inline uint32_t AddressToMarkbitIndex(Address addr) { in AddressToMarkbitIndex()
590 inline static uint32_t FastAddressToMarkbitIndex(Address addr) { in FastAddressToMarkbitIndex()
596 inline Address MarkbitIndexToAddress(uint32_t index) { in MarkbitIndexToAddress()
631 Address area_start() { return area_start_; } in area_start()
632 Address area_end() { return area_end_; } in area_end()
639 static inline void UpdateHighWaterMark(Address mark);
646 Address area_start_;
647 Address area_end_;
654 Address owner_;
680 static MemoryChunk* Initialize(Heap* heap, Address base, size_t size,
681 Address area_start, Address area_end,
709 INLINE(static Page* FromAddress(Address a)) { in INLINE()
717 INLINE(static Page* FromAllocationTop(Address top)) { in INLINE()
729 static bool IsAlignedToPageSize(Address a) { in IsAlignedToPageSize()
734 INLINE(int Offset(Address a)) { in INLINE()
740 Address OffsetToAddress(int offset) { in OffsetToAddress()
879 Address start() { in start()
881 return static_cast<Address>(code_range_->address()); in start()
883 bool contains(Address address) { in contains()
885 Address start = static_cast<Address>(code_range_->address()); in contains()
892 MUST_USE_RESULT Address AllocateRawMemory(const size_t requested_size,
895 bool CommitRawMemory(Address start, size_t length);
896 bool UncommitRawMemory(Address start, size_t length);
897 void FreeRawMemory(Address buf, size_t length);
907 FreeBlock(Address start_arg, size_t size_arg) in FreeBlock()
913 : start(static_cast<Address>(start_arg)), size(size_arg) { in FreeBlock()
918 Address start;
950 starts_[idx] = reinterpret_cast<Address>(-1); in Clear()
954 Address StartFor(Address addr) { return starts_[RegionNumber(addr)]; } in StartFor()
956 void AddObject(Address addr, int size) { in AddObject()
964 static inline int RegionNumber(Address addr) { in RegionNumber()
968 static void Update(Address addr, int size) { in Update()
986 Address starts_[kSize];
1054 Address ReserveAlignedMemory(size_t requested, size_t alignment,
1056 Address AllocateAlignedMemory(size_t reserve_size, size_t commit_size,
1060 bool CommitMemory(Address addr, size_t size, Executability executable);
1063 void FreeMemory(Address addr, size_t size, Executability executable);
1069 bool CommitBlock(Address start, size_t size, Executability executable);
1075 bool UncommitBlock(Address start, size_t size);
1079 void ZapBlock(Address start, size_t size);
1104 Address start, size_t commit_size,
1207 Address cur_addr_; // Current iteration point.
1208 Address cur_end_; // End iteration point.
1221 inline void Initialize(PagedSpace* owner, Address start, Address end,
1255 INLINE(void set_top(Address top)) { in INLINE()
1261 INLINE(Address top()) const { in INLINE()
1267 Address* top_address() { return &top_; } in top_address()
1269 INLINE(void set_limit(Address limit)) { in INLINE()
1275 INLINE(Address limit()) const { in INLINE()
1282 Address* limit_address() { return &limit_; } in limit_address()
1293 Address top_;
1295 Address limit_;
1402 static FreeListNode* FromAddress(Address address) { in FromAddress()
1532 int Free(Address start, int size_in_bytes);
1667 inline bool Contains(Address a);
1674 Object* FindObject(Address addr);
1747 Address top() { return allocation_info_.top(); } in top()
1748 Address limit() { return allocation_info_.limit(); } in limit()
1751 Address* allocation_top_address() { return allocation_info_.top_address(); } in allocation_top_address()
1754 Address* allocation_limit_address() { in allocation_limit_address()
1766 int Free(Address start, int size_in_bytes) { in Free()
1776 void SetTopAndLimit(Address top, Address limit) { in SetTopAndLimit()
2005 static bool IsAtStart(Address addr) { in IsAtStart()
2010 static bool IsAtEnd(Address addr) { in IsAtEnd()
2014 Address address() { return reinterpret_cast<Address>(this); } in address()
2017 static inline NewSpacePage* FromAddress(Address address_in_page) { in FromAddress()
2018 Address page_start = in FromAddress()
2019 reinterpret_cast<Address>(reinterpret_cast<uintptr_t>(address_in_page) & in FromAddress()
2027 static inline NewSpacePage* FromLimit(Address address_limit) { in FromLimit()
2032 static inline bool OnSamePage(Address address1, Address address2) { in OnSamePage()
2042 static NewSpacePage* Initialize(Heap* heap, Address start,
2074 void SetUp(Address start, int initial_capacity, int maximum_capacity);
2094 Address space_start() { in space_start()
2100 Address page_low() { return current_page_->area_start(); } in page_low()
2103 Address space_end() { return anchor_.prev_page()->area_end(); } in space_end()
2106 Address page_high() { return current_page_->area_end(); } in page_high()
2119 Address age_mark() { return age_mark_; } in age_mark()
2120 void set_age_mark(Address mark);
2124 bool Contains(Address a) { in Contains()
2158 static void AssertValidRange(Address from, Address to);
2161 inline static void AssertValidRange(Address from, Address to) {} in AssertValidRange()
2201 Address start_;
2203 Address age_mark_;
2241 SemiSpaceIterator(NewSpace* space, Address start);
2243 SemiSpaceIterator(Address from, Address to);
2266 void Initialize(Address start, Address end, HeapObjectCallback size_func);
2269 Address current_;
2271 Address limit_;
2290 inline NewSpacePageIterator(Address start, Address limit);
2345 bool Contains(Address a) { in Contains()
2351 Address a = reinterpret_cast<Address>(o); in Contains()
2415 Address top() { in top()
2420 void set_top(Address top) { in set_top()
2426 Address limit() { in limit()
2432 Address bottom() { return to_space_.space_start(); } in bottom()
2435 Address age_mark() { return from_space_.age_mark(); } in age_mark()
2437 void set_age_mark(Address mark) { to_space_.set_age_mark(mark); } in set_age_mark()
2441 Address start() { return start_; } in start()
2444 INLINE(uint32_t AddressToMarkbitIndex(Address addr)) { in INLINE()
2451 INLINE(Address MarkbitIndexToAddress(uint32_t index)) { in INLINE()
2452 return reinterpret_cast<Address>(index << kPointerSizeLog2); in INLINE()
2456 Address* allocation_top_address() { return allocation_info_.top_address(); } in allocation_top_address()
2459 Address* allocation_limit_address() { in allocation_limit_address()
2478 Address FromSpacePageLow() { return from_space_.page_low(); } in FromSpacePageLow()
2479 Address FromSpacePageHigh() { return from_space_.page_high(); } in FromSpacePageHigh()
2480 Address FromSpaceStart() { return from_space_.space_start(); } in FromSpaceStart()
2481 Address FromSpaceEnd() { return from_space_.space_end(); } in FromSpaceEnd()
2484 Address ToSpaceStart() { return to_space_.space_start(); } in ToSpaceStart()
2485 Address ToSpaceEnd() { return to_space_.space_end(); } in ToSpaceEnd()
2487 inline bool ToSpaceContains(Address address) { in ToSpaceContains()
2490 inline bool FromSpaceContains(Address address) { in FromSpaceContains()
2550 Address chunk_base_;
2560 Address start_;
2575 Address top_on_previous_step_;
2749 Object* FindObject(Address a);
2753 LargePage* FindPage(Address a);
2777 bool SlowContains(Address addr) { return FindObject(addr)->IsHeapObject(); } in SlowContains()