/art/test/115-native-bridge/ |
expected.txt | 6 Getting trampoline for JNI_OnLoad with shorty (null). 8 name:booleanMethod, signature:(ZZZZZZZZZZ)Z, shorty:ZZZZZZZZZZZ. 9 name:byteMethod, signature:(BBBBBBBBBB)B, shorty:BBBBBBBBBBB. 10 name:charMethod, signature:(CCCCCCCCCC)C, shorty:CCCCCCCCCCC. 11 name:shortMethod, signature:(SSSSSSSSSS)S, shorty:SSSSSSSSSSS. 12 name:testCallStaticVoidMethodOnSubClassNative, signature:()V, shorty:V. 13 name:testFindClassOnAttachedNativeThread, signature:()V, shorty:V. 14 name:testFindFieldOnAttachedNativeThreadNative, signature:()V, shorty:V. 15 name:testGetMirandaMethodNative, signature:()Ljava/lang/reflect/Method;, shorty:L. 16 name:testNewStringObject, signature:()V, shorty:V [all...] |
/art/compiler/jni/quick/ |
calling_convention.cc | 32 bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) { 36 return new arm::ArmManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 38 return new arm64::Arm64ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 40 return new mips::MipsManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 42 return new mips64::Mips64ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 44 return new x86::X86ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 46 return new x86_64::X86_64ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 106 const char* shorty, 111 return new arm::ArmJniCallingConvention(is_static, is_synchronized, shorty); 113 return new arm64::Arm64JniCallingConvention(is_static, is_synchronized, shorty); [all...] |
calling_convention.h | 72 CallingConvention(bool is_static, bool is_synchronized, const char* shorty, 79 shorty_(shorty) { 80 num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1; 84 for (size_t i = 1; i < strlen(shorty); i++) { 113 param++; // 0th argument must skip return value at start of the shorty 123 param++; // 0th argument must skip return value at start of the shorty 133 param++; // 0th argument must skip return value at start of the shorty 142 param++; // 0th argument must skip return value at start of the shorty 151 param++; // 0th argument must skip return value at start of the shorty 172 param++; // 0th argument must skip return value at start of the shorty [all...] |
/art/runtime/interpreter/ |
interpreter.cc | 29 static void InterpreterJni(Thread* self, ArtMethod* method, const StringPiece& shorty, 36 if (shorty == "L") { 47 } else if (shorty == "V") { 54 } else if (shorty == "Z") { 61 } else if (shorty == "BI") { 68 } else if (shorty == "II") { 75 } else if (shorty == "LL") { 89 } else if (shorty == "IIZ") { 96 } else if (shorty == "ILI") { 107 } else if (shorty == "SIZ") 344 const char* shorty = method->GetShorty(&shorty_len); local [all...] |
/art/compiler/jni/quick/arm/ |
calling_convention_arm.h | 29 ArmManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) 30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 51 explicit ArmJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
/art/compiler/jni/quick/arm64/ |
calling_convention_arm64.h | 29 Arm64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) 30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 51 explicit Arm64JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
calling_convention_arm64.cc | 54 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { 55 if (shorty[0] == 'F') { 57 } else if (shorty[0] == 'D') { 59 } else if (shorty[0] == 'J') { 61 } else if (shorty[0] == 'V') { 158 const char* shorty) 159 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {
|
/art/compiler/jni/quick/mips64/ |
calling_convention_mips64.h | 29 Mips64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) 30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 51 explicit Mips64JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
calling_convention_mips64.cc | 43 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { 44 if (shorty[0] == 'F' || shorty[0] == 'D') { 46 } else if (shorty[0] == 'V') { 127 const char* shorty) 128 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {
|
/art/compiler/jni/quick/x86/ |
calling_convention_x86.h | 30 const char* shorty) 31 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize), 54 explicit X86JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
calling_convention_x86.cc | 40 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { 41 if (shorty[0] == 'F' || shorty[0] == 'D') { 47 } else if (shorty[0] == 'J') { 49 } else if (shorty[0] == 'V') { 170 const char* shorty) 171 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {
|
/art/compiler/jni/quick/x86_64/ |
calling_convention_x86_64.h | 30 const char* shorty) 31 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 50 explicit X86_64JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
calling_convention_x86_64.cc | 41 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { 43 if (shorty[0] == 'F' || shorty[0] == 'D') { 45 } else if (shorty[0] == 'J') { 47 } else if (shorty[0] == 'V') { 127 const char* shorty) 128 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {
|
/art/runtime/arch/arm/ |
quick_entrypoints_cc_arm.cc | 29 Thread* self, JValue* result, const char* shorty) { 38 (shorty[0] == 'F' || shorty[0] == 'D') ? 1 : 0; 45 for (uint32_t shorty_index = 1; shorty[shorty_index] != '\0'; ++shorty_index, ++arg_index) { 46 char arg_type = shorty[shorty_index]; 105 Thread* self, JValue* result, const char* shorty) { 106 quick_invoke_reg_setup<false>(method, args, args_size, self, result, shorty); 113 const char* shorty) { 114 quick_invoke_reg_setup<true>(method, args, args_size, self, result, shorty);
|
/art/runtime/ |
reflection.cc | 39 explicit ArgArray(const char* shorty, uint32_t shorty_len) 40 : shorty_(shorty), shorty_len_(shorty_len), num_bytes_(0) { 46 // Analyze shorty to see if we need the large arg array. 48 char c = shorty[i]; 127 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 167 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 201 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 324 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 428 const char* shorty) 434 method->Invoke(soa.Self(), args, arg_array->GetNumBytes(), result, shorty); 456 const char* shorty = method->GetShorty(&shorty_len); local 486 const char* shorty = method->GetShorty(&shorty_len); local 517 const char* shorty = method->GetShorty(&shorty_len); local 548 const char* shorty = method->GetShorty(&shorty_len); local 633 const char* shorty = np_method->GetShorty(&shorty_len); local 677 const char* shorty; local [all...] |
dex_file-inl.h | 70 uint32_t lhs_shorty_len; // For a shorty utf16 length == mutf8 length. 81 return false; // Shorty mismatch. 96 // Both lists are empty or have contents, or else shorty is broken.
|
/art/compiler/jni/quick/mips/ |
calling_convention_mips.cc | 35 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { 36 if (shorty[0] == 'F') { 38 } else if (shorty[0] == 'D') { 40 } else if (shorty[0] == 'J') { 42 } else if (shorty[0] == 'V') { 109 const char* shorty) 110 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {
|
calling_convention_mips.h | 29 MipsManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) 30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 51 explicit MipsJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
/art/compiler/jni/ |
jni_cfi_test.cc | 44 const char* shorty = "IIFII"; local 46 JniCallingConvention::Create(is_static, is_synchronized, shorty, isa)); 48 ManagedRuntimeCallingConvention::Create(is_static, is_synchronized, shorty, isa));
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderProtoReference.java | 44 @Nonnull final BuilderStringReference shorty; field in class:BuilderProtoReference 49 public BuilderProtoReference(@Nonnull BuilderStringReference shorty, @Nonnull BuilderTypeList parameterTypes, 51 this.shorty = shorty;
|
/system/core/include/nativebridge/ |
native_bridge.h | 68 void* NativeBridgeGetTrampoline(void* handle, const char* name, const char* shorty, uint32_t len); 124 // shorty [IN] short descriptor of native method 125 // len [IN] length of shorty 128 void* (*getTrampoline)(void* handle, const char* name, const char* shorty, uint32_t len); 176 // Get shorty of a Java method. The shorty is supposed to be persistent in memory. 195 // via 'methods' [OUT]. The signature pointer in JNINativeMethod is reused as the method shorty. 200 // methods [OUT] array of method with the name, shorty, and fnPtr.
|
/system/core/libnativebridge/tests/ |
DummyNativeBridge.cpp | 33 const char* /* shorty */, uint32_t /* len */) {
|
/art/runtime/entrypoints/quick/ |
quick_trampoline_entrypoints.cc | 309 QuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, 311 is_static_(is_static), shorty_(shorty), shorty_len_(shorty_len), 552 BuildQuickShadowFrameVisitor(ArtMethod** sp, bool is_static, const char* shorty, 554 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), sf_(sf), cur_reg_(first_arg_reg) {} 620 const char* shorty = non_proxy_method->GetShorty(&shorty_len); local 621 BuildQuickShadowFrameVisitor shadow_frame_builder(sp, method->IsStatic(), shorty, shorty_len, 650 self->SetDeoptimizationReturnValue(result, shorty[0] == 'L'); 662 BuildQuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, 664 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), soa_(soa), args_(args) {} 752 const char* shorty = non_proxy_method->GetShorty(&shorty_len) local 891 const char* shorty = local 1448 LOG(FATAL) << "Unexpected type: " << cur_type_ << " in " << shorty; local 1815 const char* shorty = called->GetShorty(&shorty_len); local 1956 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); local 2090 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(dex_method_idx), local [all...] |
/art/compiler/dex/ |
compiler_ir.cc | 39 shorty(nullptr),
|
/art/compiler/dex/quick/ |
mir_to_lir-inl.h | 281 inline Mir2Lir::ShortyIterator::ShortyIterator(const char* shorty, bool is_static) 282 : cur_(shorty + 1), pending_this_(!is_static), initialized_(false) { 283 DCHECK(shorty != nullptr); 284 DCHECK_NE(*shorty, 0);
|