/art/compiler/driver/ |
H A D | compiler_driver_test.cc | 51 const char* signature, bool is_virtual) 61 mid_ = env_->GetMethodID(class_, method, signature); 63 mid_ = env_->GetStaticMethodID(class_, method, signature); 65 CHECK(mid_ != NULL) << "Method not found: " << class_name << "." << method << signature; local
|
/art/compiler/sea_ir/code_gen/ |
H A D | code_gen.cc | 89 DCHECK(parameters->size() > param_id) << "Insufficient parameters for function signature"; 202 // TODO: Add proper checking of the matching between formal and actual signature. 278 void CodeGenVisitor::Visit(SignatureNode* signature) { argument 279 DCHECK_EQ(signature->GetDefinitions().size(), 1u) << 282 void CodeGenPrepassVisitor::Visit(SignatureNode* signature) { argument 283 DCHECK_EQ(signature->GetDefinitions().size(), 1u) << 286 void CodeGenPostpassVisitor::Visit(SignatureNode* signature) { argument 287 DCHECK_EQ(signature->GetDefinitions().size(), 1u) <<
|
/art/runtime/ |
H A D | dex_file_test.cc | 238 // Check the signature for the static initializer. 244 std::string signature(raw->GetMethodSignature(method_id).ToString()); 245 ASSERT_EQ("()V", signature); 257 std::string signature(raw->GetMethodSignature(method_id).ToString()); 258 ASSERT_EQ("(IDJLjava/lang/Object;)Ljava/lang/Float;", signature); 268 std::string signature(raw->GetMethodSignature(method_id).ToString()); 269 ASSERT_EQ("(ZSC)LGetMethodSignature;", signature); 323 const DexFile::ProtoId& signature = java_lang_dex_file_->GetProtoId(to_find.proto_idx_); local 324 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature);
|
H A D | common_throws.cc | 308 const Signature& signature) { 311 msg << "No " << type << " method " << name << signature 307 ThrowNoSuchMethodError(InvokeType type, mirror::Class* c, const StringPiece& name, const Signature& signature) argument
|
H A D | well_known_classes.cc | 125 static jfieldID CacheField(JNIEnv* env, jclass c, bool is_static, const char* name, const char* signature) { argument 126 jfieldID fid = is_static ? env->GetStaticFieldID(c, name, signature) : env->GetFieldID(c, name, signature); 128 LOG(FATAL) << "Couldn't find field \"" << name << "\" with signature \"" << signature << "\""; local 133 jmethodID CacheMethod(JNIEnv* env, jclass c, bool is_static, const char* name, const char* signature) { argument 134 jmethodID mid = is_static ? env->GetStaticMethodID(c, name, signature) : env->GetMethodID(c, name, signature); 136 LOG(FATAL) << "Couldn't find method \"" << name << "\" with signature \"" << signature << "\""; local [all...] |
H A D | dex_file.cc | 512 const DexFile::ProtoId& signature) const { 516 const uint16_t proto_idx = GetIndexForProtoId(signature); 636 // Given a signature place the type ids into the given vector 637 bool DexFile::CreateTypeList(const StringPiece& signature, uint16_t* return_type_idx, argument 639 if (signature[0] != '(') { 643 size_t end = signature.size(); 647 char c = signature[offset]; 657 c = signature[offset]; 665 c = signature[offset]; 670 std::string descriptor(signature [all...] |
H A D | utils.cc | 332 std::string PrettyArguments(const char* signature) { argument 335 CHECK_EQ(*signature, '('); 336 ++signature; // Skip the '('. 337 while (*signature != ')') { 339 while (signature[argument_length] == '[') { 342 if (signature[argument_length] == 'L') { 343 argument_length = (strchr(signature, ';') - signature + 1); 348 std::string argument_descriptor(signature, argument_length); 351 if (signature[argument_lengt 362 PrettyReturnType(const char* signature) argument 380 const Signature signature = m->GetSignature(); local 400 const Signature signature = dex_file.GetMethodSignature(method_id); local [all...] |
H A D | thread.cc | 1671 const char* signature; local 1682 signature = "(Ljava/lang/String;)V"; 1684 signature = "(Ljava/lang/String;Ljava/lang/Throwable;)V"; 1688 signature = "()V"; 1690 signature = "(Ljava/lang/Throwable;)V"; 1694 exception_class->FindDeclaredDirectMethod("<init>", signature); 1696 CHECK(exception_init_method != nullptr) << "No <init>" << signature << " in "
|
H A D | class_linker.cc | 5260 const Signature signature = dex_file.GetMethodSignature(method_id); local 5264 resolved = klass->FindDirectMethod(name, signature); 5267 resolved = klass->FindInterfaceMethod(name, signature); 5272 resolved = klass->FindVirtualMethod(name, signature); 5289 const Signature signature = dex_file.GetMethodSignature(method_id); local 5293 resolved = klass->FindVirtualMethod(name, signature); 5300 resolved = klass->FindDirectMethod(name, signature); 5328 resolved = klass->FindInterfaceMethod(name, signature); 5332 ThrowNoSuchMethodError(type, klass, name, signature); 5340 resolved = klass->FindVirtualMethod(name, signature); [all...] |
H A D | debugger.cc | 1216 JDWP::JdwpError Dbg::GetSignature(JDWP::RefTypeId class_id, std::string* signature) { argument 1223 *signature = c->GetDescriptor(&temp); 1696 const char* name, const char* descriptor, const char* signature) 1702 name, descriptor, signature, slot, 1711 expandBufAddUtf8String(pContext->pReply, signature);
|
H A D | jni_internal.cc | 155 // No virtual method matching the signature. Search declared 214 // Failed to find type from the signature of the field. 274 const char* signature; local 276 signature = "()V"; 278 signature = "(Ljava/lang/String;)V"; 281 signature = "(Ljava/lang/Throwable;)V"; 284 signature = "(Ljava/lang/String;Ljava/lang/Throwable;)V"; 288 jmethodID mid = env->GetMethodID(exception_class, "<init>", signature); 291 LOG(ERROR) << "No <init>" << signature << " in " 2387 const char* sig = methods[i].signature; [all...] |
/art/compiler/ |
H A D | common_compiler_test.cc | 379 const char* signature) { 384 mirror::ArtMethod* method = klass->FindDirectMethod(method_name, signature); 386 << class_name << "." << method_name << signature; local 391 const char* method_name, const char* signature) 397 mirror::ArtMethod* method = klass->FindVirtualMethod(method_name, signature); 399 << class_name << "." << method_name << signature; local 377 CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, const char* method_name, const char* signature) argument
|
/art/runtime/mirror/ |
H A D | class.cc | 362 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) { argument 364 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); 372 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature); 380 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const Signature& signature) { argument 382 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); 390 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature); 416 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) { argument 419 if (name == method->GetName() && method->GetSignature() == signature) { 426 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature) { argument 429 if (name == method->GetName() && signature 448 FindDirectMethod(const StringPiece& name, const StringPiece& signature) argument 458 FindDirectMethod(const StringPiece& name, const Signature& signature) argument 478 FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature) argument 488 FindDeclaredVirtualMethod(const StringPiece& name, const Signature& signature) argument 510 FindVirtualMethod(const StringPiece& name, const StringPiece& signature) argument 520 FindVirtualMethod(const StringPiece& name, const Signature& signature) argument [all...] |
/art/test/115-native-bridge/ |
H A D | nativebridge.cc | 31 const char* signature; member in struct:NativeBridgeMethod 68 mid = env->GetStaticMethodID(klass, methods[i].name, nb_method->signature); 70 mid = env->GetMethodID(klass, methods[i].name, nb_method->signature); 74 if (strcmp(shorty, methods[i].signature) == 0) { 75 printf(" name:%s, signature:%s, shorty:%s.\n", 76 methods[i].name, nb_method->signature, shorty);
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 49 std::string signature("unknown"); 50 Dbg::GetSignature(ref_type_id, &signature); 51 return StringPrintf("%#" PRIx64 " (%s)", ref_type_id, signature.c_str()); 189 * Given a class JNI signature (e.g. "Ljava/lang/Error;"), return the 558 std::string signature; local 559 JdwpError status = Dbg::GetSignature(refTypeId, &signature); 563 expandBufAddUtf8String(pReply, signature);
|
/art/compiler/dex/quick/ |
H A D | codegen_util.cc | 38 const Signature& signature, uint32_t size, It first) { 41 descriptor, name, signature.ToString().c_str(), size)); 345 const Signature signature = cu_->dex_file->GetMethodSignature(method_id); local 352 DumpMappingTable("PC2Dex_MappingTable", descriptor, name, signature, 354 DumpMappingTable("Dex2PC_MappingTable", descriptor, name, signature, 37 DumpMappingTable(const char* table_name, const char* descriptor, const char* name, const Signature& signature, uint32_t size, It first) argument
|
/art/runtime/verifier/ |
H A D | method_verifier.cc | 1005 << StringPrintf("wrong signature for switch table (%x, wanted %x)", 1101 std::string prepend("Bad signature in "); 1259 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "unexpected signature type char '" 1483 * a signature that looks like a NOP; if we see one of these in 1558 /* check the method signature */ 1583 /* check the method signature */ 3019 const Signature signature = dex_file_->GetMethodSignature(method_id); local 3022 res_method = klass->FindDirectMethod(name, signature); 3024 res_method = klass->FindInterfaceMethod(name, signature); 3026 res_method = klass->FindVirtualMethod(name, signature); 3040 << " " << signature; local [all...] |