Home
last modified time | relevance | path

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

/art/runtime/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.h155 static inline JvmtiUniquePtr<T> MakeJvmtiUniquePtr(jvmtiEnv* env, T* mem) { in MakeJvmtiUniquePtr() argument
156 return JvmtiUniquePtr<T>(mem, JvmtiDeleter<T>(env)); in MakeJvmtiUniquePtr()
161 static inline JvmtiUniquePtr<T> MakeJvmtiUniquePtr(jvmtiEnv* env, unsigned char* mem) { in MakeJvmtiUniquePtr() argument
162 return JvmtiUniquePtr<T>(reinterpret_cast<T*>(mem), JvmtiDeleter<T>(env)); in MakeJvmtiUniquePtr()
DOpenjdkJvmTi.cc116 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem) { in Deallocate() argument
118 return AllocUtil::Deallocate(env, mem); in Deallocate()
/art/test/ti-agent/
Djvmti_helper.h62 static inline JvmtiUniquePtr MakeJvmtiUniquePtr(jvmtiEnv* env, T* mem) { in MakeJvmtiUniquePtr() argument
63 return JvmtiUniquePtr(reinterpret_cast<unsigned char*>(mem), JvmtiDeleter(env)); in MakeJvmtiUniquePtr()
67 static inline jvmtiError Deallocate(jvmtiEnv* env, T* mem) { in Deallocate() argument
68 return env->Deallocate(reinterpret_cast<unsigned char*>(mem)); in Deallocate()
/art/runtime/
Dmonitor_test.cc86 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in FillHeap() local
87 if (length * 8 > mem) { in FillHeap()
88 length = mem / 8; in FillHeap()
/art/compiler/optimizing/
Dcode_generator_x86_64.h140 void Exchange32(CpuRegister reg, int mem);
141 void Exchange32(XmmRegister reg, int mem);
144 void Exchange64(CpuRegister reg, int mem);
145 void Exchange64(XmmRegister reg, int mem);
Dcode_generator_x86.h141 void Exchange(Register reg, int mem);
143 void Exchange32(XmmRegister reg, int mem);
Dcode_generator_x86_64.cc5334 void ParallelMoveResolverX86_64::Exchange32(CpuRegister reg, int mem) { in Exchange32() argument
5335 __ movl(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange32()
5336 __ movl(Address(CpuRegister(RSP), mem), reg); in Exchange32()
5359 void ParallelMoveResolverX86_64::Exchange64(CpuRegister reg, int mem) { in Exchange64() argument
5360 __ movq(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange64()
5361 __ movq(Address(CpuRegister(RSP), mem), reg); in Exchange64()
5378 void ParallelMoveResolverX86_64::Exchange32(XmmRegister reg, int mem) { in Exchange32() argument
5379 __ movl(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange32()
5380 __ movss(Address(CpuRegister(RSP), mem), reg); in Exchange32()
5384 void ParallelMoveResolverX86_64::Exchange64(XmmRegister reg, int mem) { in Exchange64() argument
[all …]
Dcode_generator_arm_vixl.cc7140 void ParallelMoveResolverARMVIXL::Exchange(vixl32::Register reg, int mem) { in Exchange() argument
7144 GetAssembler()->LoadFromOffset(kLoadWord, reg, sp, mem); in Exchange()
7145 GetAssembler()->StoreToOffset(kStoreWord, temp, sp, mem); in Exchange()
7195 int mem = source.IsRegisterPair() ? destination.GetStackIndex() : source.GetStackIndex(); in EmitSwap() local
7199 GetAssembler()->LoadFromOffset(kLoadWordPair, low_reg, sp, mem); in EmitSwap()
7200 GetAssembler()->StoreDToOffset(temp, sp, mem); in EmitSwap()
7212 int mem = source.IsFpuRegisterPair() in EmitSwap() local
7217 GetAssembler()->LoadDFromOffset(reg, sp, mem); in EmitSwap()
7218 GetAssembler()->StoreDToOffset(temp, sp, mem); in EmitSwap()
7223 int mem = source.IsFpuRegister() in EmitSwap() local
[all …]
Dcode_generator_arm_vixl.h250 void Exchange(vixl32::Register reg, int mem);
Dcode_generator_x86.cc5923 void ParallelMoveResolverX86::Exchange(Register reg, int mem) { in Exchange() argument
5929 __ movl(static_cast<Register>(ensure_scratch.GetRegister()), Address(ESP, mem + stack_offset)); in Exchange()
5930 __ movl(Address(ESP, mem + stack_offset), reg); in Exchange()
5934 void ParallelMoveResolverX86::Exchange32(XmmRegister reg, int mem) { in Exchange32() argument
5940 __ movl(temp_reg, Address(ESP, mem + stack_offset)); in Exchange32()
5941 __ movss(Address(ESP, mem + stack_offset), reg); in Exchange32()
/art/runtime/native/
Dsun_misc_Unsafe.cc226 void* mem = malloc(bytes); in Unsafe_allocateMemory() local
227 if (mem == nullptr) { in Unsafe_allocateMemory()
231 return (uintptr_t) mem; in Unsafe_allocateMemory()
/art/runtime/verifier/
Dreg_type_test.cc723 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in FillHeap() local
724 if (length * 8 > mem) { in FillHeap()
725 length = mem / 8; in FillHeap()
/art/runtime/arch/
Dstub_test.cc994 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in TEST_F() local
995 if (length * 8 > mem) { in TEST_F()
996 length = mem / 8; in TEST_F()
/art/runtime/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.cc2365 void X86_64Assembler::rex_reg_mem(bool force, bool w, Register* dst, const Address& mem) {
2371 uint8_t rex = mem->rex();
2387 void rex_mem_reg(bool force, bool w, Address* mem, Register* src);