/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyEnumBuilderContext.java | 63 public IRubyObject initialize(ThreadContext context, IRubyObject enumDescriptor) { in initialize() argument 64 this.enumDescriptor = (RubyEnumDescriptor) enumDescriptor; in initialize() 77 this.enumDescriptor.addValue(context, name, number); in value() 81 private RubyEnumDescriptor enumDescriptor; field in RubyEnumBuilderContext
|
D | RubyDescriptorPool.java | 128 for (Descriptors.EnumDescriptor enumDescriptor : fileDescriptor.getEnumTypes()) { in buildFileDescriptor() 129 String enumName = Utils.unescapeIdentifier(enumDescriptor.getName()); in buildFileDescriptor() 130 if (enumDescriptor.findValueByNumber(0) == null) { in buildFileDescriptor() 135 .setDescriptor(enumDescriptor); in buildFileDescriptor()
|
D | RubyMessage.java | 527 Descriptors.EnumDescriptor enumDescriptor = fieldDescriptor.getEnumType(); in convert() local 530 … val = enumDescriptor.findValueByNumberCreatingIfUnknown(RubyNumeric.num2int(value)); in convert() 532 val = enumDescriptor.findValueByName(value.asJavaString()); in convert() 686 Descriptors.EnumDescriptor enumDescriptor = fieldDescriptor.getEnumType(); in setField() local 689 … enumDescriptor.findValueByNumberCreatingIfUnknown(RubyNumeric.num2int(value)); in setField()
|
D | Utils.java | 118 Descriptors.EnumDescriptor enumDescriptor = in checkType() local 120 val = enumDescriptor.findValueByName(value.asJavaString()); in checkType()
|
/external/protobuf/objectivec/Tests/ |
D | GPBDescriptorTests.m | 54 XCTAssertNotNil(fieldDescriptorWithNumber.enumDescriptor); 55 XCTAssertEqualObjects(fieldDescriptorWithNumber.enumDescriptor.name, 64 XCTAssertNotNil(fieldDescriptorWithNumber.enumDescriptor); 65 XCTAssertEqualObjects(fieldDescriptorWithNumber.enumDescriptor.name, 74 XCTAssertNotNil(fieldDescriptorWithNumber.enumDescriptor); 75 XCTAssertEqualObjects(fieldDescriptorWithNumber.enumDescriptor.name, 84 XCTAssertNil(fieldDescriptorWithNumber.enumDescriptor); 93 XCTAssertNil(fieldDescriptorWithNumber.enumDescriptor); 101 XCTAssertNil(fieldDescriptorWithNumber.enumDescriptor);
|
D | GPBMessageTests.m | 1818 GPBEnumDescriptor *enumDescriptor = extDescriptor.enumDescriptor; 1820 XCTAssertEqualObjects(enumDescriptor, expectedDescriptor);
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | EnumValueDescriptor.cs | 40 private readonly EnumDescriptor enumDescriptor; field in Google.Protobuf.Reflection.EnumValueDescriptor 48 enumDescriptor = parent; in EnumValueDescriptor() 68 public EnumDescriptor EnumDescriptor { get { return enumDescriptor; } }
|
D | DescriptorPool.cs | 216 … internal EnumValueDescriptor FindEnumValueByNumber(EnumDescriptor enumDescriptor, int number) in FindEnumValueByNumber() argument 219 enumValuesByNumber.TryGetValue(new DescriptorIntPair(enumDescriptor, number), out ret); in FindEnumValueByNumber()
|
/external/grpc-grpc/src/csharp/Grpc.Reflection/ |
D | SymbolRegistry.cs | 112 private void AddEnum(EnumDescriptor enumDescriptor) in AddEnum() argument 114 filesBySymbol[enumDescriptor.FullName] = enumDescriptor.File; in AddEnum()
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_doc_comment.cc | 100 void WriteEnumDocComment(io::Printer* printer, const EnumDescriptor* enumDescriptor) { in WriteEnumDocComment() argument 101 WriteDocCommentBody(printer, enumDescriptor); in WriteEnumDocComment()
|
D | csharp_doc_comment.h | 44 void WriteEnumDocComment(io::Printer* printer, const EnumDescriptor* enumDescriptor);
|
/external/protobuf/objectivec/ |
D | GPBDescriptor.h | 107 @property(nonatomic, readonly, strong, nullable) GPBEnumDescriptor *enumDescriptor; 137 @property(nonatomic, readonly, strong, nullable) GPBEnumDescriptor *enumDescriptor;
|
D | GPBDescriptor.m | 348 // be a enumDescriptor, otherwise it will be a enumVerifier. 530 - (GPBEnumDescriptor *)enumDescriptor { method 903 - (GPBEnumDescriptor *)enumDescriptor { method 905 GPBEnumDescriptor *enumDescriptor = description_->enumDescriptorFunc(); 906 return enumDescriptor;
|
D | GPBMessage.m | 201 initWithValidationFunction:field.enumDescriptor.enumVerifier]; 266 initWithValidationFunction:field.enumDescriptor.enumVerifier]; 310 initWithValidationFunction:field.enumDescriptor.enumVerifier]; 355 initWithValidationFunction:field.enumDescriptor.enumVerifier]; 399 initWithValidationFunction:field.enumDescriptor.enumVerifier]; 444 initWithValidationFunction:field.enumDescriptor.enumVerifier]; 487 initWithValidationFunction:field.enumDescriptor.enumVerifier];
|
D | GPBUtilities.m | 1196 GPBEnumDescriptor *descriptor = field.enumDescriptor; 1316 GPBEnumDescriptor *descriptor = field.enumDescriptor;
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DynamicMessageTest.java | 320 EnumDescriptor enumDescriptor = TestAllTypes.NestedEnum.getDescriptor(); in testSettersForRepeatedEnumField() local 321 builder.setField(repeatedEnumField, enumDescriptor.getValues()); in testSettersForRepeatedEnumField() 324 enumDescriptor.getValues(), message.getField(repeatedEnumField)); in testSettersForRepeatedEnumField()
|
D | MapTest.java | 728 EnumDescriptor enumDescriptor = TestMap.EnumValue.getDescriptor(); in testUnknownEnumValuesInReflectionApi() local 750 enumDescriptor.findValueByNumberCreatingIfUnknown(value + 1)); in testUnknownEnumValuesInReflectionApi()
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 1587 private EnumValueDescriptor parseEnum(EnumDescriptor enumDescriptor, in parseEnum() argument 1590 EnumValueDescriptor result = enumDescriptor.findValueByName(value); in parseEnum() 1595 if (enumDescriptor.getFile().getSyntax() == FileDescriptor.Syntax.PROTO3) { in parseEnum() 1596 result = enumDescriptor.findValueByNumberCreatingIfUnknown(numericValue); in parseEnum() 1598 result = enumDescriptor.findValueByNumber(numericValue); in parseEnum() 1609 + enumDescriptor.getFullName()); in parseEnum()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | GeneratedMessage.java | 2515 enumDescriptor = descriptor.getEnumType(); 2533 private EnumDescriptor enumDescriptor; 2547 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2556 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2580 enumDescriptor = descriptor.getEnumType(); 2599 private EnumDescriptor enumDescriptor; 2637 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2647 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
|