Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 15 of 15) sorted by relevance

/art/compiler/debug/
Delf_debug_info_writer.h331 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/
DIndyTransformer.java90 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/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc61 const char* desc = dex_file->GetClassDescriptor(dex_file->GetClassDef(cdef_idx)); in Java_Main_areClassesVerified() local
62 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesVerified()
63 CHECK(h_class != nullptr) << "Could not find class " << desc; in Java_Main_areClassesVerified()
155 const char* desc = dex_file->GetClassDescriptor(dex_file->GetClassDef(cdef_idx)); in Java_Main_areClassesPreverified() local
156 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesPreverified()
157 CHECK(h_class != nullptr) << "Could not find class " << desc; in Java_Main_areClassesPreverified()
/art/test/1967-get-set-local-bad-slot/src/art/
DTest1967.java76 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/
DTest1913.java142 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/
DTest1912.java112 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/
DConstantTransformer.java85 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/
DREADME.md20 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/
Dforceredefine.cc146 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/
Ddt_fd_forward.h104 void SetLastError(const std::string& desc);
Ddt_fd_forward.cc151 void FdForwardTransport::SetLastError(const std::string& desc) { in SetLastError() argument
152 LOG(ERROR) << desc; in SetLastError()
153 global_last_error_ = desc; in SetLastError()
/art/openjdkjvmti/
Dti_class_definition.cc58 std::string desc = std::string("L") + name_ + ";"; in InitializeMemory() local
60 fixed_dex_file(FixedUpDexFile::Create(*initial_dex_file_unquickened_, desc.c_str())); in InitializeMemory()
Dti_class.cc883 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()
Dti_redefine.cc2007 std::string_view desc(accessor.GetDexFile().GetFieldTypeDescriptor( in GetNewClassSize() local
2009 if (desc[0] == 'L' || desc[0] == '[') { in GetNewClassSize()
2011 } else if (desc == "Z" || desc == "B") { in GetNewClassSize()
2013 } else if (desc == "C" || desc == "S") { in GetNewClassSize()
2015 } else if (desc == "I" || desc == "F") { in GetNewClassSize()
2017 } else if (desc == "J" || desc == "D") { in GetNewClassSize()
2020 LOG(FATAL) << "Unknown type descriptor! " << desc; in GetNewClassSize()
/art/tools/hiddenapi/
Dhiddenapi_test.cc166 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()