Home
last modified time | relevance | path

Searched refs:DownCast (Results 1 – 25 of 47) sorted by relevance

12

/art/runtime/mirror/
Dmethod_handles_lookup.cc37 ObjPtr<MethodHandlesLookup> mhl = ObjPtr<MethodHandlesLookup>::DownCast( in Create()
48 return ObjPtr<MethodHandlesLookup>::DownCast(result.GetL()); in GetDefault()
63 return ObjPtr<MethodHandle>::DownCast(result.GetL()); in FindConstructor()
Darray-alloc-inl.h73 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); in operator()
97 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); in operator()
146 result = ObjPtr<Array>::DownCast( in Alloc()
153 result = ObjPtr<Array>::DownCast( in Alloc()
Dmethod.cc31 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(GetClassRoot<Method>()->AllocObject(self)); in CreateFromArtMethod()
51 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
Dstring-alloc-inl.h46 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); in operator()
66 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); in operator()
102 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); in operator()
133 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); in operator()
194 return ObjPtr<String>::DownCast( in Alloc()
Dobject-inl.h153 return ObjPtr<Class>::DownCast(this); in AsClass()
169 return ObjPtr<ObjectArray<T>>::DownCast(this); in AsObjectArray()
187 return ObjPtr<Reference>::DownCast(this); in AsReference()
193 return ObjPtr<Array>::DownCast(this); in AsArray()
215 return ObjPtr<BooleanArray>::DownCast(this); in AsBooleanArray()
226 return ObjPtr<ByteArray>::DownCast(this); in AsByteArray()
237 return ObjPtr<CharArray>::DownCast(this); in AsCharArray()
248 return ObjPtr<ShortArray>::DownCast(this); in AsShortArray()
258 return ObjPtr<IntArray>::DownCast(this); in AsIntArrayUnchecked()
273 return ObjPtr<LongArray>::DownCast(this); in AsLongArrayUnchecked()
[all …]
Darray-inl.h265 (kUnchecked ? ObjPtr<LongArray>::DownCast(ObjPtr<Object>(this)) : AsLongArray())-> in SetElementPtrSize()
269 (kUnchecked ? ObjPtr<IntArray>::DownCast(ObjPtr<Object>(this)) : AsIntArray()) in SetElementPtrSize()
303 ObjPtr<LongArray> l_this = (kUnchecked ? ObjPtr<LongArray>::DownCast(ObjPtr<Object>(this)) in Memcpy()
305 ObjPtr<LongArray> l_src = (kUnchecked ? ObjPtr<LongArray>::DownCast(ObjPtr<Object>(src)) in Memcpy()
309 ObjPtr<IntArray> i_this = (kUnchecked ? ObjPtr<IntArray>::DownCast(ObjPtr<Object>(this)) in Memcpy()
311 ObjPtr<IntArray> i_src = (kUnchecked ? ObjPtr<IntArray>::DownCast(ObjPtr<Object>(src.Ptr())) in Memcpy()
Dstack_trace_element.cc36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
Dthrowable.cc112 ObjPtr<PointerArray> method_trace = ObjPtr<PointerArray>::DownCast(methods_and_dex_pcs); in Dump()
134 ObjPtr<ObjectArray<StackTraceElement>>::DownCast(stack_trace); in Dump()
Dmethod_handle_impl.cc51 Handle<mirror::MethodHandleImpl> mh(hs.NewHandle(ObjPtr<MethodHandleImpl>::DownCast( in Create()
Diftable-inl.h47 return ObjPtr<PointerArray>::DownCast( in GetMethodArrayOrNull()
Dfield-inl.h67 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
Dclass_ext.cc118 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
Darray.cc130 return ObjPtr<PrimitiveArray<T>>::DownCast(raw_array); in Alloc()
Dmethod_type.cc44 hs.NewHandle(ObjPtr<MethodType>::DownCast(GetClassRoot<MethodType>()->AllocObject(self)))); in Create()
/art/runtime/native/
Djava_lang_System.cc105 ObjPtr<mirror::ByteArray>::DownCast(dstArray)->Memmove( in System_arraycopy()
106 dstPos, ObjPtr<mirror::ByteArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
112 ObjPtr<mirror::ShortArray>::DownCast(dstArray)->Memmove( in System_arraycopy()
113 dstPos, ObjPtr<mirror::ShortArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
119 ObjPtr<mirror::IntArray>::DownCast(dstArray)->Memmove( in System_arraycopy()
120 dstPos, ObjPtr<mirror::IntArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
126 ObjPtr<mirror::LongArray>::DownCast(dstArray)->Memmove( in System_arraycopy()
127 dstPos, ObjPtr<mirror::LongArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
171 return ObjPtr<T>::DownCast(array); in AsPrimitiveArray()
Dsun_misc_Unsafe.cc370 copyToArray(srcAddr, ObjPtr<mirror::ByteArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray()
373 copyToArray(srcAddr, ObjPtr<mirror::ShortArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray()
376 copyToArray(srcAddr, ObjPtr<mirror::IntArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray()
379 copyToArray(srcAddr, ObjPtr<mirror::LongArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray()
405 copyFromArray(dstAddr, ObjPtr<mirror::ByteArray>::DownCast(src), src_offset, sz); in Unsafe_copyMemoryFromPrimitiveArray()
408 copyFromArray(dstAddr, ObjPtr<mirror::ShortArray>::DownCast(src), src_offset, sz); in Unsafe_copyMemoryFromPrimitiveArray()
411 copyFromArray(dstAddr, ObjPtr<mirror::IntArray>::DownCast(src), src_offset, sz); in Unsafe_copyMemoryFromPrimitiveArray()
414 copyFromArray(dstAddr, ObjPtr<mirror::LongArray>::DownCast(src), src_offset, sz); in Unsafe_copyMemoryFromPrimitiveArray()
Djava_lang_reflect_Array.cc47 hs.NewHandle(ObjPtr<mirror::IntArray>::DownCast(dimensions_obj))); in Array_createMultiArray()
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc55 ObjPtr<mirror::IntArray> int_array = ObjPtr<mirror::IntArray>::DownCast(decoded_array); in Java_Main_cloneResolvedMethods()
59 ObjPtr<mirror::LongArray> long_array = ObjPtr<mirror::LongArray>::DownCast(decoded_array); in Java_Main_cloneResolvedMethods()
81 ObjPtr<mirror::IntArray> int_array = ObjPtr<mirror::IntArray>::DownCast(old); in Java_Main_restoreResolvedMethods()
85 ObjPtr<mirror::LongArray> long_array = ObjPtr<mirror::LongArray>::DownCast(old); in Java_Main_restoreResolvedMethods()
/art/compiler/optimizing/
Dintrinsic_objects.cc41 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in LookupIntegerCache()
68 return ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast(result); in GetIntegerValueOfCache()
Dintrinsics.cc68 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in GetBootImageLiveObjects()
90 return ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast(cache_field->GetObject(cache_class)); in GetIntegerCacheArray()
/art/runtime/
Dimtable_test.cc53 ObjPtr<mirror::ClassLoader>::DownCast(self->DecodeJObject(jclass_loader_a))); in LoadClasses()
63 ObjPtr<mirror::ClassLoader>::DownCast(self->DecodeJObject(jclass_loader_b))); in LoadClasses()
Dobj_ptr-inl.h118 inline ObjPtr<MirrorType> ObjPtr<MirrorType>::DownCast(ObjPtr<SourceType> ptr) { in DownCast() function
126 inline ObjPtr<MirrorType> ObjPtr<MirrorType>::DownCast(SourceType* ptr) { in DownCast() function
Dobj_ptr.h102 static ObjPtr<MirrorType> DownCast(ObjPtr<SourceType> ptr) REQUIRES_SHARED(Locks::mutator_lock_);
106 static ObjPtr<MirrorType> DownCast(SourceType* ptr) REQUIRES_SHARED(Locks::mutator_lock_);
Dscoped_thread_state_change-inl.h89 return ObjPtr<T>::DownCast(Self()->DecodeJObject(obj)); in Decode()
Dstring_builder_append.cc285 ObjPtr<mirror::String>::DownCast(hs_.GetReference(handle_index)); in StoreData()
339 ObjPtr<mirror::String> new_string = ObjPtr<mirror::String>::DownCast(obj); in operator ()()

12