/art/dalvikvm/ |
D | dalvikvm.cc | 71 std::string class_name(argv[0]); in InvokeMain() local 72 std::replace(class_name.begin(), class_name.end(), '.', '/'); in InvokeMain() 74 ScopedLocalRef<jclass> klass(env, env->FindClass(class_name.c_str())); in InvokeMain() 76 fprintf(stderr, "Unable to locate class '%s'\n", class_name.c_str()); in InvokeMain() 83 fprintf(stderr, "Unable to find static main(String[]) in '%s'\n", class_name.c_str()); in InvokeMain() 91 fprintf(stderr, "Sorry, main() is not public in '%s'\n", class_name.c_str()); in InvokeMain()
|
/art/compiler/ |
D | common_compiler_test.h | 51 void MakeExecutable(mirror::ClassLoader* class_loader, const char* class_name) 61 void CompileClass(mirror::ClassLoader* class_loader, const char* class_name) 66 void CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, 70 void CompileVirtualMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name,
|
D | common_compiler_test.cc | 267 void CommonCompilerTest::MakeExecutable(mirror::ClassLoader* class_loader, const char* class_name) { in MakeExecutable() argument 268 std::string class_descriptor(DotToDescriptor(class_name)); in MakeExecutable() 273 CHECK(klass != nullptr) << "Class not found " << class_name; in MakeExecutable() 348 void CommonCompilerTest::CompileClass(mirror::ClassLoader* class_loader, const char* class_name) { in CompileClass() argument 349 std::string class_descriptor(DotToDescriptor(class_name)); in CompileClass() 354 CHECK(klass != nullptr) << "Class not found " << class_name; in CompileClass() 373 const char* class_name, const char* method_name, in CompileDirectMethod() argument 375 std::string class_descriptor(DotToDescriptor(class_name)); in CompileDirectMethod() 378 CHECK(klass != nullptr) << "Class not found " << class_name; in CompileDirectMethod() 381 << class_name << "." << method_name << signature; in CompileDirectMethod() [all …]
|
/art/compiler/driver/ |
D | compiler_driver_test.cc | 50 void EnsureCompiled(jobject class_loader, const char* class_name, const char* method, in EnsureCompiled() argument 58 class_ = env_->FindClass(class_name); in EnsureCompiled() 59 CHECK(class_ != NULL) << "Class not found: " << class_name; in EnsureCompiled() 65 CHECK(mid_ != NULL) << "Method not found: " << class_name << "." << method << signature; in EnsureCompiled()
|
/art/runtime/ |
D | utils.cc | 620 std::string DotToDescriptor(const char* class_name) { in DotToDescriptor() argument 621 std::string descriptor(class_name); in DotToDescriptor() 658 std::string class_name(m->GetDeclaringClassDescriptor()); in JniShortName() local 660 CHECK_EQ(class_name[0], 'L') << class_name; in JniShortName() 661 CHECK_EQ(class_name[class_name.size() - 1], ';') << class_name; in JniShortName() 662 class_name.erase(0, 1); in JniShortName() 663 class_name.erase(class_name.size() - 1, 1); in JniShortName() 669 short_name += MangleForJni(class_name); in JniShortName()
|
D | reflection_test.cc | 89 const char* class_name = is_static ? "StaticLeafMethods" : "NonStaticLeafMethods"; in ReflectionTestMakeExecutable() local 90 jobject jclass_loader(LoadDex(class_name)); in ReflectionTestMakeExecutable() 98 class_name); in ReflectionTestMakeExecutable() 103 class_name); in ReflectionTestMakeExecutable() 106 mirror::Class* c = class_linker_->FindClass(self, DotToDescriptor(class_name).c_str(), in ReflectionTestMakeExecutable()
|
D | check_jni.cc | 132 std::string class_name(method->GetDeclaringClassDescriptor()); in ShouldTrace() local 133 if (!vm->trace.empty() && class_name.find(vm->trace) != std::string::npos) { in ShouldTrace() 140 if (StartsWith(class_name, gBuiltInPrefixes[i])) { in ShouldTrace() 181 void CheckClassName(const char* class_name) { in CheckClassName() argument 182 if ((class_name == nullptr) || !IsValidJniClassName(class_name)) { in CheckClassName() 186 class_name); in CheckClassName()
|
D | utils.h | 382 std::string DotToDescriptor(const char* class_name);
|
D | jni_internal_test.cc | 1600 const char* class_name = "StaticLeafMethods"; in TEST_F() local 1601 LoadDex(class_name); in TEST_F()
|
D | thread.cc | 1606 std::string class_name(PrettyDescriptor(descriptor)); in InternalStackTraceToStackTraceElementArray() local 1607 … class_name_object.Assign(mirror::String::AllocFromModifiedUtf8(soa.Self(), class_name.c_str())); in InternalStackTraceToStackTraceElementArray()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 252 const char* class_name = dex_file->StringByTypeIdx(type_idx); in PreloadDexCachesResolveType() local 254 if (class_name[1] == '\0') { in PreloadDexCachesResolveType() 255 klass = linker->FindPrimitiveClass(class_name[0]); in PreloadDexCachesResolveType() 257 klass = linker->LookupClass(class_name, ComputeModifiedUtf8Hash(class_name), NULL); in PreloadDexCachesResolveType()
|
D | dalvik_system_DexFile.cc | 176 ScopedUtfChars class_name(env, javaName); in DexFile_defineClassNative() local 177 if (class_name.c_str() == NULL) { in DexFile_defineClassNative() 181 const std::string descriptor(DotToDescriptor(class_name.c_str())); in DexFile_defineClassNative()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 803 mirror::String* class_name = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedRuntimeInvoke() local 805 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedRuntimeInvoke() 809 mirror::String* class_name = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedRuntimeInvoke() local 811 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedRuntimeInvoke() 815 mirror::String* class_name = shadow_frame->GetVRegReference(arg_offset + 1)->AsString(); in UnstartedRuntimeInvoke() local 819 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedRuntimeInvoke()
|