Home
last modified time | relevance | path

Searched refs:getDescriptor (Results 1 – 25 of 125) sorted by relevance

12345

/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java87 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor()
96 assertEquals(Arrays.asList(UnittestImport.getDescriptor()), in testFileDescriptor()
99 Descriptor messageType = TestAllTypes.getDescriptor(); in testFileDescriptor()
108 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor()
113 assertEquals(Arrays.asList(ImportEnum.getDescriptor()), in testFileDescriptor()
114 UnittestImport.getDescriptor().getEnumTypes()); in testFileDescriptor()
119 ServiceDescriptor service = TestService.getDescriptor(); in testFileDescriptor()
125 UnittestImport.getDescriptor().getServices()); in testFileDescriptor()
131 UnittestProto.optionalInt32Extension.getDescriptor(); in testFileDescriptor()
139 UnittestImport.getDescriptor().getExtensions()); in testFileDescriptor()
[all …]
DDynamicMessageTest.java48 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
51 new TestUtil.ReflectionTester(TestAllExtensions.getDescriptor(),
54 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null);
58 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
66 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDoubleBuildError()
78 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testClearAfterBuildError()
90 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
99 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
107 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
113 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
[all …]
DWireFormatTest.java272 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); in testInterleavedFieldsAndExtensions()
274 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions()
278 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testInterleavedFieldsAndExtensions()
279 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testInterleavedFieldsAndExtensions()
310 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); in testParseMultipleExtensionRangesDynamic()
312 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic()
316 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testParseMultipleExtensionRangesDynamic()
317 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testParseMultipleExtensionRangesDynamic()
327 TestMessageSetExtension1.getDescriptor().getExtensions().get(0).getNumber();
329 TestMessageSetExtension2.getDescriptor().getExtensions().get(0).getNumber();
DMessageTest.java166 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testRequiredDynamic()
179 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); in testRequiredDynamicForeign()
289 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException()
299 DynamicMessage.newBuilder(TestRequired.getDescriptor()) in testDynamicBuildPartial()
306 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicParseUnititialized()
DServiceTest.java64 TestService.getDescriptor().getMethods().get(0);
66 TestService.getDescriptor().getMethods().get(1);
176 ServiceWithNoOuter.getDescriptor().findMethodByName("Foo"); in testNewReflectiveService()
206 ServiceWithNoOuter.getDescriptor().findMethodByName("Foo"); in testNewReflectiveBlockingService()
262 FileDescriptor file = UnittestNoGenericServices.getDescriptor(); in testNoGenericServices()
/external/proguard/src/proguard/classfile/editor/
DMemberAdder.java81 String descriptor = programField.getDescriptor(programClass); in visitProgramField()
96 …d ["+targetClass+"."+targetField.getName(targetClass)+" "+targetField.getDescriptor(targetClass)+"… in visitProgramField()
128 …+programClass+"."+programField.getName(programClass)+" "+programField.getDescriptor(programClass)+… in visitProgramField()
159 String descriptor = programMethod.getDescriptor(programClass); in visitProgramMethod()
172 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
187 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
206 …getClass.getName()+"."+targetMethod.getName(targetClass)+targetMethod.getDescriptor(targetClass)+"… in visitProgramMethod()
216 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
DMemberReferenceFixer.java131 String newType = referencedMember.getDescriptor(referencedClass); in visitFieldrefConstant()
159 String newType = referencedMember.getDescriptor(referencedClass); in visitInterfaceMethodrefConstant()
215 String newType = referencedMember.getDescriptor(referencedClass); in visitMethodrefConstant()
311 … !enclosingMethodAttribute.getType(clazz).equals(referencedMember.getDescriptor(referencedClass))) in visitEnclosingMethodAttribute()
316 … referencedMember.getDescriptor(referencedClass)); in visitEnclosingMethodAttribute()
454 System.out.println(" -> "+referencedMember.getDescriptor(referencedClass)); in debug()
DVariableSizeUpdater.java61 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), in visitCodeAttribute()
66 …tln("VariableSizeUpdater: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); in visitCodeAttribute()
/external/proguard/src/proguard/classfile/visitor/
DMemberDescriptorFilter.java73 if (accepted(programField.getDescriptor(programClass))) in visitProgramField()
82 if (accepted(programMethod.getDescriptor(programClass))) in visitProgramMethod()
91 if (accepted(libraryField.getDescriptor(libraryClass))) in visitLibraryField()
100 if (accepted(libraryMethod.getDescriptor(libraryClass))) in visitLibraryMethod()
DSimilarMemberVisitor.java86 programField.getDescriptor(programClass), in visitProgramField()
98 libraryField.getDescriptor(libraryClass), in visitLibraryField()
110 … programMethod.getDescriptor(programClass), in visitProgramMethod()
122 … libraryMethod.getDescriptor(libraryClass), in visitLibraryMethod()
DSimpleClassPrinter.java112 programField.getDescriptor(programClass))); in visitProgramField()
130 programMethod.getDescriptor(programClass))); in visitProgramMethod()
147 libraryField.getDescriptor(libraryClass))); in visitLibraryField()
165 libraryMethod.getDescriptor(libraryClass))); in visitLibraryMethod()
DMethodImplementationTraveler.java87 … programMethod.getDescriptor(programClass), in visitProgramMethod()
110 … libraryMethod.getDescriptor(libraryClass), in visitLibraryMethod()
/external/javassist/src/main/javassist/
DSerialVersionUID.java123 out.writeUTF(field.getFieldInfo2().getDescriptor()); in calculateDefault()
140 return c1.getMethodInfo2().getDescriptor().compareTo( in calculateDefault()
141 c2.getMethodInfo2().getDescriptor()); in calculateDefault()
152 .getDescriptor().replace('/', '.')); in calculateDefault()
163 value = m1.getMethodInfo2().getDescriptor() in calculateDefault()
164 .compareTo(m2.getMethodInfo2().getDescriptor()); in calculateDefault()
181 .getDescriptor().replace('/', '.')); in calculateDefault()
/external/javassist/src/main/javassist/bytecode/
DFieldInfo.java69 return getName() + " " + getDescriptor(); in toString()
82 descriptor = cp.addUtf8Info(getDescriptor()); in compact()
118 descriptor = cp.addUtf8Info(getDescriptor()); in prune()
171 public String getDescriptor() { in getDescriptor() method in FieldInfo
181 if (!desc.equals(getDescriptor())) in setDescriptor()
DClassFile.java416 String desc = minfo.getDescriptor(); in renameClass()
425 String desc = finfo.getDescriptor(); in renameClass()
453 String desc = minfo.getDescriptor(); in renameClass()
462 String desc = finfo.getDescriptor(); in renameClass()
480 String desc = minfo.getDescriptor(); in getRefClasses()
489 String desc = finfo.getDescriptor(); in getRefClasses()
570 testExistingField(finfo.getName(), finfo.getDescriptor()); in addField()
660 String descriptor = newMinfo.getDescriptor(); in testExistingMethod()
675 String desc = minfo.getDescriptor(); in isDuplicated()
DMethodInfo.java118 return getName() + " " + getDescriptor(); in toString()
131 descriptor = cp.addUtf8Info(getDescriptor()); in compact()
185 descriptor = cp.addUtf8Info(getDescriptor()); in prune()
260 public String getDescriptor() { in getDescriptor() method in MethodInfo
270 if (!desc.equals(getDescriptor())) in setDescriptor()
/external/proguard/src/proguard/shrink/
DShortestUsagePrinter.java115 String type = programField.getDescriptor(programClass); in visitProgramField()
132 String type = programMethod.getDescriptor(programClass); in visitProgramMethod()
149 String type = libraryField.getDescriptor(libraryClass); in visitLibraryField()
165 String type = libraryMethod.getDescriptor(libraryClass); in visitLibraryMethod()
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DCstType.java176 String thisDescriptor = type.getDescriptor(); in compareTo0()
177 String otherDescriptor = ((CstType) other).type.getDescriptor(); in compareTo0()
225 public CstString getDescriptor() { in getDescriptor() method in CstType
227 descriptor = new CstString(type.getDescriptor()); in getDescriptor()
DCstFieldRef.java75 CstString thisDescriptor = getNat().getDescriptor(); in compareTo0()
76 CstString otherDescriptor = otherField.getNat().getDescriptor(); in compareTo0()
/external/proguard/src/proguard/optimize/
DDuplicateInitializerFixer.java84 String descriptor = programMethod.getDescriptor(programClass); in visitProgramMethod()
138 programMethod.getDescriptor(programClass)+"]"); in visitProgramMethod()
153 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), in visitCodeAttribute()
165 String descriptor = method.getDescriptor(clazz); in visitSignatureAttribute()
DMemberDescriptorSpecializer.java81 …ass.getName()+"."+programField.getName(programClass)+" "+programField.getDescriptor(programClass)); in visitProgramField()
106 ClassUtil.internalMethodParameterCount(programMethod.getDescriptor(programClass)); in visitProgramMethod()
121 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)); in visitProgramMethod()
/external/protobuf/java/src/main/java/com/google/protobuf/
DExtensionRegistry.java158 if (extension.getDescriptor().getJavaType() == in add()
163 extension.getDescriptor().getFullName()); in add()
165 add(new ExtensionInfo(extension.getDescriptor(), in add()
168 add(new ExtensionInfo(extension.getDescriptor(), null)); in add()
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DPrototype.java203 sb.append(returnType.getDescriptor()); in internInts()
312 public String getDescriptor() { in getDescriptor() method in Prototype
370 String newDesc = "(" + param.getDescriptor() + descriptor.substring(1); in withFirstParameter()
391 String descriptor = desc.getDescriptor(); in putIntern()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DTypeIdItem.java53 file.getStringIds().intern(getDefiningClass().getDescriptor()); in addContents()
60 CstString descriptor = type.getDescriptor(); in writeTo()
/external/proguard/src/proguard/obfuscate/
DMappingPrinter.java100 programField.getDescriptor(programClass)) + in visitProgramField()
127 programMethod.getDescriptor(programClass)) + in visitProgramMethod()

12345