Home
last modified time | relevance | path

Searched refs:Memory (Results 1 – 8 of 8) sorted by relevance

/art/cmdline/
Dmemory_representation.h31 struct Memory { struct
34 static Memory<kDivisor> FromBytes(size_t bytes) { in FromBytes() argument
36 return Memory<kDivisor>(bytes); in FromBytes()
39 Memory() : Value(0u) {} in Memory() function
40 Memory(size_t value) : Value(value) { // NOLINT [runtime/explicit] [5] in Memory() function
62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) { argument
66 using MemoryKiB = Memory<1024>;
Dcmdline_types.h96 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(); }
Dcmdline_parser_test.cc233 EXPECT_SINGLE_PARSE_VALUE(Memory<1>(234), "-Xss234", M::StackSize); in TEST_F()
/art/runtime/
Dbacktrace_helper.cc50 : memory_(unwindstack::Memory::CreateProcessMemory(getpid())), in UnwindHelper()
77 std::shared_ptr<unwindstack::Memory> memory_;
Dparsed_options.cc42 using MemoryKiB = Memory<1024>;
123 .WithType<Memory<1>>() in MakeParser()
311 .WithType<Memory<1>>() in MakeParser()
Druntime_options.def61 RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss
105 RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeOb…
/art/compiler/utils/
Dswap_space_test.cc75 TEST_F(SwapSpaceTest, Memory) { in TEST_F() argument
/art/runtime/jit/
Ddebugger_interface.cc227 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