/art/compiler/jni/quick/ |
D | calling_convention.cc | 46 bool is_static, in Create() argument 56 is_static, is_synchronized, shorty)); in Create() 62 is_static, is_synchronized, shorty)); in Create() 68 is_static, is_synchronized, shorty)); in Create() 74 is_static, is_synchronized, shorty)); in Create() 135 bool is_static, in Create() argument 146 is_static, is_synchronized, is_critical_native, shorty)); in Create() 152 is_static, is_synchronized, is_critical_native, shorty)); in Create() 158 is_static, is_synchronized, is_critical_native, shorty)); in Create() 164 is_static, is_synchronized, is_critical_native, shorty)); in Create()
|
D | calling_convention.h | 76 CallingConvention(bool is_static, in CallingConvention() argument 83 is_static_(is_static), is_synchronized_(is_synchronized), in CallingConvention() 85 num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1; in CallingConvention() 86 num_ref_args_ = is_static ? 0 : 1; // The implicit this pointer. in CallingConvention() 234 bool is_static, 268 ManagedRuntimeCallingConvention(bool is_static, in ManagedRuntimeCallingConvention() argument 272 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size) {} in ManagedRuntimeCallingConvention() 292 bool is_static, 392 JniCallingConvention(bool is_static, in JniCallingConvention() argument 397 : 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() 266 if (kUseReadBarrier && is_static && !is_critical_native) { in ArtJniCompileMethodInternal() 293 if (is_static) { in ArtJniCompileMethodInternal() 380 if (is_static) { in ArtJniCompileMethodInternal() 392 if (is_static) { in ArtJniCompileMethodInternal() 529 if (is_static) { in ArtJniCompileMethodInternal() [all …]
|
/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 | 184 static jfieldID CacheField(JNIEnv* env, jclass c, bool is_static, in CacheField() argument 191 FindFieldJNI(soa, c, name, signature, is_static)); in CacheField() 194 FindFieldJNI(soa, c, name, signature, is_static)); in CacheField() 210 static jmethodID CacheMethod(JNIEnv* env, jclass c, bool is_static, in CacheMethod() argument 217 FindMethodJNI(soa, c, name, signature, is_static)); in CacheMethod() 220 FindMethodJNI(soa, c, name, signature, is_static)); in CacheMethod() 236 static jmethodID CacheMethod(JNIEnv* env, const char* klass, bool is_static, in CacheMethod() argument 239 return CacheMethod(env, java_class.get(), is_static, name, signature); in CacheMethod()
|
/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/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/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,
|
/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/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/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/runtime/interpreter/mterp/armng/ |
D | main.S | 555 .macro SETUP_NON_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument 557 .if \is_static 610 .elseif \is_static 644 .macro SETUP_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument 650 .elseif !\is_static 672 .elseif !\is_static 947 .macro COMMON_INVOKE_NON_RANGE is_static=0, is_interface=0, suffix="", is_string_init=0, is_polymor… argument 957 .elseif \is_static 979 .if \is_static 989 .if \is_static [all …]
|
/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/runtime/interpreter/mterp/arm64ng/ |
D | main.S | 542 .macro SETUP_NON_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument 593 .elseif \is_static 623 .macro SETUP_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument 629 .elseif !\is_static 650 .elseif !\is_static 853 .macro COMMON_INVOKE_NON_RANGE is_static=0, is_interface=0, suffix="", is_string_init=0, is_polymor… argument 863 .elseif \is_static 883 .if \is_static 891 .if \is_static 911 .if \is_static [all …]
|
/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 | 901 .macro SETUP_NON_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument 959 .elseif \is_static 981 .macro SETUP_RANGE_ARGUMENTS_AND_EXECUTE is_static=0, is_string_init=0 argument 989 .elseif !\is_static 1015 .elseif !\is_static 1096 .macro COMMON_INVOKE_NON_RANGE is_static=0, is_interface=0, suffix="", is_string_init=0, is_polymor… argument 1105 .elseif \is_static 1126 .if \is_static 1134 .if \is_static 1159 .if \is_static [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_);
|
/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() 617 const bool is_static = (type & FindFieldFlags::StaticBit) != 0; in FindFieldFast() local 618 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFast() 623 if (is_static) { in FindFieldFast()
|
/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/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()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 489 const bool is_static = (find_type == StaticObjectRead) || (find_type == StaticPrimitiveRead); in DoFieldGet() local 490 const uint32_t field_idx = is_static ? inst->VRegB_21c() : inst->VRegC_22c(); in DoFieldGet() 499 if (is_static) { in DoFieldGet() 522 uint32_t vregA = is_static ? inst->VRegA_21c(inst_data) : inst->VRegA_22c(inst_data); in DoFieldGet() 588 bool is_static = (find_type == StaticObjectWrite) || (find_type == StaticPrimitiveWrite); in DoFieldPut() local 589 uint32_t field_idx = is_static ? inst->VRegB_21c() : inst->VRegC_22c(); in DoFieldPut() 598 if (is_static) { in DoFieldPut() 611 uint32_t vregA = is_static ? inst->VRegA_21c(inst_data) : inst->VRegA_22c(inst_data); in DoFieldPut()
|