/frameworks/base/tools/streaming_proto/ |
D | stream_proto_utils.cpp | 21 get_field_id(const FieldDescriptorProto& field) in get_field_id() 32 } else if (field.label() == FieldDescriptorProto::LABEL_REPEATED) { in get_field_id() 42 get_proto_type(const FieldDescriptorProto& field) in get_proto_type() 45 case FieldDescriptorProto::TYPE_DOUBLE: in get_proto_type() 47 case FieldDescriptorProto::TYPE_FLOAT: in get_proto_type() 49 case FieldDescriptorProto::TYPE_INT64: in get_proto_type() 51 case FieldDescriptorProto::TYPE_UINT64: in get_proto_type() 53 case FieldDescriptorProto::TYPE_INT32: in get_proto_type() 55 case FieldDescriptorProto::TYPE_FIXED64: in get_proto_type() 57 case FieldDescriptorProto::TYPE_FIXED32: in get_proto_type() [all …]
|
D | stream_proto_utils.h | 16 uint64_t get_field_id(const FieldDescriptorProto& field); 21 string get_proto_type(const FieldDescriptorProto& field);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | FieldDescriptor.cs | 65 internal FieldDescriptorProto Proto { get; } 67 internal FieldDescriptor(FieldDescriptorProto proto, FileDescriptor file, in FieldDescriptor() 132 private static FieldType GetFieldTypeFromProtoType(FieldDescriptorProto.Types.Type type) in GetFieldTypeFromProtoType() 136 case FieldDescriptorProto.Types.Type.Double: in GetFieldTypeFromProtoType() 138 case FieldDescriptorProto.Types.Type.Float: in GetFieldTypeFromProtoType() 140 case FieldDescriptorProto.Types.Type.Int64: in GetFieldTypeFromProtoType() 142 case FieldDescriptorProto.Types.Type.Uint64: in GetFieldTypeFromProtoType() 144 case FieldDescriptorProto.Types.Type.Int32: in GetFieldTypeFromProtoType() 146 case FieldDescriptorProto.Types.Type.Fixed64: in GetFieldTypeFromProtoType() 148 case FieldDescriptorProto.Types.Type.Fixed32: in GetFieldTypeFromProtoType() [all …]
|
D | PartialClasses.cs | 36 internal partial class FieldDescriptorProto class
|
D | Descriptor.cs | 150 …FieldDescriptorProto), global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser, new[]{ "Nam… in DescriptorReflection() 435 …private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _r… 436 … = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser); 437 …Protobuf.Reflection.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Proto… 439 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Extension { 758 …private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _r… 759 … = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser); 760 …e.Protobuf.Reflection.FieldDescriptorProto> field_ = new pbc::RepeatedField<global::Google.Protobu… 762 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Field { 768 …private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _r… [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | parser.cc | 60 typedef hash_map<string, FieldDescriptorProto::Type> TypeNameMap; 65 result["double" ] = FieldDescriptorProto::TYPE_DOUBLE; in MakeTypeNameTable() 66 result["float" ] = FieldDescriptorProto::TYPE_FLOAT; in MakeTypeNameTable() 67 result["uint64" ] = FieldDescriptorProto::TYPE_UINT64; in MakeTypeNameTable() 68 result["fixed64" ] = FieldDescriptorProto::TYPE_FIXED64; in MakeTypeNameTable() 69 result["fixed32" ] = FieldDescriptorProto::TYPE_FIXED32; in MakeTypeNameTable() 70 result["bool" ] = FieldDescriptorProto::TYPE_BOOL; in MakeTypeNameTable() 71 result["string" ] = FieldDescriptorProto::TYPE_STRING; in MakeTypeNameTable() 72 result["group" ] = FieldDescriptorProto::TYPE_GROUP; in MakeTypeNameTable() 74 result["bytes" ] = FieldDescriptorProto::TYPE_BYTES; in MakeTypeNameTable() [all …]
|
D | parser.h | 346 bool ParseMessageField(FieldDescriptorProto* field, 355 bool ParseMessageFieldNoLabel(FieldDescriptorProto* field, 377 bool ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions, 419 bool ParseLabel(FieldDescriptorProto::Label* label, 424 bool ParseType(FieldDescriptorProto::Type* type, 432 bool ParseFieldOptions(FieldDescriptorProto* field, 438 bool ParseDefaultAssignment(FieldDescriptorProto* field, 442 bool ParseJsonName(FieldDescriptorProto* field, 483 FieldDescriptorProto::Type key_type; 484 FieldDescriptorProto::Type value_type; [all …]
|
D | parser_unittest.cc | 1662 FieldDescriptorProto* field(message->add_field()); in TEST_F() 1668 FieldDescriptorProto* extension(other_file.add_extension()); in TEST_F() 2370 const FieldDescriptorProto& field1 = file_.message_type(0).field(0); in TEST_F() 2371 const FieldDescriptorProto& field2 = file_.message_type(0).field(1); in TEST_F() 2401 const FieldDescriptorProto& field1 = file_.extension(0); in TEST_F() 2402 const FieldDescriptorProto& field2 = file_.extension(1); in TEST_F() 2403 const FieldDescriptorProto& field3 = file_.extension(2); in TEST_F() 2445 const FieldDescriptorProto& field1 = file_.message_type(0).extension(0); in TEST_F() 2446 const FieldDescriptorProto& field2 = file_.message_type(0).extension(1); in TEST_F() 2447 const FieldDescriptorProto& field3 = file_.message_type(0).extension(2); in TEST_F() [all …]
|
D | mock_code_generator.cc | 157 FieldDescriptorProto field_descriptor_proto; in Generate()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | descriptor_unittest.cc | 100 FieldDescriptorProto* AddField(DescriptorProto* parent, in AddField() 102 FieldDescriptorProto::Label label, in AddField() 103 FieldDescriptorProto::Type type) { in AddField() 104 FieldDescriptorProto* result = parent->add_field(); in AddField() 112 FieldDescriptorProto* AddExtension(FileDescriptorProto* file, in AddExtension() 115 FieldDescriptorProto::Label label, in AddExtension() 116 FieldDescriptorProto::Type type) { in AddExtension() 117 FieldDescriptorProto* result = file->add_extension(); in AddExtension() 126 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent, in AddNestedExtension() 129 FieldDescriptorProto::Label label, in AddNestedExtension() [all …]
|
D | descriptor.pb.h | 48 class FieldDescriptorProto; variable 452 const ::google::protobuf::FieldDescriptorProto& extension(int index) const; 453 ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); 454 ::google::protobuf::FieldDescriptorProto* add_extension(); 455 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* 457 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& 514 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; 820 const ::google::protobuf::FieldDescriptorProto& field(int index) const; 821 ::google::protobuf::FieldDescriptorProto* mutable_field(int index); 822 ::google::protobuf::FieldDescriptorProto* add_field(); [all …]
|
D | descriptor.pb.cc | 215 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 216 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, number_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 217 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, label_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 218 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 219 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 220 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, extendee_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 221 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, default_value_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 222 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, oneof_index_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 223 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, json_name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 224 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, options_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() [all …]
|
D | descriptor_database.h | 171 bool AddExtension(const FieldDescriptorProto& field,
|
D | descriptor.proto | 77 repeated FieldDescriptorProto extension = 7; 96 repeated FieldDescriptorProto field = 2; 97 repeated FieldDescriptorProto extension = 6; 126 message FieldDescriptorProto { message 239 // FieldDescriptorProto.type_name, but must refer to a message type. 718 // repeated FieldDescriptorProto field = 2; 719 // and FieldDescriptorProto.name has field number 1:
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 36 import com.google.protobuf.DescriptorProtos.FieldDescriptorProto; 83 FieldDescriptorProto.Type.values().length); in testFieldTypeEnumMapping() 85 FieldDescriptorProto.Type protoType = type.toProto(); in testFieldTypeEnumMapping() 464 .addField(FieldDescriptorProto.newBuilder() in testDescriptorValidatorException() 465 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorValidatorException() 466 .setType(FieldDescriptorProto.Type.TYPE_INT32) in testDescriptorValidatorException() 496 .addField(FieldDescriptorProto.newBuilder() in testDescriptorComplexCrosslink() 497 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorComplexCrosslink() 498 .setType(FieldDescriptorProto.Type.TYPE_INT32) in testDescriptorComplexCrosslink() 505 .addField(FieldDescriptorProto.newBuilder() in testDescriptorComplexCrosslink() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | DescriptorsTest.java | 37 import com.google.protobuf.DescriptorProtos.FieldDescriptorProto; 83 FieldDescriptorProto.Type.values().length); in testFieldTypeEnumMapping() 85 FieldDescriptorProto.Type protoType = type.toProto(); in testFieldTypeEnumMapping() 442 .addField(FieldDescriptorProto.newBuilder() in testDescriptorValidatorException() 443 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorValidatorException() 444 .setType(FieldDescriptorProto.Type.TYPE_INT32) in testDescriptorValidatorException() 474 .addField(FieldDescriptorProto.newBuilder() in testDescriptorComplexCrosslink() 475 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorComplexCrosslink() 476 .setType(FieldDescriptorProto.Type.TYPE_INT32) in testDescriptorComplexCrosslink() 483 .addField(FieldDescriptorProto.newBuilder() in testDescriptorComplexCrosslink() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyFieldDescriptor.java | 70 builder = DescriptorProtos.FieldDescriptorProto.newBuilder(); in initialize() 97 … DescriptorProtos.FieldDescriptorProto.Label.valueOf("LABEL_" + labelName.toUpperCase())); in setLabel() 157 …this.builder.setType(DescriptorProtos.FieldDescriptorProto.Type.valueOf("TYPE_" + value.asJavaStri… in setType() 262 protected DescriptorProtos.FieldDescriptorProto build() { in build() 268 private DescriptorProtos.FieldDescriptorProto.Builder builder;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | proto_builder_test.py | 54 ('foo', descriptor_pb2.FieldDescriptorProto.TYPE_INT64), 55 ('bar', descriptor_pb2.FieldDescriptorProto.TYPE_STRING),
|
D | message_factory_test.py | 161 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL 178 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
|
/frameworks/base/tools/streaming_proto/cpp/ |
D | main.cpp | 53 write_field(stringstream& text, const FieldDescriptorProto& field, const string& indent) in write_field() 55 string optional_comment = field.label() == FieldDescriptorProto::LABEL_OPTIONAL in write_field() 57 string repeated_comment = field.label() == FieldDescriptorProto::LABEL_REPEATED in write_field()
|
/frameworks/base/tools/streaming_proto/java/ |
D | main.cpp | 93 write_field(stringstream& text, const FieldDescriptorProto& field, const string& indent) in write_field() 95 string optional_comment = field.label() == FieldDescriptorProto::LABEL_OPTIONAL in write_field() 97 string repeated_comment = field.label() == FieldDescriptorProto::LABEL_REPEATED in write_field()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | proto_builder.py | 128 field_proto.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 907 public FieldDescriptorProto toProto() { in toProto() 992 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_REQUIRED; in isRequired() 997 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_OPTIONAL; in isOptional() 1003 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_REPEATED; in isRepeated() 1134 private FieldDescriptorProto proto; 1174 public FieldDescriptorProto.Type toProto() { in toProto() 1175 return FieldDescriptorProto.Type.forNumber(ordinal() + 1); in toProto() 1179 public static Type valueOf(final FieldDescriptorProto.Type type) { in valueOf() 1186 if (Type.values().length != FieldDescriptorProto.Type.values().length) { 1247 private FieldDescriptor(final FieldDescriptorProto proto, in FieldDescriptor() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/ |
D | descriptor.proto | 72 repeated FieldDescriptorProto extension = 7; 87 repeated FieldDescriptorProto field = 2; 88 repeated FieldDescriptorProto extension = 6; 103 message FieldDescriptorProto { message 200 // FieldDescriptorProto.type_name, but must refer to a message type. 565 // repeated FieldDescriptorProto field = 2; 566 // and FieldDescriptorProto.name has field number 1:
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/ |
D | descriptor.proto | 72 repeated FieldDescriptorProto extension = 7; 87 repeated FieldDescriptorProto field = 2; 88 repeated FieldDescriptorProto extension = 6; 103 message FieldDescriptorProto { message 200 // FieldDescriptorProto.type_name, but must refer to a message type. 565 // repeated FieldDescriptorProto field = 2; 566 // and FieldDescriptorProto.name has field number 1:
|