Home
last modified time | relevance | path

Searched refs:h_this (Results 1 – 16 of 16) sorted by relevance

/art/runtime/mirror/
Dobject_array-alloc-inl.h64 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()
Dobject_array.h112 static ObjPtr<ObjectArray<T>> CopyOf(Handle<ObjectArray<T>> h_this,
131 static inline ConstHandleArrayIter<T> cbegin(const Handle<ObjectArray<T>>& h_this)
133 static inline ConstHandleArrayIter<T> cend(const Handle<ObjectArray<T>>& h_this)
136 const Handle<ObjectArray<T>>& h_this) REQUIRES_SHARED(Locks::mutator_lock_) { in ConstIterate() argument
137 return IterationRange(cbegin(h_this), cend(h_this)); in ConstIterate()
139 static inline HandleArrayIter<T> begin(Handle<ObjectArray<T>>& h_this)
141 static inline HandleArrayIter<T> end(Handle<ObjectArray<T>>& h_this)
143 static inline IterationRange<HandleArrayIter<T>> Iterate(Handle<ObjectArray<T>>& h_this) in Iterate() argument
145 return IterationRange(begin(h_this), end(h_this)); in Iterate()
Dobject.cc154 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 …]
Dclass.cc116 ObjPtr<ClassExt> Class::EnsureExtDataPresent(Handle<Class> h_this, Thread* self) { in EnsureExtDataPresent() argument
117 ObjPtr<ClassExt> existing(h_this->GetExtData()); in EnsureExtDataPresent()
137 set = h_this->CasFieldObject<true>(ext_offset, in EnsureExtDataPresent()
143 set = h_this->CasFieldObject<false>(ext_offset, in EnsureExtDataPresent()
149 ObjPtr<ClassExt> ret(set ? new_ext.Get() : h_this->GetExtData()); in EnsureExtDataPresent()
150 DCHECK(!set || h_this->GetExtData() == new_ext.Get()); in EnsureExtDataPresent()
212 void Class::SetStatus(Handle<Class> h_this, ClassStatus new_status, Thread* self) { in SetStatus() argument
213 ClassStatus old_status = h_this->GetStatus(); in SetStatus()
217 CheckSetStatus(self, h_this, new_status, old_status); in SetStatus()
220 CHECK(!h_this->IsErroneous()) in SetStatus()
[all …]
Dstring.cc115 ObjPtr<String> String::DoConcat(Thread* self, Handle<String> h_this, Handle<String> h_arg) { in DoConcat() argument
116 int32_t length_this = h_this->GetLength(); in DoConcat()
120 kUseStringCompression && (h_this->IsCompressed() && h_arg->IsCompressed()); in DoConcat()
129 memcpy(new_value, h_this->GetValueCompressed(), length_this * sizeof(uint8_t)); in DoConcat()
133 if (h_this->IsCompressed()) { in DoConcat()
134 const uint8_t* value_this = h_this->GetValueCompressed(); in DoConcat()
139 memcpy(new_value, h_this->GetValue(), length_this * sizeof(uint16_t)); in DoConcat()
322 ObjPtr<CharArray> String::ToCharArray(Handle<String> h_this, Thread* self) { in ToCharArray() argument
323 ObjPtr<CharArray> result = CharArray::Alloc(self, h_this->GetLength()); in ToCharArray()
325 if (h_this->IsCompressed()) { in ToCharArray()
[all …]
Darray.cc141 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()
Dobject_array-inl.h343 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()
Dclass_ext.cc64 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()
Dclass_ext-inl.h47 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()
Dstring.h153 static ObjPtr<String> DoConcat(Thread* self, Handle<String> h_this, Handle<String> h_arg)
190 static ObjPtr<CharArray> ToCharArray(Handle<String> h_this, Thread* self)
Dclass.h111 static void SetStatus(Handle<Class> h_this, ClassStatus new_status, Thread* self)
398 static ObjPtr<String> ComputeName(Handle<Class> h_this) REQUIRES_SHARED(Locks::mutator_lock_)
1151 static ObjPtr<ClassExt> EnsureExtDataPresent(Handle<Class> h_this, Thread* self)
1245 static ObjPtr<Class> CopyOf(Handle<Class> h_this,
1264 static int32_t GetInnerClassFlags(Handle<Class> h_this, int32_t default_value)
1335 static bool EnsureMethodIds(Handle<Class> h_this)
1338 static bool EnsureStaticFieldIds(Handle<Class> h_this)
1341 static bool EnsureInstanceFieldIds(Handle<Class> h_this)
Dclass_ext.h126 static bool ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint32_t increase)
Darray.h128 static ObjPtr<Array> CopyOf(Handle<Array> h_this, Thread* self, int32_t new_length)
Dobject.h136 static ObjPtr<Object> Clone(Handle<Object> h_this, Thread* self)
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h473 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/
Dinstrumentation.cc1383 Handle<mirror::Object> h_this(hs.NewHandle(this_object)); in PushInstrumentationStackFrame() local
1385 MethodEnterEvent(self, h_this.Get(), method, 0); in PushInstrumentationStackFrame()
1387 MethodUnwindEvent(self, h_this.Get(), method, 0); in PushInstrumentationStackFrame()
1397 h_this.Get(), method, lr, frame_id, interpreter_entry, current_force_deopt_id_); in PushInstrumentationStackFrame()