/art/compiler/jni/quick/arm/ |
H A D | calling_convention_arm.h | 29 ArmManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument 30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 51 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, kFramePointerSize) { 107 ArmJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
/art/compiler/jni/quick/arm64/ |
H A D | calling_convention_arm64.h | 29 Arm64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument 30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 51 explicit Arm64JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty);
|
H A D | calling_convention_arm64.cc | 49 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { argument 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) { 152 Arm64JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
/art/compiler/jni/quick/mips/ |
H A D | calling_convention_mips.h | 29 MipsManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument 30 : ManagedRuntimeCallingConvention(is_static, is_synchronized, shorty, kFramePointerSize) {} 51 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, kFramePointerSize) { 107 MipsJniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
/art/compiler/jni/quick/x86/ |
H A D | 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); 29 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, kFramePointerSize) { 113 X86JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
/art/compiler/jni/quick/x86_64/ |
H A D | 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); 29 X86_64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
H A D | calling_convention_x86_64.cc | 40 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { argument 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) { 124 X86_64JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
|
/art/runtime/ |
H A D | 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
|
H A D | reflection.cc | 39 explicit ArgArray(const char* shorty, uint32_t shorty_len) argument 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...] |
/art/compiler/jni/quick/ |
H A D | 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); 31 Create( bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument 103 Create(bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument [all...] |
H A D | calling_convention.h | 72 CallingConvention(bool is_static, bool is_synchronized, const char* shorty, argument 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 252 ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty, size_t frame_pointer_size) argument 350 JniCallingConvention(bool is_static, bool is_synchronized, const char* shorty, size_t frame_pointer_size) argument [all...] |
H A D | jni_compiler.cc | 64 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/compiler/dex/ |
H A D | compiler_ir.h | 61 const char* shorty; // compiling method's shorty. member in struct:art::CompilationUnit
|
H A D | frontend.cc | 126 // Supported shorty types per instruction set. nullptr means that all are available. 489 shorty(nullptr), 536 static bool CanCompileShorty(const char* shorty, InstructionSet instruction_set) { argument 543 uint32_t shorty_size = strlen(shorty); 547 if (strchr(supported_types, shorty[i]) == nullptr) { 570 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); local 571 if (!CanCompileShorty(shorty, cu.instruction_set)) { 572 VLOG(compiler) << "Unsupported shorty : " << shorty; 609 << "' with shorty [all...] |
H A D | 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/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 | 234 JValue InvokeProxyInvocationHandler(ScopedObjectAccessAlreadyRunnable& soa, const char* shorty, argument 252 if (shorty[i + 1] == 'L') { 258 mirror::Object* val = BoxPrimitive(Primitive::GetType(shorty[i + 1]), jv); 280 if (shorty[0] == 'V' || (shorty[0] == 'L' && result == NULL)) {
|
/art/runtime/interpreter/ |
H A D | 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") { 208 } else if (shorty 439 const char* shorty = method->GetShorty(&shorty_len); local [all...] |
H A D | interpreter_common.cc | 554 // We need to do runtime check on reference assignment. We need to load the shorty 558 const char* shorty = method->GetShorty(&shorty_len); local 569 // Handle receiver apart since it's not part of the shorty. 581 switch (shorty[shorty_pos + 1]) {
|
/art/runtime/mirror/ |
H A D | art_method.cc | 90 size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) { argument 91 CHECK_LE(1, shorty.length()); 93 for (int i = 1; i < shorty.length(); ++i) { 94 char ch = shorty[i]; 264 const char* shorty) { 273 CHECK_STREQ(GetShorty(), shorty); local 311 (*art_quick_invoke_stub)(this, args, args_size, self, result, shorty); 313 (*art_quick_invoke_static_stub)(this, args, args_size, self, result, shorty); 316 (*art_quick_invoke_stub)(this, args, args_size, self, result, shorty); 319 (*art_portable_invoke_stub)(this, args, args_size, self, result, shorty[ 263 Invoke(Thread* self, uint32_t* args, uint32_t args_size, JValue* result, const char* shorty) argument [all...] |
/art/compiler/optimizing/ |
H A D | builder.cc | 89 const char* shorty = dex_compilation_unit_->GetShorty(); local 105 switch (shorty[pos++]) { 114 new (arena_) HParameterValue(parameter_index++, Primitive::GetType(shorty[pos - 1]));
|
/art/test/115-native-bridge/ |
H A D | nativebridge.cc | 74 const char* shorty = gNativeBridgeArtCallbacks->getMethodShorty(env, mid); local 75 if (strcmp(shorty, methods[i].signature) == 0) { 76 printf(" name:%s, signature:%s, shorty:%s.\n", 77 methods[i].name, nb_method->signature, shorty); 250 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, argument 252 printf("Getting trampoline for %s with shorty %s.\n", name, shorty);
|