/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DynamicMessageTest.java | 53 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null); 57 TestAllExtensions.getDescriptor(), TestUtil.getFullExtensionRegistry()); 59 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null); 62 Message.Builder builder = DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors() 69 Message.Builder builder = DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild() 88 Message.Builder builder = DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields() 108 Message.Builder builder = DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull() 116 Message.Builder builder = DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors() 123 Message.Builder builder = DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull() 128 Message.Builder builder = DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters() [all …]
|
D | DescriptorsTest.java | 96 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor() 104 assertEquals(Arrays.asList(UnittestImport.getDescriptor()), file.getDependencies()); in testFileDescriptor() 106 Descriptor messageType = TestAllTypes.getDescriptor(); in testFileDescriptor() 115 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor() 121 Arrays.asList(ImportEnum.getDescriptor(), ImportEnumForMap.getDescriptor()), in testFileDescriptor() 122 UnittestImport.getDescriptor().getEnumTypes()); in testFileDescriptor() 127 ServiceDescriptor service = TestService.getDescriptor(); in testFileDescriptor() 132 assertEquals(Collections.emptyList(), UnittestImport.getDescriptor().getServices()); in testFileDescriptor() 137 FieldDescriptor extension = UnittestProto.optionalInt32Extension.getDescriptor(); in testFileDescriptor() 142 assertEquals(Collections.emptyList(), UnittestImport.getDescriptor().getExtensions()); in testFileDescriptor() [all …]
|
D | MessageTest.java | 170 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testRequiredDynamic() 183 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); in testRequiredDynamicForeign() 292 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException() 301 DynamicMessage message = DynamicMessage.newBuilder(TestRequired.getDescriptor()).buildPartial(); in testDynamicBuildPartial() 307 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicParseUnititialized() 317 TestRequired.getDescriptor(); in testDynamicRepeatedMessageNull() 319 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNull() 343 TestRequired.getDescriptor(); in testDynamicRepeatedMessageNotNull() 345 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNotNull()
|
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/ |
D | ChannelzProto.java | 204 getDescriptor() { in getDescriptor() method in ChannelzProto 380 com.google.protobuf.AnyProto.getDescriptor(), in internalBuildGeneratedFileFrom() 381 com.google.protobuf.DurationProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 382 com.google.protobuf.TimestampProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 383 com.google.protobuf.WrappersProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 386 getDescriptor().getMessageTypes().get(0); 392 getDescriptor().getMessageTypes().get(1); 398 getDescriptor().getMessageTypes().get(2); 404 getDescriptor().getMessageTypes().get(3); 410 getDescriptor().getMessageTypes().get(4); [all …]
|
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | DynamicMessageTest.java | 50 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null); 53 new TestUtil.ReflectionTester(TestAllExtensions.getDescriptor(), 56 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null); 60 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors() 68 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild() 88 DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields() 108 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull() 117 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors() 125 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull() 131 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters() [all …]
|
D | DescriptorsTest.java | 92 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor() 101 assertEquals(Arrays.asList(UnittestImport.getDescriptor()), in testFileDescriptor() 104 Descriptor messageType = TestAllTypes.getDescriptor(); in testFileDescriptor() 113 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor() 118 assertEquals(Arrays.asList(ImportEnum.getDescriptor()), in testFileDescriptor() 119 UnittestImport.getDescriptor().getEnumTypes()); in testFileDescriptor() 124 ServiceDescriptor service = TestService.getDescriptor(); in testFileDescriptor() 130 UnittestImport.getDescriptor().getServices()); in testFileDescriptor() 136 UnittestProto.optionalInt32Extension.getDescriptor(); in testFileDescriptor() 144 UnittestImport.getDescriptor().getExtensions()); in testFileDescriptor() [all …]
|
D | WireFormatTest.java | 209 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); in testInterleavedFieldsAndExtensions() 211 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions() 215 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testInterleavedFieldsAndExtensions() 216 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testInterleavedFieldsAndExtensions() 247 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); in testParseMultipleExtensionRangesDynamic() 249 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic() 253 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testParseMultipleExtensionRangesDynamic() 254 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testParseMultipleExtensionRangesDynamic() 264 TestMessageSetExtension1.getDescriptor().getExtensions().get(0).getNumber(); 266 TestMessageSetExtension2.getDescriptor().getExtensions().get(0).getNumber(); [all …]
|
D | MessageTest.java | 169 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testRequiredDynamic() 182 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); in testRequiredDynamicForeign() 292 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException() 302 DynamicMessage.newBuilder(TestRequired.getDescriptor()) in testDynamicBuildPartial() 309 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicParseUnititialized() 319 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNull() 321 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNull() 343 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNotNull() 345 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNotNull()
|
D | TestBadIdentifiers.java | 53 TestBadIdentifiersProto.getDescriptor(); in testGetDescriptor() 55 .getDefaultInstance().getDescriptor(); in testGetDescriptor() 59 .NestedDescriptor.getDefaultInstance().getDescriptor(); in testGetDescriptor()
|
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/ |
D | LoadBalancerProto.java | 59 getDescriptor() { in getDescriptor() method in LoadBalancerProto 112 com.google.protobuf.DurationProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 113 com.google.protobuf.TimestampProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 116 getDescriptor().getMessageTypes().get(0); 122 getDescriptor().getMessageTypes().get(1); 128 getDescriptor().getMessageTypes().get(2); 134 getDescriptor().getMessageTypes().get(3); 140 getDescriptor().getMessageTypes().get(4); 146 getDescriptor().getMessageTypes().get(5); 152 getDescriptor().getMessageTypes().get(6); [all …]
|
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/ |
D | BinaryLogProto.java | 49 getDescriptor() { in getDescriptor() method in BinaryLogProto 101 com.google.protobuf.DurationProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 104 getDescriptor().getMessageTypes().get(0); 110 getDescriptor().getMessageTypes().get(1); 116 getDescriptor().getMessageTypes().get(2); 122 getDescriptor().getMessageTypes().get(3); 128 getDescriptor().getMessageTypes().get(4); 134 getDescriptor().getMessageTypes().get(5); 139 com.google.protobuf.DurationProto.getDescriptor(); in com.google.protobuf.DurationProto.getDescriptor()
|
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/reflection/v1alpha/ |
D | ServerReflectionProto.java | 59 getDescriptor() { in getDescriptor() method in ServerReflectionProto 115 getDescriptor().getMessageTypes().get(0); 121 getDescriptor().getMessageTypes().get(1); 127 getDescriptor().getMessageTypes().get(2); 133 getDescriptor().getMessageTypes().get(3); 139 getDescriptor().getMessageTypes().get(4); 145 getDescriptor().getMessageTypes().get(5); 151 getDescriptor().getMessageTypes().get(6); 157 getDescriptor().getMessageTypes().get(7);
|
/external/grpc-grpc-java/interop-testing/src/generated/main/java/io/grpc/testing/integration/ |
D | Test.java | 19 getDescriptor() { in getDescriptor() method in Test 65 io.grpc.testing.integration.EmptyProtos.getDescriptor(), in internalBuildGeneratedFileFrom() argument 66 io.grpc.testing.integration.Messages.getDescriptor(), in internalBuildGeneratedFileFrom() argument 68 io.grpc.testing.integration.EmptyProtos.getDescriptor(); in io.grpc.testing.integration.EmptyProtos.getDescriptor() 69 io.grpc.testing.integration.Messages.getDescriptor(); in io.grpc.testing.integration.Messages.getDescriptor()
|
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/ |
D | Services.java | 19 getDescriptor() { in getDescriptor() method in Services 62 io.grpc.benchmarks.proto.Messages.getDescriptor(), in internalBuildGeneratedFileFrom() argument 63 io.grpc.benchmarks.proto.Control.getDescriptor(), in internalBuildGeneratedFileFrom() argument 65 io.grpc.benchmarks.proto.Messages.getDescriptor(); in io.grpc.benchmarks.proto.Messages.getDescriptor() 66 io.grpc.benchmarks.proto.Control.getDescriptor(); in io.grpc.benchmarks.proto.Control.getDescriptor()
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyEnum.java | 52 …RubyEnumDescriptor rubyEnumDescriptorescriptor = (RubyEnumDescriptor) getDescriptor(context, recv); in lookup() 53 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in lookup() 68 …RubyEnumDescriptor rubyEnumDescriptorescriptor = (RubyEnumDescriptor) getDescriptor(context, recv); in resolve() 69 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in resolve() 83 public static IRubyObject getDescriptor(ThreadContext context, IRubyObject recv) { in getDescriptor() method in RubyEnum
|
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/ |
D | ReflectionTestProto.java | 31 getDescriptor() { in getDescriptor() method in ReflectionTestProto 61 io.grpc.reflection.testing.ReflectionTestDepthTwoProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 62 io.grpc.reflection.testing.ReflectionTestDepthTwoAlternateProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 65 io.grpc.reflection.testing.ReflectionTestDepthTwoProto.getDescriptor(); in io.grpc.reflection.testing.ReflectionTestDepthTwoProto.getDescriptor() 66 io.grpc.reflection.testing.ReflectionTestDepthTwoAlternateProto.getDescriptor(); in io.grpc.reflection.testing.ReflectionTestDepthTwoAlternateProto.getDescriptor()
|
D | ReflectionTestDepthTwoProto.java | 41 getDescriptor() { in getDescriptor() method in ReflectionTestDepthTwoProto 70 io.grpc.reflection.testing.ReflectionTestDepthThreeProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument 73 getDescriptor().getMessageTypes().get(0); 79 getDescriptor().getMessageTypes().get(1); 85 io.grpc.reflection.testing.ReflectionTestDepthThreeProto.getDescriptor(); in io.grpc.reflection.testing.ReflectionTestDepthThreeProto.getDescriptor()
|
D | DynamicReflectionTestDepthTwoProto.java | 46 getDescriptor() { in getDescriptor() method in DynamicReflectionTestDepthTwoProto 76 getDescriptor().getMessageTypes().get(0); 82 getDescriptor().getMessageTypes().get(1); 88 getDescriptor().getMessageTypes().get(2);
|
/external/proguard/src/proguard/classfile/visitor/ |
D | MemberDescriptorFilter.java | 73 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()
|
D | SimilarMemberVisitor.java | 86 programField.getDescriptor(programClass), in visitProgramField() 98 libraryField.getDescriptor(libraryClass), in visitLibraryField() 110 … programMethod.getDescriptor(programClass), in visitProgramMethod() 122 … libraryMethod.getDescriptor(libraryClass), in visitLibraryMethod()
|
D | SimpleClassPrinter.java | 112 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/ |
D | MemberAdder.java | 150 …+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()
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/ |
D | ProtoReflectionServiceTest.java | 178 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()) in fileByFilename() 205 DynamicReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString()) in fileByFilenameConsistentForMutableServices() 246 ReflectionTestProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol() 247 ReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol() 248 ReflectionTestDepthTwoAlternateProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol() 249 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()); in fileContainingSymbol() 282 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()) in fileContainingNestedSymbol() 308 DynamicReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString()) in fileContainingSymbolForMutableServices() 353 ReflectionTestProto.getDescriptor().toProto().toByteString(), in fileContainingExtension() 354 ReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString(), in fileContainingExtension() [all …]
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 709 Any.getDescriptor().getFullName(), in buildWellKnownTypePrinters() 724 printers.put(BoolValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() 725 printers.put(Int32Value.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() 726 printers.put(UInt32Value.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() 727 printers.put(Int64Value.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() 728 printers.put(UInt64Value.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() 729 printers.put(StringValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() 730 printers.put(BytesValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() 731 printers.put(FloatValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() 732 printers.put(DoubleValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters() [all …]
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | SimpleEnumUseChecker.java | 157 …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 …]
|