Home
last modified time | relevance | path

Searched refs:DownCast (Results 1 – 25 of 48) 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.h72 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); in operator()
96 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); in operator()
145 result = ObjPtr<Array>::DownCast( in Alloc()
152 result = ObjPtr<Array>::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 …]
Dstring-alloc-inl.h45 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); in operator()
65 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); in operator()
101 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); in operator()
132 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); in operator()
193 return ObjPtr<String>::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()
Darray-inl.h257 (kUnchecked ? ObjPtr<LongArray>::DownCast(ObjPtr<Object>(this)) : AsLongArray())-> in SetElementPtrSize()
261 (kUnchecked ? ObjPtr<IntArray>::DownCast(ObjPtr<Object>(this)) : AsIntArray()) in SetElementPtrSize()
295 ObjPtr<LongArray> l_this = (kUnchecked ? ObjPtr<LongArray>::DownCast(ObjPtr<Object>(this)) in Memcpy()
297 ObjPtr<LongArray> l_src = (kUnchecked ? ObjPtr<LongArray>::DownCast(ObjPtr<Object>(src)) in Memcpy()
301 ObjPtr<IntArray> i_this = (kUnchecked ? ObjPtr<IntArray>::DownCast(ObjPtr<Object>(this)) in Memcpy()
303 ObjPtr<IntArray> i_src = (kUnchecked ? ObjPtr<IntArray>::DownCast(ObjPtr<Object>(src.Ptr())) in Memcpy()
Dmethod_handle_impl.cc51 Handle<mirror::MethodHandleImpl> mh(hs.NewHandle(ObjPtr<MethodHandleImpl>::DownCast( in Create()
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()
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.cc106 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/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.h93 return ObjPtr<T>::DownCast(Self()->DecodeJObject(obj)); in Decode()
/art/compiler/optimizing/
Dintrinsic_objects.cc41 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in LookupIntegerCache()
91 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/openjdkjvmti/
Dti_redefine.cc530 art::ObjPtr<art::mirror::DexCache>::DownCast( in CreateNewDexCache()
924 return art::ObjPtr<art::mirror::ClassLoader>::DownCast( in GetSourceClassLoader()
933 return art::ObjPtr<art::mirror::LongArray>::DownCast( in GetNewDexFileCookie()
938 return art::ObjPtr<art::mirror::DexCache>::DownCast(GetSlot(klass_index, kSlotNewDexCache)); in GetNewDexCache()
942 return art::ObjPtr<art::mirror::Class>::DownCast(GetSlot(klass_index, kSlotMirrorClass)); in GetMirrorClass()
947 return art::ObjPtr<art::mirror::Object>::DownCast(GetSlot(klass_index, kSlotOrigDexFile)); in GetOriginalDexFile()
952 return art::ObjPtr<art::mirror::PointerArray>::DownCast( in GetOldObsoleteMethods()
958 return art::ObjPtr<art::mirror::ObjectArray<art::mirror::DexCache>>::DownCast( in GetOldDexCaches()

12