Searched refs:Memory (Results 1 – 8 of 8) sorted by relevance
31 struct Memory { struct34 static Memory<kDivisor> FromBytes(size_t bytes) { in FromBytes() argument36 return Memory<kDivisor>(bytes); in FromBytes()39 Memory() : Value(0u) {} in Memory() function40 Memory(size_t value) : Value(value) { // NOLINT [runtime/explicit] [5] in Memory() argument62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) { argument66 using MemoryKiB = Memory<1024>;
96 struct CmdlineType<Memory<Divisor>> : CmdlineTypeParser<Memory<Divisor>> {97 using typename CmdlineTypeParser<Memory<Divisor>>::Result;109 return Result::Success(Memory<Divisor>(val));178 static const char* Name() { return Memory<Divisor>::Name(); }
233 EXPECT_SINGLE_PARSE_VALUE(Memory<1>(234), "-Xss234", M::StackSize); in TEST_F()
50 : memory_(unwindstack::Memory::CreateProcessMemory(getpid())), in UnwindHelper()77 std::shared_ptr<unwindstack::Memory> memory_;
42 using MemoryKiB = Memory<1024>;123 .WithType<Memory<1>>() in MakeParser()311 .WithType<Memory<1>>() in MakeParser()
61 RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss105 RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeOb…
75 TEST_F(SwapSpaceTest, Memory) { in TEST_F() argument
227 static const void* Alloc(size_t size) { return Memory()->AllocateData(size); } in Alloc()228 static void Free(const void* ptr) { Memory()->FreeData(reinterpret_cast<const uint8_t*>(ptr)); } in Free()236 return const_cast<T*>(Memory()->GetWritableDataAddress(v)); in Writable()239 static jit::JitMemoryRegion* Memory() ASSERT_CAPABILITY(Locks::jit_lock_) { in Memory() function