Home
last modified time | relevance | path

Searched refs:is_static (Results 1 – 25 of 68) sorted by relevance

123

/art/compiler/jni/quick/
Dcalling_convention.cc45 bool is_static, in Create() argument
55 is_static, is_synchronized, shorty)); in Create()
61 is_static, is_synchronized, shorty)); in Create()
67 is_static, is_synchronized, shorty)); in Create()
73 is_static, is_synchronized, shorty)); in Create()
134 bool is_static, in Create() argument
145 is_static, is_synchronized, is_critical_native, shorty)); in Create()
151 is_static, is_synchronized, is_critical_native, shorty)); in Create()
157 is_static, is_synchronized, is_critical_native, shorty)); in Create()
163 is_static, is_synchronized, is_critical_native, shorty)); in Create()
Dcalling_convention.h77 CallingConvention(bool is_static, in CallingConvention() argument
85 is_static_(is_static), is_synchronized_(is_synchronized), in CallingConvention()
87 num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1; in CallingConvention()
88 num_ref_args_ = is_static ? 0 : 1; // The implicit this pointer. in CallingConvention()
238 bool is_static,
272 ManagedRuntimeCallingConvention(bool is_static, in ManagedRuntimeCallingConvention() argument
276 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size) {} in ManagedRuntimeCallingConvention()
296 bool is_static,
407 JniCallingConvention(bool is_static, in JniCallingConvention() argument
412 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size), in JniCallingConvention()
Djni_compiler.cc121 const bool is_static = (access_flags & kAccStatic) != 0; in ArtJniCompileMethodInternal() local
160 CHECK(is_static) in ArtJniCompileMethodInternal()
182 is_static, in ArtJniCompileMethodInternal()
191 &allocator, is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
208 is_static, in ArtJniCompileMethodInternal()
260 if (is_static) { in ArtJniCompileMethodInternal()
327 if (kUseReadBarrier && is_static && !is_critical_native) { in ArtJniCompileMethodInternal()
478 if (is_static) { in ArtJniCompileMethodInternal()
488 if (is_static) { in ArtJniCompileMethodInternal()
/art/test/674-hiddenapi/
Dhiddenapi.cc105 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverField() argument
107 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canDiscoverField()
118 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canGetField() argument
120 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canGetField()
126 if (is_static) { in Java_JNI_canGetField()
148 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canSetField() argument
150 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canSetField()
156 if (is_static) { in Java_JNI_canSetField()
178 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverMethod() argument
180 jmethodID method = is_static ? env->GetStaticMethodID(klass, utf_name.c_str(), "()I") in Java_JNI_canDiscoverMethod()
[all …]
/art/runtime/
Dreflection_test.cc91 bool is_static, in ReflectionTestMakeInterpreted() argument
95 const char* class_name = is_static ? "StaticLeafMethods" : "NonStaticLeafMethods"; in ReflectionTestMakeInterpreted()
102 if (!is_static) { in ReflectionTestMakeInterpreted()
115 CHECK_EQ(is_static, (*method)->IsStatic()); in ReflectionTestMakeInterpreted()
117 if (is_static) { in ReflectionTestMakeInterpreted()
137 void InvokeNopMethod(bool is_static) { in InvokeNopMethod() argument
141 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "nop", "()V"); in InvokeNopMethod()
146 void InvokeIdentityByteMethod(bool is_static) { in InvokeIdentityByteMethod() argument
150 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "identity", "(B)B"); in InvokeIdentityByteMethod()
172 void InvokeIdentityIntMethod(bool is_static) { in InvokeIdentityIntMethod() argument
[all …]
Dwell_known_classes.cc181 static jfieldID CacheField(JNIEnv* env, jclass c, bool is_static, in CacheField() argument
188 FindFieldJNI(soa, c, name, signature, is_static)); in CacheField()
191 FindFieldJNI(soa, c, name, signature, is_static)); in CacheField()
207 static jmethodID CacheMethod(JNIEnv* env, jclass c, bool is_static, in CacheMethod() argument
214 FindMethodJNI(soa, c, name, signature, is_static)); in CacheMethod()
217 FindMethodJNI(soa, c, name, signature, is_static)); in CacheMethod()
233 static jmethodID CacheMethod(JNIEnv* env, const char* klass, bool is_static, in CacheMethod() argument
236 return CacheMethod(env, java_class.get(), is_static, name, signature); in CacheMethod()
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.h28 Arm64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in Arm64ManagedRuntimeCallingConvention() argument
29 : ManagedRuntimeCallingConvention(is_static, in Arm64ManagedRuntimeCallingConvention()
49 Arm64JniCallingConvention(bool is_static,
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.h28 X86_64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in X86_64ManagedRuntimeCallingConvention() argument
29 : ManagedRuntimeCallingConvention(is_static, in X86_64ManagedRuntimeCallingConvention()
49 X86_64JniCallingConvention(bool is_static,
/art/test/ti-agent/
Dcommon_helper.cc37 bool is_static = (mods & kAccStatic) != 0; in GetJavaField() local
38 return env->ToReflectedField(field_klass, f, is_static); in GetJavaField()
47 bool is_static = (mods & kAccStatic) != 0; in GetJavaMethod() local
52 jobject res = env->ToReflectedMethod(method_klass, m, is_static); in GetJavaMethod()
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.h28 X86ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in X86ManagedRuntimeCallingConvention() argument
29 : ManagedRuntimeCallingConvention(is_static, in X86ManagedRuntimeCallingConvention()
54 X86JniCallingConvention(bool is_static,
Dcalling_convention_x86.cc175 X86JniCallingConvention::X86JniCallingConvention(bool is_static, in X86JniCallingConvention() argument
179 : JniCallingConvention(is_static, in X86JniCallingConvention()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.h28 ArmManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in ArmManagedRuntimeCallingConvention() argument
29 : ManagedRuntimeCallingConvention(is_static, in ArmManagedRuntimeCallingConvention()
57 ArmJniCallingConvention(bool is_static,
/art/compiler/dex/
Dinline_method_analyser.h128 bool is_static,
136 bool is_static,
142 bool is_static,
Dinline_method_analyser.cc447 bool is_static, in AnalyseMethodCode() argument
495 return AnalyseIGetMethod(code_item, method_ref, is_static, method, result); in AnalyseMethodCode()
507 return AnalyseIPutMethod(code_item, method_ref, is_static, method, result); in AnalyseMethodCode()
577 bool is_static, in AnalyseIGetMethod() argument
610 if (is_static || object_arg != 0u) { in AnalyseIGetMethod()
631 data->method_is_static = is_static ? 1u : 0u; in AnalyseIGetMethod()
641 bool is_static, in AnalyseIPutMethod() argument
676 if (is_static || object_arg != 0u) { in AnalyseIPutMethod()
699 data->method_is_static = is_static ? 1u : 0u; in AnalyseIPutMethod()
/art/dex2oat/driver/
Dcompiler_driver-inl.h69 bool is_static) { in ResolveField() argument
71 field_idx, dex_cache, class_loader, is_static); in ResolveField()
78 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in ResolveField()
/art/test/1972-jni-id-swap-indices/
Djni_id.cc31 bool is_static, in Java_Main_GetMethodId() argument
35 auto get_id = is_static ? env->functions->GetStaticMethodID : env->functions->GetMethodID; in Java_Main_GetMethodId()
/art/compiler/jni/
Djni_cfi_test.cc61 const bool is_static = true; in TestImplSized() local
70 is_static, in TestImplSized()
77 &allocator, is_static, is_synchronized, shorty, isa)); in TestImplSized()
/art/runtime/interpreter/mterp/x86_64ng/
Dmain.S823 .macro SETUP_NON_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument
881 .elseif \is_static
903 .macro SETUP_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument
911 .elseif !\is_static
937 .elseif !\is_static
1001 .macro COMMON_INVOKE_NON_RANGE is_static=0, is_interface=0, suffix="", is_string_init=0, is_polymor… argument
1010 .elseif \is_static
1029 .elseif \is_static
1047 .elseif \is_static
1094 .macro COMMON_INVOKE_RANGE is_static=0, is_interface=0, suffix="", is_string_init=0, is_polymorphic… argument
[all …]
/art/runtime/jni/
Djni_internal.h54 bool is_static) REQUIRES_SHARED(Locks::mutator_lock_);
62 bool is_static) REQUIRES_SHARED(Locks::mutator_lock_);
Dcheck_jni.cc397 bool is_static = (invoke == kStatic); in CheckMethodAndSig() local
398 if (is_static != m->IsStatic()) { in CheckMethodAndSig()
399 if (is_static) { in CheckMethodAndSig()
750 bool CheckFieldAccess(ScopedObjectAccess& soa, jobject obj, jfieldID fid, bool is_static, in CheckFieldAccess() argument
753 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess()
756 if (!is_static && !CheckInstanceFieldID(soa, obj, fid)) { in CheckFieldAccess()
761 if (is_static != field->IsStatic()) { in CheckFieldAccess()
773 if (is_static) { in CheckFieldAccess()
2824 const char* name, const char* sig, bool is_static) { in GetMethodIDInternal() argument
2831 if (is_static) { in GetMethodIDInternal()
[all …]
/art/runtime/interpreter/mterp/arm64ng/
Dmain.S509 .macro SETUP_NON_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument
560 .elseif \is_static
590 .macro SETUP_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument
596 .elseif !\is_static
617 .elseif !\is_static
792 .macro COMMON_INVOKE_NON_RANGE is_static=0, is_interface=0, suffix="", is_string_init=0, is_polymor… argument
802 .elseif \is_static
821 .elseif \is_static
839 .elseif \is_static
1030 .macro COMMON_INVOKE_RANGE is_static=0, is_interface=0, suffix="", is_string_init=0, is_polymorphic… argument
[all …]
/art/test/1973-jni-id-swap-pointer/src/
DMain.java68 private static native long GetMethodId(boolean is_static, Class k, String name, String sig); in GetMethodId() argument
/art/test/1972-jni-id-swap-indices/src/
DMain.java77 private static native long GetMethodId(boolean is_static, Class k, String name, String sig); in GetMethodId() argument
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h319 constexpr bool is_static = (type & FindFieldFlags::StaticBit) != 0; in FindFieldFromCode() local
342 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode()
351 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFromCode()
352 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, referrer); in FindFieldFromCode()
378 if (!is_static) { in FindFieldFromCode()
618 const bool is_static = (type & FindFieldFlags::StaticBit) != 0; in FindFieldFast() local
619 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFast()
624 if (is_static) { in FindFieldFast()
/art/compiler/utils/
Dassembler_thumb_test.cc100 const bool is_static = true; in TEST_F() local
107 is_static, in TEST_F()
114 &allocator, is_static, is_synchronized, shorty, InstructionSet::kThumb2)); in TEST_F()

123