/third_party/protobuf/src/google/protobuf/ |
D | descriptor.h | 86 class EnumDescriptor; variable 370 const EnumDescriptor* enum_type(int index) const; 374 const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const; 536 EnumDescriptor* enum_types_; 567 friend class EnumDescriptor; variable 784 const EnumDescriptor* enum_type() const; 890 mutable const EnumDescriptor* enum_type_; 1009 class PROTOBUF_EXPORT EnumDescriptor { 1075 const EnumDescriptor::ReservedRange* reserved_range(int index) const; 1081 const EnumDescriptor::ReservedRange* FindReservedRangeContainingNumber( [all …]
|
D | generated_enum_reflection.h | 56 class EnumDescriptor; variable 67 const EnumDescriptor* GetEnumDescriptor(); 74 PROTOBUF_EXPORT bool ParseNamedEnum(const EnumDescriptor* descriptor, 78 bool ParseNamedEnum(const EnumDescriptor* descriptor, ConstStringParam name, in ParseNamedEnum() 89 PROTOBUF_EXPORT const std::string& NameOfEnum(const EnumDescriptor* descriptor,
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 77 Assert.AreEqual(file.EnumTypes[0], file.FindTypeByName<EnumDescriptor>("ForeignEnum")); in FileDescriptor() 78 Assert.Null(file.FindTypeByName<EnumDescriptor>("NoSuchType")); in FileDescriptor() 79 Assert.Null(file.FindTypeByName<EnumDescriptor>("protobuf_unittest.ForeignEnum")); in FileDescriptor() 129 …Assert.AreEqual(messageType.EnumTypes[0], messageType.FindDescriptor<EnumDescriptor>("NestedEnum")… in MessageDescriptor() 130 Assert.Null(messageType.FindDescriptor<EnumDescriptor>("NoSuchType")); in MessageDescriptor() 176 public void EnumDescriptor() in EnumDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest 179 …EnumDescriptor enumType = UnittestProto3Reflection.Descriptor.FindTypeByName<EnumDescriptor>("Fore… in EnumDescriptor() 180 … EnumDescriptor nestedType = TestAllTypes.Descriptor.FindDescriptor<EnumDescriptor>("NestedEnum"); in EnumDescriptor()
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | EnumValueDescriptor.cs | 43 private readonly EnumDescriptor enumDescriptor; 47 EnumDescriptor parent, int index) in EnumValueDescriptor() 71 public EnumDescriptor EnumDescriptor { get { return enumDescriptor; } } property in Google.Protobuf.Reflection.EnumValueDescriptor
|
D | FieldDescriptor.cs | 44 private EnumDescriptor enumType; 277 public EnumDescriptor EnumType 369 else if (typeDescriptor is EnumDescriptor) in CrossLink() 394 if (!(typeDescriptor is EnumDescriptor)) in CrossLink() 398 enumType = (EnumDescriptor) typeDescriptor; in CrossLink()
|
D | EnumDescriptor.cs | 42 public sealed class EnumDescriptor : DescriptorBase class 49 …internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, … in EnumDescriptor() method in Google.Protobuf.Reflection.EnumDescriptor
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.h | 44 class EnumDescriptor; variable 77 PyObject* NewEnumValuesByName(const EnumDescriptor* descriptor); 78 PyObject* NewEnumValuesByNumber(const EnumDescriptor* descriptor); 79 PyObject* NewEnumValuesSeq(const EnumDescriptor* descriptor);
|
D | descriptor.h | 62 PyObject* PyEnumDescriptor_FromDescriptor(const EnumDescriptor* descriptor); 84 const EnumDescriptor* PyEnumDescriptor_AsDescriptor(PyObject* obj);
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 96 Assert.AreEqual(file.EnumTypes[0], file.FindTypeByName<EnumDescriptor>("ForeignEnum")); in TestFileDescriptor() 97 Assert.Null(file.FindTypeByName<EnumDescriptor>("NoSuchType")); in TestFileDescriptor() 98 Assert.Null(file.FindTypeByName<EnumDescriptor>("protobuf_unittest3.ForeignEnum")); in TestFileDescriptor() 208 …Assert.AreEqual(messageType.EnumTypes[0], messageType.FindDescriptor<EnumDescriptor>("NestedEnum")… in MessageDescriptor() 209 Assert.Null(messageType.FindDescriptor<EnumDescriptor>("NoSuchType")); in MessageDescriptor() 292 public void EnumDescriptor() in EnumDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest 295 …EnumDescriptor enumType = UnittestProto3Reflection.Descriptor.FindTypeByName<EnumDescriptor>("Fore… in EnumDescriptor() 296 … EnumDescriptor nestedType = TestAllTypes.Descriptor.FindDescriptor<EnumDescriptor>("NestedEnum"); in EnumDescriptor()
|
D | DescriptorDeclarationTest.cs | 99 var descriptor = unitTestProto3Descriptor.FindTypeByName<EnumDescriptor>("CommentEnum"); in EnumComments() 117 var nested = outer.FindDescriptor<EnumDescriptor>("NestedCommentEnum"); in NestedEnumComments() 145 … var enumDescriptor = unitTestProto3Descriptor.FindTypeByName<EnumDescriptor>("CommentEnum"); in EnumValueComments() 155 var nested = outer.FindDescriptor<EnumDescriptor>("NestedCommentEnum"); in NestedEnumValueComments()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 131 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 206 public EnumDescriptor findEnumTypeByName(String name) { in findEnumTypeByName() 217 if (result != null && result instanceof EnumDescriptor && result.getFile() == this) { in findEnumTypeByName() 218 return (EnumDescriptor) result; in findEnumTypeByName() 494 private final EnumDescriptor[] enumTypes; 541 enumTypes = new EnumDescriptor[proto.getEnumTypeCount()]; in FileDescriptor() 543 enumTypes[i] = new EnumDescriptor(proto.getEnumType(i), this, null, i); in FileDescriptor() 570 enumTypes = new EnumDescriptor[0]; in FileDescriptor() 721 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 810 public EnumDescriptor findEnumTypeByName(final String name) { in findEnumTypeByName() [all …]
|
D | ProtocolMessageEnum.java | 33 import com.google.protobuf.Descriptors.EnumDescriptor; 51 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.h | 49 class EnumDescriptor; variable 84 void PrintEnum(const EnumDescriptor& enum_descriptor) const; 117 void AddEnumToFileDescriptor(const EnumDescriptor& descriptor) const; 158 void FixOptionsForEnum(const EnumDescriptor& descriptor) const;
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | EnumDescriptor.php | 7 class EnumDescriptor class 20 $this->public_desc = new \Google\Protobuf\EnumDescriptor($this); 91 $desc = new EnumDescriptor();
|
D | EnumBuilderContext.php | 35 use Google\Protobuf\Internal\EnumDescriptor; alias 46 $this->descriptor = new EnumDescriptor();
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_name_resolver.h | 42 class EnumDescriptor; variable 83 std::string GetClassName(const EnumDescriptor* descriptor, bool immutable); 105 std::string GetJavaImmutableClassName(const EnumDescriptor* descriptor);
|
D | java_names.h | 47 class EnumDescriptor; variable 67 std::string ClassName(const EnumDescriptor* descriptor);
|
D | java_enum_lite.h | 63 EnumLiteGenerator(const EnumDescriptor* descriptor, bool immutable_api, 70 const EnumDescriptor* descriptor_;
|
D | java_enum.h | 63 EnumGenerator(const EnumDescriptor* descriptor, bool immutable_api, 70 const EnumDescriptor* descriptor_;
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_enum.h | 48 EnumGenerator(const EnumDescriptor* descriptor, const Options* options); 57 const EnumDescriptor* descriptor_;
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | def.c | 118 } EnumDescriptor; typedef 139 EnumDescriptor* ret = emalloc(sizeof(EnumDescriptor)); in EnumDescriptor_FromClassEntry() 178 PHP_METHOD(EnumDescriptor, getValue) { in PHP_METHOD() argument 179 EnumDescriptor *intern = (EnumDescriptor*)Z_OBJ_P(getThis()); in PHP_METHOD() 210 PHP_METHOD(EnumDescriptor, getValueCount) { in PHP_METHOD() argument 211 EnumDescriptor *intern = (EnumDescriptor*)Z_OBJ_P(getThis()); in PHP_METHOD() 222 PHP_METHOD(EnumDescriptor, getPublicDescriptor) { in PHP_METHOD() argument 227 PHP_ME(EnumDescriptor, getPublicDescriptor, NULL, ZEND_ACC_PUBLIC) 228 PHP_ME(EnumDescriptor, getValueCount, NULL, ZEND_ACC_PUBLIC) 229 PHP_ME(EnumDescriptor, getValue, NULL, ZEND_ACC_PUBLIC)
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum.h | 47 explicit EnumGenerator(const EnumDescriptor* descriptor); 59 const EnumDescriptor* descriptor_;
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.h | 60 EnumGenerator(const EnumDescriptor* descriptor, 88 const EnumDescriptor* descriptor_;
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyEnumDescriptor.java | 155 public void setDescriptor(Descriptors.EnumDescriptor descriptor) { in setDescriptor() 159 public Descriptors.EnumDescriptor getDescriptor() { in getDescriptor() 183 private Descriptors.EnumDescriptor descriptor;
|
D | RubyEnum.java | 53 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in lookup() 69 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in resolve()
|