Home
last modified time | relevance | path

Searched refs:newDescriptor (Results 1 – 7 of 7) sorted by relevance

/external/proguard/src/proguard/classfile/editor/
DClassReferenceFixer.java99 String newDescriptor = newDescriptor(descriptor, in visitProgramField() local
102 if (!descriptor.equals(newDescriptor)) in visitProgramField()
109 constantPoolEditor.addUtf8Constant(newDescriptor); in visitProgramField()
130 String newDescriptor = newDescriptor(descriptor, in visitProgramMethod() local
133 if (!descriptor.equals(newDescriptor)) in visitProgramMethod()
140 constantPoolEditor.addUtf8Constant(newDescriptor); in visitProgramMethod()
161 String newDescriptor = newDescriptor(descriptor, in visitLibraryField() local
165 libraryField.descriptor = newDescriptor; in visitLibraryField()
173 String newDescriptor = newDescriptor(descriptor, in visitLibraryMethod() local
176 if (!descriptor.equals(newDescriptor)) in visitLibraryMethod()
[all …]
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumDescriptorSimplifier.java114 … String newDescriptor = simplifyDescriptor(descriptor, invokeDynamicConstant.referencedClasses); in visitInvokeDynamicConstant() local
116 if (!descriptor.equals(newDescriptor)) in visitInvokeDynamicConstant()
124 newDescriptor); in visitInvokeDynamicConstant()
165 String newDescriptor = simplifyDescriptor(descriptor, programField.referencedClass); in visitProgramField() local
167 if (!descriptor.equals(newDescriptor)) in visitProgramField()
174 …ifier: ["+programClass.getName()+"."+name+" "+descriptor + "] -> ["+newName+" "+newDescriptor+"]"); in visitProgramField()
186 constantPoolEditor.addUtf8Constant(newDescriptor); in visitProgramField()
219 String newDescriptor = simplifyDescriptor(descriptor, programMethod.referencedClasses); in visitProgramMethod() local
221 if (!descriptor.equals(newDescriptor)) in visitProgramMethod()
234 …iptorSimplifier: ["+programClass.getName()+"."+name+descriptor+"] -> ["+newName+newDescriptor+"]"); in visitProgramMethod()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DMethodDescriptorTest.java67 MethodDescriptor<String, String> newDescriptor = in idempotent() local
69 assertTrue(newDescriptor.isIdempotent()); in idempotent()
71 assertEquals(MethodType.SERVER_STREAMING, newDescriptor.getType()); in idempotent()
72 assertEquals("package.service/method", newDescriptor.getFullMethodName()); in idempotent()
86 MethodDescriptor<String, String> newDescriptor = descriptor.toBuilder().setSafe(true).build(); in safe() local
87 assertTrue(newDescriptor.isSafe()); in safe()
89 assertEquals(MethodType.UNARY, newDescriptor.getType()); in safe()
90 assertEquals("package.service/method", newDescriptor.getFullMethodName()); in safe()
/external/proguard/src/proguard/optimize/
DDuplicateInitializerFixer.java114 String newDescriptor = newDescriptorBuffer.toString(); in visitProgramMethod() local
117 if (programClass.findMethod(name, newDescriptor) == null) in visitProgramMethod()
122 … ("+ClassUtil.externalClassAccessFlags(programMethod.getAccessFlags())+") -> ["+newDescriptor+"]"); in visitProgramMethod()
127 new ConstantPoolEditor(programClass).addUtf8Constant(newDescriptor); in visitProgramMethod()
DMethodDescriptorShrinker.java86 String newDescriptor = shrinkDescriptor(programMethod, descriptor); in visitProgramMethod() local
88 if (!newDescriptor.equals(descriptor)) in visitProgramMethod()
117 constantPoolEditor.addUtf8Constant(newDescriptor); in visitProgramMethod()
121 System.out.println(" -> ["+newName+newDescriptor+"]"); in visitProgramMethod()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliClassTypeElement.java103 …SmaliClassDescriptor newDescriptor = new SmaliClassDescriptor(NameUtils.javaToSmaliType(newElement… in handleElementRename() local
104 CodeEditUtil.setNodeGenerated(newDescriptor, true); in handleElementRename()
106 this.replaceChild(descriptor, newDescriptor); in handleElementRename()
/external/golang-protobuf/protoc-gen-go/generator/
Dgenerator.go815 func newDescriptor(desc *descriptor.DescriptorProto, parent *Descriptor, file *FileDescriptor, inde… func
862 sl = append(sl, newDescriptor(desc, parent, file, index))