/art/openjdkjvmti/ |
D | ti_allocator.cc | 83 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()
|
D | ti_allocator.h | 49 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem); 53 static void DeallocateImpl(unsigned char* mem);
|
D | art_jvmti.h | 183 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()
|
D | OpenjdkJvmTi.cc | 134 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem) { in Deallocate() argument 140 return AllocUtil::Deallocate(env, mem); in Deallocate()
|
/art/test/ti-agent/ |
D | jvmti_helper.h | 70 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/ |
D | unsafe_test.cc | 48 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/ |
D | mem_map_fuchsia.cc | 63 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/ |
D | code_generator_x86_64.h | 140 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);
|
D | code_generator_x86.h | 141 void Exchange(Register reg, int mem); 142 void Exchange32(XmmRegister reg, int mem); 143 void Exchange128(XmmRegister reg, int mem);
|
D | code_generator_x86_64.cc | 5696 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 …]
|
D | code_generator_arm_vixl.cc | 6808 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 …]
|
D | code_generator_arm_vixl.h | 255 void Exchange(vixl32::Register reg, int mem);
|
D | code_generator_x86.cc | 6360 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/ |
D | titrace.cc | 46 explicit TiMemory(jvmtiEnv* env, T* mem, size_t size) : env_(env), mem_(mem), size_(size) { in TiMemory()
|
/art/runtime/ |
D | common_runtime_test.cc | 367 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/ |
D | sun_misc_Unsafe.cc | 237 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/ |
D | stub_test.cc | 997 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/ |
D | jvmti.h | 1251 unsigned char* mem); 1796 jvmtiError Deallocate(unsigned char* mem) { in Deallocate() 1797 return functions->Deallocate(this, mem); in Deallocate()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.cc | 2731 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);
|