Lines Matching refs:base
8 #include "src/base/bits.h"
9 #include "src/base/bounded-page-allocator.h"
10 #include "src/base/cpu.h"
11 #include "src/base/emulated-virtual-address-subspace.h"
12 #include "src/base/lazy-instance.h"
13 #include "src/base/utils/random-number-generator.h"
14 #include "src/base/virtual-address-space-page-allocator.h"
15 #include "src/base/virtual-address-space.h"
51 base::CPU cpu;
165 CHECK(base::bits::IsPowerOfTwo(size));
203 reservation_base_ = address_space_->base();
222 std::make_unique<base::VirtualAddressSpacePageAllocator>(
238 CHECK(base::bits::IsPowerOfTwo(size));
239 CHECK(base::bits::IsPowerOfTwo(size_to_reserve));
246 // base address for the sandbox than the embedder.
247 base::RandomNumberGenerator rng;
252 // We try to ensure that base + size is still (mostly) within the process'
259 DCHECK(base::bits::IsPowerOfTwo(highest_allowed_address));
270 // Take this base if it meets the requirements or if this is the last
275 // Can't use this base, so free the reservation and try again
287 address_space_ = std::make_unique<base::EmulatedVirtualAddressSubspace>(
290 std::make_unique<base::VirtualAddressSpacePageAllocator>(