Searched refs:ptr_ (Results 1 – 8 of 8) sorted by relevance
/art/libartbase/base/ |
D | stride_iterator.h | 38 : ptr_(reinterpret_cast<uintptr_t>(ptr)), in StrideIterator() 43 return ptr_ == other.ptr_; 51 ptr_ += stride_; 62 ptr_ -= stride_; 73 ptr_ += static_cast<ssize_t>(stride_) * delta; 84 ptr_ -= static_cast<ssize_t>(stride_) * delta; 96 DCHECK_EQ((ptr_ - rhs.ptr_) % stride_, 0u); 97 return (ptr_ - rhs.ptr_) / stride_; 101 return *reinterpret_cast<T*>(ptr_); 113 uintptr_t ptr_; [all …]
|
D | arena_allocator.cc | 197 size_t total = ptr_ - begin_; in BytesUsed() 211 ptr_(nullptr), in ArenaAllocator() 219 arena_head_->bytes_allocated_ = ptr_ - begin_; in UpdateBytesAllocated() 230 if (UNLIKELY(rounded_bytes > static_cast<size_t>(end_ - ptr_))) { in AllocWithMemoryTool() 233 ret = ptr_; in AllocWithMemoryTool() 234 ptr_ += rounded_bytes; in AllocWithMemoryTool() 249 ((reinterpret_cast<uintptr_t>(ptr_) + 15u) & 15u) - reinterpret_cast<uintptr_t>(ptr_); in AllocWithMemoryToolAlign16() 252 if (UNLIKELY(padding + rounded_bytes > static_cast<size_t>(end_ - ptr_))) { in AllocWithMemoryToolAlign16() 256 ptr_ += padding; // Leave padding inaccessible. in AllocWithMemoryToolAlign16() 257 ret = ptr_; in AllocWithMemoryToolAlign16() [all …]
|
D | arena_allocator.h | 274 if (UNLIKELY(bytes > static_cast<size_t>(end_ - ptr_))) { 277 uint8_t* ret = ptr_; 279 ptr_ += bytes; 291 ((reinterpret_cast<uintptr_t>(ptr_) + 15u) & 15u) - reinterpret_cast<uintptr_t>(ptr_); 293 if (UNLIKELY(padding + bytes > static_cast<size_t>(end_ - ptr_))) { 297 ptr_ += padding; 298 uint8_t* ret = ptr_; 300 ptr_ += bytes; 315 if (end == ptr_) { 317 DCHECK(!IsRunningOnMemoryTool() || ptr_ == nullptr); [all …]
|
/art/libdexfile/dex/ |
D | dex_file_verifier.cc | 205 ptr_(nullptr), in DexFileVerifier() 249 if (LIKELY(CheckListSize(ptr_, size, sizeof(uint8_t), "encoded_value"))) { in ReadUnsignedLittleEndian() 251 result |= ((uint32_t) *(ptr_++)) << (i * 8); in ReadUnsignedLittleEndian() 410 const uint8_t* ptr_; member in art::dex::DexFileVerifier 792 size_t offset = ptr_ - handlers_base; in CheckAndGetHandlerOffsets() 793 DECODE_SIGNED_CHECKED_FROM(ptr_, size); in CheckAndGetHandlerOffsets() 810 DECODE_UNSIGNED_CHECKED_FROM(ptr_, type_idx); in CheckAndGetHandlerOffsets() 815 DECODE_UNSIGNED_CHECKED_FROM(ptr_, addr); in CheckAndGetHandlerOffsets() 823 DECODE_UNSIGNED_CHECKED_FROM(ptr_, addr); in CheckAndGetHandlerOffsets() 932 if (UNLIKELY(*ptr_ != '\0')) { in CheckPadding() [all …]
|
D | dex_file.cc | 618 ptr_(array_data), in EncodedArrayValueIterator() 620 array_size_ = (ptr_ != nullptr) ? DecodeUnsignedLeb128(&ptr_) : 0; in EncodedArrayValueIterator() 631 uint8_t value_type = *ptr_++; in Next() 641 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next() 645 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next() 649 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, false); in Next() 653 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next() 656 jval_.j = DexFile::ReadSignedLong(ptr_, value_arg); in Next() 659 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, true); in Next() 662 jval_.j = DexFile::ReadUnsignedLong(ptr_, value_arg, true); in Next() [all …]
|
D | dex_file.h | 981 const uint8_t* ptr_; // Pointer into encoded data array. variable
|
/art/test/616-cha-unloading/ |
D | cha_unload.cc | 36 explicit FindPointerAllocatorVisitor(void* ptr) : is_found(false), ptr_(ptr) {} in FindPointerAllocatorVisitor() 40 is_found = alloc->Contains(ptr_); in Visit() 47 void* ptr_; member in art::__anon219044400111::FindPointerAllocatorVisitor
|
/art/runtime/jni/ |
D | check_jni.cc | 191 VarArgs(jmethodID m, const jvalue* vals) : m_(m), type_(kTypePtr), cnt_(0), ptr_(vals) {} in VarArgs() 206 ptr_ = other.ptr_; in VarArgs() 220 return VarArgs(m_, cnt_, ptr_); in Clone() 249 jvalue v = ptr_[cnt_]; in GetValue() 278 …VarArgs(jmethodID m, uint32_t cnt, const jvalue* vals) : m_(m), type_(kTypePtr), cnt_(cnt), ptr_(v… in VarArgs() 290 const jvalue* ptr_; member
|