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

123

/art/runtime/arch/arm/
H A Dquick_entrypoints_cc_arm.cc29 Thread* self, JValue* result, const char* shorty) {
37 const uint32_t result_in_float = (shorty[0] == 'F' || shorty[0] == 'D') ? 1 : 0;
44 for (uint32_t shorty_index = 1; shorty[shorty_index] != '\0'; ++shorty_index, ++arg_index) {
45 char arg_type = shorty[shorty_index];
100 Thread* self, JValue* result, const char* shorty) {
101 quick_invoke_reg_setup<false>(method, args, args_size, self, result, shorty);
108 const char* shorty) {
109 quick_invoke_reg_setup<true>(method, args, args_size, self, result, shorty);
28 quick_invoke_reg_setup(ArtMethod* method, uint32_t* args, uint32_t args_size, Thread* self, JValue* result, const char* shorty) argument
99 art_quick_invoke_stub(ArtMethod* method, uint32_t* args, uint32_t args_size, Thread* self, JValue* result, const char* shorty) argument
106 art_quick_invoke_static_stub(ArtMethod* method, uint32_t* args, uint32_t args_size, Thread* self, JValue* result, const char* shorty) argument
/art/compiler/jni/quick/
H A Dcalling_convention.cc53 const char* shorty,
61 is_static, is_synchronized, shorty));
67 is_static, is_synchronized, shorty));
73 is_static, is_synchronized, shorty));
79 is_static, is_synchronized, shorty));
85 is_static, is_synchronized, shorty));
91 is_static, is_synchronized, shorty));
155 const char* shorty,
163 is_static, is_synchronized, is_critical_native, shorty));
169 is_static, is_synchronized, is_critical_native, shorty));
49 Create( ArenaAllocator* allocator, bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument
151 Create(ArenaAllocator* allocator, bool is_static, bool is_synchronized, bool is_critical_native, const char* shorty, InstructionSet instruction_set) argument
[all...]
H A Dcalling_convention.h76 const char* shorty,
83 shorty_(shorty) {
84 num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1;
88 for (size_t i = 1; i < strlen(shorty); i++) {
117 param++; // 0th argument must skip return value at start of the shorty
127 param++; // 0th argument must skip return value at start of the shorty
137 param++; // 0th argument must skip return value at start of the shorty
146 param++; // 0th argument must skip return value at start of the shorty
155 param++; // 0th argument must skip return value at start of the shorty
165 // (The implicit argument is only relevant to the shorty,
74 CallingConvention(bool is_static, bool is_synchronized, const char* shorty, PointerSize frame_pointer_size) argument
264 ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty, PointerSize frame_pointer_size) argument
373 JniCallingConvention(bool is_static, bool is_synchronized, bool is_critical_native, const char* shorty, PointerSize frame_pointer_size) argument
[all...]
/art/compiler/jni/quick/arm/
H A Dcalling_convention_arm.h30 ArmManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
33 shorty,
58 const char* shorty);
/art/compiler/jni/quick/arm64/
H A Dcalling_convention_arm64.h30 Arm64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
33 shorty,
58 const char* shorty);
H A Dcalling_convention_arm64.cc142 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { argument
143 if (shorty[0] == 'F') {
145 } else if (shorty[0] == 'D') {
147 } else if (shorty[0] == 'J') {
149 } else if (shorty[0] == 'V') {
248 const char* shorty)
252 shorty,
245 Arm64JniCallingConvention(bool is_static, bool is_synchronized, bool is_critical_native, const char* shorty) argument
/art/compiler/jni/quick/mips/
H A Dcalling_convention_mips.h32 MipsManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
35 shorty,
60 const char* shorty);
H A Dcalling_convention_mips.cc85 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { argument
86 if (shorty[0] == 'F') {
88 } else if (shorty[0] == 'D') {
90 } else if (shorty[0] == 'J') {
92 } else if (shorty[0] == 'V') {
197 const char* shorty)
201 shorty,
194 MipsJniCallingConvention(bool is_static, bool is_synchronized, bool is_critical_native, const char* shorty) argument
/art/compiler/jni/quick/mips64/
H A Dcalling_convention_mips64.h32 Mips64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
35 shorty,
60 const char* shorty);
H A Dcalling_convention_mips64.cc74 static ManagedRegister ReturnRegisterForShorty(const char* shorty) { argument
75 if (shorty[0] == 'F' || shorty[0] == 'D') {
77 } else if (shorty[0] == 'V') {
160 const char* shorty)
164 shorty,
157 Mips64JniCallingConvention(bool is_static, bool is_synchronized, bool is_critical_native, const char* shorty) argument
/art/compiler/jni/quick/x86/
H A Dcalling_convention_x86.h30 X86ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
33 shorty,
61 const char* shorty);
H A Dcalling_convention_x86.cc66 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { argument
67 if (shorty[0] == 'F' || shorty[0] == 'D') {
73 } else if (shorty[0] == 'J') {
75 } else if (shorty[0] == 'V') {
198 const char* shorty)
202 shorty,
195 X86JniCallingConvention(bool is_static, bool is_synchronized, bool is_critical_native, const char* shorty) argument
/art/compiler/jni/quick/x86_64/
H A Dcalling_convention_x86_64.h28 X86_64ManagedRuntimeCallingConvention(bool is_static, bool is_synchronized, const char* shorty) argument
31 shorty,
54 const char* shorty);
H A Dcalling_convention_x86_64.cc93 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni ATTRIBUTE_UNUSED) { argument
94 if (shorty[0] == 'F' || shorty[0] == 'D') {
96 } else if (shorty[0] == 'J') {
98 } else if (shorty[0] == 'V') {
180 const char* shorty)
184 shorty,
177 X86_64JniCallingConvention(bool is_static, bool is_synchronized, bool is_critical_native, const char* shorty) argument
/art/compiler/optimizing/
H A Dbuilder.cc174 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); local
175 size_t num_args = strlen(shorty + 1);
176 size_t num_wide_args = std::count(shorty + 1, shorty + 1 + num_args, 'J') +
177 std::count(shorty + 1, shorty + 1 + num_args, 'D');
/art/runtime/
H A Dreflection.cc44 ArgArray(const char* shorty, uint32_t shorty_len) argument
45 : shorty_(shorty), shorty_len_(shorty_len), num_bytes_(0) {
51 // Analyze shorty to see if we need the large arg array.
53 char c = shorty[i];
133 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i];
175 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i];
209 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i];
346 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i];
450 const char* shorty)
456 method->Invoke(soa.Self(), args, arg_array->GetNumBytes(), result, shorty);
480 const char* shorty = local
511 const char* shorty = local
543 const char* shorty = local
575 const char* shorty = local
664 const char* shorty = np_method->GetShorty(&shorty_len); local
708 const char* shorty; local
[all...]
H A Dart_method.cc182 size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) { argument
183 CHECK_LE(1U, shorty.length());
185 for (size_t i = 1; i < shorty.length(); ++i) {
186 char ch = shorty[i];
319 const char* shorty) {
328 CHECK_STREQ(GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(), shorty);
374 (*art_quick_invoke_stub)(this, args, args_size, self, result, shorty);
376 (*art_quick_invoke_static_stub)(this, args, args_size, self, result, shorty);
318 Invoke(Thread* self, uint32_t* args, uint32_t args_size, JValue* result, const char* shorty) argument
/art/compiler/jni/
H A Djni_cfi_test.cc62 const char* shorty = "IIFII"; local
72 shorty,
76 &allocator, is_static, is_synchronized, shorty, isa));
/art/runtime/interpreter/
H A Dinterpreter.cc48 const StringPiece& shorty,
57 if (shorty == "L") {
68 } else if (shorty == "V") {
75 } else if (shorty == "Z") {
82 } else if (shorty == "BI") {
89 } else if (shorty == "II") {
96 } else if (shorty == "LL") {
109 } else if (shorty == "IIZ") {
116 } else if (shorty == "ILI") {
126 } else if (shorty
424 const char* shorty = method->GetShorty(&shorty_len); local
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc405 QuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty,
407 is_static_(is_static), shorty_(shorty), shorty_len_(shorty_len),
657 BuildQuickShadowFrameVisitor(ArtMethod** sp, bool is_static, const char* shorty, argument
659 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), sf_(sf), cur_reg_(first_arg_reg) {}
790 const char* shorty = non_proxy_method->GetShorty(&shorty_len); local
805 BuildQuickShadowFrameVisitor shadow_frame_builder(sp, method->IsStatic(), shorty, shorty_len,
848 shorty[0] == 'L' || shorty[0] == '[', /* class or array */
866 BuildQuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, argument
868 QuickArgumentVisitor(sp, is_static, shorty, shorty_le
940 const char* shorty = non_proxy_method->GetShorty(&shorty_len); local
973 GetQuickReferenceArgumentAtVisitor(ArtMethod** sp, const char* shorty, uint32_t shorty_len, size_t arg_pos) argument
1018 const char* shorty = non_proxy_method->GetShorty(&shorty_len); local
1028 GetQuickReferenceArgumentsVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len) argument
1062 const char* shorty = non_proxy_method->GetShorty(&shorty_len); local
1073 RememberForGcArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ScopedObjectAccessUnchecked* soa) argument
1127 const char* shorty = local
1396 const char* shorty = local
1950 LOG(FATAL) << "Unexpected type: " << cur_type_ << " in " << shorty; local
2144 BuildGenericJniFrameVisitor(Thread* self, bool is_static, bool critical_native, const char* shorty, uint32_t shorty_len, ArtMethod*** sp) argument
2364 const char* shorty = called->GetShorty(&shorty_len); local
2530 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); local
2663 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(dex_method_idx), local
2768 const char* shorty = caller_method->GetDexFile()->GetShorty(proto_idx); local
[all...]
/art/runtime/entrypoints/
H A Dentrypoint_utils.cc58 JValue InvokeProxyInvocationHandler(ScopedObjectAccessAlreadyRunnable& soa, const char* shorty, argument
76 if (shorty[i + 1] == 'L') {
82 mirror::Object* val = BoxPrimitive(Primitive::GetType(shorty[i + 1]), jv).Ptr();
104 if (shorty[0] == 'V' || (shorty[0] == 'L' && result == nullptr)) {
/art/tools/dexfuzz/src/dexfuzz/program/
H A DIdCreator.java248 public int findOrCreateMethodId(String className, String methodName, String shorty) { argument
249 int methodIdIdx = findMethodId(className, methodName, shorty);
253 return createMethodId(className, methodName, shorty);
695 String shorty = convertSignatureToShorty(signature);
717 // Search for (or create) the shorty string.
718 int shortyIdx = findOrCreateString(shorty);
754 String shorty = convertSignatureToShorty(signature);
758 int shortyIdx = findString(shorty);
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
H A DNewInstanceChanger.java185 String shorty = mutatableCode.program.getMethodProto((int) oldMethodIdx);
191 findOrCreateMethodId(className, methodName, shorty);
/art/test/115-native-bridge/
H A Dnativebridge.cc79 const char* shorty = gNativeBridgeArtCallbacks->getMethodShorty(env, mid); local
80 if (strcmp(shorty, methods[i].signature) == 0) {
81 printf(" name:%s, signature:%s, shorty:%s.\n",
82 methods[i].name, nb_method->signature, shorty);
468 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, argument
470 printf("Getting trampoline for %s with shorty %s.\n", name, shorty);
/art/compiler/utils/
H A Dassembler_thumb_test.cc210 const char* shorty = "IIFII"; local
217 shorty,
221 &allocator, is_static, is_synchronized, shorty, InstructionSet::kThumb2));

Completed in 1227 milliseconds

123