/art/tools/ |
D | method-to-descriptor.py | 64 def TypeDescriptorToName(desc): argument 66 if desc[0] == "[": 67 inner = TypeDescriptorToName(desc[1:]) 69 elif desc[0] == "L": 70 assert desc[-1] == ";", desc 71 return desc[1:-1].replace("/", ".") 73 return TYPE_MAP[desc] 75 def DescriptorToName(desc): argument 77 class_name, rest = readDescriptor(desc) 78 assert rest[0:2] == "->", desc [all …]
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 331 const char* desc = type->GetDescriptor(&descriptor_string); in Write() local 332 size_t class_offset = StartClassTag(desc); in Write() 517 size_t WriteTypeDeclaration(const std::string& desc) { in WriteTypeDeclaration() argument 520 DCHECK(!desc.empty()); in WriteTypeDeclaration() 521 const auto it = type_cache_.find(desc); in WriteTypeDeclaration() 527 if (desc[0] == 'L') { in WriteTypeDeclaration() 529 size_t class_offset = StartClassTag(desc.c_str()); in WriteTypeDeclaration() 536 } else if (desc[0] == '[') { in WriteTypeDeclaration() 538 size_t element_type = WriteTypeDeclaration(desc.substr(1)); in WriteTypeDeclaration() 549 DCHECK_EQ(desc.size(), 1u); in WriteTypeDeclaration() [all …]
|
/art/test/952-invoke-custom/util-src/transformer/ |
D | IndyTransformer.java | 90 int access, String name, String desc, String signature, String[] exceptions) { in visitMethod() argument 91 MethodVisitor mv = cv.visitMethod(access, name, desc, signature, exceptions); in visitMethod() 95 int opcode, String owner, String name, String desc, boolean itf) { in visitMethod() 99 insertIndy(callsite.fieldOrMethodName(), desc, callsite); in visitMethod() local 103 mv.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethod() argument 106 private void insertIndy(String name, String desc, CalledByIndy callsite) { in visitMethod() argument 110 mv.visitInvokeDynamicInsn(name, desc, bsm, bsmArgs); in visitMethod()
|
/art/runtime/mirror/ |
D | object_reference.h | 37 #define MIRROR_CLASS(desc) \ argument 38 static_assert(::art::mirror::IsMirroredDescriptor(desc), \ 39 desc " is not a known mirror class. Please update" \ 42 constexpr bool IsMirroredDescriptor(std::string_view desc) { in IsMirroredDescriptor() argument 43 if (desc[0] != 'L') { in IsMirroredDescriptor() 83 if (std::string_view(descriptor) == desc) { \ in IsMirroredDescriptor()
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 62 const char* desc = dex_file->GetClassDescriptor(dex_file->GetClassDef(cdef_idx)); in Java_Main_areClassesVerified() local 63 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesVerified() 64 CHECK(h_class != nullptr) << "Could not find class " << desc; in Java_Main_areClassesVerified() 158 const char* desc = dex_file->GetClassDescriptor(dex_file->GetClassDef(cdef_idx)); in Java_Main_areClassesPreverified() local 159 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesPreverified() 160 CHECK(h_class != nullptr) << "Could not find class " << desc; in Java_Main_areClassesPreverified()
|
/art/test/1967-get-set-local-bad-slot/src/art/ |
D | Test1967.java | 76 public void invoke(Thread t, Method method, Locals.VariableDescription desc, int depth) { in BadSet() 77 int real_slot = transform.applyAsInt(desc.slot); in BadSet() 96 public void invoke(Thread t, Method method, Locals.VariableDescription desc, int depth) { 97 int real_slot = transform.applyAsInt(desc.slot); 164 Locals.VariableDescription desc = findTargetVar(frame.current_location); 165 safepoint.invoke(remote, target, desc, frame.depth);
|
/art/test/1913-get-set-local-objects/src/art/ |
D | Test1913.java | 142 public void invoke(Thread t, Method method, Locals.VariableDescription desc, int depth) { in NamedSet() 144 get.SetVar(t, depth, desc.slot, v); in NamedSet() 159 public void invoke(Thread t, Method method, Locals.VariableDescription desc, int depth) { 161 Object res = get.GetVar(t, depth, desc.slot); 222 Locals.VariableDescription desc = findTargetVar(frame.current_location); 223 safepoint.invoke(remote, target, desc, frame.depth);
|
/art/test/1912-get-set-local-primitive/src/art/ |
D | Test1912.java | 112 public void invoke(Thread t, Method method, Locals.VariableDescription desc, int depth) { in NamedSet() 114 get.SetVar(t, depth, desc.slot, v); in NamedSet() 129 public void invoke(Thread t, Method method, Locals.VariableDescription desc, int depth) { 131 Object res = get.GetVar(t, depth, desc.slot); 192 Locals.VariableDescription desc = findTargetVar(frame.current_location); 193 safepoint.invoke(remote, target, desc, frame.depth);
|
/art/test/979-const-method-handle/util-src/transformer/ |
D | ConstantTransformer.java | 85 int access, String name, String desc, String signature, String[] exceptions) { in visitMethod() argument 86 MethodVisitor mv = cv.visitMethod(access, name, desc, signature, exceptions); in visitMethod() 90 int opcode, String owner, String name, String desc, boolean itf) { in visitMethod() 103 mv.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethod() argument
|
/art/tools/jvmti-agents/list-extensions/ |
D | README.md | 20 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:108] desc: Retrieve the heap id … 27 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:108] desc: Retrieve the name of … 37 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:135] desc: Called when there is …
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 146 std::string desc(classNameToDescriptor(name)); in CbClassFileLoadHook() local 147 std::string fqcn(DescriptorToFQCN(desc)); in CbClassFileLoadHook() 158 dex::u4 index = reader.FindClassIndex(desc.c_str()); in CbClassFileLoadHook()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.h | 104 void SetLastError(const std::string& desc);
|
D | dt_fd_forward.cc | 153 void FdForwardTransport::SetLastError(const std::string& desc) { in SetLastError() argument 154 LOG(ERROR) << desc; in SetLastError() 155 global_last_error_ = desc; in SetLastError()
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 166 const dex::ClassDef& FindClass(const char* desc, const DexFile& dex_file) { in FindClass() argument 167 const dex::TypeId* type_id = dex_file.FindTypeId(desc); in FindClass() 168 CHECK(type_id != nullptr) << "Could not find class " << desc; in FindClass() 170 CHECK(found != nullptr) << "Could not find class " << desc; in FindClass()
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 1997 std::string_view desc(accessor.GetDexFile().GetFieldTypeDescriptor( in GetNewClassSize() local 1999 if (desc[0] == 'L' || desc[0] == '[') { in GetNewClassSize() 2001 } else if (desc == "Z" || desc == "B") { in GetNewClassSize() 2003 } else if (desc == "C" || desc == "S") { in GetNewClassSize() 2005 } else if (desc == "I" || desc == "F") { in GetNewClassSize() 2007 } else if (desc == "J" || desc == "D") { in GetNewClassSize() 2010 LOG(FATAL) << "Unknown type descriptor! " << desc; in GetNewClassSize()
|
D | ti_class.cc | 883 auto add_descriptor = [&](const char* desc) { in CopyClassDescriptors() argument 885 if (res == OK && unique_descriptors.find(desc) == unique_descriptors.end()) { in CopyClassDescriptors() 887 unique_descriptors.insert(desc); in CopyClassDescriptors() 888 descriptors.push_back(CopyString(env, desc, &res).release()); in CopyClassDescriptors()
|
/art/oatdump/ |
D | oatdump.cc | 2145 const char* desc = obj_class->GetDescriptor(&temp); in DumpObject() local 2146 desc = stats_.descriptors.emplace(desc).first->c_str(); // Dedup and keep alive. in DumpObject() 2147 stats_.object_stats[desc].AddBytes(obj->SizeOf()); in DumpObject()
|
/art/profman/ |
D | profile_assistant_test.cc | 325 std::string_view desc( in GetDexPcOfCallTo() local 328 if (desc == klass->GetDescriptor(&scratch)) { in GetDexPcOfCallTo()
|
/art/build/boot/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1844 Ljava/io/ObjectInputStream$GetFieldImpl;->desc:Ljava/io/ObjectStreamClass; 1981 Ljava/io/ObjectOutputStream$PutFieldImpl;->desc:Ljava/io/ObjectStreamClass; 2034 Ljava/io/ObjectStreamClass$ClassDataSlot;->desc:Ljava/io/ObjectStreamClass; 2249 Ljava/io/SerialCallbackContext;->desc:Ljava/io/ObjectStreamClass; 9509 Ljava/util/regex/PatternSyntaxException;->desc:Ljava/lang/String;
|