/third_party/node/deps/v8/src/base/ |
D | macros.h | 326 inline T RoundDown(T x, intptr_t m) { in RoundDown() function 333 constexpr inline T RoundDown(T x) { in RoundDown() function 344 return RoundDown<T>(static_cast<T>(x + m - 1), m); in RoundUp() 349 return RoundDown<m, T>(static_cast<T>(x + (m - 1))); in RoundUp()
|
D | emulated-virtual-address-subspace.cc | 44 return RoundDown(addr, allocation_granularity()); in RandomPageAddress() 80 hint = RoundDown(hint, alignment); in AllocatePages()
|
D | virtual-address-space.cc | 222 return RoundDown(addr, allocation_granularity()); in RandomPageAddress()
|
/third_party/node/deps/v8/src/sandbox/ |
D | sandbox.cc | 185 Address hint = RoundDown(vas->RandomPageAddress(), kSandboxAlignment); in Initialize() 263 hint = RoundDown(hint, kSandboxAlignment); in InitializeAsPartiallyReservedSandbox()
|
/third_party/node/deps/v8/src/execution/arm64/ |
D | frame-constants-arm64.cc | 27 return RoundDown(register_count, 2) + 1; in RegisterStackSlotCount()
|
/third_party/node/deps/v8/src/heap/cppgc/ |
D | object-allocator.cc | 39 ? RoundDown(offset_begin, kEntrySize) in MarkRangeAsYoung() 43 : RoundDown(offset_end, kEntrySize); in MarkRangeAsYoung()
|
D | caged-heap-local-data.cc | 37 RoundDown(reinterpret_cast<uintptr_t>(table_.data() + table_.size()), in Reset()
|
D | caged-heap.cc | 36 void* hint = reinterpret_cast<void*>(RoundDown( in ReserveCagedHeap()
|
D | sweeper.cc | 95 RoundDown(reinterpret_cast<uintptr_t>(unused_range.second), in Free()
|
/third_party/node/deps/v8/src/utils/ |
D | allocation.cc | 377 RoundDown(params.requested_start_hint, in InitReservation() 392 RoundDown(params.requested_start_hint, in InitReservation() 458 RoundDown(params.reservation_size - (allocatable_base - base_) - in InitReservation()
|
/third_party/node/deps/v8/src/heap/base/ |
D | active-system-pages.cc | 37 RoundDown(start, page_size) >> page_size_bits; in Add()
|
/third_party/node/deps/v8/src/common/ |
D | ptr-compr-inl.h | 36 return RoundDown<kPtrComprCageBaseAlignment>(on_heap_addr); in GetPtrComprCageBaseAddress()
|
/third_party/node/deps/v8/src/zone/ |
D | accounting-allocator.cc | 33 void* hint = reinterpret_cast<void*>(RoundDown( in ReserveAddressSpace()
|
D | zone.cc | 134 DCHECK_EQ(size, RoundDown(size, kAlignmentInBytes)); in NewExpand()
|
/third_party/node/deps/v8/src/heap/ |
D | spaces.h | 155 return RoundDown(size, kCodeAlignment); in RoundSizeDownToObjectAlignment() 157 return RoundDown(size, kTaggedSize); in RoundSizeDownToObjectAlignment()
|
D | new-spaces.cc | 106 minimum_capacity_ = RoundDown(initial_capacity, Page::kPageSize); in SetUp() 108 maximum_capacity_ = RoundDown(maximum_capacity, Page::kPageSize); in SetUp()
|
D | spaces.cc | 148 size_t unused = RoundDown(static_cast<size_t>(area_end() - filler.address()), in ShrinkToHighWaterMark()
|
D | paged-spaces.h | 552 return RoundDown(size, Map::kSize); in RoundSizeDownToObjectAlignment()
|
D | memory-allocator.cc | 648 Address discardable_end = RoundDown(addr + size, page_size); in ComputeDiscardMemoryArea()
|
D | read-only-spaces.cc | 730 size_t unused = RoundDown(static_cast<size_t>(area_end() - filler.address()), in ShrinkToHighWaterMark()
|
/third_party/node/deps/v8/src/base/platform/ |
D | platform-linux.cc | 188 RoundDown(std::min(gap_end, boundary_end), alignment); in GetFreeMemoryRangesWithin()
|
D | platform-posix.cc | 188 RoundDown(reinterpret_cast<uintptr_t>(result) + size, kHugePageSize); in Allocate() 316 raw_addr = RoundDown(raw_addr, AllocatePageSize()); in GetRandomMmapAddr()
|
/third_party/node/deps/v8/src/init/ |
D | isolate-allocator.cc | 196 RoundDown(isolate_address, commit_page_size); in CommitPagesForIsolate()
|
/third_party/node/deps/v8/src/wasm/ |
D | wasm-code-manager.cc | 831 Address begin = RoundDown(region.begin(), commit_page_size); in MakeWritable() 858 RoundDown(region.begin(), commit_page_size)); in FreeCode() 860 std::min(RoundDown(merged_region.end(), commit_page_size), in FreeCode()
|
/third_party/node/deps/v8/src/objects/ |
D | code.cc | 698 DCHECK_LE(RoundDown(age_addr, kTaggedSize) + kTaggedSize, address() + Size()); in MakeOlder()
|