/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 | 332 const char* desc = type->GetDescriptor(&descriptor_string); in Write() local 333 size_t class_offset = StartClassTag(desc); in Write() 520 size_t WriteTypeDeclaration(const std::string& desc) { in WriteTypeDeclaration() argument 523 DCHECK(!desc.empty()); in WriteTypeDeclaration() 524 const auto it = type_cache_.find(desc); in WriteTypeDeclaration() 530 if (desc[0] == 'L') { in WriteTypeDeclaration() 532 size_t class_offset = StartClassTag(desc.c_str()); in WriteTypeDeclaration() 539 } else if (desc[0] == '[') { in WriteTypeDeclaration() 541 size_t element_type = WriteTypeDeclaration(desc.substr(1)); in WriteTypeDeclaration() 552 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 | 39 #define MIRROR_CLASS(desc) \ argument 40 static_assert(::art::mirror::IsMirroredDescriptor(desc), \ 41 desc " is not a known mirror class. Please update" \ 44 constexpr bool IsMirroredDescriptor(std::string_view desc) { in IsMirroredDescriptor() argument 45 if (desc[0] != 'L') { in IsMirroredDescriptor() 86 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/2265-const-method-type-cached/src-util/transformer/ |
D | ConstantTransformer.java | 61 int access, String name, String desc, String signature, String[] exceptions) { in visitMethod() argument 62 MethodVisitor mv = cv.visitMethod(access, name, desc, signature, exceptions); in visitMethod() 66 int opcode, String owner, String name, String desc, boolean itf) { in visitMethod() 74 mv.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethod() argument
|
/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 | 144 std::string desc(classNameToDescriptor(name)); in CbClassFileLoadHook() local 145 std::string fqcn(DescriptorToFQCN(desc)); in CbClassFileLoadHook() 156 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/test/ |
D | default_run.py | 1050 ctx.run(f"{dex2oat_cmdline}", desc="Dex2oat") 1056 expected_exit_code=args.expected_exit_code, desc="DalvikVM") 1120 ctx.run(dex2oat_cmdline, desc="Dex2oat") 1133 ctx.run(tee(cmdline), expected_exit_code=args.expected_exit_code, desc="DalvikVM")
|
D | run-test | 73 def run(self, cmd: str, check: bool=True, expected_exit_code: int=0, desc:str = None) -> None: 86 msg += "{} returned exit code ${{exit_code}}.".format(desc or "Command")
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 168 const dex::ClassDef& FindClass(const char* desc, const DexFile& dex_file) { in FindClass() argument 169 const dex::TypeId* type_id = dex_file.FindTypeId(desc); in FindClass() 170 CHECK(type_id != nullptr) << "Could not find class " << desc; in FindClass() 172 CHECK(found != nullptr) << "Could not find class " << desc; in FindClass()
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 2017 std::string_view desc(accessor.GetDexFile().GetFieldTypeDescriptor( in GetNewClassSize() local 2019 if (desc[0] == 'L' || desc[0] == '[') { in GetNewClassSize() 2021 } else if (desc == "Z" || desc == "B") { in GetNewClassSize() 2023 } else if (desc == "C" || desc == "S") { in GetNewClassSize() 2025 } else if (desc == "I" || desc == "F") { in GetNewClassSize() 2027 } else if (desc == "J" || desc == "D") { in GetNewClassSize() 2030 LOG(FATAL) << "Unknown type descriptor! " << desc; in GetNewClassSize()
|
D | ti_class.cc | 880 auto add_descriptor = [&](const char* desc) { in CopyClassDescriptors() argument 882 if (res == OK && unique_descriptors.find(desc) == unique_descriptors.end()) { in CopyClassDescriptors() 884 unique_descriptors.insert(desc); in CopyClassDescriptors() 885 descriptors.push_back(CopyString(env, desc, &res).release()); in CopyClassDescriptors()
|
/art/oatdump/ |
D | oatdump.cc | 2189 const char* desc = obj_class->GetDescriptor(&temp); in DumpObject() local 2190 desc = stats_.descriptors.emplace(desc).first->c_str(); // Dedup and keep alive. in DumpObject() 2191 stats_.object_stats[desc].AddBytes(obj->SizeOf()); in DumpObject()
|
/art/profman/ |
D | profile_assistant_test.cc | 327 std::string_view desc( in GetDexPcOfCallTo() local 330 if (desc == klass->GetDescriptor(&scratch)) { in GetDexPcOfCallTo()
|
/art/build/boot/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1843 Ljava/io/ObjectInputStream$GetFieldImpl;->desc:Ljava/io/ObjectStreamClass; 1980 Ljava/io/ObjectOutputStream$PutFieldImpl;->desc:Ljava/io/ObjectStreamClass; 2033 Ljava/io/ObjectStreamClass$ClassDataSlot;->desc:Ljava/io/ObjectStreamClass; 2248 Ljava/io/SerialCallbackContext;->desc:Ljava/io/ObjectStreamClass; 9508 Ljava/util/regex/PatternSyntaxException;->desc:Ljava/lang/String;
|