/external/protobuf/src/google/protobuf/ |
D | descriptor.h | 84 class EnumDescriptor; variable 334 const EnumDescriptor* enum_type(int index) const; 338 const EnumDescriptor* FindEnumTypeByName(const std::string& name) const; 468 EnumDescriptor* enum_types_; 496 friend class EnumDescriptor; variable 696 const EnumDescriptor* enum_type() const; 803 mutable const EnumDescriptor* enum_type_; 918 class PROTOBUF_EXPORT EnumDescriptor { 984 const EnumDescriptor::ReservedRange* reserved_range(int index) const; 990 const EnumDescriptor::ReservedRange* FindReservedRangeContainingNumber( [all …]
|
D | generated_enum_reflection.h | 55 class EnumDescriptor; variable 66 const EnumDescriptor* GetEnumDescriptor(); 73 PROTOBUF_EXPORT bool ParseNamedEnum(const EnumDescriptor* descriptor, 77 bool ParseNamedEnum(const EnumDescriptor* descriptor, const std::string& name, in ParseNamedEnum() 88 PROTOBUF_EXPORT const std::string& NameOfEnum(const EnumDescriptor* descriptor,
|
/external/rust/crates/protobuf/src/reflect/ |
D | enums.rs | 35 pub struct EnumDescriptor { struct 43 impl EnumDescriptor { argument 50 pub fn for_type<E: ProtobufEnum>() -> &'static EnumDescriptor { in for_type() argument 61 pub fn new(rust_name: &'static str, file: &'static FileDescriptorProto) -> EnumDescriptor { in new() argument 69 EnumDescriptor { in new() 88 ) -> EnumDescriptor in new_pb_name() 103 EnumDescriptor { in new_pb_name()
|
/external/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; 235 public EnumDescriptor EnumType 319 else if (typeDescriptor is EnumDescriptor) in CrossLink() 344 if (!(typeDescriptor is EnumDescriptor)) in CrossLink() 348 enumType = (EnumDescriptor) typeDescriptor; in CrossLink()
|
/external/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()
|
/external/rust/crates/protobuf/src/ |
D | enums.rs | 1 use crate::reflect::EnumDescriptor; 24 fn enum_descriptor(&self) -> &'static EnumDescriptor { in enum_descriptor() argument 29 fn enum_descriptor_static() -> &'static EnumDescriptor { in enum_descriptor_static()
|
/external/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);
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 95 Assert.AreEqual(file.EnumTypes[0], file.FindTypeByName<EnumDescriptor>("ForeignEnum")); in TestFileDescriptor() 96 Assert.Null(file.FindTypeByName<EnumDescriptor>("NoSuchType")); in TestFileDescriptor() 97 Assert.Null(file.FindTypeByName<EnumDescriptor>("protobuf_unittest3.ForeignEnum")); in TestFileDescriptor() 207 …Assert.AreEqual(messageType.EnumTypes[0], messageType.FindDescriptor<EnumDescriptor>("NestedEnum")… in MessageDescriptor() 208 Assert.Null(messageType.FindDescriptor<EnumDescriptor>("NoSuchType")); in MessageDescriptor() 286 public void EnumDescriptor() in EnumDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest 289 …EnumDescriptor enumType = UnittestProto3Reflection.Descriptor.FindTypeByName<EnumDescriptor>("Fore… in EnumDescriptor() 290 … 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()
|
/external/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() 716 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 805 public EnumDescriptor findEnumTypeByName(final String name) { in findEnumTypeByName() [all …]
|
D | ProtocolMessageEnum.java | 33 import com.google.protobuf.Descriptors.EnumDescriptor; 51 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
|
/external/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();
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.h | 49 class EnumDescriptor; variable 83 void PrintEnum(const EnumDescriptor& enum_descriptor) const; 116 void AddEnumToFileDescriptor(const EnumDescriptor& descriptor) const; 157 void FixOptionsForEnum(const EnumDescriptor& descriptor) const;
|
/external/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_;
|
/external/starlark-go/lib/proto/ |
D | proto.go | 969 return EnumDescriptor{Desc: enum}, nil 1028 return EnumDescriptor{desc}, nil 1097 type EnumDescriptor struct { struct 1098 Desc protoreflect.EnumDescriptor 1102 _ starlark.HasAttrs = EnumDescriptor{} 1103 _ starlark.Callable = EnumDescriptor{} 1106 func (e EnumDescriptor) String() string { return string(e.Desc.FullName()) } 1107 func (e EnumDescriptor) Type() string { return "proto.EnumDescriptor" } argument 1108 func (e EnumDescriptor) Truth() starlark.Bool { return true } argument 1109 func (e EnumDescriptor) Freeze() {} // immutable argument [all …]
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_enum.h | 48 EnumGenerator(const EnumDescriptor* descriptor, const Options* options); 57 const EnumDescriptor* descriptor_;
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_enum.h | 57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params); 64 const EnumDescriptor* descriptor_;
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_enum.h | 57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params); 64 const EnumDescriptor* descriptor_;
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum.h | 47 explicit EnumGenerator(const EnumDescriptor* descriptor); 59 const EnumDescriptor* descriptor_;
|
/external/protobuf/php/ext/google/protobuf/ |
D | def.c | 44 static void enum_descriptor_init_c_instance(EnumDescriptor* intern TSRMLS_DC); 45 static void enum_descriptor_free_c(EnumDescriptor* object TSRMLS_DC); 269 PHP_ME(EnumDescriptor, getValue, NULL, ZEND_ACC_PUBLIC) 270 PHP_ME(EnumDescriptor, getValueCount, NULL, ZEND_ACC_PUBLIC) 274 DEFINE_CLASS(EnumDescriptor, enum_descriptor, 277 static void enum_descriptor_free_c(EnumDescriptor *self TSRMLS_DC) { in enum_descriptor_free_c() 280 static void enum_descriptor_init_c_instance(EnumDescriptor *self TSRMLS_DC) { in enum_descriptor_init_c_instance() 285 PHP_METHOD(EnumDescriptor, getValue) { in PHP_METHOD() argument 293 EnumDescriptor *intern = UNBOX(EnumDescriptor, getThis()); in PHP_METHOD() 314 PHP_METHOD(EnumDescriptor, getValueCount) { in PHP_METHOD() argument [all …]
|