/art/test/115-native-bridge/ |
expected.txt | 5 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:testZeroLengthByteBuffers, signature:()V, shorty:V [all...] |
nativebridge.cc | 73 const char* shorty = gNativeBridgeArtCallbacks->getMethodShorty(env, mid); local 74 if (strcmp(shorty, methods[i].signature) == 0) { 75 printf(" name:%s, signature:%s, shorty:%s.\n", 76 methods[i].name, nb_method->signature, shorty); 243 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, 245 printf("Getting trampoline for %s with shorty %s.\n", name, shorty);
|
/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 x86::X86ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 44 return new x86_64::X86_64ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 104 const char* shorty, 109 return new arm::ArmJniCallingConvention(is_static, is_synchronized, shorty); 111 return new arm64::Arm64JniCallingConvention(is_static, is_synchronized, shorty); 113 return new mips::MipsJniCallingConvention(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/compiler/jni/quick/x86/ |
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') { 114 const char* shorty) 115 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {
|
calling_convention_x86.h | 30 const char* shorty) 31 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 50 explicit X86JniCallingConvention(bool is_static, bool is_synchronized, const char* 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]; 133 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 173 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 207 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 331 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 411 const char* shorty) 417 method->Invoke(soa.Self(), args, arg_array->GetNumBytes(), result, shorty); 434 const char* shorty = method->GetShorty(&shorty_len); local 454 const char* shorty = method->GetShorty(&shorty_len); local 474 const char* shorty = method->GetShorty(&shorty_len); local 495 const char* shorty = method->GetShorty(&shorty_len); local 577 const char* shorty = m->GetShorty(&shorty_len); local 630 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.
|
method_helper.h | 65 const char* shorty = GetShorty(); local 68 if (shorty[i] == 'L') { 90 param++; // 0th argument must skip return value at start of the shorty
|
/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);
|
calling_convention_arm.cc | 34 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { 35 if (shorty[0] == 'F') { 37 } else if (shorty[0] == 'D') { 39 } else if (shorty[0] == 'J') { 41 } else if (shorty[0] == 'V') { 108 const char* shorty) 109 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {
|
/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 | 49 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { 50 if (shorty[0] == 'F') { 52 } else if (shorty[0] == 'D') { 54 } else if (shorty[0] == 'J') { 56 } else if (shorty[0] == 'V') { 153 const char* shorty) 154 : 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 | 40 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { 41 if (shorty[0] == 'F' || shorty[0] == 'D') { 43 } else if (shorty[0] == 'J') { 45 } else if (shorty[0] == 'V') { 125 const char* shorty) 126 : JniCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {
|
/system/core/include/nativebridge/ |
native_bridge.h | 61 void* NativeBridgeGetTrampoline(void* handle, const char* name, const char* shorty, uint32_t len); 107 // shorty [IN] short descriptor of native method 108 // len [IN] length of shorty 111 void* (*getTrampoline)(void* handle, const char* name, const char* shorty, uint32_t len); 134 // Get shorty of a Java method. The shorty is supposed to be persistent in memory. 153 // via 'methods' [OUT]. The signature pointer in JNINativeMethod is reused as the method shorty. 158 // methods [OUT] array of method with the name, shorty, and fnPtr.
|
/art/compiler/jni/quick/mips/ |
calling_convention_mips.cc | 34 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { 35 if (shorty[0] == 'F') { 37 } else if (shorty[0] == 'D') { 39 } else if (shorty[0] == 'J') { 41 } else if (shorty[0] == 'V') { 108 const char* shorty) 109 : 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/runtime/interpreter/ |
interpreter.cc | 132 static void InterpreterJni(Thread* self, ArtMethod* method, const StringPiece& shorty, 139 if (shorty == "L") { 150 } else if (shorty == "V") { 157 } else if (shorty == "Z") { 164 } else if (shorty == "BI") { 171 } else if (shorty == "II") { 178 } else if (shorty == "LL") { 191 } else if (shorty == "IIZ") { 198 } else if (shorty == "ILI") { 207 } else if (shorty == "SIZ") 438 const char* shorty = method->GetShorty(&shorty_len); local [all...] |
/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;
|
/art/compiler/dex/ |
compiler_ir.h | 61 const char* shorty; // compiling method's shorty. member in struct:art::CompilationUnit
|
vreg_analysis.cc | 221 switch (cu_->shorty[0]) { 260 const char* shorty = GetShortyFromTargetIdx(target_idx); local 262 if ((shorty[0] == 'F') || (shorty[0] == 'D')) { 271 if (shorty[0] == 'D') { 287 if (strlen(shorty) > 1) { 289 DCHECK_LT(cpos, strlen(shorty)); 290 switch (shorty[cpos++]) { 474 const char* shorty = cu_->shorty; local [all...] |
/art/compiler/llvm/ |
backend_types.h | 95 LOG(FATAL) << "Unknown Dalvik shorty descriptor: " << shorty_jty;
|
/art/runtime/mirror/ |
art_method.cc | 107 size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) { 108 CHECK_LE(1, shorty.length()); 110 for (int i = 1; i < shorty.length(); ++i) { 111 char ch = shorty[i]; 285 const char* shorty) { 294 CHECK_STREQ(GetShorty(), shorty); local 332 (*art_quick_invoke_stub)(this, args, args_size, self, result, shorty); 334 (*art_quick_invoke_static_stub)(this, args, args_size, self, result, shorty); 337 (*art_quick_invoke_stub)(this, args, args_size, self, result, shorty); 340 (*art_portable_invoke_stub)(this, args, args_size, self, result, shorty[0]) [all...] |
/art/runtime/entrypoints/quick/ |
quick_trampoline_entrypoints.cc | 217 QuickArgumentVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, const char* shorty, 219 is_static_(is_static), shorty_(shorty), shorty_len_(shorty_len), 223 + StackArgumentStartFromShorty(is_static, shorty, shorty_len)), 381 static size_t StackArgumentStartFromShorty(bool is_static, const char* shorty, 417 const char* shorty, uint32_t shorty_len, ShadowFrame* sf, 419 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), sf_(sf), cur_reg_(first_arg_reg) {} 485 const char* shorty = method->GetShorty(&shorty_len); local 486 BuildQuickShadowFrameVisitor shadow_frame_builder(sp, method->IsStatic(), shorty, shorty_len, 521 const char* shorty, uint32_t shorty_len, 523 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), soa_(soa), args_(args) { 614 const char* shorty = proxy_method->GetShorty(&shorty_len); local 757 const char* shorty = local 1240 LOG(FATAL) << "Unexpected type: " << cur_type_ << " in " << shorty; local 1612 const char* shorty = called->GetShorty(&shorty_len); local 1755 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); local 1894 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(dex_method_idx), local [all...] |