• Home
  • Raw
  • Download

Lines Matching refs:base_

59     : base_(reinterpret_cast<uint8_t*>(base)), footprint_(capacity),  in RosAlloc()
73 memset(base_, 0, max_capacity); in RosAlloc()
75 CHECK_EQ(madvise(base_, max_capacity, MADV_DONTNEED), 0); in RosAlloc()
80 << std::hex << (intptr_t)base_ << ", end=" in RosAlloc()
81 << std::hex << (intptr_t)(base_ + capacity_) in RosAlloc()
104 FreePageRun* free_pages = reinterpret_cast<FreePageRun*>(base_); in RosAlloc()
126 MEMORY_TOOL_MAKE_DEFINED(base_, capacity_); in ~RosAlloc()
180 … if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in AllocPages()
208 DCHECK_EQ(last_free_page_run->End(this), base_ + new_footprint); in AllocPages()
211 FreePageRun* new_free_page_run = reinterpret_cast<FreePageRun*>(base_ + footprint_); in AllocPages()
500 DCHECK_LE(base_, ptr); in FreeInternal()
501 DCHECK_LT(ptr, base_ + footprint_); in FreeInternal()
526 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in FreeInternal()
1027 DCHECK_LE(base_, ptr); in BulkFree()
1028 DCHECK_LT(ptr, base_ + footprint_); in BulkFree()
1040 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in BulkFree()
1048 run = reinterpret_cast<Run*>(base_ + pi * kPageSize); in BulkFree()
1067 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in BulkFree()
1075 run = reinterpret_cast<Run*>(base_ + pi * kPageSize); in BulkFree()
1223 FreePageRun* fpr = reinterpret_cast<FreePageRun*>(base_ + i * kPageSize); in DumpPageMap()
1276 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in DumpPageMap()
1300 DCHECK_LE(base_, ptr); in UsableSize()
1301 DCHECK_LT(ptr, base_ + footprint_); in UsableSize()
1333 Run* run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in UsableSize()
1353 if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in Trim()
1358 DCHECK_EQ(last_free_page_run->End(this), base_ + footprint_); in Trim()
1413 FreePageRun* fpr = reinterpret_cast<FreePageRun*>(base_ + i * kPageSize); in InspectAll()
1443 void* start = base_ + i * kPageSize; in InspectAll()
1444 void* end = base_ + (i + num_pages) * kPageSize; in InspectAll()
1461 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in InspectAll()
1762 FreePageRun* fpr = reinterpret_cast<FreePageRun*>(base_ + i * kPageSize); in Verify()
1792 uint8_t* start = base_ + i * kPageSize; in Verify()
1814 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in Verify()
2005 FreePageRun* fpr = reinterpret_cast<FreePageRun*>(base_ + i * kPageSize); in ReleasePages()
2144 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in DumpStats()