Home
last modified time | relevance | path

Searched refs:Decode (Results 1 – 25 of 125) sorted by relevance

12345

/art/runtime/native/
Djava_lang_String.cc38 return soa.Decode<mirror::String>(java_this)->CharAt(index); in String_charAt()
47 return soa.Decode<mirror::String>(java_this)->CompareTo(soa.Decode<mirror::String>(java_rhs)); in String_compareTo()
58 Handle<mirror::String> string_this(hs.NewHandle(soa.Decode<mirror::String>(java_this))); in String_concat()
59 Handle<mirror::String> string_arg(hs.NewHandle(soa.Decode<mirror::String>(java_string_arg))); in String_concat()
73 Handle<mirror::String> string_this(hs.NewHandle(soa.Decode<mirror::String>(java_this))); in String_fastSubstring()
87 Handle<mirror::CharArray> char_array(hs.NewHandle(soa.Decode<mirror::CharArray>(buffer))); in String_getCharsNoCheck()
88 soa.Decode<mirror::String>(java_this)->GetChars(start, end, char_array, index); in String_getCharsNoCheck()
95 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(buffer))); in String_fillBytesLatin1()
96 soa.Decode<mirror::String>(java_this)->FillBytesLatin1(byte_array, byteIndex); in String_fillBytesLatin1()
103 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(buffer))); in String_fillBytesUTF16()
[all …]
Djdk_internal_misc_Unsafe.cc58 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_compareAndSetInt()
79 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_compareAndSetLong()
102 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_compareAndSetReference()
103 ObjPtr<mirror::Object> expectedValue = soa.Decode<mirror::Object>(javaExpectedValue); in Unsafe_compareAndSetReference()
104 ObjPtr<mirror::Object> newValue = soa.Decode<mirror::Object>(javaNewValue); in Unsafe_compareAndSetReference()
137 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_getInt()
143 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_getIntVolatile()
149 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_putInt()
157 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_putIntVolatile()
165 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_putOrderedInt()
[all …]
Dsun_misc_Unsafe.cc44 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_compareAndSwapInt()
57 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_compareAndSwapLong()
68 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_compareAndSwapObject()
69 ObjPtr<mirror::Object> expectedValue = soa.Decode<mirror::Object>(javaExpectedValue); in Unsafe_compareAndSwapObject()
70 ObjPtr<mirror::Object> newValue = soa.Decode<mirror::Object>(javaNewValue); in Unsafe_compareAndSwapObject()
95 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_getInt()
101 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_getIntVolatile()
107 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_putInt()
115 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_putIntVolatile()
123 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(javaObj); in Unsafe_putOrderedInt()
[all …]
Djava_lang_Object.cc32 Handle<mirror::Object> o = hs.NewHandle(soa.Decode<mirror::Object>(java_this)); in Object_internalClone()
38 soa.Decode<mirror::Object>(java_this)->Notify(soa.Self()); in Object_notify()
43 soa.Decode<mirror::Object>(java_this)->NotifyAll(soa.Self()); in Object_notifyAll()
48 soa.Decode<mirror::Object>(java_this)->Wait(soa.Self(), ms, ns); in Object_waitJI()
53 ObjPtr<mirror::Object> o = soa.Decode<mirror::Object>(javaObject); in Object_identityHashCodeNative()
Djava_lang_ref_Reference.cc33 const ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_getReferent()
45 const ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_refersTo0()
46 const ObjPtr<mirror::Object> other = soa.Decode<mirror::Reference>(o); in Reference_refersTo0()
72 const ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_clearReferent()
Djava_lang_invoke_MethodHandle.cc35 auto handle = hs.NewHandle(soa.Decode<mirror::MethodHandle>(thiz)); in MethodHandle_invokeExactWithFrame()
36 auto frame = hs.NewHandle(soa.Decode<mirror::EmulatedStackFrame>(arguments)); in MethodHandle_invokeExactWithFrame()
Djava_lang_reflect_Array.cc39 Handle<mirror::Class> element_class(hs.NewHandle(soa.Decode<mirror::Class>(javaElementClass))); in Array_createMultiArray()
42 ObjPtr<mirror::Object> dimensions_obj = soa.Decode<mirror::Object>(javaDimArray); in Array_createMultiArray()
63 class_linker->FindArrayClass(soa.Self(), soa.Decode<mirror::Class>(javaElementClass)); in Array_createObjectArray()
Djava_lang_ref_FinalizerReference.cc33 const ObjPtr<mirror::FinalizerReference> ref = soa.Decode<mirror::FinalizerReference>(javaThis); in FinalizerReference_makeCircularListIfUnenqueued()
39 const ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in FinalizerReference_getReferent()
Djava_lang_reflect_Field.cc161 *class_or_rcvr = soa.Decode<mirror::Object>(j_rcvr); in CheckReceiver()
171 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in Field_get()
198 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in GetPrimitiveField()
365 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in Field_set()
388 ObjPtr<mirror::Object> boxed_value = soa.Decode<mirror::Object>(javaValue); in Field_set()
411 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in SetPrimitiveField()
496 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getAnnotationNative()
500 Handle<mirror::Class> klass(hs.NewHandle(soa.Decode<mirror::Class>(annotationType))); in Field_getAnnotationNative()
506 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getArtField()
512 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getNameInternal()
[all …]
Djava_lang_StringFactory.cc41 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromBytes()
67 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromUtf16Bytes()
95 Handle<mirror::CharArray> char_array(hs.NewHandle(soa.Decode<mirror::CharArray>(java_data))); in StringFactory_newStringFromChars()
112 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String>(to_copy))); in StringFactory_newStringFromString()
142 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromUtf8Bytes()
/art/benchmark/jobject-benchmark/
Djobject_benchmark.cc29 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); in Java_JObjectBenchmark_timeAddRemoveLocal()
40 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); in Java_JObjectBenchmark_timeDecodeLocal()
44 CHECK_EQ(soa.Decode<mirror::Object>(ref), obj); in Java_JObjectBenchmark_timeDecodeLocal()
52 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); in Java_JObjectBenchmark_timeAddRemoveGlobal()
63 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); in Java_JObjectBenchmark_timeDecodeGlobal()
67 CHECK_EQ(soa.Decode<mirror::Object>(ref), obj); in Java_JObjectBenchmark_timeDecodeGlobal()
75 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal()
86 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); in Java_JObjectBenchmark_timeDecodeWeakGlobal()
90 CHECK_EQ(soa.Decode<mirror::Object>(ref), obj); in Java_JObjectBenchmark_timeDecodeWeakGlobal()
99 soa.Decode<mirror::Object>(jobj); in Java_JObjectBenchmark_timeDecodeHandleScopeRef()
/art/test/004-ThreadStress/
Dthread_stress.cc28 std::cout << soa.Decode<mirror::String>(s)->ToModifiedUtf8(); in Java_Main_printString()
33 std::cout << soa.Decode<mirror::Throwable>(t)->Dump(); in Java_Main_printThrowable()
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc35 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_cloneResolvedMethods()
49 ObjPtr<mirror::Array> decoded_array = soa.Decode<mirror::Array>(array); in Java_Main_cloneResolvedMethods()
70 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods()
74 ObjPtr<mirror::Array> old = soa.Decode<mirror::Array>(old_cache); in Java_Main_restoreResolvedMethods()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc29 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_nativeClearResolvedTypes()
38 Handle<mirror::Class> klass = hs.NewHandle(soa.Decode<mirror::Class>(cls)); in Java_Main_nativeSkipVerification()
52 hs.NewHandle(soa.Decode<mirror::ObjectArray<mirror::Object>>(array)); in Java_Main_nativeDumpClasses()
/art/test/004-UnsafeTest/
Dunsafe_test.cc30 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(classObj); in Java_Main_vmArrayBaseOffset()
37 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(classObj); in Java_Main_vmArrayIndexScale()
/art/test/2235-JdkUnsafeTest/
Dunsafe_test.cc30 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(classObj); in Java_Main_vmJdkArrayBaseOffset()
37 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(classObj); in Java_Main_vmJdkArrayIndexScale()
/art/test/667-jit-jni-stub/
Djit_jni_stub_test.cc43 std::string name = soa.Decode<mirror::String>(methodName)->ToModifiedUtf8(); in Java_Main_callThrough()
45 CHECK(method != nullptr) << soa.Decode<mirror::Class>(klass)->PrettyDescriptor() << "." << name; in Java_Main_callThrough()
/art/test/common/
Druntime_state.cc68 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in Java_Main_hasOatFile()
79 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in Java_Main_getCompilerFilter()
119 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in Java_Main_compiledWithOptimizing()
171 ArtMethod* method = soa.Decode<mirror::Class>(cls)->FindDeclaredDirectMethodByName( in Java_Main_isAotCompiled()
184 ArtMethod* method = soa.Decode<mirror::Class>(cls)->FindDeclaredDirectMethodByName( in GetMethod()
187 method = soa.Decode<mirror::Class>(cls)->FindDeclaredVirtualMethodByName( in GetMethod()
359 method = soa.Decode<mirror::Class>(cls)->FindDeclaredVirtualMethodByName( in Java_Main_hasSingleImplementation()
372 soa.Decode<mirror::Class>(cls)->FindDeclaredDirectMethodByName(chars.c_str(), in Java_Main_getHotnessCounter()
378 method = soa.Decode<mirror::Class>(cls)->FindDeclaredVirtualMethodByName(chars.c_str(), in Java_Main_getHotnessCounter()
452 return soa.Decode<mirror::Class>(c)->IsObsoleteObject(); in Java_Main_isObsoleteObject()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc44 Handle<mirror::ClassLoader> h_loader(hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader))); in Java_Main_areClassesVerified()
83 Handle<mirror::ClassLoader> h_loader = hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader)); in Java_Main_hasVdexFile()
113 Handle<mirror::ClassLoader> h_loader = hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader)); in Java_Main_isBackedByOatFile()
140 Handle<mirror::ClassLoader> h_loader(hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader))); in Java_Main_areClassesPreverified()
/art/test/596-app-images/
Dapp_images.cc78 ObjPtr<mirror::Class> klass_ptr = soa.Decode<mirror::Class>(c); in Java_Main_checkAppImageContains()
95 ObjPtr<mirror::Class> klass_ptr = soa.Decode<mirror::Class>(c); in Java_Main_checkInitialized()
/art/test/595-profile-saving/
Dprofile-saving.cc40 ObjPtr<mirror::Executable> exec = soa.Decode<mirror::Executable>(method); in Java_Main_ensureProfilingInfo()
70 ObjPtr<mirror::Executable> exec = soa.Decode<mirror::Executable>(method); in Java_Main_presentInProfile()
/art/compiler/optimizing/
Dintrinsic_objects.h52 return static_cast<PatchType>(PatchTypeField::Decode(intrinsic_data)); in DecodePatchType()
56 return IndexField::Decode(intrinsic_data); in DecodePatchIndex()
/art/test/664-aget-verifier/
Daget-verifier.cc35 ObjPtr<mirror::Executable> exec = soa.Decode<mirror::Executable>(method); in Java_Main_testCompiled()
/art/test/172-app-image-twice/
Ddebug_print_class.cc27 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in Java_Main_debugPrintClass()
/art/libartbase/base/
Dbit_field_test.cc33 ASSERT_EQ(16, TestBitFields::Decode(32)); in TEST()

12345