/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...] |
/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/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/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/mips/ |
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);
|
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) {
|
/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) {
|
/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...] |
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
|
/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/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") { 208 } else if (shorty == "SIZ") 439 const char* shorty = method->GetShorty(&shorty_len); local [all...] |
/art/runtime/mirror/ |
art_method.cc | 90 size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) { 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[0]) [all...] |
/art/compiler/dex/ |
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...] |
compiler_ir.h | 61 const char* shorty; // compiling method's shorty. member in struct:art::CompilationUnit
|
/art/runtime/entrypoints/quick/ |
quick_trampoline_entrypoints.cc | 233 QuickArgumentVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, const char* shorty, 235 is_static_(is_static), shorty_(shorty), shorty_len_(shorty_len), 239 + StackArgumentStartFromShorty(is_static, shorty, shorty_len)), 397 static size_t StackArgumentStartFromShorty(bool is_static, const char* shorty, 440 const char* shorty, uint32_t shorty_len, ShadowFrame* sf, 442 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), sf_(sf), cur_reg_(first_arg_reg) {} 508 const char* shorty = method->GetShorty(&shorty_len); local 509 BuildQuickShadowFrameVisitor shadow_frame_builder(sp, method->IsStatic(), shorty, shorty_len, 544 const char* shorty, uint32_t shorty_len, 546 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), soa_(soa), args_(args) { 637 const char* shorty = proxy_method->GetShorty(&shorty_len); local 780 const char* shorty = local 1272 LOG(FATAL) << "Unexpected type: " << cur_type_ << " in " << shorty; local 1644 const char* shorty = called->GetShorty(&shorty_len); local 1787 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); local 1926 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(dex_method_idx), local [all...] |
/art/compiler/jni/portable/ |
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/ |
entrypoint_utils.cc | 234 JValue InvokeProxyInvocationHandler(ScopedObjectAccessAlreadyRunnable& soa, const char* shorty, 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/test/115-native-bridge/ |
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, 252 printf("Getting trampoline for %s with shorty %s.\n", name, shorty);
|
/dalvik/libdex/ |
DexProto.cpp | 227 const char* shorty = dexProtoGetShorty(pProto); local 231 shorty++; 234 switch (*(shorty++)) {
|