/art/runtime/mirror/ |
D | object_array-alloc-inl.h | 64 inline ObjPtr<ObjectArray<T>> ObjectArray<T>::CopyOf(Handle<ObjectArray<T>> h_this, in CopyOf() argument 69 gc::AllocatorType allocator_type = heap->IsMovableObject(h_this.Get()) in CopyOf() 72 ObjPtr<ObjectArray<T>> new_array = Alloc(self, h_this->GetClass(), new_length, allocator_type); in CopyOf() 74 new_array->AssignableMemcpy(0, h_this.Get(), 0, std::min(h_this->GetLength(), new_length)); in CopyOf()
|
D | object_array.h | 110 static ObjPtr<ObjectArray<T>> CopyOf(Handle<ObjectArray<T>> h_this, 129 static inline ConstHandleArrayIter<T> cbegin(const Handle<ObjectArray<T>>& h_this) 131 static inline ConstHandleArrayIter<T> cend(const Handle<ObjectArray<T>>& h_this) 134 const Handle<ObjectArray<T>>& h_this) REQUIRES_SHARED(Locks::mutator_lock_) { in ConstIterate() argument 135 return IterationRange(cbegin(h_this), cend(h_this)); in ConstIterate() 137 static inline HandleArrayIter<T> begin(Handle<ObjectArray<T>>& h_this) 139 static inline HandleArrayIter<T> end(Handle<ObjectArray<T>>& h_this) 141 static inline IterationRange<HandleArrayIter<T>> Iterate(Handle<ObjectArray<T>>& h_this) in Iterate() argument 143 return IterationRange(begin(h_this), end(h_this)); in Iterate()
|
D | class.cc | 147 ObjPtr<ClassExt> Class::EnsureExtDataPresent(Handle<Class> h_this, Thread* self) { in EnsureExtDataPresent() argument 148 ObjPtr<ClassExt> existing(h_this->GetExtData()); in EnsureExtDataPresent() 168 set = h_this->CasFieldObject<true>(ext_offset, in EnsureExtDataPresent() 174 set = h_this->CasFieldObject<false>(ext_offset, in EnsureExtDataPresent() 180 ObjPtr<ClassExt> ret(set ? new_ext.Get() : h_this->GetExtData()); in EnsureExtDataPresent() 181 DCHECK(!set || h_this->GetExtData() == new_ext.Get()); in EnsureExtDataPresent() 243 void Class::SetStatus(Handle<Class> h_this, ClassStatus new_status, Thread* self) { in SetStatus() argument 244 ClassStatus old_status = h_this->GetStatus(); in SetStatus() 248 CheckSetStatus(self, h_this, new_status, old_status); in SetStatus() 251 CHECK(!h_this->IsErroneous()) in SetStatus() [all …]
|
D | object.cc | 154 ObjPtr<Object> Object::Clone(Handle<Object> h_this, Thread* self) { in Clone() argument 155 CHECK(!h_this->IsClass()) << "Can't clone classes."; in Clone() 159 size_t num_bytes = h_this->SizeOf(); in Clone() 160 CopyObjectVisitor visitor(&h_this, num_bytes); in Clone() 161 ObjPtr<Object> copy = heap->IsMovableObject(h_this.Get()) in Clone() 162 ? heap->AllocObject(self, h_this->GetClass(), num_bytes, visitor) in Clone() 163 : heap->AllocNonMovableObject(self, h_this->GetClass(), num_bytes, visitor); in Clone() 164 if (h_this->GetClass()->IsFinalizable()) { in Clone() 206 Handle<mirror::Object> h_this(hs.NewHandle(current_this)); in IdentityHashCode() local 207 Monitor::InflateThinLocked(self, h_this, lw, GenerateIdentityHashCode()); in IdentityHashCode() [all …]
|
D | array.cc | 141 ObjPtr<Array> Array::CopyOf(Handle<Array> h_this, Thread* self, int32_t new_length) { in CopyOf() argument 142 ObjPtr<Class> klass = h_this->GetClass(); in CopyOf() 146 gc::AllocatorType allocator_type = heap->IsMovableObject(h_this.Get()) in CopyOf() 155 h_this->GetRawData(component_size, 0), in CopyOf() 156 std::min(h_this->GetLength(), new_length) << component_shift); in CopyOf()
|
D | object_array-inl.h | 343 inline ConstHandleArrayIter<T> ObjectArray<T>::cbegin(const Handle<ObjectArray<T>>& h_this) { in cbegin() argument 344 return ConstHandleArrayIter<T>(h_this, 0); in cbegin() 347 inline ConstHandleArrayIter<T> ObjectArray<T>::cend(const Handle<ObjectArray<T>>& h_this) { in cend() argument 348 return ConstHandleArrayIter<T>(h_this, h_this->GetLength()); in cend() 360 inline HandleArrayIter<T> ObjectArray<T>::begin(Handle<ObjectArray<T>>& h_this) { in begin() argument 361 return HandleArrayIter<T>(h_this, 0); in begin() 364 inline HandleArrayIter<T> ObjectArray<T>::end(Handle<ObjectArray<T>>& h_this) { in end() argument 365 return HandleArrayIter<T>(h_this, h_this->GetLength()); in end()
|
D | class_ext.cc | 64 bool ClassExt::ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint32_t increase) { in ExtendObsoleteArrays() argument 67 Handle<PointerArray> old_methods(hs.NewHandle(h_this->GetObsoleteMethods())); in ExtendObsoleteArrays() 68 Handle<ObjectArray<DexCache>> old_dex_caches(hs.NewHandle(h_this->GetObsoleteDexCaches())); in ExtendObsoleteArrays() 108 h_this->SetObsoleteArrays(new_methods.Get(), new_dex_caches.Get()); in ExtendObsoleteArrays()
|
D | string.cc | 326 ObjPtr<CharArray> String::ToCharArray(Handle<String> h_this, Thread* self) { in ToCharArray() argument 327 ObjPtr<CharArray> result = CharArray::Alloc(self, h_this->GetLength()); in ToCharArray() 329 if (h_this->IsCompressed()) { in ToCharArray() 330 int32_t length = h_this->GetLength(); in ToCharArray() 332 result->GetData()[i] = h_this->CharAt(i); in ToCharArray() 335 memcpy(result->GetData(), h_this->GetValue(), h_this->GetLength() * sizeof(uint16_t)); in ToCharArray()
|
D | class_ext-inl.h | 47 Handle<ClassExt> h_this(hs.NewHandle(this)); in EnsureJniIdsArrayPresent() 62 set = h_this->CasFieldObject<true>( in EnsureJniIdsArrayPresent() 65 set = h_this->CasFieldObject<false>( in EnsureJniIdsArrayPresent() 71 : h_this->GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>(off)); in EnsureJniIdsArrayPresent()
|
D | class.h | 109 static void SetStatus(Handle<Class> h_this, ClassStatus new_status, Thread* self) 396 static ObjPtr<String> ComputeName(Handle<Class> h_this) REQUIRES_SHARED(Locks::mutator_lock_) 1140 static ObjPtr<ClassExt> EnsureExtDataPresent(Handle<Class> h_this, Thread* self) 1234 static ObjPtr<Class> CopyOf(Handle<Class> h_this, 1253 static int32_t GetInnerClassFlags(Handle<Class> h_this, int32_t default_value) 1324 static bool EnsureMethodIds(Handle<Class> h_this) 1327 static bool EnsureStaticFieldIds(Handle<Class> h_this) 1330 static bool EnsureInstanceFieldIds(Handle<Class> h_this)
|
D | class_ext.h | 124 static bool ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint32_t increase)
|
D | string.h | 190 static ObjPtr<CharArray> ToCharArray(Handle<String> h_this, Thread* self)
|
D | array.h | 128 static ObjPtr<Array> CopyOf(Handle<Array> h_this, Thread* self, int32_t new_length)
|
D | object.h | 134 static ObjPtr<Object> Clone(Handle<Object> h_this, Thread* self)
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 473 HandleWrapperObjPtr<mirror::Object> h_this(hs2.NewHandleWrapper(this_object)); in FindMethodToCall() 509 if (!method_reference_class->IsAssignableFrom(h_this->GetClass())) { in FindMethodToCall() 512 h_this.Get(), in FindMethodToCall() 575 HandleWrapperObjPtr<mirror::Object> h_this(hs.NewHandleWrapper(this_object)); in FindMethodFromCode()
|
/art/runtime/ |
D | instrumentation.cc | 1403 Handle<mirror::Object> h_this(hs.NewHandle(this_object)); in PushInstrumentationStackFrame() local 1405 MethodEnterEvent(self, h_this.Get(), method, 0); in PushInstrumentationStackFrame() 1407 MethodUnwindEvent(self, h_this.Get(), method, 0); in PushInstrumentationStackFrame() 1417 h_this.Get(), method, lr, frame_id, interpreter_entry, current_force_deopt_id_); in PushInstrumentationStackFrame()
|