Searched refs:shorty (Results 1 - 25 of 36) sorted by relevance

12

/art/compiler/jni/quick/
H A Dcalling_convention.cc32 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 Dcalling_convention.h72 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 Djni_compiler.cc64 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/jni/quick/x86/
H A Dcalling_convention_x86.cc40 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
H A Dcalling_convention_x86.h30 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
/art/compiler/jni/quick/arm/
H A Dcalling_convention_arm.h29 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 Dcalling_convention_arm.cc34 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 Dcalling_convention_arm64.h29 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 Dcalling_convention_arm64.cc49 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 Dcalling_convention_mips.h29 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 Dcalling_convention_mips.cc34 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_64/
H A Dcalling_convention_x86_64.h30 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 Dcalling_convention_x86_64.cc40 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 Dreflection.cc39 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...]
H A Dmethod_helper.h65 const char* shorty = GetShorty(); local
68 if (shorty[i] == 'L') {
90 param++; // 0th argument must skip return value at start of the shorty
/art/runtime/interpreter/
H A Dinterpreter.cc132 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...]
/art/runtime/mirror/
H A Dart_method.cc90 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/dex/
H A Dvreg_analysis.cc221 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...]
H A Dcompiler_ir.h61 const char* shorty; // compiling method's shorty. member in struct:art::CompilationUnit
H A Dfrontend.cc126 // 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...]
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc233 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, argument
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_le
439 BuildQuickShadowFrameVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, const char* shorty, uint32_t shorty_len, ShadowFrame* sf, size_t first_arg_reg) argument
543 BuildQuickArgumentVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, const char* shorty, uint32_t shorty_len, ScopedObjectAccessUnchecked* soa, std::vector<jvalue>* args) argument
637 const char* shorty = proxy_method->GetShorty(&shorty_len); local
663 RememberForGcArgumentVisitor(StackReference<mirror::ArtMethod>* sp, bool is_static, const char* shorty, uint32_t shorty_len, ScopedObjectAccessUnchecked* soa) argument
780 const char* shorty = local
1272 LOG(FATAL) << "Unexpected type: " << cur_type_ << " in " << shorty; local
1462 BuildGenericJniFrameVisitor(StackReference<mirror::ArtMethod>** sp, bool is_static, const char* shorty, uint32_t shorty_len, Thread* self) argument
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/test/115-native-bridge/
H A Dnativebridge.cc74 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);
/art/compiler/jni/portable/
H A Djni_compiler.cc284 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 Dentrypoint_utils.cc234 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)) {
H A Dentrypoint_utils.h179 JValue InvokeProxyInvocationHandler(ScopedObjectAccessAlreadyRunnable& soa, const char* shorty,

Completed in 1586 milliseconds

12