Home
last modified time | relevance | path

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

123

/art/compiler/jni/quick/
Dcalling_convention.cc53 bool is_static, in Create() argument
63 is_static, is_synchronized, shorty)); in Create()
69 is_static, is_synchronized, shorty)); in Create()
75 is_static, is_synchronized, shorty)); in Create()
81 is_static, is_synchronized, shorty)); in Create()
87 is_static, is_synchronized, shorty)); in Create()
93 is_static, is_synchronized, shorty)); in Create()
154 bool is_static, in Create() argument
165 is_static, is_synchronized, is_critical_native, shorty)); in Create()
171 is_static, is_synchronized, is_critical_native, shorty)); in Create()
[all …]
Dcalling_convention.h76 CallingConvention(bool is_static, in CallingConvention() argument
84 is_static_(is_static), is_synchronized_(is_synchronized), in CallingConvention()
86 num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1; in CallingConvention()
87 num_ref_args_ = is_static ? 0 : 1; // The implicit this pointer. in CallingConvention()
237 bool is_static,
266 ManagedRuntimeCallingConvention(bool is_static, in ManagedRuntimeCallingConvention() argument
270 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size) {} in ManagedRuntimeCallingConvention()
290 bool is_static,
375 JniCallingConvention(bool is_static, in JniCallingConvention() argument
380 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size), in JniCallingConvention()
Djni_compiler.cc123 const bool is_static = (access_flags & kAccStatic) != 0; in ArtJniCompileMethodInternal() local
162 CHECK(is_static) in ArtJniCompileMethodInternal()
184 is_static, in ArtJniCompileMethodInternal()
193 &allocator, is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
210 is_static, in ArtJniCompileMethodInternal()
249 if (is_static) { in ArtJniCompileMethodInternal()
314 if (kUseReadBarrier && is_static && !is_critical_native) { in ArtJniCompileMethodInternal()
450 if (is_static) { in ArtJniCompileMethodInternal()
461 if (is_static && !is_critical_native) { in ArtJniCompileMethodInternal()
/art/test/674-hiddenapi/
Dhiddenapi.cc102 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverField() argument
104 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canDiscoverField()
115 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canGetField() argument
117 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canGetField()
123 if (is_static) { in Java_JNI_canGetField()
145 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canSetField() argument
147 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canSetField()
153 if (is_static) { in Java_JNI_canSetField()
175 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverMethod() argument
177 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 …]
Dclass_linker-inl.h401 bool is_static) { in LookupResolvedField() argument
408 field = LookupResolvedField(field_idx, referrer->GetDexCache(), class_loader, is_static); in LookupResolvedField()
415 bool is_static) { in ResolveField() argument
426 resolved_field = ResolveField(field_idx, dex_cache, class_loader, is_static); in ResolveField()
Dwell_known_classes.cc171 static jfieldID CacheField(JNIEnv* env, jclass c, bool is_static, in CacheField() argument
173 jfieldID fid = is_static ? env->GetStaticFieldID(c, name, signature) : in CacheField()
188 static jmethodID CacheMethod(JNIEnv* env, jclass c, bool is_static, in CacheMethod() argument
190 jmethodID mid = is_static ? env->GetStaticMethodID(c, name, signature) : in CacheMethod()
205 static jmethodID CacheMethod(JNIEnv* env, const char* klass, bool is_static, in CacheMethod() argument
208 return CacheMethod(env, java_class.get(), is_static, name, signature); in CacheMethod()
/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()
51 X86_64JniCallingConvention(bool is_static,
Dcalling_convention_x86_64.cc178 X86_64JniCallingConvention::X86_64JniCallingConvention(bool is_static, in X86_64JniCallingConvention() argument
182 : JniCallingConvention(is_static, in X86_64JniCallingConvention()
/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.h30 Arm64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in Arm64ManagedRuntimeCallingConvention() argument
31 : ManagedRuntimeCallingConvention(is_static, in Arm64ManagedRuntimeCallingConvention()
55 Arm64JniCallingConvention(bool is_static,
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.h30 X86ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in X86ManagedRuntimeCallingConvention() argument
31 : ManagedRuntimeCallingConvention(is_static, in X86ManagedRuntimeCallingConvention()
58 X86JniCallingConvention(bool is_static,
Dcalling_convention_x86.cc196 X86JniCallingConvention::X86JniCallingConvention(bool is_static, in X86JniCallingConvention() argument
200 : JniCallingConvention(is_static, in X86JniCallingConvention()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.h30 ArmManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in ArmManagedRuntimeCallingConvention() argument
31 : ManagedRuntimeCallingConvention(is_static, in ArmManagedRuntimeCallingConvention()
55 ArmJniCallingConvention(bool is_static,
/art/compiler/jni/quick/mips/
Dcalling_convention_mips.h32 MipsManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in MipsManagedRuntimeCallingConvention() argument
33 : ManagedRuntimeCallingConvention(is_static, in MipsManagedRuntimeCallingConvention()
57 MipsJniCallingConvention(bool is_static,
Dcalling_convention_mips.cc195 MipsJniCallingConvention::MipsJniCallingConvention(bool is_static, in MipsJniCallingConvention() argument
199 : JniCallingConvention(is_static, in MipsJniCallingConvention()
/art/compiler/jni/quick/mips64/
Dcalling_convention_mips64.h32 Mips64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in Mips64ManagedRuntimeCallingConvention() argument
33 : ManagedRuntimeCallingConvention(is_static, in Mips64ManagedRuntimeCallingConvention()
57 Mips64JniCallingConvention(bool is_static,
Dcalling_convention_mips64.cc158 Mips64JniCallingConvention::Mips64JniCallingConvention(bool is_static, in Mips64JniCallingConvention() argument
162 : JniCallingConvention(is_static, in Mips64JniCallingConvention()
/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/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/entrypoints/
Dentrypoint_utils-inl.h327 constexpr bool is_static = (type & FindFieldFlags::StaticBit) != 0; in FindFieldFromCode() local
350 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode()
359 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFromCode()
360 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, referrer); in FindFieldFromCode()
386 if (!is_static) { in FindFieldFromCode()
624 const bool is_static = (type & FindFieldFlags::StaticBit) != 0; in FindFieldFast() local
625 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in FindFieldFast()
630 if (is_static) { in FindFieldFast()
/art/libdexfile/dex/
Ddex_file-inl.h185 bool is_static, in DecodeDebugLocalInfo() argument
198 if (!is_static) { in DecodeDebugLocalInfo()
340 bool is_static, in DecodeDebugLocalInfo() argument
357 is_static, in DecodeDebugLocalInfo()
Dcode_item_accessors-inl.h203 bool is_static, in DecodeDebugLocalInfo() argument
210 is_static, in DecodeDebugLocalInfo()

123