/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ParseExceptionsTest.java | 38 import com.google.protobuf.DescriptorProtos.DescriptorProto; 61 DescriptorProto parse(InputStream in) throws IOException; in parse() 67 serializedProto = DescriptorProto.getDescriptor().toProto().toByteArray(); in setup() 73 DescriptorProto.getDescriptor().toProto().writeDelimitedTo(bos); in setupDelimited() 86 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStream() 87 return DescriptorProto.parseFrom(in); in message_parseFrom_InputStream() 98 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStreamAndExtensionRegistry() 99 return DescriptorProto.parseFrom(in, ExtensionRegistry.newInstance()); in message_parseFrom_InputStreamAndExtensionRegistry() 110 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStream() 111 return DescriptorProto.parseFrom(CodedInputStream.newInstance(in)); in message_parseFrom_CodedInputStream() [all …]
|
D | DescriptorsTest.java | 38 import com.google.protobuf.DescriptorProtos.DescriptorProto; 424 DescriptorProto.newBuilder() in testDescriptorValidatorException() 458 DescriptorProto.newBuilder() in testDescriptorComplexCrosslink() 469 DescriptorProto.newBuilder() in testDescriptorComplexCrosslink() 546 DescriptorProto.newBuilder() in testUnknownFieldsDenied() 571 DescriptorProto.newBuilder() in testUnknownFieldsAllowed() 587 .addMessageType(DescriptorProto.newBuilder().setName("Bar")) in testHiddenDependency() 599 DescriptorProto.newBuilder() in testHiddenDependency() 625 .addMessageType(DescriptorProto.newBuilder().setName("Bar")) in testPublicDependency() 638 DescriptorProto.newBuilder() in testPublicDependency() [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.h | 313 bool ParseMessageDefinition(DescriptorProto* message, 334 bool ParseMessageBlock(DescriptorProto* message, 346 bool ParseMessageStatement(DescriptorProto* message, 365 RepeatedPtrField<DescriptorProto>* messages, 374 RepeatedPtrField<DescriptorProto>* messages, 381 bool ParseExtensions(DescriptorProto* message, 386 bool ParseReserved(DescriptorProto* message, 388 bool ParseReservedNames(DescriptorProto* message, 390 bool ParseReservedNumbers(DescriptorProto* message, 402 RepeatedPtrField<DescriptorProto>* messages, [all …]
|
D | parser.cc | 752 DescriptorProto* message, const LocationRecorder& message_location, in ParseMessageDefinition() 757 DescriptorProto::kNameFieldNumber); in ParseMessageDefinition() 776 bool IsMessageSetWireFormatMessage(const DescriptorProto& message) { in IsMessageSetWireFormatMessage() 792 void AdjustExtensionRangesWithMaxEndNumber(DescriptorProto* message) { in AdjustExtensionRangesWithMaxEndNumber() 806 void AdjustReservedRangesWithMaxEndNumber(DescriptorProto* message) { in AdjustReservedRangesWithMaxEndNumber() 819 bool Parser::ParseMessageBlock(DescriptorProto* message, in ParseMessageBlock() 846 bool Parser::ParseMessageStatement(DescriptorProto* message, in ParseMessageStatement() 854 DescriptorProto::kNestedTypeFieldNumber, in ParseMessageStatement() 860 DescriptorProto::kEnumTypeFieldNumber, in ParseMessageStatement() 866 DescriptorProto::kExtensionRangeFieldNumber); in ParseMessageStatement() [all …]
|
D | parser_unittest.cc | 2070 DescriptorProto::descriptor()->file()->CopyTo(&descriptor_proto); in TEST_F() 2084 DescriptorProto* message(other_file.add_message_type()); in TEST_F() 2129 bool operator()(const DescriptorProto* left, in operator ()() 2130 const DescriptorProto* right) const { in operator ()() 2136 void SortMessages(DescriptorProto* descriptor_proto) { in SortMessages() 2142 DescriptorProto** data = in SortMessages() 2154 DescriptorProto** data = in SortMessages() 2160 void StripFieldTypeName(DescriptorProto* proto) { in StripFieldTypeName() 2907 const DescriptorProto::ExtensionRange& range1 = in TEST_F() 2909 const DescriptorProto::ExtensionRange& range2 = in TEST_F() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MessageDescriptor.cs | 67 …internal MessageDescriptor(DescriptorProto proto, FileDescriptor file, MessageDescriptor parent, i… in MessageDescriptor() 124 case DescriptorProto.FieldFieldNumber: in GetNestedDescriptorListForField() 126 case DescriptorProto.NestedTypeFieldNumber: in GetNestedDescriptorListForField() 128 case DescriptorProto.EnumTypeFieldNumber: in GetNestedDescriptorListForField() 135 internal DescriptorProto Proto { get; }
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb.cc | 42 using protos::gen::DescriptorProto; 141 const DescriptorProto* descriptor; 149 const DescriptorProto* descriptor, in ParserDelegate() 152 std::map<std::string, const DescriptorProto*> name_to_descriptor, in ParserDelegate() 389 const DescriptorProto* nested_descriptor = name_to_descriptor_[type_name]; in BeginNestedMessage() 502 const DescriptorProto* descriptor() { in descriptor() 516 std::map<std::string, const DescriptorProto*> name_to_descriptor_; 681 const DescriptorProto* descriptor, in AddNestedDescriptors() 682 std::map<std::string, const DescriptorProto*>* name_to_descriptor, in AddNestedDescriptors() 688 for (const DescriptorProto& nested_descriptor : descriptor->nested_type()) { in AddNestedDescriptors() [all …]
|
/external/rust/crates/protobuf/src/reflect/ |
D | find_message_or_enum.rs | 1 use crate::descriptor::DescriptorProto; 6 Message(&'a DescriptorProto), 12 m: Option<&'a DescriptorProto>, in from_two_options() argument
|
D | message.rs | 1 use crate::descriptor::DescriptorProto; 31 proto: &'static DescriptorProto, 42 pub fn get_proto(&self) -> &DescriptorProto { in get_proto() argument 51 fn compute_full_name(package: &str, path_to_package: &str, proto: &DescriptorProto) -> String { in compute_full_name()
|
/external/tensorflow/tensorflow/core/util/proto/ |
D | proto_utils_test.cc | 30 protobuf::DescriptorProto output; in TEST() 36 protobuf::DescriptorProto output; in TEST() 44 protobuf::DescriptorProto output; in TEST()
|
/external/protobuf/benchmarks/util/ |
D | schema_proto2_to_proto3_util.h | 12 using google::protobuf::DescriptorProto; 54 DescriptorProto *new_message) { in StripMessage() 121 void ScrubMessage(DescriptorProto *message_type) { in ScrubMessage() 142 static void StripMessage(DescriptorProto *message_type) { in StripMessage() 170 static void ScrubMessage(DescriptorProto *message_type) { in ScrubMessage()
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | DescriptorProto.php | 18 class DescriptorProto extends \Google\Protobuf\Internal\Message class 199 …var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto::class); 255 …Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto\ExtensionRang… 339 …Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto\ReservedRange…
|
D | DescriptorProto_ReservedRange.php | 14 class_exists(DescriptorProto\ReservedRange::class);
|
D | DescriptorProto_ExtensionRange.php | 14 class_exists(DescriptorProto\ExtensionRange::class);
|
/external/golang-protobuf/protoc-gen-go/descriptor/ |
D | descriptor.pb.go | 400 …MessageType []*DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" j… 478 func (m *FileDescriptorProto) GetMessageType() []*DescriptorProto { 528 type DescriptorProto struct { struct 532 …NestedType []*DescriptorProto `protobuf:"bytes,3,rep,name=nested_type,json=nest… argument 546 func (m *DescriptorProto) Reset() { *m = DescriptorProto{} } argument 547 func (m *DescriptorProto) String() string { return proto.CompactTextString(m) } argument 548 func (*DescriptorProto) ProtoMessage() {} argument 549 func (*DescriptorProto) Descriptor() ([]byte, []int) { argument 553 func (m *DescriptorProto) XXX_Unmarshal(b []byte) error { argument 556 func (m *DescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.pb.h | 59 class DescriptorProto; variable 142 …TOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_… 674 PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index); 675 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >* 677 const PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const; 678 PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type(); 679 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >& 833 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_; 1203 class PROTOBUF_EXPORT DescriptorProto : 1206 DescriptorProto(); [all …]
|
D | descriptor_unittest.cc | 74 DescriptorProto* AddMessage(FileDescriptorProto* file, in AddMessage() 76 DescriptorProto* result = file->add_message_type(); in AddMessage() 81 DescriptorProto* AddNestedMessage(DescriptorProto* parent, in AddNestedMessage() 83 DescriptorProto* result = parent->add_nested_type(); in AddNestedMessage() 95 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent, in AddNestedEnum() 109 FieldDescriptorProto* AddField(DescriptorProto* parent, const std::string& name, in AddField() 134 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent, in AddNestedExtension() 148 DescriptorProto::ExtensionRange* AddExtensionRange(DescriptorProto* parent, in AddExtensionRange() 150 DescriptorProto::ExtensionRange* result = parent->add_extension_range(); in AddExtensionRange() 156 DescriptorProto::ReservedRange* AddReservedRange(DescriptorProto* parent, in AddReservedRange() [all …]
|
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | DescriptorsTest.java | 34 import com.google.protobuf.DescriptorProtos.DescriptorProto; 440 .addMessageType(DescriptorProto.newBuilder() in testDescriptorValidatorException() 472 .addMessageType(DescriptorProto.newBuilder() in testDescriptorComplexCrosslink() 481 .addMessageType(DescriptorProto.newBuilder() in testDescriptorComplexCrosslink() 538 .addMessageType(DescriptorProto.newBuilder().setName("Bar")) in testHiddenDependency() 547 .addMessageType(DescriptorProto.newBuilder() in testHiddenDependency() 573 .addMessageType(DescriptorProto.newBuilder().setName("Bar")) in testPublicDependency() 583 .addMessageType(DescriptorProto.newBuilder() in testPublicDependency() 617 .addMessageType(DescriptorProto.newBuilder() in testComplexNamespacePublicDependency()
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyDescriptor.java | 78 this.builder = DescriptorProtos.DescriptorProto.newBuilder(); in initialize() 228 public DescriptorProtos.DescriptorProto.Builder getBuilder() { in getBuilder() 265 private DescriptorProtos.DescriptorProto.Builder builder;
|
/external/rust/crates/protobuf-codegen/src/ |
D | scope.rs | 10 use protobuf::descriptor::DescriptorProto; 139 pub path: Vec<&'a DescriptorProto>, 148 fn get_message_descriptors(&self) -> &'a [DescriptorProto] { in get_message_descriptors() argument 311 pub message: &'a DescriptorProto, 508 pub fn _containing_messages(&self) -> Vec<&'a DescriptorProto> { in _containing_messages() argument
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | descriptor_test.py | 420 descriptor_pb2.DescriptorProto, 436 descriptor_pb2.DescriptorProto, 453 descriptor_pb2.DescriptorProto, 494 descriptor_pb2.DescriptorProto, 508 descriptor_pb2.DescriptorProto, 530 descriptor_pb2.DescriptorProto,
|
/external/rust/crates/protobuf/src/ |
D | descriptorx.rs | 4 use crate::descriptor::DescriptorProto; 188 pub path: Vec<&'a DescriptorProto>, 197 fn get_message_descriptors(&self) -> &'a [DescriptorProto] { in get_message_descriptors() argument 349 pub message: &'a DescriptorProto, 556 pub fn containing_messages(&self) -> Vec<&'a DescriptorProto> { in containing_messages() argument
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 198 message_proto = descriptor_pb2.DescriptorProto() 694 descriptor_pb2.DescriptorProto, 710 descriptor_pb2.DescriptorProto, 727 descriptor_pb2.DescriptorProto, 781 descriptor_pb2.DescriptorProto, 795 descriptor_pb2.DescriptorProto, 817 descriptor_pb2.DescriptorProto, 930 proto = descriptor_pb2.DescriptorProto() 1013 descriptor_proto = descriptor_pb2.DescriptorProto() 1023 descriptor_proto = descriptor_pb2.DescriptorProto() [all …]
|
/external/golang-protobuf/descriptor/ |
D | descriptor_test.go | 13 var msg *protobuf.DescriptorProto
|
/external/perfetto/protos/perfetto/common/ |
D | descriptor.proto | 44 repeated DescriptorProto message_type = 4; 55 message DescriptorProto { message 61 repeated DescriptorProto nested_type = 3;
|