/art/compiler/jni/quick/ |
D | calling_convention.cc | 45 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()
|
D | calling_convention.h | 77 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()
|
D | jni_compiler.cc | 121 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/ |
D | hiddenapi.cc | 105 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/ |
D | reflection_test.cc | 91 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 …]
|
D | well_known_classes.cc | 181 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/ |
D | calling_convention_arm64.h | 28 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/ |
D | calling_convention_x86_64.h | 28 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/ |
D | common_helper.cc | 37 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/ |
D | calling_convention_x86.h | 28 X86ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in X86ManagedRuntimeCallingConvention() argument 29 : ManagedRuntimeCallingConvention(is_static, in X86ManagedRuntimeCallingConvention() 54 X86JniCallingConvention(bool is_static,
|
D | calling_convention_x86.cc | 175 X86JniCallingConvention::X86JniCallingConvention(bool is_static, in X86JniCallingConvention() argument 179 : JniCallingConvention(is_static, in X86JniCallingConvention()
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.h | 28 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/ |
D | inline_method_analyser.h | 128 bool is_static, 136 bool is_static, 142 bool is_static,
|
D | inline_method_analyser.cc | 447 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/ |
D | compiler_driver-inl.h | 69 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/ |
D | jni_id.cc | 31 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/ |
D | jni_cfi_test.cc | 61 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/ |
D | main.S | 823 .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/ |
D | jni_internal.h | 54 bool is_static) REQUIRES_SHARED(Locks::mutator_lock_); 62 bool is_static) REQUIRES_SHARED(Locks::mutator_lock_);
|
D | check_jni.cc | 397 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/ |
D | main.S | 509 .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/ |
D | Main.java | 68 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/ |
D | Main.java | 77 private static native long GetMethodId(boolean is_static, Class k, String name, String sig); in GetMethodId() argument
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 319 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/ |
D | assembler_thumb_test.cc | 100 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()
|