/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | EnumDescriptor.cs | 45 private readonly IList<EnumValueDescriptor> values; 63 … (value, i) => new EnumValueDescriptor(value, file, this, i)); in EnumDescriptor() 91 public IList<EnumValueDescriptor> Values 101 public EnumValueDescriptor FindValueByNumber(int number) in FindValueByNumber() 111 public EnumValueDescriptor FindValueByName(string name) in FindValueByName() 113 return File.DescriptorPool.FindSymbol<EnumValueDescriptor>(FullName + "." + name); in FindValueByName()
|
D | DescriptorPool.cs | 51 private readonly IDictionary<DescriptorIntPair, EnumValueDescriptor> enumValuesByNumber = 52 new Dictionary<DescriptorIntPair, EnumValueDescriptor>(); 216 … internal EnumValueDescriptor FindEnumValueByNumber(EnumDescriptor enumDescriptor, int number) in FindEnumValueByNumber() 218 EnumValueDescriptor ret; in FindEnumValueByNumber() 247 internal void AddEnumValueByNumber(EnumValueDescriptor enumValue) in AddEnumValueByNumber()
|
D | EnumValueDescriptor.cs | 38 …public sealed class EnumValueDescriptor : DescriptorBase … class 43 internal EnumValueDescriptor(EnumValueDescriptorProto proto, FileDescriptor file, in EnumValueDescriptor() method in Google.Protobuf.Reflection.EnumValueDescriptor
|
/external/protobuf/src/google/protobuf/ |
D | test_util.h | 189 const EnumValueDescriptor* nested_foo_; 190 const EnumValueDescriptor* nested_bar_; 191 const EnumValueDescriptor* nested_baz_; 192 const EnumValueDescriptor* foreign_foo_; 193 const EnumValueDescriptor* foreign_bar_; 194 const EnumValueDescriptor* foreign_baz_; 195 const EnumValueDescriptor* import_foo_; 196 const EnumValueDescriptor* import_bar_; 197 const EnumValueDescriptor* import_baz_;
|
D | descriptor.h | 80 class EnumValueDescriptor; variable 281 const EnumValueDescriptor* FindEnumValueByName(const string& name) const; 586 const EnumValueDescriptor* default_value_enum() const; 714 const EnumValueDescriptor* default_value_enum_; 820 const EnumValueDescriptor* value(int index) const; 823 const EnumValueDescriptor* FindValueByName(const string& name) const; 826 const EnumValueDescriptor* FindValueByNumber(int number) const; 874 const EnumValueDescriptor* 898 EnumValueDescriptor* values_; 908 friend class EnumValueDescriptor; variable [all …]
|
D | map_test_util.h | 115 const EnumValueDescriptor* map_enum_bar_; 116 const EnumValueDescriptor* map_enum_baz_; 117 const EnumValueDescriptor* map_enum_foo_;
|
D | preserve_unknown_enum_test.cc | 196 const google::protobuf::EnumValueDescriptor* enum_value = r->GetEnum(message, field); in TEST() 201 const google::protobuf::EnumValueDescriptor* enum_value_second = in TEST() 239 const google::protobuf::EnumValueDescriptor* enum_value = r->GetEnum(message, in TEST() 253 const google::protobuf::EnumValueDescriptor* enum_value = in TEST()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | UnknownEnumValueTest.java | 35 import com.google.protobuf.Descriptors.EnumValueDescriptor; 145 EnumValueDescriptor unknown4321 = in testUnknownEnumValueInReflectionApi() 146 (EnumValueDescriptor) message.getField(optionalNestedEnumField); in testUnknownEnumValueInReflectionApi() 147 EnumValueDescriptor unknown5432 = in testUnknownEnumValueInReflectionApi() 148 (EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0); in testUnknownEnumValueInReflectionApi() 149 EnumValueDescriptor unknown6543 = in testUnknownEnumValueInReflectionApi() 150 (EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0); in testUnknownEnumValueInReflectionApi() 196 ((EnumValueDescriptor) message.getField(optionalNestedEnumField)).getNumber()); in testUnknownEnumValueWithDynamicMessage() 198 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage() 200 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_enum.h | 71 vector<const EnumValueDescriptor*> canonical_values_; 74 const EnumValueDescriptor* value; 75 const EnumValueDescriptor* canonical_value;
|
D | javamicro_enum.cc | 53 const EnumValueDescriptor* value = descriptor_->value(i); in EnumGenerator() 54 const EnumValueDescriptor* canonical_value = in EnumGenerator()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_enum.h | 71 vector<const EnumValueDescriptor*> canonical_values_; 74 const EnumValueDescriptor* value; 75 const EnumValueDescriptor* canonical_value;
|
D | javanano_enum.cc | 53 const EnumValueDescriptor* value = descriptor_->value(i); in EnumGenerator() 54 const EnumValueDescriptor* canonical_value = in EnumGenerator()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum_lite.h | 76 vector<const EnumValueDescriptor*> canonical_values_; 79 const EnumValueDescriptor* value; 80 const EnumValueDescriptor* canonical_value;
|
D | java_enum.h | 76 vector<const EnumValueDescriptor*> canonical_values_; 79 const EnumValueDescriptor* value; 80 const EnumValueDescriptor* canonical_value;
|
D | java_enum_lite.cc | 56 const EnumValueDescriptor* value = descriptor->value(i); in EnumHasCustomOptions() 69 const EnumValueDescriptor* value = descriptor_->value(i); in EnumLiteGenerator() 70 const EnumValueDescriptor* canonical_value = in EnumLiteGenerator()
|
D | java_enum.cc | 56 const EnumValueDescriptor* value = descriptor->value(i); in EnumHasCustomOptions() 70 const EnumValueDescriptor* value = descriptor_->value(i); in EnumGenerator() 71 const EnumValueDescriptor* canonical_value = in EnumGenerator()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 1527 implements Internal.EnumLiteMap<EnumValueDescriptor> { 1568 public List<EnumValueDescriptor> getValues() { in getValues() 1577 public EnumValueDescriptor findValueByName(final String name) { in findValueByName() 1580 if (result != null && result instanceof EnumValueDescriptor) { in findValueByName() 1581 return (EnumValueDescriptor)result; in findValueByName() 1594 public EnumValueDescriptor findValueByNumber(final int number) { in findValueByNumber() 1603 public EnumValueDescriptor findValueByNumberCreatingIfUnknown(final int number) { in findValueByNumberCreatingIfUnknown() 1604 EnumValueDescriptor result = findValueByNumber(number); in findValueByNumberCreatingIfUnknown() 1640 WeakReference<EnumValueDescriptor> reference = unknownValues.get(key); in findValueByNumberCreatingIfUnknown() 1645 result = new EnumValueDescriptor(file, this, key); in findValueByNumberCreatingIfUnknown() [all …]
|
D | ProtocolMessageEnum.java | 34 import com.google.protobuf.Descriptors.EnumValueDescriptor; 52 EnumValueDescriptor getValueDescriptor(); in getValueDescriptor()
|
D | AbstractMessage.java | 33 import com.google.protobuf.Descriptors.EnumValueDescriptor; 174 if (fieldValue instanceof EnumValueDescriptor) { in convertMapEntryListToMap() 175 fieldValue = ((EnumValueDescriptor) fieldValue).getNumber(); in convertMapEntryListToMap() 181 if (fieldValue instanceof EnumValueDescriptor) { in convertMapEntryListToMap() 182 fieldValue = ((EnumValueDescriptor) fieldValue).getNumber(); in convertMapEntryListToMap()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum.h | 62 vector<const EnumValueDescriptor*> base_values_; 63 vector<const EnumValueDescriptor*> all_values_;
|
D | objectivec_enum.cc | 48 const EnumValueDescriptor* value = descriptor_->value(i); in EnumGenerator() 49 const EnumValueDescriptor* canonical_value = in EnumGenerator()
|
/external/protobuf/src/google/protobuf/util/ |
D | field_comparator.h | 45 class EnumValueDescriptor; variable 187 const EnumValueDescriptor* value_1, 188 const EnumValueDescriptor* value_2);
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyEnum.java | 54 … Descriptors.EnumValueDescriptor value = descriptor.findValueByNumber(RubyNumeric.num2int(number)); in lookup() 70 Descriptors.EnumValueDescriptor value = descriptor.findValueByName(name.asJavaString()); in resolve()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.cc | 90 const EnumValueDescriptor* min_value = descriptor_->value(0); in GenerateDefinition() 91 const EnumValueDescriptor* max_value = descriptor_->value(0); in GenerateDefinition() 271 const EnumValueDescriptor* value = descriptor_->value(j); in GenerateMethods()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.h | 49 class EnumValueDescriptor; variable 134 void PrintEnumValueDescriptor(const EnumValueDescriptor& descriptor) const;
|