Home
last modified time | relevance | path

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

12

/art/compiler/jni/quick/
Dcalling_convention.cc32 bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) { in Create() argument
36 return new arm::ArmManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); in Create()
38 return new arm64::Arm64ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); in Create()
40 return new mips::MipsManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); in Create()
42 return new x86::X86ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); in Create()
44 return new x86_64::X86_64ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); in Create()
103 JniCallingConvention* JniCallingConvention::Create(bool is_static, bool is_synchronized, in Create() argument
109 return new arm::ArmJniCallingConvention(is_static, is_synchronized, shorty); in Create()
111 return new arm64::Arm64JniCallingConvention(is_static, is_synchronized, shorty); in Create()
113 return new mips::MipsJniCallingConvention(is_static, is_synchronized, shorty); in Create()
[all …]
Dcalling_convention.h72 CallingConvention(bool is_static, bool is_synchronized, const char* shorty, in CallingConvention() argument
78 is_static_(is_static), is_synchronized_(is_synchronized), in CallingConvention()
80 num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1; in CallingConvention()
81 num_ref_args_ = is_static ? 0 : 1; // The implicit this pointer. in CallingConvention()
224 static ManagedRuntimeCallingConvention* Create(bool is_static, bool is_synchronized,
252 ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty, in ManagedRuntimeCallingConvention() argument
254 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size) {} in ManagedRuntimeCallingConvention()
273 static JniCallingConvention* Create(bool is_static, bool is_synchronized, const char* shorty,
350 explicit JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty, in JniCallingConvention() argument
352 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size) {} in JniCallingConvention()
Djni_compiler.cc62 const bool is_static = (access_flags & kAccStatic) != 0; in ArtJniCompileMethodInternal() local
69 JniCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
73 ManagedRuntimeCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
89 JniCallingConvention::Create(is_static, is_synchronized, jni_end_shorty, instruction_set)); in ArtJniCompileMethodInternal()
131 if (is_static) { in ArtJniCompileMethodInternal()
260 if (is_static) { in ArtJniCompileMethodInternal()
270 if (is_static) { in ArtJniCompileMethodInternal()
/art/runtime/
Dreflection_test.cc86 bool is_static, const char* method_name, in ReflectionTestMakeExecutable() argument
89 const char* class_name = is_static ? "StaticLeafMethods" : "NonStaticLeafMethods"; in ReflectionTestMakeExecutable()
96 if (is_static) { in ReflectionTestMakeExecutable()
110 *method = is_static ? c->FindDirectMethod(method_name, method_signature) in ReflectionTestMakeExecutable()
114 if (is_static) { in ReflectionTestMakeExecutable()
131 void InvokeNopMethod(bool is_static) { in InvokeNopMethod() argument
135 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V"); in InvokeNopMethod()
139 void InvokeIdentityByteMethod(bool is_static) { in InvokeIdentityByteMethod() argument
143 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B"); in InvokeIdentityByteMethod()
163 void InvokeIdentityIntMethod(bool is_static) { in InvokeIdentityIntMethod() argument
[all …]
Dwell_known_classes.cc125 static jfieldID CacheField(JNIEnv* env, jclass c, bool is_static, const char* name, const char* sig… in CacheField() argument
126 …jfieldID fid = is_static ? env->GetStaticFieldID(c, name, signature) : env->GetFieldID(c, name, si… in CacheField()
133 jmethodID CacheMethod(JNIEnv* env, jclass c, bool is_static, const char* name, const char* signatur… in CacheMethod() argument
134 …jmethodID mid = is_static ? env->GetStaticMethodID(c, name, signature) : env->GetMethodID(c, name,… in CacheMethod()
Dclass_linker_test.cc380 CheckOffsets(bool is_static, const char* class_descriptor) in CheckOffsets()
381 : is_static(is_static), class_descriptor(class_descriptor) {} in CheckOffsets()
382 bool is_static; member
395 if (!klass->IsArtMethodClass() && !klass->IsClassClass() && !is_static) { in Check()
396 size_t expected_size = is_static ? klass->GetClassSize(): klass->GetObjectSize(); in Check()
406 size_t num_fields = is_static ? klass->NumStaticFields() : klass->NumInstanceFields(); in Check()
416 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); in Check()
425 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); in Check()
439 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); in Check()
447 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); in Check()
Dclass_linker-inl.h143 bool is_static) { in ResolveField() argument
151 resolved_field = ResolveField(dex_file, field_idx, dex_cache, class_loader, is_static); in ResolveField()
Dwell_known_classes.h32 jmethodID CacheMethod(JNIEnv* env, jclass c, bool is_static, const char* name, const char* signatur…
Dcommon_throws.cc240 void ThrowIncompatibleClassChangeErrorField(mirror::ArtField* resolved_field, bool is_static, in ThrowIncompatibleClassChangeErrorField() argument
244 << (is_static ? "static" : "instance") << " field" << " rather than a " in ThrowIncompatibleClassChangeErrorField()
245 << (is_static ? "instance" : "static") << " field"; in ThrowIncompatibleClassChangeErrorField()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h262 bool is_static; in FindFieldFromCode() local
264 case InstanceObjectRead: is_primitive = false; is_set = false; is_static = false; break; in FindFieldFromCode()
265 case InstanceObjectWrite: is_primitive = false; is_set = true; is_static = false; break; in FindFieldFromCode()
266 case InstancePrimitiveRead: is_primitive = true; is_set = false; is_static = false; break; in FindFieldFromCode()
267 case InstancePrimitiveWrite: is_primitive = true; is_set = true; is_static = false; break; in FindFieldFromCode()
268 case StaticObjectRead: is_primitive = false; is_set = false; is_static = true; break; in FindFieldFromCode()
269 case StaticObjectWrite: is_primitive = false; is_set = true; is_static = true; break; in FindFieldFromCode()
270 case StaticPrimitiveRead: is_primitive = true; is_set = false; is_static = true; break; in FindFieldFromCode()
272 default: is_primitive = true; is_set = true; is_static = true; break; in FindFieldFromCode()
275 mirror::ArtField* resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode()
[all …]
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.h29 Arm64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in Arm64ManagedRuntimeCallingConvention() argument
30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} in Arm64ManagedRuntimeCallingConvention()
51 explicit Arm64JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
Dcalling_convention_arm64.cc152 Arm64JniCallingConvention::Arm64JniCallingConvention(bool is_static, bool is_synchronized, in Arm64JniCallingConvention() argument
154 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) { in Arm64JniCallingConvention()
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.h29 explicit X86_64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, in X86_64ManagedRuntimeCallingConvention() argument
31 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} in X86_64ManagedRuntimeCallingConvention()
50 explicit X86_64JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
Dcalling_convention_x86_64.cc124 X86_64JniCallingConvention::X86_64JniCallingConvention(bool is_static, bool is_synchronized, in X86_64JniCallingConvention() argument
126 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) { in X86_64JniCallingConvention()
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.h29 explicit X86ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, in X86ManagedRuntimeCallingConvention() argument
31 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} in X86ManagedRuntimeCallingConvention()
50 explicit X86JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
Dcalling_convention_x86.cc113 X86JniCallingConvention::X86JniCallingConvention(bool is_static, bool is_synchronized, in X86JniCallingConvention() argument
115 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) { in X86JniCallingConvention()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.h29 ArmManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in ArmManagedRuntimeCallingConvention() argument
30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} in ArmManagedRuntimeCallingConvention()
51 explicit ArmJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
Dcalling_convention_arm.cc107 ArmJniCallingConvention::ArmJniCallingConvention(bool is_static, bool is_synchronized, in ArmJniCallingConvention() argument
109 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) { in ArmJniCallingConvention()
/art/compiler/jni/quick/mips/
Dcalling_convention_mips.h29 MipsManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in MipsManagedRuntimeCallingConvention() argument
30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} in MipsManagedRuntimeCallingConvention()
51 explicit MipsJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
Dcalling_convention_mips.cc107 MipsJniCallingConvention::MipsJniCallingConvention(bool is_static, bool is_synchronized, in MipsJniCallingConvention() argument
109 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) { in MipsJniCallingConvention()
/art/compiler/jni/portable/
Djni_compiler.cc64 const bool is_static = dex_compilation_unit_->IsStatic(); in Compile() local
86 if (!is_static) { in Compile()
139 is_static, true)->getPointerTo(), in Compile()
262 const bool is_static = dex_compilation_unit_->IsStatic(); in CreateFunction() local
266 GetFunctionType(dex_compilation_unit_->GetDexMethodIndex(), is_static, false); in CreateFunction()
281 bool is_static, bool is_native_function) { in GetFunctionType() argument
307 if (!is_static || is_native_function) { in GetFunctionType()
Djni_compiler.h66 bool is_static, bool is_target_function);
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc233 QuickArgumentVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, const char* shorty, in QuickArgumentVisitor() argument
235 is_static_(is_static), shorty_(shorty), shorty_len_(shorty_len), in QuickArgumentVisitor()
239 + StackArgumentStartFromShorty(is_static, shorty, shorty_len)), in QuickArgumentVisitor()
397 static size_t StackArgumentStartFromShorty(bool is_static, const char* shorty, in StackArgumentStartFromShorty() argument
439 BuildQuickShadowFrameVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, in BuildQuickShadowFrameVisitor() argument
442 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), sf_(sf), cur_reg_(first_arg_reg) {} in BuildQuickShadowFrameVisitor()
543 BuildQuickArgumentVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, in BuildQuickArgumentVisitor() argument
546 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), soa_(soa), args_(args) {} in BuildQuickArgumentVisitor()
663 RememberForGcArgumentVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, in RememberForGcArgumentVisitor() argument
666 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), soa_(soa) {} in RememberForGcArgumentVisitor()
[all …]
/art/compiler/driver/
Dcompiler_driver-inl.h63 uint32_t field_idx, bool is_static) { in ResolveField() argument
67 *mUnit->GetDexFile(), field_idx, dex_cache, class_loader, is_static); in ResolveField()
74 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in ResolveField()
/art/runtime/interpreter/
Dinterpreter_common.cc32 const bool is_static = (find_type == StaticObjectRead) || (find_type == StaticPrimitiveRead); in DoFieldGet() local
33 const uint32_t field_idx = is_static ? inst->VRegB_21c() : inst->VRegC_22c(); in DoFieldGet()
41 if (is_static) { in DoFieldGet()
58 uint32_t vregA = is_static ? inst->VRegA_21c(inst_data) : inst->VRegA_22c(inst_data); in DoFieldGet()
208 bool is_static = (find_type == StaticObjectWrite) || (find_type == StaticPrimitiveWrite); in DoFieldPut() local
209 uint32_t field_idx = is_static ? inst->VRegB_21c() : inst->VRegC_22c(); in DoFieldPut()
217 if (is_static) { in DoFieldPut()
228 uint32_t vregA = is_static ? inst->VRegA_21c(inst_data) : inst->VRegA_22c(inst_data); in DoFieldPut()

12