/art/runtime/lambda/ |
art_lambda_method.cc | 40 const char* shorty = captured_variables_shorty_; local 41 while (shorty != nullptr && *shorty != '\0') { 43 ShortyFieldType shorty_field{*shorty}; // NOLINT [readability/braces] [4] 46 ++shorty;
|
closure_test.cc | 170 static_assert(ShortyFieldTypeTraits::IsPrimitiveType<T>(), "T must be a shorty primitive"); 227 const char* shorty = descriptor; local 231 ASSERT_EQ(strlen(shorty), sizeof...(args)) 237 shorty, 254 TestPrimitiveWithClosure(closure_raw.get(), descriptor, shorty, args ...); 267 TestPrimitiveWithClosure(closure_built.get(), descriptor, shorty, args ...); 281 const char* shorty, 286 TestPrimitiveExpects(closure, shorty, /*index*/0, args ...); 292 const Closure* closure, const char* shorty, size_t index, T arg, Args ... args) { 293 ASSERT_EQ(ShortyFieldType(shorty[index]).GetStaticSize(), sizeof(T) [all...] |
shorty_field_type_test.cc | 99 ShortyFieldType shorty; local 102 while ((parsed = ShortyFieldType::ParseFromFieldTypeDescriptor(parsed, &shorty)) != nullptr) { 103 lst.push_back(shorty); 125 ShortyFieldType shorty; local 129 // All valid 'shorty' characters are created successfully. 131 EXPECT_TRUE(ShortyFieldType::MaybeCreate(c, &shorty)) << c; 140 EXPECT_FALSE(ShortyFieldType::MaybeCreate(static_cast<char>(c), &shorty)) << c; 169 // All valid lengthy types are correctly turned into the expected shorty type. 213 // All valid lengthy types are correctly turned into the expected shorty type. 221 // Helper class to probe a shorty's characteristics by minimizing copy-and-paste tests 233 ShortyFieldType shorty = kShortyEnum; local [all...] |
/art/compiler/jni/ |
jni_cfi_test.cc | 45 const char* shorty = "IIFII"; local 51 JniCallingConvention::Create(&arena, is_static, is_synchronized, shorty, isa)); 53 ManagedRuntimeCallingConvention::Create(&arena, is_static, is_synchronized, shorty, isa));
|
/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/tools/dexfuzz/src/dexfuzz/rawdex/ |
CodeItem.java | 42 public String shorty; field in class:CodeItem.MethodMetaInfo
|
/art/compiler/jni/quick/ |
jni_compiler.cc | 69 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); local 79 JniCallingConvention::Create(&arena, is_static, is_synchronized, shorty, instruction_set)); 84 &arena, is_static, is_synchronized, shorty, instruction_set));
|
/art/runtime/interpreter/ |
interpreter.cc | 35 static void InterpreterJni(Thread* self, ArtMethod* method, const StringPiece& shorty, 42 if (shorty == "L") { 53 } else if (shorty == "V") { 60 } else if (shorty == "Z") { 67 } else if (shorty == "BI") { 74 } else if (shorty == "II") { 81 } else if (shorty == "LL") { 95 } else if (shorty == "IIZ") { 102 } else if (shorty == "ILI") { 113 } else if (shorty == "SIZ") 434 const char* shorty = method->GetShorty(&shorty_len); local [all...] |
interpreter_common.cc | 661 // We need to do runtime check on reference assignment. We need to load the shorty 665 const char* shorty = method->GetShorty(&shorty_len); local 667 // Handle receiver apart since it's not part of the shorty. 681 // Skip the 0th 'shorty' type since it represents the return type. 682 DCHECK_LT(shorty_pos + 1, shorty_len) << "for shorty '" << shorty << "'"; 684 switch (shorty[shorty_pos + 1]) { [all...] |
/dalvik/libdex/ |
DexProto.cpp | 227 const char* shorty = dexProtoGetShorty(pProto); local 231 shorty++; 234 switch (*(shorty++)) {
|
DexSwapVerify.cpp | 599 /* Helper for crossVerifyProtoIdItem(), which checks a shorty character 602 static bool shortyDescMatch(char shorty, const char* descriptor, bool 604 switch (shorty) { 620 if ((descriptor[0] != shorty) || (descriptor[1] != '\0')) { 621 ALOGE("Shorty vs. primitive type mismatch: '%c', '%s'", 622 shorty, descriptor); 629 ALOGE("Shorty vs. type mismatch: '%c', '%s'", 630 shorty, descriptor); 636 ALOGE("Bogus shorty: '%c'", shorty); 647 const char* shorty = local [all...] |
/art/compiler/utils/ |
test_dex_file_builder.h | 67 AddString(proto_key.shorty); 185 Write32(raw_offset + 0u, GetStringIdx(entry.first.shorty)); 290 std::string shorty; member in struct:art::TestDexFileBuilder::ProtoKey 339 key.shorty += (*args == '[') ? 'L' : *args;
|
/art/runtime/jit/ |
jit.cc | 382 const char* shorty, 421 const char* shorty = method->GetShorty(); local 518 shorty,
|
/art/runtime/ |
reflection.cc | 38 ArgArray(const char* shorty, uint32_t shorty_len) 39 : shorty_(shorty), shorty_len_(shorty_len), num_bytes_(0) { 45 // Analyze shorty to see if we need the large arg array. 47 char c = shorty[i]; 126 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 166 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 200 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 326 LOG(FATAL) << "Unexpected shorty character: " << shorty_[i]; 433 const char* shorty) 439 method->Invoke(soa.Self(), args, arg_array->GetNumBytes(), result, shorty); 461 const char* shorty = method->GetInterfaceMethodIfProxy(sizeof(void*))->GetShorty(&shorty_len); local 491 const char* shorty = method->GetInterfaceMethodIfProxy(sizeof(void*))->GetShorty(&shorty_len); local 522 const char* shorty = method->GetInterfaceMethodIfProxy(sizeof(void*))->GetShorty(&shorty_len); local 553 const char* shorty = method->GetInterfaceMethodIfProxy(sizeof(void*))->GetShorty(&shorty_len); local 638 const char* shorty = np_method->GetShorty(&shorty_len); local 682 const char* shorty; local [all...] |
java_vm_ext.cc | 144 void* FindSymbol(const std::string& symbol_name, const char* shorty = nullptr) { 146 ? FindSymbolWithNativeBridge(symbol_name.c_str(), shorty) 156 void* FindSymbolWithNativeBridge(const std::string& symbol_name, const char* shorty) { 160 return android::NativeBridgeGetTrampoline(handle_, symbol_name.c_str(), shorty, len); 253 const char* shorty = library->NeedsNativeBridge() local 256 void* fn = library->FindSymbol(jni_short_name, shorty); 258 fn = library->FindSymbol(jni_long_name, shorty); [all...] |
stack.cc | 718 const char* shorty = method->GetShorty(&shorty_len); local 721 if (shorty[i] == 'L') { [all...] |
check_jni.cc | 867 const char* shorty = m->GetShorty(&len); local 871 shorty++; 873 if (!CheckPossibleHeapValue(soa, shorty[i], args.GetValue(shorty[i]))) { 977 const char* shorty = m->GetShorty(&len); local 981 shorty++; 986 TracePossibleHeapValue(soa, entry, shorty[i], args.GetValue(shorty[i]), msg); [all...] |
/art/test/115-native-bridge/ |
nativebridge.cc | 77 const char* shorty = gNativeBridgeArtCallbacks->getMethodShorty(env, mid); local 78 if (strcmp(shorty, methods[i].signature) == 0) { 79 printf(" name:%s, signature:%s, shorty:%s.\n", 80 methods[i].name, nb_method->signature, shorty); 311 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, 313 printf("Getting trampoline for %s with shorty %s.\n", name, shorty);
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
MutatableCode.java | 78 public String shorty; field in class:MutatableCode 372 type = shorty.charAt(shortyIdx);
|
Program.java | 305 String shorty = rawDexFile.stringDatas.get(protoIdItem.shortyIdx).getString(); local 313 codeItem.meta.shorty = shorty;
|
IdCreator.java | 248 public int findOrCreateMethodId(String className, String methodName, String shorty) { 249 int methodIdIdx = findMethodId(className, methodName, shorty); 253 return createMethodId(className, methodName, shorty); 695 String shorty = convertSignatureToShorty(signature); local 717 // Search for (or create) the shorty string. 718 int shortyIdx = findOrCreateString(shorty); 754 String shorty = convertSignatureToShorty(signature); local 758 int shortyIdx = findString(shorty);
|
/art/compiler/optimizing/ |
instruction_builder.cc | 431 const char* shorty = dex_compilation_unit_->GetShorty(); local 457 Primitive::GetType(shorty[shorty_pos]), [all...] |
/art/runtime/entrypoints/quick/ |
quick_trampoline_entrypoints.cc | 352 QuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, 354 is_static_(is_static), shorty_(shorty), shorty_len_(shorty_len), 598 BuildQuickShadowFrameVisitor(ArtMethod** sp, bool is_static, const char* shorty, 600 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), sf_(sf), cur_reg_(first_arg_reg) {} 665 const char* shorty = non_proxy_method->GetShorty(&shorty_len); local 729 BuildQuickShadowFrameVisitor shadow_frame_builder(sp, method->IsStatic(), shorty, shorty_len, 762 result, shorty[0] == 'L', /* from_code */ false, self->GetException()); 863 const char* shorty = non_proxy_method->GetShorty(&shorty_len); local 1006 const char* shorty = local 1582 LOG(FATAL) << "Unexpected type: " << cur_type_ << " in " << shorty; local 1948 const char* shorty = called->GetShorty(&shorty_len); local 2051 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); local 2203 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(dex_method_idx), local [all...] |
/external/ImageMagick/coders/ |
tiff.c | 768 shorty; 770 shorty=0; 771 if (TIFFGetField(tiff,exif_info[i].tag,&shorty,&sans,&sans) == 1) 772 (void) FormatLocaleString(value,MagickPathExtent,"%d",shorty); 780 *shorty; 785 tiff_status=TIFFGetField(tiff,exif_info[i].tag,&shorty_num,&shorty, 789 shorty_num != 0 ? shorty[0] : 0); 762 shorty; local 774 *shorty; local [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 806 short shorty = res.getShort(6); local 807 assertEquals(3,shorty); 810 shorty = res.getShort(6); 811 assertEquals(0,shorty); 822 short shorty = res.getShort("Sint"); local 823 assertEquals(3,shorty); 826 shorty = res.getShort("Sint"); 827 assertEquals(0,shorty); [all...] |