Home
last modified time | relevance | path

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

1234567

/external/protobuf/java/src/test/java/com/google/protobuf/
DDynamicMessageTest.java53 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
56 new TestUtil.ReflectionTester(TestAllExtensions.getDescriptor(),
59 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null);
63 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
71 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild()
91 DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields()
111 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
120 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
128 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
134 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
[all …]
DDescriptorsTest.java95 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor()
104 assertEquals(Arrays.asList(UnittestImport.getDescriptor()), in testFileDescriptor()
107 Descriptor messageType = TestAllTypes.getDescriptor(); in testFileDescriptor()
116 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor()
121 assertEquals(Arrays.asList(ImportEnum.getDescriptor()), in testFileDescriptor()
122 UnittestImport.getDescriptor().getEnumTypes()); in testFileDescriptor()
127 ServiceDescriptor service = TestService.getDescriptor(); in testFileDescriptor()
133 UnittestImport.getDescriptor().getServices()); in testFileDescriptor()
139 UnittestProto.optionalInt32Extension.getDescriptor(); in testFileDescriptor()
147 UnittestImport.getDescriptor().getExtensions()); in testFileDescriptor()
[all …]
DMessageTest.java168 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testRequiredDynamic()
181 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); in testRequiredDynamicForeign()
291 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException()
301 DynamicMessage.newBuilder(TestRequired.getDescriptor()) in testDynamicBuildPartial()
308 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicParseUnititialized()
318 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNull()
320 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNull()
342 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNotNull()
344 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNotNull()
DWireFormatTest.java275 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); in testInterleavedFieldsAndExtensions()
277 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions()
281 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testInterleavedFieldsAndExtensions()
282 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testInterleavedFieldsAndExtensions()
313 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); in testParseMultipleExtensionRangesDynamic()
315 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic()
319 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testParseMultipleExtensionRangesDynamic()
320 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testParseMultipleExtensionRangesDynamic()
330 TestMessageSetExtension1.getDescriptor().getExtensions().get(0).getNumber();
332 TestMessageSetExtension2.getDescriptor().getExtensions().get(0).getNumber();
[all …]
DTestBadIdentifiers.java52 TestBadIdentifiersProto.getDescriptor(); in testGetDescriptor()
54 .getDefaultInstance().getDescriptor(); in testGetDescriptor()
58 .NestedDescriptor.getDefaultInstance().getDescriptor(); in testGetDescriptor()
/external/mockito/cglib-and-asm/src/org/mockito/asm/
DType.java249 return getType(getDescriptor(c)); in getType()
479 public String getDescriptor() { in getDescriptor() method in Type
481 getDescriptor(buf); in getDescriptor()
501 argumentTypes[i].getDescriptor(buf); in getMethodDescriptor()
504 returnType.getDescriptor(buf); in getMethodDescriptor()
514 private void getDescriptor(final StringBuffer buf) { in getDescriptor() method in Type
577 public static String getDescriptor(final Class c) { in getDescriptor() method in Type
579 getDescriptor(buf, c); in getDescriptor()
594 getDescriptor(buf, parameters[i]); in getConstructorDescriptor()
610 getDescriptor(buf, parameters[i]); in getMethodDescriptor()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DSimpleVerifier.java131 String desc = ((BasicValue) v).getType().getDescriptor(); in newValue()
146 && ("Lnull;".equals(t.getDescriptor()) || t.getSort() == Type.ARRAY); in isArrayValue()
155 return newValue(Type.getType(arrayType.getDescriptor() in getElementValue()
157 } else if ("Lnull;".equals(arrayType.getDescriptor())) { in getElementValue()
175 if ("Lnull;".equals(type.getDescriptor())) { in isSubTypeOf()
199 if ("Lnull;".equals(t.getDescriptor())) { in merge()
202 if ("Lnull;".equals(u.getDescriptor())) { in merge()
277 return Class.forName(t.getDescriptor().replace('/', '.')); in getClass()
/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()
/external/proguard/src/proguard/classfile/editor/
DMemberAdder.java150 …+programClass+"."+programField.getName(programClass)+" "+programField.getDescriptor(programClass)+… in visitProgramField()
187 String descriptor = programMethod.getDescriptor(programClass); in visitProgramMethod()
200 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
215 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
234 …getClass.getName()+"."+targetMethod.getName(targetClass)+targetMethod.getDescriptor(targetClass)+"… in visitProgramMethod()
247 …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()
303 String newType = referencedMember.getDescriptor(referencedClass); in visitEnclosingMethodAttribute()
433 …()+"."+referencedMember.getName(referencedClass)+" "+referencedMember.getDescriptor(referencedClas… in debug()
445 …()+"."+referencedMember.getName(referencedClass)+" "+referencedMember.getDescriptor(referencedClas… in debug()
/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/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessage.java614 if (extension.getDescriptor().getContainingType() != in verifyExtensionContainingType()
619 extension.getDescriptor().getContainingType().getFullName() + in verifyExtensionContainingType()
630 return extensions.hasField(extension.getDescriptor()); in hasExtension()
638 final FieldDescriptor descriptor = extension.getDescriptor(); in getExtensionCount()
648 FieldDescriptor descriptor = extension.getDescriptor(); in getExtension()
672 FieldDescriptor descriptor = extension.getDescriptor(); in getExtension()
932 if (extension.getDescriptor().getContainingType() != in verifyExtensionContainingType()
937 extension.getDescriptor().getContainingType().getFullName() + in verifyExtensionContainingType()
948 return extensions.hasField(extension.getDescriptor()); in hasExtension()
956 final FieldDescriptor descriptor = extension.getDescriptor(); in getExtensionCount()
[all …]
DExtensionRegistry.java247 if (extension.getDescriptor().getJavaType() == in newExtensionInfo()
252 extension.getDescriptor().getFullName()); in newExtensionInfo()
254 return new ExtensionInfo(extension.getDescriptor(), in newExtensionInfo()
257 return new ExtensionInfo(extension.getDescriptor(), null); in newExtensionInfo()
/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()
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumUseChecker.java157 …leEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] stor… in visitSimpleInstruction()
177 …leEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] retu… in visitSimpleInstruction()
194 …leEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] uses… in visitSimpleInstruction()
241 …leEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] call… in visitConstantInstruction()
281 …leEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] is c… in visitConstantInstruction()
303 …leEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] is c… in visitConstantInstruction()
332 …leEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] comp… in visitBranchInstruction()
337 …leEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] comp… in visitBranchInstruction()
367 programMethod.getDescriptor(programClass))) in visitProgramMethod()
371 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
[all …]
/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/shrink/
DShortestUsagePrinter.java119 String type = programField.getDescriptor(programClass); in visitProgramField()
135 String type = programMethod.getDescriptor(programClass); in visitProgramMethod()
153 String type = libraryField.getDescriptor(libraryClass); in visitLibraryField()
169 String type = libraryMethod.getDescriptor(libraryClass); in visitLibraryMethod()
/external/proguard/src/proguard/
DDescriptorKeepChecker.java125 if (ClassUtil.isInternalClassType(programMethod.getDescriptor(programClass))) in visitProgramMethod()
155 … referencingMember.getDescriptor(referencingClass)) : in visitProgramClass()
159 … referencingMember.getDescriptor(referencingClass))) + in visitProgramClass()
/external/proguard/src/proguard/optimize/
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()
DDuplicateInitializerInvocationFixer.java120 …em.out.println(" ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] Inse… in visitConstantInstruction()
154 programMethod.getDescriptor(programClass).length() - descriptor.length(); in visitProgramMethod()
161 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
/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()

1234567