/art/runtime/ |
H A D | utils.cc | 326 std::string PrettyArguments(const char* signature) { argument 329 CHECK_EQ(*signature, '('); 330 ++signature; // Skip the '('. 331 while (*signature != ')') { 333 while (signature[argument_length] == '[') { 336 if (signature[argument_length] == 'L') { 337 argument_length = (strchr(signature, ';') - signature + 1); 341 std::string argument_descriptor(signature, argument_length); 343 if (signature[argument_lengt 354 PrettyReturnType(const char* signature) argument [all...] |
H A D | dex_file_test.cc | 155 // Check the signature for the static initializer. 163 std::string signature(raw->CreateMethodSignature(proto_idx, &length)); 164 ASSERT_EQ("()V", signature); 178 std::string signature(raw->CreateMethodSignature(proto_idx, &length)); 179 ASSERT_EQ("(IDJLjava/lang/Object;)Ljava/lang/Float;", signature); 191 std::string signature(raw->CreateMethodSignature(proto_idx, &length)); 192 ASSERT_EQ("(ZSC)LCreateMethodSignature;", signature); 246 const DexFile::ProtoId& signature = java_lang_dex_file_->GetProtoId(to_find.proto_idx_); local 247 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature);
|
H A D | well_known_classes.cc | 107 static jfieldID CacheField(JNIEnv* env, jclass c, bool is_static, const char* name, const char* signature) { argument 108 jfieldID fid = is_static ? env->GetStaticFieldID(c, name, signature) : env->GetFieldID(c, name, signature); 110 LOG(FATAL) << "Couldn't find field \"" << name << "\" with signature \"" << signature << "\""; local 115 jmethodID CacheMethod(JNIEnv* env, jclass c, bool is_static, const char* name, const char* signature) { argument 116 jmethodID mid = is_static ? env->GetStaticMethodID(c, name, signature) : env->GetMethodID(c, name, signature); 118 LOG(FATAL) << "Couldn't find method \"" << name << "\" with signature \"" << signature << "\""; local [all...] |
H A D | jni_internal.h | 33 #define NATIVE_METHOD(className, functionName, signature) \ 34 { #functionName, signature, reinterpret_cast<void*>(className ## _ ## functionName) }
|
H A D | common_test.h | 482 const char* signature) 487 mirror::ArtMethod* method = klass->FindDirectMethod(method_name, signature); 489 << class_name << "." << method_name << signature; local 496 const char* signature) 501 mirror::ArtMethod* method = klass->FindVirtualMethod(method_name, signature); 503 << class_name << "." << method_name << signature; local
|
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 | common_throws.h | 143 const StringPiece& signature)
|
H A D | dex_file.cc | 405 const DexFile::ProtoId& signature) const { 409 const uint16_t proto_idx = GetIndexForProtoId(signature); 530 // Given a signature place the type ids into the given vector 532 const std::string& signature) const { 533 if (signature[0] != '(') { 537 size_t end = signature.size(); 540 char c = signature[offset]; 552 c = signature[offset]; 561 c = signature[offset]; 579 return offset == end; // return true if the signature ha [all...] |
H A D | utils_test.cc | 29 std::string PrettyArguments(const char* signature); 30 std::string PrettyReturnType(const char* signature);
|
H A D | common_throws.cc | 268 const StringPiece& signature) { 271 msg << "No " << type << " method " << name << signature 267 ThrowNoSuchMethodError(InvokeType type, mirror::Class* c, const StringPiece& name, const StringPiece& signature) argument
|
H A D | dex_file.h | 546 const DexFile::ProtoId& signature) const; 559 // Returns the signature of a method id. 655 // Looks up a proto id for a given return type and signature type list 659 // Given a signature place the type ids into the given vector, returns true on success 661 const std::string& signature) const; 663 // Given a proto_idx decode the type list and return type into a method signature 717 // Callback for "new locals table entry". "signature" is an empty string 718 // if no signature is available for an entry. 724 const char* signature);
|
H A D | thread.cc | 1516 const char* signature; local 1526 signature = "(Ljava/lang/String;)V"; 1528 signature = "(Ljava/lang/String;Ljava/lang/Throwable;)V"; 1532 signature = "()V"; 1534 signature = "(Ljava/lang/Throwable;)V"; 1538 exception_class->FindDeclaredDirectMethod("<init>", signature); 1540 CHECK(exception_init_method != NULL) << "No <init>" << signature << " in "
|
H A D | class_linker.cc | 1866 // Create the prototype for a signature of "()V" 3173 // Returns true if classes referenced by the signature of the method are the 4044 std::string signature(dex_file.CreateMethodSignature(method_id.proto_idx_, NULL)); 4048 resolved = klass->FindDirectMethod(name, signature); 4051 resolved = klass->FindInterfaceMethod(name, signature); 4056 resolved = klass->FindVirtualMethod(name, signature); 4074 std::string signature(dex_file.CreateMethodSignature(method_id.proto_idx_, NULL)); 4078 resolved = klass->FindVirtualMethod(name, signature); 4083 resolved = klass->FindDirectMethod(name, signature); 4110 resolved = klass->FindInterfaceMethod(name, signature); [all...] |
H A D | debugger.h | 152 static JDWP::JdwpError GetSignature(JDWP::RefTypeId ref_type_id, std::string& signature)
|
H A D | jni_internal.cc | 241 // No virtual method matching the signature. Search declared 300 // Failed to find type from the signature of the field. 370 const char* signature; local 372 signature = "()V"; 374 signature = "(Ljava/lang/String;)V"; 377 signature = "(Ljava/lang/Throwable;)V"; 380 signature = "(Ljava/lang/String;Ljava/lang/Throwable;)V"; 384 jmethodID mid = env->GetMethodID(exception_class, "<init>", signature); 387 LOG(ERROR) << "No <init>" << signature << " in " 2358 const char* sig = methods[i].signature; [all...] |
/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 | 337 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) const { 339 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); 347 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature); 374 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) const { 379 if (name == mh.GetName() && signature == mh.GetSignature()) { 398 ArtMethod* Class::FindDirectMethod(const StringPiece& name, const StringPiece& signature) const { 400 ArtMethod* method = klass->FindDeclaredDirectMethod(name, signature); 419 const StringPiece& signature) const { 424 if (name == mh.GetName() && signature == mh.GetSignature()) { 443 ArtMethod* Class::FindVirtualMethod(const StringPiece& name, const StringPiece& signature) cons [all...] |
H A D | class.h | 572 ArtMethod* FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature) const 584 ArtMethod* FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) const 590 ArtMethod* FindDirectMethod(const StringPiece& name, const StringPiece& signature) const
|
/art/compiler/driver/ |
H A D | compiler_driver_test.cc | 48 const char* signature, bool is_virtual) 58 mid_ = env_->GetMethodID(class_, method, signature); 60 mid_ = env_->GetStaticMethodID(class_, method, signature); 62 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/compiler/dex/quick/ |
H A D | codegen_util.cc | 229 const std::string& name, const std::string& signature, 233 descriptor.c_str(), name.c_str(), signature.c_str(), v.size())); 273 std::string signature(cu_->dex_file->GetMethodSignature(method_id)); 278 DumpMappingTable("PC2Dex_MappingTable", descriptor, name, signature, pc2dex_mapping_table_); 279 DumpMappingTable("Dex2PC_MappingTable", descriptor, name, signature, dex2pc_mapping_table_); 228 DumpMappingTable(const char* table_name, const std::string& descriptor, const std::string& name, const std::string& signature, const std::vector<uint32_t>& v) argument
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 49 std::string signature("unknown"); 50 Dbg::GetSignature(ref_type_id, signature); 51 return StringPrintf("%#llx (%s)", ref_type_id, signature.c_str()); 181 * Given a class JNI signature (e.g. "Ljava/lang/Error;"), return the 549 std::string signature; local 550 JdwpError status = Dbg::GetSignature(refTypeId, signature); 554 expandBufAddUtf8String(pReply, signature);
|
H A D | jdwp.h | 210 bool PostClassPrepare(JdwpTypeTag tag, RefTypeId refTypeId, const std::string& signature,
|
H A D | jdwp_event.cc | 966 bool JdwpState::PostClassPrepare(JdwpTypeTag tag, RefTypeId refTypeId, const std::string& signature, argument 989 << StringPrintf("thread=%#llx", basket.threadId) << ") " << signature; 1018 expandBufAddUtf8String(pReq, signature);
|
/art/runtime/verifier/ |
H A D | method_verifier.cc | 927 << StringPrintf("wrong signature for switch table (%x, wanted %x)", 1043 std::string prepend("Bad signature in "); 1226 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "unexpected signature type char '" 1454 * a signature that looks like a NOP; if we see one of these in 1529 /* check the method signature */ 1554 /* check the method signature */ 2909 std::string signature(dex_file_->CreateMethodSignature(method_id.proto_idx_, NULL)); 2912 res_method = klass->FindDirectMethod(name, signature); 2914 res_method = klass->FindInterfaceMethod(name, signature); 2916 res_method = klass->FindVirtualMethod(name, signature); 2930 << " " << signature; local [all...] |