/art/test/ti-agent/ |
D | jni_binder.cc | 64 std::string class_name(class_descriptor); in GetJniShortName() local 65 CHECK_EQ(class_name[0], 'L') << class_name; in GetJniShortName() 66 CHECK_EQ(class_name[class_name.size() - 1], ';') << class_name; in GetJniShortName() 67 class_name.erase(0, 1); in GetJniShortName() 68 class_name.erase(class_name.size() - 1, 1); in GetJniShortName() 72 short_name += MangleForJni(class_name); in GetJniShortName() 155 static jclass FindClassWithClassLoader(JNIEnv* env, const char* class_name, jobject class_loader) { in FindClassWithClassLoader() argument 157 std::string descriptor = android::base::StringPrintf("L%s;", class_name); in FindClassWithClassLoader() 177 jclass GetClass(jvmtiEnv* jvmti_env, JNIEnv* env, const char* class_name, jobject class_loader) { in GetClass() argument 179 return FindClassWithClassLoader(env, class_name, class_loader); in GetClass() [all …]
|
D | jni_binder.h | 27 jclass GetClass(jvmtiEnv* jvmti_env, JNIEnv* env, const char* class_name, jobject class_loader); 35 const char* class_name,
|
D | redefinition_helper.cc | 203 JNIEnv* env, jclass, jstring class_name, jbyteArray class_array, jbyteArray dex_array) { in Java_art_Redefinition_addCommonTransformationResult() argument 204 const char* name_chrs = env->GetStringUTFChars(class_name, nullptr); in Java_art_Redefinition_addCommonTransformationResult() 206 env->ReleaseStringUTFChars(class_name, name_chrs); in Java_art_Redefinition_addCommonTransformationResult() 268 jstring class_name) { in Java_art_Redefinition_popTransformationFor() argument 269 const char* name_chrs = env->GetStringUTFChars(class_name, nullptr); in Java_art_Redefinition_popTransformationFor() 271 env->ReleaseStringUTFChars(class_name, name_chrs); in Java_art_Redefinition_popTransformationFor()
|
/art/libdexfile/dex/ |
D | descriptors_names.cc | 84 std::string class_name(class_descriptor); in GetJniShortName() local 85 CHECK_EQ(class_name[0], 'L') << class_name; in GetJniShortName() 86 CHECK_EQ(class_name[class_name.size() - 1], ';') << class_name; in GetJniShortName() 87 class_name.erase(0, 1); in GetJniShortName() 88 class_name.erase(class_name.size() - 1, 1); in GetJniShortName() 92 short_name += MangleForJni(class_name); in GetJniShortName() 128 std::string DotToDescriptor(const char* class_name) { in DotToDescriptor() argument 129 std::string descriptor(class_name); in DotToDescriptor()
|
D | descriptors_names.h | 39 std::string GetJniShortName(const std::string& class_name, const std::string& method_name); 42 std::string DotToDescriptor(const char* class_name);
|
D | dex_file_tracking_registrar.h | 56 void SetCodeItemRegistration(const char* class_name, bool should_poison);
|
D | dex_file_tracking_registrar.cc | 204 void DexFileTrackingRegistrar::SetCodeItemRegistration(const char* class_name, bool should_poison) { in SetCodeItemRegistration() argument 210 if (code_item != nullptr && strcmp(methodid_name, class_name) == 0) { in SetCodeItemRegistration()
|
/art/test/970-iface-super-resolution-gen/util-src/ |
D | generate_smali.py | 352 self.class_name = "CLASS_"+gensym() 354 self.class_name = name 361 return TestClass([i.get_initial_build_version() for i in self.ifaces], self.class_name) 370 return self.class_name 379 return '\n'.join(map(lambda a: self.OUTPUT_TEMPLATE.format(class_name = self.get_name(), 389 class_name = self.get_name()), 392 class_name = self.get_name()), 400 class_name = self.class_name, 459 self.class_name = "INTERFACE_"+gensym()+end 461 self.class_name = name [all …]
|
/art/test/964-default-iface-init-gen/util-src/ |
D | generate_java.py | 199 self.class_name = "CLASS_"+gensym() 205 return self.class_name 218 class_name = self.class_name, 234 touches = '\n'.join(map(lambda a: self.TOUCH_CALL_TEMPLATE.format(class_name = self.class_name, 239 class_name = self.class_name, 268 self.class_name = "INTERFACE_"+gensym()+end 283 return self.class_name 298 return "[{class_name} {iftree}]".format(class_name = self.get_name(), 327 funcs = self.DEFAULT_FUNC_TEMPLATE.format(class_name = self.class_name) 335 class_name = self.class_name)
|
/art/test/961-default-iface-resolution-gen/util-src/ |
D | generate_java.py | 175 self.class_name = "CLASS_"+gensym() 181 return self.class_name 187 return "[{class_name} {iface_tree}]".format(class_name = self.class_name, 215 class_name = self.class_name) 243 self.class_name = "INTERFACE_"+gensym()+end 255 return self.class_name 261 return "[{class_name} {iftree}]".format(class_name = self.get_name(), 284 class_name = self.class_name) 292 class_name = self.class_name)
|
/art/test/968-default-partial-compile-gen/util-src/ |
D | generate_smali.py | 281 self.class_name = "CLASS_"+gensym() 287 return self.class_name 293 return "[{class_name} {iface_tree}]".format(class_name = self.class_name, 317 class_name = self.class_name, 425 self.class_name = "INTERFACE_"+gensym()+end 427 self.class_name = full_name 433 return TestInterface(self.ifaces, v, full_name = self.class_name) 497 return self.class_name 503 return "[{class_name} {iftree}]".format(class_name = self.get_name(), 537 class_name = self.class_name)
|
/art/runtime/ |
D | runtime_intrinsics.cc | 37 const char* class_name, in InitializeIntrinsic() argument 43 ObjPtr<mirror::Class> cls = class_linker->FindSystemClass(self, class_name); in InitializeIntrinsic() 45 LOG(FATAL) << "Could not find class of intrinsic " << class_name; in InitializeIntrinsic() 51 << class_name << " " << method_name << " " << signature; in InitializeIntrinsic()
|
D | imtable_test.cc | 38 std::pair<mirror::Class*, mirror::Class*> LoadClasses(const std::string& class_name) in LoadClasses() argument 55 hs.NewHandle(class_linker->FindClass(self, class_name.c_str(), h_class_loader))); in LoadClasses() 65 hs.NewHandle(class_linker->FindClass(self, class_name.c_str(), h_class_loader))); in LoadClasses() 74 std::pair<ArtMethod*, ArtMethod*> LoadMethods(const std::string& class_name, in LoadMethods() argument 77 std::pair<mirror::Class*, mirror::Class*> classes = LoadClasses(class_name); in LoadMethods()
|
/art/test/971-iface-super/util-src/ |
D | generate_smali.py | 326 self.class_name = "CLASS_"+gensym() 332 return self.class_name 338 return "[{class_name} {iface_tree}]".format(class_name = self.class_name, 365 class_name = self.get_name(), 371 class_name = self.class_name, 487 self.class_name = "INTERFACE_"+gensym()+end 489 self.class_name = full_name 495 return TestInterface(self.ifaces, v, full_name = self.class_name) 580 return self.class_name 586 return "[{class_name} {iftree}]".format(class_name = self.get_name(), [all …]
|
/art/dalvikvm/ |
D | dalvikvm.cc | 72 std::string class_name(argv[0]); in InvokeMain() local 73 std::replace(class_name.begin(), class_name.end(), '.', '/'); in InvokeMain() 75 ScopedLocalRef<jclass> klass(env, env->FindClass(class_name.c_str())); in InvokeMain() 77 fprintf(stderr, "Unable to locate class '%s'\n", class_name.c_str()); in InvokeMain() 84 fprintf(stderr, "Unable to find static main(String[]) in '%s'\n", class_name.c_str()); in InvokeMain() 92 fprintf(stderr, "Sorry, main() is not public in '%s'\n", class_name.c_str()); in InvokeMain()
|
/art/tools/jvmti-agents/field-null-percent/ |
D | fieldnull.cc | 45 std::string class_name; in SplitField() local 49 std::getline(is, class_name, '.'); in SplitField() 54 env->NewGlobalRef(env->FindClass(class_name.substr(1, class_name.size() - 2).c_str()))); in SplitField() 131 char* class_name; in DataDumpRequestCb() local 133 CHECK_JVMTI(jvmti->GetClassSignature(klass, &class_name, nullptr)); in DataDumpRequestCb() 134 LOG(INFO) << "\t" << class_name << "." << field_name << ":" << field_sig in DataDumpRequestCb() 139 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(class_name))); in DataDumpRequestCb()
|
/art/compiler/ |
D | common_compiler_test.cc | 216 const char* class_name, const char* method_name, in CompileDirectMethod() argument 218 std::string class_descriptor(DotToDescriptor(class_name)); in CompileDirectMethod() 222 CHECK(klass != nullptr) << "Class not found " << class_name; in CompileDirectMethod() 226 << class_name << "." << method_name << signature; in CompileDirectMethod() 231 const char* class_name, const char* method_name, in CompileVirtualMethod() argument 233 std::string class_descriptor(DotToDescriptor(class_name)); in CompileVirtualMethod() 237 CHECK(klass != nullptr) << "Class not found " << class_name; in CompileVirtualMethod() 241 << class_name << "." << method_name << signature; in CompileVirtualMethod()
|
D | common_compiler_test.h | 71 void CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, 75 void CompileVirtualMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name,
|
/art/test/907-get-loaded-classes/ |
D | get_loaded_classes.cc | 57 jstring class_name = GetClassName(env, classes[i]); in Java_art_Test907_getLoadedClasses() local 59 return class_name; in Java_art_Test907_getLoadedClasses()
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 179 std::string class_name(dex->GetClassDescriptor(dex_class_def)); in WriteCompilationUnit() 180 size_t class_name_slash = class_name.find_last_of('/'); in WriteCompilationUnit() 186 class_name.front() == 'L' && // Type descriptor for a class. in WriteCompilationUnit() 188 std::string package_name = class_name.substr(1, class_name_slash - 1); in WriteCompilationUnit()
|
/art/test/912-classes/ |
D | classes_art.cc | 100 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jstring class_name) { in Java_art_Test912Art_isLoadedClass() argument 101 ScopedUtfChars name(env, class_name); in Java_art_Test912Art_isLoadedClass()
|
/art/dex2oat/driver/ |
D | compiler_driver_test.cc | 53 void EnsureCompiled(jobject class_loader, const char* class_name, const char* method, in EnsureCompiled() argument 61 class_ = env_->FindClass(class_name); in EnsureCompiled() 62 CHECK(class_ != nullptr) << "Class not found: " << class_name; in EnsureCompiled() 68 CHECK(mid_ != nullptr) << "Method not found: " << class_name << "." << method << signature; in EnsureCompiled()
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 29 std::string class_name; member 46 jclass k = env->FindClass(target.class_name.c_str()); in VMInitCB() 295 target->class_name = SubstrOf(option, 1, option.find(';')); in ParseSingleBreakpoint()
|
/art/profman/ |
D | profile_assistant_test.cc | 693 for (std::string& class_name : class_names) { in TEST_F() 694 file_contents += class_name + std::string("\n"); in TEST_F() 708 for (std::string& class_name : class_names) { in TEST_F() 709 input_file_contents += class_name + std::string("\n"); in TEST_F() 710 expected_contents += DescriptorToDot(class_name.c_str()) + in TEST_F() 857 for (std::string& class_name : class_names) { in TEST_F() 858 input_file_contents += class_name + std::string("\n"); in TEST_F() 876 for (std::string& class_name : class_names) { in TEST_F() 877 input_file_contents += class_name + std::string("\n"); in TEST_F()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 433 ScopedUtfChars class_name(env, javaName); in DexFile_defineClassNative() local 434 if (class_name.c_str() == nullptr) { in DexFile_defineClassNative() 438 const std::string descriptor(DotToDescriptor(class_name.c_str())); in DexFile_defineClassNative() 468 << " for " << class_name.c_str(); in DexFile_defineClassNative() 473 VLOG(class_linker) << "Failed to find dex_class_def " << class_name.c_str(); in DexFile_defineClassNative()
|