Home
last modified time | relevance | path

Searched refs:shorty (Results 1 – 25 of 55) sorted by relevance

123

/art/test/115-native-bridge/
Dexpected.txt5 Getting trampoline for JNI_OnLoad with shorty (null).
7 name:booleanMethod, signature:(ZZZZZZZZZZ)Z, shorty:ZZZZZZZZZZZ.
8 name:byteMethod, signature:(BBBBBBBBBB)B, shorty:BBBBBBBBBBB.
9 name:charMethod, signature:(CCCCCCCCCC)C, shorty:CCCCCCCCCCC.
10 name:shortMethod, signature:(SSSSSSSSSS)S, shorty:SSSSSSSSSSS.
11 name:testCallStaticVoidMethodOnSubClassNative, signature:()V, shorty:V.
12 name:testFindClassOnAttachedNativeThread, signature:()V, shorty:V.
13 name:testFindFieldOnAttachedNativeThreadNative, signature:()V, shorty:V.
14 name:testGetMirandaMethodNative, signature:()Ljava/lang/reflect/Method;, shorty:L.
15 name:testNewStringObject, signature:()V, shorty:V.
[all …]
Dnativebridge.cc79 const char* shorty = gNativeBridgeArtCallbacks->getMethodShorty(env, mid); in trampoline_JNI_OnLoad() local
80 if (strcmp(shorty, methods[i].signature) == 0) { in trampoline_JNI_OnLoad()
82 methods[i].name, nb_method->signature, shorty); in trampoline_JNI_OnLoad()
469 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, in native_bridge_getTrampoline() argument
471 printf("Getting trampoline for %s with shorty %s.\n", name, shorty); in native_bridge_getTrampoline()
/art/runtime/arch/arm/
Dquick_entrypoints_cc_arm.cc29 Thread* self, JValue* result, const char* shorty) { in quick_invoke_reg_setup() argument
37 const uint32_t result_in_float = (shorty[0] == 'F' || shorty[0] == 'D') ? 1 : 0; in quick_invoke_reg_setup()
44 for (uint32_t shorty_index = 1; shorty[shorty_index] != '\0'; ++shorty_index, ++arg_index) { in quick_invoke_reg_setup()
45 char arg_type = shorty[shorty_index]; in quick_invoke_reg_setup()
100 Thread* self, JValue* result, const char* shorty) { in art_quick_invoke_stub() argument
101 quick_invoke_reg_setup<false>(method, args, args_size, self, result, shorty); in art_quick_invoke_stub()
108 const char* shorty) { in art_quick_invoke_static_stub() argument
109 quick_invoke_reg_setup<true>(method, args, args_size, self, result, shorty); in art_quick_invoke_static_stub()
/art/compiler/jni/quick/
Dcalling_convention.cc55 const char* shorty, 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()
157 const char* shorty, 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.h78 const char* shorty, in CallingConvention() argument
85 shorty_(shorty) { in CallingConvention()
86 num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1; in CallingConvention()
90 for (size_t i = 1; i < strlen(shorty); i++) { in CallingConvention()
239 const char* shorty,
268 const char* shorty, in ManagedRuntimeCallingConvention() argument
270 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size) {} in ManagedRuntimeCallingConvention()
293 const char* shorty,
378 const char* shorty, in JniCallingConvention() argument
380 : CallingConvention(is_static, is_synchronized, shorty, frame_pointer_size), in JniCallingConvention()
/art/runtime/
Dreflection.cc46 ArgArray(const char* shorty, uint32_t shorty_len) in ArgArray() argument
47 : shorty_(shorty), shorty_len_(shorty_len), num_bytes_(0) { in ArgArray()
55 char c = shorty[i]; in ArgArray()
452 const char* shorty) in InvokeWithArgArray() argument
458 method->Invoke(soa.Self(), args, arg_array->GetNumBytes(), result, shorty); in InvokeWithArgArray()
482 const char** shorty, in InvokeMethodImpl() argument
486 *shorty = np_method->GetShorty(&shorty_len); in InvokeMethodImpl()
487 ArgArray arg_array(*shorty, shorty_len); in InvokeMethodImpl()
493 InvokeWithArgArray(soa, m, &arg_array, result, *shorty); in InvokeMethodImpl()
540 const char* shorty = in InvokeWithVarArgs() local
[all …]
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.cc67 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { in ReturnRegisterForShorty() argument
68 if (shorty[0] == 'F' || shorty[0] == 'D') { in ReturnRegisterForShorty()
74 } else if (shorty[0] == 'J') { in ReturnRegisterForShorty()
76 } else if (shorty[0] == 'V') { in ReturnRegisterForShorty()
199 const char* shorty) in X86JniCallingConvention() argument
203 shorty, in X86JniCallingConvention()
Dcalling_convention_x86.h30 X86ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in X86ManagedRuntimeCallingConvention() argument
33 shorty, in X86ManagedRuntimeCallingConvention()
61 const char* shorty);
/art/runtime/interpreter/
Dinterpreter.cc50 std::string_view shorty, in InterpreterJni() argument
59 if (shorty == "L") { in InterpreterJni()
70 } else if (shorty == "V") { in InterpreterJni()
77 } else if (shorty == "Z") { in InterpreterJni()
84 } else if (shorty == "BI") { in InterpreterJni()
91 } else if (shorty == "II") { in InterpreterJni()
98 } else if (shorty == "LL") { in InterpreterJni()
111 } else if (shorty == "IIZ") { in InterpreterJni()
118 } else if (shorty == "ILI") { in InterpreterJni()
128 } else if (shorty == "SIZ") { in InterpreterJni()
[all …]
/art/compiler/optimizing/
Dbuilder.cc171 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); in BuildIntrinsicGraph() local
172 size_t num_args = strlen(shorty + 1); in BuildIntrinsicGraph()
173 size_t num_wide_args = std::count(shorty + 1, shorty + 1 + num_args, 'J') + in BuildIntrinsicGraph()
174 std::count(shorty + 1, shorty + 1 + num_args, 'D'); in BuildIntrinsicGraph()
Dinstruction_builder.h248 const char* shorty,
254 const char* shorty,
260 const char* shorty);
/art/compiler/jni/quick/mips64/
Dcalling_convention_mips64.cc75 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { in ReturnRegisterForShorty() argument
76 if (shorty[0] == 'F' || shorty[0] == 'D') { in ReturnRegisterForShorty()
78 } else if (shorty[0] == 'V') { in ReturnRegisterForShorty()
161 const char* shorty) in Mips64JniCallingConvention() argument
165 shorty, in Mips64JniCallingConvention()
Dcalling_convention_mips64.h32 Mips64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in Mips64ManagedRuntimeCallingConvention() argument
35 shorty, in Mips64ManagedRuntimeCallingConvention()
60 const char* shorty);
/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
31 shorty, in X86_64ManagedRuntimeCallingConvention()
54 const char* shorty);
Dcalling_convention_x86_64.cc94 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni ATTRIBUTE_UNUSED) { in ReturnRegisterForShorty() argument
95 if (shorty[0] == 'F' || shorty[0] == 'D') { in ReturnRegisterForShorty()
97 } else if (shorty[0] == 'J') { in ReturnRegisterForShorty()
99 } else if (shorty[0] == 'V') { in ReturnRegisterForShorty()
181 const char* shorty) in X86_64JniCallingConvention() argument
185 shorty, in X86_64JniCallingConvention()
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.h30 Arm64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in Arm64ManagedRuntimeCallingConvention() argument
33 shorty, in Arm64ManagedRuntimeCallingConvention()
58 const char* shorty);
Dcalling_convention_arm64.cc143 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { in ReturnRegisterForShorty() argument
144 if (shorty[0] == 'F') { in ReturnRegisterForShorty()
146 } else if (shorty[0] == 'D') { in ReturnRegisterForShorty()
148 } else if (shorty[0] == 'J') { in ReturnRegisterForShorty()
150 } else if (shorty[0] == 'V') { in ReturnRegisterForShorty()
249 const char* shorty) in Arm64JniCallingConvention() argument
253 shorty, in Arm64JniCallingConvention()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.h30 ArmManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in ArmManagedRuntimeCallingConvention() argument
33 shorty, in ArmManagedRuntimeCallingConvention()
58 const char* shorty);
/art/compiler/jni/quick/mips/
Dcalling_convention_mips.h32 MipsManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) in MipsManagedRuntimeCallingConvention() argument
35 shorty, in MipsManagedRuntimeCallingConvention()
60 const char* shorty);
Dcalling_convention_mips.cc86 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { in ReturnRegisterForShorty() argument
87 if (shorty[0] == 'F') { in ReturnRegisterForShorty()
89 } else if (shorty[0] == 'D') { in ReturnRegisterForShorty()
91 } else if (shorty[0] == 'J') { in ReturnRegisterForShorty()
93 } else if (shorty[0] == 'V') { in ReturnRegisterForShorty()
198 const char* shorty) in MipsJniCallingConvention() argument
202 shorty, in MipsJniCallingConvention()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc368 QuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, in QuickArgumentVisitor() argument
370 is_static_(is_static), shorty_(shorty), shorty_len_(shorty_len), in QuickArgumentVisitor()
620 BuildQuickShadowFrameVisitor(ArtMethod** sp, bool is_static, const char* shorty, in BuildQuickShadowFrameVisitor() argument
622 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), sf_(sf), cur_reg_(first_arg_reg) {} in BuildQuickShadowFrameVisitor()
753 const char* shorty = non_proxy_method->GetShorty(&shorty_len); in artQuickToInterpreterBridge() local
769 BuildQuickShadowFrameVisitor shadow_frame_builder(sp, method->IsStatic(), shorty, shorty_len, in artQuickToInterpreterBridge()
824 shorty[0] == 'L' || shorty[0] == '[', /* class or array */ in artQuickToInterpreterBridge()
842 BuildQuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, in BuildQuickArgumentVisitor() argument
844 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), soa_(soa), args_(args) {} in BuildQuickArgumentVisitor()
916 const char* shorty = non_proxy_method->GetShorty(&shorty_len); in artQuickProxyInvokeHandler() local
[all …]
/art/compiler/jni/
Djni_cfi_test.cc63 const char* shorty = "IIFII"; in TestImplSized() local
73 shorty, in TestImplSized()
77 &allocator, is_static, is_synchronized, shorty, isa)); in TestImplSized()
/art/runtime/entrypoints/
Dentrypoint_utils.cc60 const char* shorty, in InvokeProxyInvocationHandler() argument
79 if (shorty[i + 1] == 'L') { in InvokeProxyInvocationHandler()
85 ObjPtr<mirror::Object> val = BoxPrimitive(Primitive::GetType(shorty[i + 1]), jv); in InvokeProxyInvocationHandler()
107 if (shorty[0] == 'V' || (shorty[0] == 'L' && result == nullptr)) { in InvokeProxyInvocationHandler()
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java248 public int findOrCreateMethodId(String className, String methodName, String shorty) { in findOrCreateMethodId() argument
249 int methodIdIdx = findMethodId(className, methodName, shorty); in findOrCreateMethodId()
253 return createMethodId(className, methodName, shorty); in findOrCreateMethodId()
695 String shorty = convertSignatureToShorty(signature); in createProtoId() local
718 int shortyIdx = findOrCreateString(shorty); in createProtoId()
754 String shorty = convertSignatureToShorty(signature); in findProtoId() local
758 int shortyIdx = findString(shorty); in findProtoId()
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DNewInstanceChanger.java185 String shorty = mutatableCode.program.getMethodProto((int) oldMethodIdx); in changeInvokeDirect() local
191 findOrCreateMethodId(className, methodName, shorty); in changeInvokeDirect()

123