/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | UnknownEnumValueTest.java | 35 import com.google.protobuf.Descriptors.EnumValueDescriptor; 147 EnumValueDescriptor unknown4321 = in testUnknownEnumValueInReflectionApi() 148 (EnumValueDescriptor) message.getField(optionalNestedEnumField); in testUnknownEnumValueInReflectionApi() 149 EnumValueDescriptor unknown5432 = in testUnknownEnumValueInReflectionApi() 150 (EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0); in testUnknownEnumValueInReflectionApi() 151 EnumValueDescriptor unknown6543 = in testUnknownEnumValueInReflectionApi() 152 (EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0); in testUnknownEnumValueInReflectionApi() 194 4321, ((EnumValueDescriptor) message.getField(optionalNestedEnumField)).getNumber()); in testUnknownEnumValueWithDynamicMessage() 197 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage() 200 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | EnumDescriptor.cs | 46 private readonly IList<EnumValueDescriptor> values; 64 … (value, i) => new EnumValueDescriptor(value, file, this, i)); in EnumDescriptor() 103 public IList<EnumValueDescriptor> Values 113 public EnumValueDescriptor FindValueByNumber(int number) in FindValueByNumber() 123 public EnumValueDescriptor FindValueByName(string name) in FindValueByName() 125 return File.DescriptorPool.FindSymbol<EnumValueDescriptor>(FullName + "." + name); in FindValueByName()
|
D | DescriptorPool.cs | 51 … private readonly IDictionary<ObjectIntPair<IDescriptor>, EnumValueDescriptor> enumValuesByNumber = 52 new Dictionary<ObjectIntPair<IDescriptor>, EnumValueDescriptor>(); 216 … internal EnumValueDescriptor FindEnumValueByNumber(EnumDescriptor enumDescriptor, int number) in FindEnumValueByNumber() 218 EnumValueDescriptor ret; in FindEnumValueByNumber() 248 internal void AddEnumValueByNumber(EnumValueDescriptor enumValue) in AddEnumValueByNumber()
|
D | EnumValueDescriptor.cs | 41 public sealed class EnumValueDescriptor : DescriptorBase class 46 internal EnumValueDescriptor(EnumValueDescriptorProto proto, FileDescriptor file, in EnumValueDescriptor() method in Google.Protobuf.Reflection.EnumValueDescriptor
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor.h | 87 class EnumValueDescriptor; variable 378 const EnumValueDescriptor* FindEnumValueByName(ConstStringParam name) const; 752 const EnumValueDescriptor* default_value_enum() const; 907 mutable const EnumValueDescriptor* default_value_enum_; 1030 const EnumValueDescriptor* value(int index) const; 1033 const EnumValueDescriptor* FindValueByName(ConstStringParam name) const; 1036 const EnumValueDescriptor* FindValueByNumber(int number) const; 1115 const EnumValueDescriptor* FindValueByNumberCreatingIfUnknown( 1138 EnumValueDescriptor* values_; 1154 friend class EnumValueDescriptor; variable [all …]
|
D | preserve_unknown_enum_test.cc | 193 const EnumValueDescriptor* enum_value = r->GetEnum(message, field); in TEST() 198 const EnumValueDescriptor* enum_value_second = r->GetEnum(message, field); in TEST() 233 const EnumValueDescriptor* enum_value = r->GetEnum(message, singular_field); in TEST() 246 const EnumValueDescriptor* enum_value = in TEST()
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum.h | 60 std::vector<const EnumValueDescriptor*> base_values_; 61 std::vector<const EnumValueDescriptor*> all_values_; 62 std::set<const EnumValueDescriptor*> alias_values_to_skip_;
|
D | objectivec_enum.cc | 60 const EnumValueDescriptor* value = descriptor_->value(i); in EnumGenerator() 61 const EnumValueDescriptor* canonical_value = in EnumGenerator()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum_lite.h | 77 std::vector<const EnumValueDescriptor*> canonical_values_; 80 const EnumValueDescriptor* value; 81 const EnumValueDescriptor* canonical_value;
|
D | java_enum.h | 77 std::vector<const EnumValueDescriptor*> canonical_values_; 80 const EnumValueDescriptor* value; 81 const EnumValueDescriptor* canonical_value;
|
D | java_enum_lite.cc | 60 const EnumValueDescriptor* value = descriptor_->value(i); in EnumLiteGenerator() 61 const EnumValueDescriptor* canonical_value = in EnumLiteGenerator()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ProtocolMessageEnum.java | 34 import com.google.protobuf.Descriptors.EnumValueDescriptor; 46 EnumValueDescriptor getValueDescriptor(); in getValueDescriptor()
|
D | Descriptors.java | 1640 implements Internal.EnumLiteMap<EnumValueDescriptor> { 1689 public List<EnumValueDescriptor> getValues() { in getValues() 1699 public EnumValueDescriptor findValueByName(final String name) { in findValueByName() 1701 if (result != null && result instanceof EnumValueDescriptor) { in findValueByName() 1702 return (EnumValueDescriptor) result; in findValueByName() 1716 public EnumValueDescriptor findValueByNumber(final int number) { in findValueByNumber() 1724 public EnumValueDescriptor findValueByNumberCreatingIfUnknown(final int number) { in findValueByNumberCreatingIfUnknown() 1725 EnumValueDescriptor result = findValueByNumber(number); in findValueByNumberCreatingIfUnknown() 1761 WeakReference<EnumValueDescriptor> reference = unknownValues.get(key); in findValueByNumberCreatingIfUnknown() 1766 result = new EnumValueDescriptor(file, this, key); in findValueByNumberCreatingIfUnknown() [all …]
|
D | ExtensionSchemaFull.java | 33 import com.google.protobuf.Descriptors.EnumValueDescriptor; 196 List<EnumValueDescriptor> enumList = new ArrayList<EnumValueDescriptor>(); in parseExtension() 198 EnumValueDescriptor enumDescriptor = in parseExtension() 415 List<EnumValueDescriptor> enumList = (List<EnumValueDescriptor>) extension.getValue(); in serializeExtension() 417 for (EnumValueDescriptor d : enumList) { in serializeExtension() 481 descriptor.getNumber(), ((EnumValueDescriptor) extension.getValue()).getNumber()); in serializeExtension()
|
D | AbstractMessage.java | 33 import com.google.protobuf.Descriptors.EnumValueDescriptor; 203 if (fieldValue instanceof EnumValueDescriptor) { in convertMapEntryListToMap() 204 fieldValue = ((EnumValueDescriptor) fieldValue).getNumber(); in convertMapEntryListToMap() 210 if (fieldValue instanceof EnumValueDescriptor) { in convertMapEntryListToMap() 211 fieldValue = ((EnumValueDescriptor) fieldValue).getNumber(); in convertMapEntryListToMap()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | EnumBuilderContext.php | 36 use Google\Protobuf\EnumValueDescriptor; alias 54 $value = new EnumValueDescriptor($name, $number);
|
D | EnumDescriptor.php | 5 use Google\Protobuf\EnumValueDescriptor; alias 37 $this->value_descriptor[] = new EnumValueDescriptor($value->getName(), $number);
|
/third_party/protobuf/src/google/protobuf/util/ |
D | field_comparator.h | 48 class EnumValueDescriptor; variable 188 const EnumValueDescriptor* value_1, 189 const EnumValueDescriptor* value_2);
|
D | field_comparator.cc | 160 const EnumValueDescriptor* value_1, in CompareEnum() 161 const EnumValueDescriptor* value_2) { in CompareEnum()
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | def.c | 64 } EnumValueDescriptor; typedef 76 EnumValueDescriptor *intern = emalloc(sizeof(EnumValueDescriptor)); in EnumValueDescriptor_Make() 90 PHP_METHOD(EnumValueDescriptor, getName) { in PHP_METHOD() argument 91 EnumValueDescriptor *intern = (EnumValueDescriptor*)Z_OBJ_P(getThis()); in PHP_METHOD() 100 PHP_METHOD(EnumValueDescriptor, getNumber) { in PHP_METHOD() argument 101 EnumValueDescriptor *intern = (EnumValueDescriptor*)Z_OBJ_P(getThis()); in PHP_METHOD() 106 PHP_ME(EnumValueDescriptor, getName, NULL, ZEND_ACC_PUBLIC) 107 PHP_ME(EnumValueDescriptor, getNumber, NULL, ZEND_ACC_PUBLIC)
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.cc | 97 const EnumValueDescriptor* min_value = descriptor_->value(0); in GenerateDefinition() 98 const EnumValueDescriptor* max_value = descriptor_->value(0); in GenerateDefinition() 287 const EnumValueDescriptor* value = descriptor_->value(j); in GenerateMethods() 321 const EnumValueDescriptor* value = descriptor_->value(i); in GenerateMethods()
|
/third_party/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()
|
D | RubyEnumDescriptor.java | 133 for (Descriptors.EnumValueDescriptor enumValueDescriptor : descriptor.getValues()) { in each() 172 for (Descriptors.EnumValueDescriptor value : descriptor.getValues()) { in buildModuleFromDescriptor()
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.h | 50 class EnumValueDescriptor; variable 141 void PrintEnumValueDescriptor(const EnumValueDescriptor& descriptor) const;
|
/third_party/protobuf/php/src/Google/Protobuf/ |
D | EnumValueDescriptor.php | 35 class EnumValueDescriptor class
|