Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 92) sorted by relevance

1234

/art/runtime/
Dobj_ptr-inl.h54 inline uintptr_t ObjPtr<MirrorType>::Encode(MirrorType* ptr) { in Encode()
69 inline ObjPtr<MirrorType>::ObjPtr(Type* ptr) in ObjPtr()
101 inline void ObjPtr<MirrorType>::Assign(MirrorType* ptr) { in Assign()
118 inline ObjPtr<MirrorType> ObjPtr<MirrorType>::DownCast(ObjPtr<SourceType> ptr) { in DownCast()
126 inline ObjPtr<MirrorType> ObjPtr<MirrorType>::DownCast(SourceType* ptr) { in DownCast()
Dlinear_alloc-inl.h43 inline void LinearAlloc::ConvertToNoGcRoots(void* ptr, LinearAllocKind orig_kind) { in ConvertToNoGcRoots()
62 void* ptr, in Realloc()
107 uint8_t* ptr = allocator_.CurrentPtr() + sizeof(TrackingHeader); in AllocAlign16() local
142 inline bool LinearAlloc::Contains(void* ptr) const { in Contains()
Dimtable.h49 uint8_t* ptr = AddressOfElement(index, pointer_size); in Get() local
61 uint8_t* ptr = AddressOfElement(index, pointer_size); in Set() local
Dcommon_runtime_test.h50 static inline ObjPtr<MirrorType> MakeObjPtr(MirrorType* ptr) REQUIRES_SHARED(Locks::mutator_lock_) { in MakeObjPtr()
55 static inline ObjPtr<MirrorType> MakeObjPtr(ObjPtr<MirrorType> ptr) in MakeObjPtr()
Dlinear_alloc.h110 bool ContainsUnsafe(void* ptr) const NO_THREAD_SAFETY_ANALYSIS { in ContainsUnsafe()
/art/runtime/mirror/
Dobject_reference-inl.h28 inline uint32_t PtrCompression<kPoisonReferences, MirrorType>::Compress(ObjPtr<MirrorType> ptr) { in Compress()
34 void ObjectReference<kPoisonReferences, MirrorType>::Assign(ObjPtr<MirrorType> ptr) { in Assign()
48 void HeapReference<MirrorType>::Assign(ObjPtr<MirrorType> ptr) { in Assign()
/art/libartbase/base/
Dscoped_arena_allocator.h67 static ArenaFreeTag& ArenaTagForAllocation(void* ptr) { in ArenaTagForAllocation()
103 uint8_t* ptr = top_ptr_; in Alloc() local
174 static void operator delete([[maybe_unused]] void* ptr) {} in delete()
Dcasts.h147 inline Dest reinterpret_cast64(Source* ptr) { in reinterpret_cast64()
170 inline Dest reinterpret_cast32(Source* ptr) { in reinterpret_cast32()
Darena_allocator.cc175 void ArenaAllocatorMemoryTool::DoMakeDefined(void* ptr, size_t size) { in DoMakeDefined()
179 void ArenaAllocatorMemoryTool::DoMakeUndefined(void* ptr, size_t size) { in DoMakeUndefined()
183 void ArenaAllocatorMemoryTool::DoMakeInaccessible(void* ptr, size_t size) { in DoMakeInaccessible()
Dscoped_flock.h82 delete ptr; in operator() local
Dstride_iterator.h40 StrideIterator(T* ptr, size_t stride) in StrideIterator()
Dleb128.h36 const uint8_t* ptr = *data; in DecodeLeb128Helper() local
117 static inline bool IsLeb128Terminator(const uint8_t* ptr) { in IsLeb128Terminator()
128 T* ptr = end_ptr; in ReverseSearchUnsignedLeb128() local
Dvariant_map.h236 auto* ptr = Get(key); in GetOptional() local
244 auto* ptr = Get(key); in GetOrDefault() local
276 TValue* ptr = Get(key); in ReleaseOrDefault() local
307 TValue* ptr = Get(key); in SetIfMissing() local
Darena_allocator.h158 void MakeDefined(void* ptr, size_t size) { in MakeDefined()
163 void MakeUndefined(void* ptr, size_t size) { in MakeUndefined()
168 void MakeInaccessible(void* ptr, size_t size) { in MakeInaccessible()
208 bool Contains(const void* ptr) const { return memory_ <= ptr && ptr < memory_ + size_; } in Contains()
/art/test/1909-per-agent-tls/src/art/
DTest1909.java36 public void setTLS(long jvmtienv, long ptr) { in setTLS()
75 public void setTLS(long jvmtienv, long ptr) { in setTLS()
173 public static native void setTLS(long jvmtienv, Thread thr, long ptr); in setTLS()
/art/test/616-cha-unloading/
Dcha_unload.cc36 explicit FindPointerAllocatorVisitor(void* ptr) : is_found(false), ptr_(ptr) {} in FindPointerAllocatorVisitor()
61 void* ptr = reinterpret_cast64<void*>(art_method); in Java_Main_reuseArenaOfMethod() local
/art/runtime/gc/space/
Dmemory_tool_malloc_space.h51 void RegisterRecentFree([[maybe_unused]] mirror::Object* ptr) override {} in RegisterRecentFree()
/art/compiler/jit/
Djit_logger.h98 void WriteLog(const void* ptr, size_t code_size, ArtMethod* method) in WriteLog()
/art/dex2oat/utils/
Dswap_space.cc156 uint8_t* ptr = reinterpret_cast<uint8_t*>( in NewFileChunk() local
177 void SwapSpace::Free(void* ptr, size_t size) { in Free()
/art/libelffile/dwarf/
Dwriter.h119 void PushData(const uint8_t* ptr, size_t num_bytes) { in PushData()
123 void PushData(const char* ptr, size_t num_bytes) { in PushData()
/art/runtime/jit/
Djit_memory_region.h140 bool IsInDataSpace(const void* ptr) const { in IsInDataSpace()
144 bool IsInExecSpace(const void* ptr) const { in IsInExecSpace()
Djit_code_cache.h412 bool IsInZygoteExecSpace(const void* ptr) const { in IsInZygoteExecSpace()
498 bool IsInZygoteDataSpace(const void* ptr) const { in IsInZygoteDataSpace()
/art/libdexfile/dex/
Dutf_test.cc63 const char* ptr = start; in TEST_F() local
99 const char* ptr = start; in TEST_F() local
394 const char* ptr = start; in TEST_F() local
/art/runtime/gc/allocator/
Drosalloc.cc310 size_t RosAlloc::FreePages(Thread* self, void* ptr, bool already_zero) { in FreePages()
499 size_t RosAlloc::FreeInternal(Thread* self, void* ptr) { in FreeInternal()
540 size_t RosAlloc::Free(Thread* self, void* ptr) { in Free()
756 size_t RosAlloc::FreeFromRun(Thread* self, void* ptr, Run* run) { in FreeFromRun()
871 void RosAlloc::Run::FreeSlot(void* ptr) { in FreeSlot()
913 inline void RosAlloc::Run::AddToThreadLocalFreeList(void* ptr) { in AddToThreadLocalFreeList()
918 inline size_t RosAlloc::Run::AddToBulkFreeList(void* ptr) { in AddToBulkFreeList()
922 inline size_t RosAlloc::Run::AddToFreeListShared(void* ptr, in AddToFreeListShared()
1023 void* ptr = ptrs[i]; in BulkFree() local
1296 size_t RosAlloc::UsableSize(const void* ptr) { in UsableSize()
/art/test/1959-redefine-object-instrument/
Dfake_redef_object.cc76 void Free(void* ptr) override { in RedefineObjectHook()

1234