/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
FieldDescriptor.cs | 43 private EnumDescriptor enumType; 226 public EnumDescriptor EnumType 270 else if (typeDescriptor is EnumDescriptor) 295 if (!(typeDescriptor is EnumDescriptor)) 299 enumType = (EnumDescriptor) typeDescriptor;
|
DescriptorPool.cs | 216 internal EnumValueDescriptor FindEnumValueByNumber(EnumDescriptor enumDescriptor, int number) 219 enumValuesByNumber.TryGetValue(new DescriptorIntPair(enumDescriptor, number), out ret); 249 DescriptorIntPair key = new DescriptorIntPair(enumValue.EnumDescriptor, enumValue.Number);
|
/external/protobuf/python/google/protobuf/ |
descriptor.py | 231 enum_types: (list of EnumDescriptors) EnumDescriptor references 233 enum_types_by_name: (dict str ->EnumDescriptor) Same EnumDescriptor 235 in each EnumDescriptor. 403 enum_type: (EnumDescriptor) If this field contains an enum, a 570 class EnumDescriptor(_NestedDescriptorBase): 574 An EnumDescriptor instance has the following attributes: 596 _C_DESCRIPTOR_CLASS = _message.EnumDescriptor 612 super(EnumDescriptor, self).__init__( 630 super(EnumDescriptor, self).CopyToProto(proto [all...] |
descriptor_pool.py | 151 """Adds an EnumDescriptor to the pool. 156 enum_desc: An EnumDescriptor. 159 if not isinstance(enum_desc, descriptor.EnumDescriptor): 160 raise TypeError('Expected instance of descriptor.EnumDescriptor.') 484 """Make a protobuf EnumDescriptor given an EnumDescriptorProto protobuf. 488 package: Optional package name for the new message EnumDescriptor. 509 desc = descriptor.EnumDescriptor(name=enum_proto.name,
|
/external/protobuf/src/google/protobuf/ |
descriptor.cc | 239 typedef pair<const EnumDescriptor*, int> EnumIntPair; 274 const EnumDescriptor* enum_descriptor; 300 CONSTRUCTOR(EnumDescriptor , ENUM , enum_descriptor ) 591 const EnumDescriptor* parent, int number) const; 594 const EnumDescriptor* parent, int number) const; 840 const EnumDescriptor* parent, int number) const { 846 const EnumDescriptor* parent, int number) const { [all...] |
type.pb.h | 77 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Field_Kind_descriptor(); 100 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Field_Cardinality_descriptor(); 121 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Syntax_descriptor(); 378 static inline const ::google::protobuf::EnumDescriptor* 408 static inline const ::google::protobuf::EnumDescriptor* [all...] |
descriptor_unittest.cc | 325 const EnumDescriptor* foo_enum_; 331 const EnumDescriptor* bar_enum_; 684 const EnumDescriptor* enum_; [all...] |
struct.pb.h | 57 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* NullValue_descriptor(); 759 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::NullValue>() {
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
DynamicMessageTest.java | 33 import com.google.protobuf.Descriptors.EnumDescriptor; 320 EnumDescriptor enumDescriptor = TestAllTypes.NestedEnum.getDescriptor(); 321 builder.setField(repeatedEnumField, enumDescriptor.getValues()); 324 enumDescriptor.getValues(), message.getField(repeatedEnumField));
|
/external/protobuf/python/google/protobuf/pyext/ |
descriptor_pool.cc | 281 const EnumDescriptor* enum_descriptor = 367 const EnumDescriptor* enum_descriptor =
|
descriptor_containers.cc | 32 // Used by Descriptor.fields_by_name, EnumDescriptor.values... [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
type.pb.h | 77 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Field_Kind_descriptor(); 100 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Field_Cardinality_descriptor(); 121 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Syntax_descriptor(); 378 static inline const ::google::protobuf::EnumDescriptor* 408 static inline const ::google::protobuf::EnumDescriptor* [all...] |
struct.pb.h | 57 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* NullValue_descriptor(); 759 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::NullValue>() {
|
/external/nanopb-c/generator/proto/ |
nanopb_pb2.py | 15 _FIELDTYPE = descriptor.EnumDescriptor(
|
/external/protobuf/python/google/protobuf/internal/ |
descriptor_pool_test.py | 201 self.assertIsInstance(enum1, descriptor.EnumDescriptor) 207 self.assertIsInstance(nested_enum1, descriptor.EnumDescriptor) 215 self.assertIsInstance(enum2, descriptor.EnumDescriptor) 221 self.assertIsInstance(nested_enum2, descriptor.EnumDescriptor)
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
RubyDescriptorPool.java | 128 for (Descriptors.EnumDescriptor enumDescriptor : fileDescriptor.getEnumTypes()) { 129 String enumName = Utils.unescapeIdentifier(enumDescriptor.getName()); 130 if (enumDescriptor.findValueByNumber(0) == null) { 135 .setDescriptor(enumDescriptor);
|
Utils.java | 118 Descriptors.EnumDescriptor enumDescriptor = 120 val = enumDescriptor.findValueByName(value.asJavaString());
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_helpers.h | 68 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified);
|
cpp_file.cc | 310 "const ::google::protobuf::EnumDescriptor* $name$_descriptor_ = NULL;\n", 410 map<string, const EnumDescriptor*>& enums() { return enums_; } 413 for (map<string, const EnumDescriptor *>::const_iterator 444 map<string, const EnumDescriptor*> enums_; [all...] |
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_helpers.cc | 183 string ClassName(const Params& params, const EnumDescriptor* descriptor) {
|
/test/vts/proto/ |
VtsProfilingMessage_pb2.py | 20 _INSTRUMENTATIONEVENTTYPE = _descriptor.EnumDescriptor(
|
/packages/services/Car/tools/emulator/ |
VehicleHalProto_pb2.py | 19 _MSGTYPE = _descriptor.EnumDescriptor( 77 _STATUS = _descriptor.EnumDescriptor(
|
/external/protobuf/src/google/protobuf/util/internal/ |
datapiece.cc | 46 using google::protobuf::EnumDescriptor;
|
/external/protobuf/src/google/protobuf/compiler/js/ |
js_generator.cc | 249 const EnumDescriptor* enum_descriptor) { 413 const EnumDescriptor* desc) { [all...] |
/external/nanopb-c/generator/google/protobuf/ |
descriptor_pool.py | 298 """Make a protobuf EnumDescriptor given an EnumDescriptorProto protobuf. 302 package: Optional package name for the new message EnumDescriptor. 323 desc = descriptor.EnumDescriptor(name=enum_proto.name,
|