/art/compiler/jni/quick/arm/ |
H A D | calling_convention_arm.h | 27 ArmManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument 28 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty) {} 49 explicit ArmJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
H A D | calling_convention_arm.cc | 34 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { argument 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) { 107 ArmJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
/art/compiler/jni/quick/mips/ |
H A D | calling_convention_mips.h | 26 MipsManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument 27 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty) {} 48 explicit MipsJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
H A D | calling_convention_mips.cc | 34 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { argument 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) { 107 MipsJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
/art/compiler/jni/quick/x86/ |
H A D | calling_convention_x86.h | 28 const char* shorty) 29 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty) {} 48 explicit X86JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty); 27 X86ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
H A D | calling_convention_x86.cc | 40 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { argument 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) { 113 X86JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
/art/compiler/jni/quick/ |
H A D | calling_convention.cc | 35 bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) { 39 return new arm::ArmManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 41 return new mips::MipsManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 43 return new x86::X86ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty); 88 const char* shorty, 93 return new arm::ArmJniCallingConvention(is_static, is_synchronized, shorty); 95 return new mips::MipsJniCallingConvention(is_static, is_synchronized, shorty); 97 return new x86::X86JniCallingConvention(is_static, is_synchronized, shorty); 34 Create( bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument 87 Create(bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument
|
H A D | calling_convention.h | 68 CallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument 70 shorty_(shorty) { 71 num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1; 74 for (size_t i = 1; i < strlen(shorty); i++) { 93 param++; // 0th argument must skip return value at start of the shorty 103 param++; // 0th argument must skip return value at start of the shorty 121 param++; // 0th argument must skip return value at start of the shorty 167 const char* shorty, 191 ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument 192 : CallingConvention(is_static, is_synchronized, shorty) {} 276 JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument [all...] |
H A D | jni_compiler.cc | 62 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); local 69 JniCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); 73 ManagedRuntimeCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set));
|
/art/runtime/ |
H A D | invoke_arg_array_builder.h | 26 static inline size_t NumArgArrayBytes(const char* shorty, uint32_t shorty_len) { argument 29 char ch = shorty[i]; 33 // Argument is a reference or an array. The shorty descriptor 45 explicit ArgArray(const char* shorty, uint32_t shorty_len) argument 46 : shorty_(shorty), shorty_len_(shorty_len), num_bytes_(0) { 52 // Analyze shorty to see if we need the large arg array. 54 char c = shorty[i];
|
H A D | dex_file_verifier.cc | 97 LOG(ERROR) << "Bad shorty character: '" << shorty_char << "'"; 1404 const char* shorty = dex_file_->StringDataByIdx(item->shorty_idx_); local 1410 // Check the return type and advance the shorty. 1411 if (!CheckShortyDescriptorMatch(*shorty, dex_file_->StringByTypeIdx(item->return_type_idx_), true)) { 1414 shorty++; 1417 while (it.HasNext() && *shorty != '\0') { 1419 if (!CheckShortyDescriptorMatch(*shorty, descriptor, false)) { 1423 shorty++; 1425 if (it.HasNext() || *shorty != '\0') { 1426 LOG(ERROR) << "Mismatched length for parameters and shorty"; [all...] |
H A D | debugger.cc | 1390 std::string shorty(mh.GetShorty()); 1391 expandBufAdd4BE(pReply, mirror::ArtMethod::NumArgRegisters(shorty)); 2708 const char* shorty = mh.GetShorty(); local 2711 if (shorty[i + 1] != JdwpTagToShortyChar(arg_types[i])) { 2715 if (shorty[i + 1] == 'L') {
|
/art/compiler/dex/ |
H A D | compiler_ir.h | 56 shorty(NULL), 85 const char* shorty; // compiling method's shorty. member in struct:art::CompilationUnit
|
H A D | vreg_analysis.cc | 163 switch (cu_->shorty[0]) { 199 const char* shorty = GetShortyFromTargetIdx(target_idx); local 201 if ((shorty[0] == 'F') || (shorty[0] == 'D')) { 210 if (shorty[0] == 'D') { 225 if (strlen(shorty) > 1) { 227 DCHECK_LT(cpos, strlen(shorty)); 228 switch (shorty[cpos++]) { 408 const char* shorty = cu_->shorty; local [all...] |
/art/compiler/jni/portable/ |
H A D | jni_compiler.cc | 284 const char* shorty = dex_compilation_unit_->GetShorty(&shorty_size); local 289 switch (shorty[0]) { 300 default: LOG(FATAL) << "Unreachable: unexpected return type in shorty " << shorty; 314 args_type.push_back(irb_.getJType(shorty[i]));
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 301 JValue InvokeProxyInvocationHandler(ScopedObjectAccessUnchecked& soa, const char* shorty, argument 317 if (shorty[i + 1] == 'L') { 323 mirror::Object* val = BoxPrimitive(Primitive::GetType(shorty[i + 1]), jv); 345 if (shorty[0] == 'V' || (shorty[0] == 'L' && result == NULL)) {
|
/art/runtime/mirror/ |
H A D | art_method.cc | 87 size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) { argument 88 CHECK_LE(1, shorty.length()); 90 for (int i = 1; i < shorty.length(); ++i) { 91 char ch = shorty[i];
|
/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 119 const char* shorty, uint32_t shorty_len) 121 is_static_(is_static), shorty_(shorty), shorty_len_(shorty_len), 122 args_in_regs_(ComputeArgsInRegs(is_static, shorty, shorty_len)), 142 index++; // 0th argument must skip return value at start of the shorty 192 static size_t ComputeArgsInRegs(bool is_static, const char* shorty, uint32_t shorty_len) 196 char s = shorty[i]; 228 bool is_static, const char* shorty, 230 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), sf_(sf), cur_reg_(first_arg_reg) {} 319 BuildQuickArgumentVisitor(mirror::ArtMethod** sp, bool is_static, const char* shorty, argument 322 QuickArgumentVisitor(sp, is_static, shorty, shorty_le 227 BuildQuickShadowFrameVisitor(mirror::ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ShadowFrame& sf, size_t first_arg_reg) argument 420 RememberFoGcArgumentVisitor(mirror::ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ScopedObjectAccessUnchecked* soa) argument 521 const char* shorty = local [all...] |
/art/runtime/interpreter/ |
H A D | interpreter.cc | 227 static void InterpreterJni(Thread* self, ArtMethod* method, StringPiece shorty, 234 if (shorty == "L") { 245 } else if (shorty == "V") { 252 } else if (shorty == "Z") { 259 } else if (shorty == "BI") { 266 } else if (shorty == "II") { 273 } else if (shorty == "LL") { 286 } else if (shorty == "IIZ") { 293 } else if (shorty == "ILI") { 302 } else if (shorty 471 const char* shorty = mh.GetShorty(); local 581 const char* shorty = mh.GetShorty(); local 3172 const char* shorty = mh.GetShorty(); local [all...] |
/art/compiler/dex/portable/ |
H A D | mir_to_gbc.cc | 468 * be different than shorty. For example, if a function return value 1665 const char* shorty = cu_->shorty; local 1666 uint32_t shorty_size = strlen(shorty); 1681 if (shorty[i] == 'J' || shorty[i] == 'D') { 1780 * Here, we're doing the latter. We map the shorty signature to container 1796 ::llvm::Type* ret_type = irb_->getJType(RemapShorty(cu_->shorty[0])); 1809 for (uint32_t i = 1; i < strlen(cu_->shorty); ++i) { 1810 args_type.push_back(irb_->getJType(RemapShorty(cu_->shorty[ [all...] |
/art/compiler/llvm/ |
H A D | gbc_expander.cc | 2680 const char* shorty = dex_compilation_unit_->GetDexFile()->GetMethodShorty(method_id, &shorty_size); local 2693 char shorty_type = art::RemapShorty(shorty[i]);
|