/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 | 136 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem) { in Deallocate() argument 142 return AllocUtil::Deallocate(env, 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/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/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/tools/jvmti-agents/enable-vlog/ |
D | enablevlog.cc | 38 static inline jvmtiError Deallocate(jvmtiEnv* env, T* mem) { in Deallocate() argument 39 return env->Deallocate(reinterpret_cast<unsigned char*>(mem)); in Deallocate()
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 177 void* mem = nullptr; in Java_art_Test1940_initializeTest() local 181 reinterpret_cast<unsigned char**>(&mem)))) { in Java_art_Test1940_initializeTest() 184 DdmsTrackingData* data = new (mem) DdmsTrackingData{}; in Java_art_Test1940_initializeTest()
|
/art/compiler/optimizing/ |
D | code_generator_x86_64.h | 165 void Exchange32(CpuRegister reg, int mem); 166 void Exchange32(XmmRegister reg, int mem); 168 void Exchange64(CpuRegister reg, int mem); 169 void Exchange64(XmmRegister reg, int mem); 170 void Exchange128(XmmRegister reg, int mem);
|
D | code_generator_x86.h | 164 void Exchange(Register reg, int mem); 165 void Exchange32(XmmRegister reg, int mem); 166 void Exchange128(XmmRegister reg, int mem);
|
D | code_generator_x86_64.cc | 5920 void ParallelMoveResolverX86_64::Exchange32(CpuRegister reg, int mem) { in Exchange32() argument 5921 __ movl(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange32() 5922 __ movl(Address(CpuRegister(RSP), mem), reg); in Exchange32() 5932 void ParallelMoveResolverX86_64::Exchange64(CpuRegister reg, int mem) { in Exchange64() argument 5933 __ movq(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange64() 5934 __ movq(Address(CpuRegister(RSP), mem), reg); in Exchange64() 5938 void ParallelMoveResolverX86_64::Exchange32(XmmRegister reg, int mem) { in Exchange32() argument 5939 __ movl(CpuRegister(TMP), Address(CpuRegister(RSP), mem)); in Exchange32() 5940 __ movss(Address(CpuRegister(RSP), mem), reg); in Exchange32() 5944 void ParallelMoveResolverX86_64::Exchange64(XmmRegister reg, int mem) { in Exchange64() argument [all …]
|
D | code_generator_arm_vixl.cc | 7177 void ParallelMoveResolverARMVIXL::Exchange(vixl32::Register reg, int mem) { in Exchange() argument 7181 GetAssembler()->LoadFromOffset(kLoadWord, reg, sp, mem); in Exchange() 7182 GetAssembler()->StoreToOffset(kStoreWord, temp, sp, mem); in Exchange() 7232 int mem = source.IsRegisterPair() ? destination.GetStackIndex() : source.GetStackIndex(); in EmitSwap() local 7236 GetAssembler()->LoadFromOffset(kLoadWordPair, low_reg, sp, mem); in EmitSwap() 7237 GetAssembler()->StoreDToOffset(temp, sp, mem); in EmitSwap() 7249 int mem = source.IsFpuRegisterPair() in EmitSwap() local 7254 GetAssembler()->LoadDFromOffset(reg, sp, mem); in EmitSwap() 7255 GetAssembler()->StoreDToOffset(temp, sp, mem); in EmitSwap() 7260 int mem = source.IsFpuRegister() in EmitSwap() local [all …]
|
D | code_generator_arm_vixl.h | 277 void Exchange(vixl32::Register reg, int mem);
|
D | code_generator_x86.cc | 6615 void ParallelMoveResolverX86::Exchange(Register reg, int mem) { in Exchange() argument 6621 __ movl(static_cast<Register>(ensure_scratch.GetRegister()), Address(ESP, mem + stack_offset)); in Exchange() 6622 __ movl(Address(ESP, mem + stack_offset), reg); in Exchange() 6626 void ParallelMoveResolverX86::Exchange32(XmmRegister reg, int mem) { in Exchange32() argument 6632 __ movl(temp_reg, Address(ESP, mem + stack_offset)); in Exchange32() 6633 __ movss(Address(ESP, mem + stack_offset), reg); in Exchange32() 6637 void ParallelMoveResolverX86::Exchange128(XmmRegister reg, int mem) { in Exchange128() argument 6641 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 | 355 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in FillHeap() local 356 if (length * 4 > mem) { in FillHeap() 357 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 | 865 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in TEST_F() local 866 if (length * 8 > mem) { in TEST_F() 867 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 | 4220 void X86_64Assembler::rex_reg_mem(bool force, bool w, Register* dst, const Address& mem) { 4226 uint8_t rex = mem->rex(); 4242 void rex_mem_reg(bool force, bool w, Address* mem, Register* src);
|