/art/compiler/ |
H A D | common_compiler_test.h | 67 const char* method_name, const char* signature) 71 const char* method_name, const char* signature)
|
H A D | common_compiler_test.cc | 374 const char* signature) { 379 mirror::ArtMethod* method = klass->FindDirectMethod(method_name, signature); 381 << class_name << "." << method_name << signature; local 386 const char* method_name, const char* signature) 392 mirror::ArtMethod* method = klass->FindVirtualMethod(method_name, signature); 394 << class_name << "." << method_name << signature; local 372 CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, const char* method_name, const char* signature) argument
|
/art/runtime/native/ |
H A D | java_lang_Object.cc | 23 #define NATIVE_METHOD(className, functionName, signature, identifier) \ 24 { #functionName, signature, reinterpret_cast<void*>(className ## _ ## identifier) }
|
/art/runtime/mirror/ |
H A D | class.cc | 361 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) { argument 363 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); 371 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature); 379 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const Signature& signature) { argument 381 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); 389 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature); 415 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) { argument 418 if (name == method->GetName() && method->GetSignature() == signature) { 425 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature) { argument 428 if (name == method->GetName() && signature 447 FindDirectMethod(const StringPiece& name, const StringPiece& signature) argument 457 FindDirectMethod(const StringPiece& name, const Signature& signature) argument 477 FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature) argument 487 FindDeclaredVirtualMethod(const StringPiece& name, const Signature& signature) argument 512 FindVirtualMethod(const StringPiece& name, const StringPiece& signature) argument 522 FindVirtualMethod(const StringPiece& name, const Signature& signature) argument [all...] |
H A D | class.h | 754 ArtMethod* FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) 757 ArtMethod* FindInterfaceMethod(const StringPiece& name, const Signature& signature) 763 ArtMethod* FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) 766 ArtMethod* FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature) 772 ArtMethod* FindDirectMethod(const StringPiece& name, const StringPiece& signature) 775 ArtMethod* FindDirectMethod(const StringPiece& name, const Signature& signature) 781 ArtMethod* FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature) 784 ArtMethod* FindDeclaredVirtualMethod(const StringPiece& name, const Signature& signature) 790 ArtMethod* FindVirtualMethod(const StringPiece& name, const StringPiece& signature) 793 ArtMethod* FindVirtualMethod(const StringPiece& name, const Signature& signature) [all...] |
/art/runtime/ |
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 | dex_file_test.cc | 241 // Check the signature for the static initializer. 247 std::string signature(raw->GetMethodSignature(method_id).ToString()); 248 ASSERT_EQ("()V", signature); 260 std::string signature(raw->GetMethodSignature(method_id).ToString()); 261 ASSERT_EQ("(IDJLjava/lang/Object;)Ljava/lang/Float;", signature); 271 std::string signature(raw->GetMethodSignature(method_id).ToString()); 272 ASSERT_EQ("(ZSC)LGetMethodSignature;", signature); 326 const DexFile::ProtoId& signature = java_lang_dex_file_->GetProtoId(to_find.proto_idx_); local 327 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature);
|
H A D | native_bridge_art_interface.cc | 73 methods[count].signature = m->GetShorty(); 86 methods[count].signature = m->GetShorty();
|
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 | well_known_classes.h | 32 jmethodID CacheMethod(JNIEnv* env, jclass c, bool is_static, const char* name, const char* signature);
|
H A D | dex_file.cc | 519 const DexFile::ProtoId& signature) const { 523 const uint16_t proto_idx = GetIndexForProtoId(signature); 643 // Given a signature place the type ids into the given vector 644 bool DexFile::CreateTypeList(const StringPiece& signature, uint16_t* return_type_idx, argument 646 if (signature[0] != '(') { 650 size_t end = signature.size(); 654 char c = signature[offset]; 664 c = signature[offset]; 672 c = signature[offset]; 677 std::string descriptor(signature [all...] |
H A D | jni_internal.h | 32 #define NATIVE_METHOD(className, functionName, signature) \ 33 { #functionName, signature, reinterpret_cast<void*>(className ## _ ## functionName) }
|
H A D | utils_test.cc | 32 std::string PrettyArguments(const char* signature); 33 std::string PrettyReturnType(const char* signature);
|
H A D | common_throws.h | 156 const Signature& signature)
|
H A D | dex_file.h | 602 const DexFile::ProtoId& signature) const; 615 // Returns a representation of the signature of a method id. 711 // Looks up a proto id for a given return type and signature type list 719 // Given a signature place the type ids into the given vector, returns true on success 720 bool CreateTypeList(const StringPiece& signature, uint16_t* return_type_idx, 723 // Create a Signature from the given string signature or return Signature::NoSignature if not 725 const Signature CreateSignature(const StringPiece& signature) const; 778 // Callback for "new locals table entry". "signature" is an empty string 779 // if no signature is available for an entry. 785 const char* signature); [all...] |
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 | thread.cc | 1708 const char* signature; local 1719 signature = "(Ljava/lang/String;)V"; 1721 signature = "(Ljava/lang/String;Ljava/lang/Throwable;)V"; 1725 signature = "()V"; 1727 signature = "(Ljava/lang/Throwable;)V"; 1731 exception_class->FindDeclaredDirectMethod("<init>", signature); 1733 CHECK(exception_init_method != nullptr) << "No <init>" << signature << " in "
|
H A D | class_linker.cc | 4801 // Comparator for name and signature of a method, used in finding overriding methods. Implementation 5266 // If we are not a conflict and we have the same signature and name as the imt entry, 5711 const Signature signature = dex_file.GetMethodSignature(method_id); local 5715 resolved = klass->FindDirectMethod(name, signature); 5718 resolved = klass->FindInterfaceMethod(name, signature); 5723 resolved = klass->FindVirtualMethod(name, signature); 5740 const Signature signature = dex_file.GetMethodSignature(method_id); local 5744 resolved = klass->FindVirtualMethod(name, signature); 5751 resolved = klass->FindDirectMethod(name, signature); 5779 resolved = klass->FindInterfaceMethod(name, signature); [all...] |
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 " 2385 const char* sig = methods[i].signature; [all...] |
/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/test/115-native-bridge/ |
H A D | nativebridge.cc | 32 const char* signature; member in struct:NativeBridgeMethod 69 mid = env->GetStaticMethodID(klass, methods[i].name, nb_method->signature); 71 mid = env->GetMethodID(klass, methods[i].name, nb_method->signature); 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);
|
/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/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);
|
H A D | jdwp_event.cc | 1274 std::string signature(basket.locationClass->GetDescriptor(&temp)); 1278 VLOG(jdwp) << StringPrintf(" type=%#" PRIx64, class_id) << " " << signature; 1305 expandBufAddUtf8String(pReq, 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
|