Lines Matching refs:uint8_t
35 constexpr uint8_t CardTable::kCardClean;
36 constexpr uint8_t CardTable::kCardDirty;
60 CardTable* CardTable::Create(const uint8_t* heap_begin, size_t heap_capacity) { in Create()
74 uint8_t* cardtable_begin = mem_map->Begin(); in Create()
80 uint8_t* biased_begin = reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(cardtable_begin) - in Create()
92 CardTable::CardTable(MemMap* mem_map, uint8_t* biased_begin, size_t offset) in CardTable()
102 uint8_t* card_start = CardFromAddr(space->Begin()); in ClearSpaceCards()
103 uint8_t* card_end = CardFromAddr(space->End()); // Make sure to round up. in ClearSpaceCards()
112 void CardTable::ClearCardRange(uint8_t* start, uint8_t* end) { in ClearCardRange()
120 uint8_t* start_card = CardFromAddr(start); in ClearCardRange()
121 uint8_t* end_card = CardFromAddr(end); in ClearCardRange()
122 uint8_t* round_start = AlignUp(start_card, kPageSize); in ClearCardRange()
123 uint8_t* round_end = AlignDown(end_card, kPageSize); in ClearCardRange()
136 void CardTable::CheckAddrIsInCardTable(const uint8_t* addr) const { in CheckAddrIsInCardTable()
137 uint8_t* card_addr = biased_begin_ + ((uintptr_t)addr >> kCardShift); in CheckAddrIsInCardTable()
138 uint8_t* begin = mem_map_->Begin() + offset_; in CheckAddrIsInCardTable()
139 uint8_t* end = mem_map_->End(); in CheckAddrIsInCardTable()