Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 19 of 19) sorted by relevance

/art/openjdkjvmti/
Dti_allocator.cc83 jvmtiError AllocUtil::Deallocate(jvmtiEnv* env ATTRIBUTE_UNUSED, unsigned char* mem) { in Deallocate() argument
84 DeallocateImpl(mem); in Deallocate()
88 void AllocUtil::DeallocateImpl(unsigned char* mem) { in DeallocateImpl() argument
89 if (mem != nullptr) { in DeallocateImpl()
90 allocated -= malloc_usable_size(mem); in DeallocateImpl()
91 free(mem); in DeallocateImpl()
Dti_allocator.h49 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem);
53 static void DeallocateImpl(unsigned char* mem);
Dart_jvmti.h183 static inline JvmtiUniquePtr<T> MakeJvmtiUniquePtr(jvmtiEnv* env, T* mem) { in MakeJvmtiUniquePtr() argument
184 return JvmtiUniquePtr<T>(mem, JvmtiDeleter<T>(env)); in MakeJvmtiUniquePtr()
189 static inline JvmtiUniquePtr<T> MakeJvmtiUniquePtr(jvmtiEnv* env, unsigned char* mem) { in MakeJvmtiUniquePtr() argument
190 return JvmtiUniquePtr<T>(reinterpret_cast<T*>(mem), JvmtiDeleter<T>(env)); in MakeJvmtiUniquePtr()
DOpenjdkJvmTi.cc134 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem) { in Deallocate() argument
140 return AllocUtil::Deallocate(env, mem); in Deallocate()
/art/test/ti-agent/
Djvmti_helper.h70 static inline JvmtiUniquePtr MakeJvmtiUniquePtr(jvmtiEnv* env, T* mem) { in MakeJvmtiUniquePtr() argument
71 return JvmtiUniquePtr(reinterpret_cast<unsigned char*>(mem), JvmtiDeleter(env)); in MakeJvmtiUniquePtr()
75 static inline jvmtiError Deallocate(jvmtiEnv* env, T* mem) { in Deallocate() argument
76 return env->Deallocate(reinterpret_cast<unsigned char*>(mem)); in Deallocate()
/art/test/004-UnsafeTest/
Dunsafe_test.cc48 void* mem = reinterpret_cast64<void*>(memory); in Java_Main_unsafeTestFree() local
49 CHECK(mem != nullptr); in Java_Main_unsafeTestFree()
50 free(mem); in Java_Main_unsafeTestFree()
/art/libartbase/base/
Dmem_map_fuchsia.cc63 uintptr_t mem = 0; in TargetMMap() local
118 status = zx_vmar_map(fuchsia_lowmem_vmar, vmaroffset, vmo, fd_off, len, vmarflags, &mem); in TargetMMap()
120 status = zx_vmar_map(zx_vmar_root_self(), vmaroffset, vmo, fd_off, len, vmarflags, &mem); in TargetMMap()
127 return reinterpret_cast<void *>(mem); in TargetMMap()
/art/compiler/optimizing/
Dcode_generator_x86_64.h140 void Exchange32(CpuRegister reg, int mem);
141 void Exchange32(XmmRegister reg, int mem);
143 void Exchange64(CpuRegister reg, int mem);
144 void Exchange64(XmmRegister reg, int mem);
145 void Exchange128(XmmRegister reg, int mem);
Dcode_generator_x86.h141 void Exchange(Register reg, int mem);
142 void Exchange32(XmmRegister reg, int mem);
143 void Exchange128(XmmRegister reg, int mem);
Dcode_generator_x86_64.cc5696 void ParallelMoveResolverX86_64::Exchange32(CpuRegister reg, int mem) { in Exchange32() argument
5697 __ movl(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange32()
5698 __ movl(Address(CpuRegister(RSP), mem), reg); in Exchange32()
5708 void ParallelMoveResolverX86_64::Exchange64(CpuRegister reg, int mem) { in Exchange64() argument
5709 __ movq(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange64()
5710 __ movq(Address(CpuRegister(RSP), mem), reg); in Exchange64()
5714 void ParallelMoveResolverX86_64::Exchange32(XmmRegister reg, int mem) { in Exchange32() argument
5715 __ movl(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange32()
5716 __ movss(Address(CpuRegister(RSP), mem), reg); in Exchange32()
5720 void ParallelMoveResolverX86_64::Exchange64(XmmRegister reg, int mem) { in Exchange64() argument
[all …]
Dcode_generator_arm_vixl.cc6808 void ParallelMoveResolverARMVIXL::Exchange(vixl32::Register reg, int mem) { in Exchange() argument
6812 GetAssembler()->LoadFromOffset(kLoadWord, reg, sp, mem); in Exchange()
6813 GetAssembler()->StoreToOffset(kStoreWord, temp, sp, mem); in Exchange()
6863 int mem = source.IsRegisterPair() ? destination.GetStackIndex() : source.GetStackIndex(); in EmitSwap() local
6867 GetAssembler()->LoadFromOffset(kLoadWordPair, low_reg, sp, mem); in EmitSwap()
6868 GetAssembler()->StoreDToOffset(temp, sp, mem); in EmitSwap()
6880 int mem = source.IsFpuRegisterPair() in EmitSwap() local
6885 GetAssembler()->LoadDFromOffset(reg, sp, mem); in EmitSwap()
6886 GetAssembler()->StoreDToOffset(temp, sp, mem); in EmitSwap()
6891 int mem = source.IsFpuRegister() in EmitSwap() local
[all …]
Dcode_generator_arm_vixl.h255 void Exchange(vixl32::Register reg, int mem);
Dcode_generator_x86.cc6360 void ParallelMoveResolverX86::Exchange(Register reg, int mem) { in Exchange() argument
6366 __ movl(static_cast<Register>(ensure_scratch.GetRegister()), Address(ESP, mem + stack_offset)); in Exchange()
6367 __ movl(Address(ESP, mem + stack_offset), reg); in Exchange()
6371 void ParallelMoveResolverX86::Exchange32(XmmRegister reg, int mem) { in Exchange32() argument
6377 __ movl(temp_reg, Address(ESP, mem + stack_offset)); in Exchange32()
6378 __ movss(Address(ESP, mem + stack_offset), reg); in Exchange32()
6382 void ParallelMoveResolverX86::Exchange128(XmmRegister reg, int mem) { in Exchange128() argument
6386 ExchangeMemory(0, mem + extra_slot, 4); in Exchange128()
/art/tools/jvmti-agents/titrace/
Dtitrace.cc46 explicit TiMemory(jvmtiEnv* env, T* mem, size_t size) : env_(env), mem_(mem), size_(size) { in TiMemory()
/art/runtime/
Dcommon_runtime_test.cc367 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in FillHeap() local
368 if (length * 4 > mem) { in FillHeap()
369 length = mem / 4; in FillHeap()
/art/runtime/native/
Dsun_misc_Unsafe.cc237 void* mem = malloc(bytes); in Unsafe_allocateMemory() local
238 if (mem == nullptr) { in Unsafe_allocateMemory()
242 return (uintptr_t) mem; in Unsafe_allocateMemory()
/art/runtime/arch/
Dstub_test.cc997 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in TEST_F() local
998 if (length * 8 > mem) { in TEST_F()
999 length = mem / 8; in TEST_F()
/art/openjdkjvmti/include/
Djvmti.h1251 unsigned char* mem);
1796 jvmtiError Deallocate(unsigned char* mem) { in Deallocate()
1797 return functions->Deallocate(this, mem); in Deallocate()
/art/compiler/utils/x86_64/
Dassembler_x86_64.cc2731 void X86_64Assembler::rex_reg_mem(bool force, bool w, Register* dst, const Address& mem) {
2737 uint8_t rex = mem->rex();
2753 void rex_mem_reg(bool force, bool w, Address* mem, Register* src);