/third_party/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 …]
|
/third_party/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 | 753 DescriptorProto* message, const LocationRecorder& message_location, in ParseMessageDefinition() 758 DescriptorProto::kNameFieldNumber); in ParseMessageDefinition() 814 bool IsMessageSetWireFormatMessage(const DescriptorProto& message) { in IsMessageSetWireFormatMessage() 830 void AdjustExtensionRangesWithMaxEndNumber(DescriptorProto* message) { in AdjustExtensionRangesWithMaxEndNumber() 844 void AdjustReservedRangesWithMaxEndNumber(DescriptorProto* message) { in AdjustReservedRangesWithMaxEndNumber() 857 bool Parser::ParseMessageBlock(DescriptorProto* message, in ParseMessageBlock() 884 bool Parser::ParseMessageStatement(DescriptorProto* message, in ParseMessageStatement() 892 DescriptorProto::kNestedTypeFieldNumber, in ParseMessageStatement() 898 DescriptorProto::kEnumTypeFieldNumber, in ParseMessageStatement() 904 DescriptorProto::kExtensionRangeFieldNumber); in ParseMessageStatement() [all …]
|
D | parser_unittest.cc | 2093 DescriptorProto::descriptor()->file()->CopyTo(&descriptor_proto); in TEST_F() 2107 DescriptorProto* message(other_file.add_message_type()); in TEST_F() 2152 bool operator()(const DescriptorProto* left, in operator ()() 2153 const DescriptorProto* right) const { in operator ()() 2159 void SortMessages(DescriptorProto* descriptor_proto) { in SortMessages() 2165 DescriptorProto** data = in SortMessages() 2177 DescriptorProto** data = in SortMessages() 2183 void StripFieldTypeName(DescriptorProto* proto) { in StripFieldTypeName() 2959 const DescriptorProto::ExtensionRange& range1 = in TEST_F() 2961 const DescriptorProto::ExtensionRange& range2 = in TEST_F() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MessageDescriptor.cs | 69 …internal MessageDescriptor(DescriptorProto proto, FileDescriptor file, MessageDescriptor parent, i… in MessageDescriptor() 140 case DescriptorProto.FieldFieldNumber: in GetNestedDescriptorListForField() 142 case DescriptorProto.NestedTypeFieldNumber: in GetNestedDescriptorListForField() 144 case DescriptorProto.EnumTypeFieldNumber: in GetNestedDescriptorListForField() 151 internal DescriptorProto Proto { get; }
|
D | Descriptor.cs | 167 …DescriptorProto), global::Google.Protobuf.Reflection.DescriptorProto.Parser, new[]{ "Name", "Field… in DescriptorReflection() 168 …bal::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange), global::Google.Protobuf.Refl… in DescriptorReflection() 504 …private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto> _repeat… 505 = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.DescriptorProto.Parser); 506 …gle.Protobuf.Reflection.DescriptorProto> messageType_ = new pbc::RepeatedField<global::Google.Prot… 511 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> MessageType { 942 public sealed partial class DescriptorProto : pb::IMessage<DescriptorProto> class 947 …tic readonly pb::MessageParser<DescriptorProto> _parser = new pb::MessageParser<DescriptorProto>((… 950 public static pb::MessageParser<DescriptorProto> Parser { get { return _parser; } } 963 public DescriptorProto() { in DescriptorProto() method in Google.Protobuf.Reflection.DescriptorProto [all …]
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | DescriptorProto.php | 18 class DescriptorProto extends \Google\Protobuf\Internal\Message class 181 …var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto::class); 225 …Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto\ExtensionRang… 301 …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);
|
/third_party/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()
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor.pb.h | 59 class DescriptorProto; variable 142 …TOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_… 649 PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index); 650 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >* 653 const PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_message_type(int index) const; 654 PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_message_type(); 656 const PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const; 657 PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type(); 658 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >& 865 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_; [all …]
|
D | descriptor_unittest.cc | 73 DescriptorProto* AddMessage(FileDescriptorProto* file, in AddMessage() 75 DescriptorProto* result = file->add_message_type(); in AddMessage() 80 DescriptorProto* AddNestedMessage(DescriptorProto* parent, in AddNestedMessage() 82 DescriptorProto* result = parent->add_nested_type(); in AddNestedMessage() 94 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent, in AddNestedEnum() 108 FieldDescriptorProto* AddField(DescriptorProto* parent, const std::string& name, in AddField() 133 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent, in AddNestedExtension() 147 DescriptorProto::ExtensionRange* AddExtensionRange(DescriptorProto* parent, in AddExtensionRange() 149 DescriptorProto::ExtensionRange* result = parent->add_extension_range(); in AddExtensionRange() 155 DescriptorProto::ReservedRange* AddReservedRange(DescriptorProto* parent, in AddReservedRange() [all …]
|
D | descriptor.pb.cc | 61 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<DescriptorProto> _instance; 157 new (ptr) PROTOBUF_NAMESPACE_ID::DescriptorProto(); in InitDefaultsscc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() 160 PROTOBUF_NAMESPACE_ID::DescriptorProto::InitAsDefaultInstance(); in InitDefaultsscc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() 625 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, _has_bits_), 626 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, _internal_metadata_), 630 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, name_), 631 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, field_), 632 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, extension_), 633 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, nested_type_), 634 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, enum_type_), [all …]
|
/third_party/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()
|
/third_party/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;
|
/third_party/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,
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 202 message_proto = descriptor_pb2.DescriptorProto() 706 descriptor_pb2.DescriptorProto, 722 descriptor_pb2.DescriptorProto, 739 descriptor_pb2.DescriptorProto, 793 descriptor_pb2.DescriptorProto, 807 descriptor_pb2.DescriptorProto, 829 descriptor_pb2.DescriptorProto, 942 proto = descriptor_pb2.DescriptorProto() 1025 descriptor_proto = descriptor_pb2.DescriptorProto() 1035 descriptor_proto = descriptor_pb2.DescriptorProto() [all …]
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/DescriptorProto/ |
D | ReservedRange.php | 5 namespace Google\Protobuf\Internal\DescriptorProto;
|
D | ExtensionRange.php | 5 namespace Google\Protobuf\Internal\DescriptorProto;
|
/third_party/protobuf/ |
D | libprotobuf.map | 20 …"google::protobuf::DescriptorProto* google::protobuf::Arena::CreateMaybeMessage<google::protobuf::… 123 "google::protobuf::DescriptorProto::DescriptorProto(google::protobuf::Arena*)"; 124 "google::protobuf::DescriptorProto::~DescriptorProto()"; 128 "google::protobuf::Descriptor::CopyTo(google::protobuf::DescriptorProto*) const";
|
/third_party/grpc/third_party/upb/tests/bindings/lua/ |
D | test_upb.lua | 658 message_type = upb.Array(descriptor.DescriptorProto, { 659 descriptor.DescriptorProto{ 672 file.message_type[1] = descriptor.DescriptorProto{ 675 file.message_type[2] = descriptor.DescriptorProto{
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 35 import com.google.protobuf.DescriptorProtos.DescriptorProto; 652 public DescriptorProto toProto() { in toProto() 727 for (final DescriptorProto.ExtensionRange range : proto.getExtensionRangeList()) { in isExtensionNumber() 737 for (final DescriptorProto.ReservedRange range : proto.getReservedRangeList()) { in isReservedNumber() 820 private DescriptorProto proto; 842 DescriptorProto.newBuilder() in Descriptor() 845 DescriptorProto.ExtensionRange.newBuilder().setStart(1).setEnd(536870912).build()) in Descriptor() 862 final DescriptorProto proto, in Descriptor() 940 private void setProto(final DescriptorProto proto) { in setProto()
|
/third_party/protobuf/php/src/GPBMetadata/Google/Protobuf/Internal/ |
D | Descriptor.php | 36 …ssage('google.protobuf.internal.DescriptorProto', \Google\Protobuf\Internal\DescriptorProto::class) 49 ….internal.DescriptorProto.ExtensionRange', \Google\Protobuf\Internal\DescriptorProto\ExtensionRang… 55 …f.internal.DescriptorProto.ReservedRange', \Google\Protobuf\Internal\DescriptorProto\ReservedRange…
|
/third_party/protobuf/js/ |
D | README.md | 79 goog.provide('proto.google.protobuf.DescriptorProto'); 80 goog.provide('proto.google.protobuf.DescriptorProto.ExtensionRange'); 81 goog.provide('proto.google.protobuf.DescriptorProto.ReservedRange');
|