Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 21 of 21) 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.cc136 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem) { in Deallocate() argument
142 return AllocUtil::Deallocate(env, 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/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/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/tools/jvmti-agents/enable-vlog/
Denablevlog.cc38 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/
Dddm_ext.cc177 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/
Dcode_generator_x86_64.h165 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);
Dcode_generator_x86.h164 void Exchange(Register reg, int mem);
165 void Exchange32(XmmRegister reg, int mem);
166 void Exchange128(XmmRegister reg, int mem);
Dcode_generator_x86_64.cc5920 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 …]
Dcode_generator_arm_vixl.cc7177 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 …]
Dcode_generator_arm_vixl.h277 void Exchange(vixl32::Register reg, int mem);
Dcode_generator_x86.cc6615 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/
Dtitrace.cc46 explicit TiMemory(jvmtiEnv* env, T* mem, size_t size) : env_(env), mem_(mem), size_(size) { in TiMemory()
/art/runtime/
Dcommon_runtime_test.cc355 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/
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.cc865 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/
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.cc4220 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);