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.cc46 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()
Dcalling_convention.h76 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()
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()
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/
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.cc184 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/
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/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/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,
/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/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/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/runtime/interpreter/mterp/armng/
Dmain.S555 .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/
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/runtime/interpreter/mterp/arm64ng/
Dmain.S542 .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/
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.S901 .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/
Djni_internal.h54 bool is_static) REQUIRES_SHARED(Locks::mutator_lock_);
62 bool is_static) REQUIRES_SHARED(Locks::mutator_lock_);
/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()
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/
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/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()
/art/runtime/interpreter/
Dinterpreter_common.h489 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()

123