/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 | 293 JNIEnv* env, jclass, jstring class_name, jbyteArray class_array, jbyteArray dex_array) { in Java_art_Redefinition_addCommonTransformationResult() argument 294 const char* name_chrs = env->GetStringUTFChars(class_name, nullptr); in Java_art_Redefinition_addCommonTransformationResult() 296 env->ReleaseStringUTFChars(class_name, name_chrs); in Java_art_Redefinition_addCommonTransformationResult() 358 jstring class_name) { in Java_art_Redefinition_popTransformationFor() argument 359 const char* name_chrs = env->GetStringUTFChars(class_name, nullptr); in Java_art_Redefinition_popTransformationFor() 361 env->ReleaseStringUTFChars(class_name, name_chrs); in Java_art_Redefinition_popTransformationFor()
|
/art/runtime/ |
D | runtime_intrinsics.cc | 34 const char* class_name, in FindIntrinsicMethod() argument 40 ObjPtr<mirror::Class> cls = class_linker->FindSystemClass(self, class_name); in FindIntrinsicMethod() 42 LOG(FATAL) << "Could not find class of intrinsic " << class_name; in FindIntrinsicMethod() 48 << class_name << " " << method_name << " " << signature; in FindIntrinsicMethod() 58 const char* class_name, in InitializeIntrinsic() argument 62 ArtMethod* method = FindIntrinsicMethod(self, class_name, method_name, signature); in InitializeIntrinsic() 78 const char* class_name, in IsIntrinsicInitialized() argument 82 ArtMethod* method = FindIntrinsicMethod(self, class_name, method_name, signature); in IsIntrinsicInitialized()
|
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/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/tools/jvmti-agents/field-counts/ |
D | fieldcount.cc | 47 std::string class_name; in SplitField() local 51 std::getline(is, class_name, '.'); in SplitField() 56 env->NewGlobalRef(env->FindClass(class_name.substr(1, class_name.size() - 2).c_str()))); in SplitField() 57 CHECK(klass != nullptr) << class_name; in SplitField() 136 std::string class_name(null_class_name); in DataDumpRequestCb() local 147 class_name = class_name_tmp; in DataDumpRequestCb() 150 if (class_sizes.find(class_name) == class_counts.end()) { in DataDumpRequestCb() 151 class_sizes[class_name] = 0; in DataDumpRequestCb() 152 class_counts[class_name] = 0; in DataDumpRequestCb() 154 class_counts[class_name]++; in DataDumpRequestCb() [all …]
|
/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 | 73 std::string class_name(argv[0]); in InvokeMain() local 74 std::replace(class_name.begin(), class_name.end(), '.', '/'); in InvokeMain() 76 ScopedLocalRef<jclass> klass(env, env->FindClass(class_name.c_str())); in InvokeMain() 78 fprintf(stderr, "Unable to locate class '%s'\n", class_name.c_str()); in InvokeMain() 85 fprintf(stderr, "Unable to find static main(String[]) in '%s'\n", class_name.c_str()); in InvokeMain() 93 fprintf(stderr, "Sorry, main() is not public in '%s'\n", class_name.c_str()); in InvokeMain()
|
/art/tools/jvmti-agents/simple-profile/ |
D | README.md | 56 …{"class_name":"Ljava/util/HashMap$KeySet;","method_name":"iterator","method_descriptor":"()Ljava/u… 57 …{"class_name":"Ljava/util/HashMap$KeyIterator;","method_name":"<init>","method_descriptor":"(Ljava… 58 …{"class_name":"Ljava/util/HashMap$HashIterator;","method_name":"<init>","method_descriptor":"(Ljav… 59 …{"class_name":"Ljava/lang/String;","method_name":"equals","method_descriptor":"(Ljava/lang/Object;… 60 …{"class_name":"Ljava/util/Collections$UnmodifiableCollection$1;","method_name":"next","method_desc… 61 …{"class_name":"Ljava/util/HashMap$KeyIterator;","method_name":"next","method_descriptor":"()Ljava/… 62 …{"class_name":"Lsun/misc/Cleaner;","method_name":"add","method_descriptor":"(Lsun/misc/Cleaner;)Ls…
|
/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/tools/ |
D | method-to-descriptor.py | 77 class_name, rest = readDescriptor(desc) 91 TypeDescriptorToName(return_type), TypeDescriptorToName(class_name), 111 class_name = names[:meth_split] 115 SingleNameToDescriptor(class_name), meth_name,
|
/art/compiler/ |
D | common_compiler_test.cc | 277 const char* class_name, in CompileDirectMethod() argument 280 std::string class_descriptor(DotToDescriptor(class_name)); in CompileDirectMethod() 285 CHECK(klass != nullptr) << "Class not found " << class_name; in CompileDirectMethod() 289 << class_name << "." << method_name << signature; in CompileDirectMethod() 294 const char* class_name, in CompileVirtualMethod() argument 297 std::string class_descriptor(DotToDescriptor(class_name)); in CompileVirtualMethod() 302 CHECK(klass != nullptr) << "Class not found " << class_name; in CompileVirtualMethod() 306 << class_name << "." << method_name << signature; in CompileVirtualMethod()
|
D | common_compiler_test.h | 77 void CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, 81 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 | 177 std::string class_name(dex->GetClassDescriptor(dex_class_def)); in WriteCompilationUnit() 178 size_t class_name_slash = class_name.find_last_of('/'); in WriteCompilationUnit() 184 class_name.front() == 'L' && // Type descriptor for a class. in WriteCompilationUnit() 186 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()
|