Home
last modified time | relevance | path

Searched refs:CheckNotNull (Results 1 – 25 of 26) sorted by relevance

12

/external/protobuf/csharp/src/Google.Protobuf/
DMessageExtensions.cs49 ProtoPreconditions.CheckNotNull(message, "message"); in MergeFrom()
50 ProtoPreconditions.CheckNotNull(data, "data"); in MergeFrom()
63 ProtoPreconditions.CheckNotNull(message, "message"); in MergeFrom()
64 ProtoPreconditions.CheckNotNull(data, "data"); in MergeFrom()
77 ProtoPreconditions.CheckNotNull(message, "message"); in MergeFrom()
78 ProtoPreconditions.CheckNotNull(input, "input"); in MergeFrom()
95 ProtoPreconditions.CheckNotNull(message, "message"); in MergeDelimitedFrom()
96 ProtoPreconditions.CheckNotNull(input, "input"); in MergeDelimitedFrom()
109 ProtoPreconditions.CheckNotNull(message, "message"); in ToByteArray()
124 ProtoPreconditions.CheckNotNull(message, "message"); in WriteTo()
[all …]
DMessageParser.cs67 ProtoPreconditions.CheckNotNull(data, "data"); in ParseFrom()
80 ProtoPreconditions.CheckNotNull(data, "data"); in ParseFrom()
194 ProtoPreconditions.CheckNotNull(data, "data"); in ParseFrom()
207 ProtoPreconditions.CheckNotNull(data, "data"); in ParseFrom()
DJsonParser.cs377 ProtoPreconditions.CheckNotNull(json, nameof(json));
390 ProtoPreconditions.CheckNotNull(jsonReader, nameof(jsonReader));
405 ProtoPreconditions.CheckNotNull(json, nameof(json)); in Parse()
406 ProtoPreconditions.CheckNotNull(descriptor, nameof(descriptor)); in Parse()
419 ProtoPreconditions.CheckNotNull(jsonReader, nameof(jsonReader)); in Parse()
420 ProtoPreconditions.CheckNotNull(descriptor, nameof(descriptor)); in Parse()
1014 TypeRegistry = ProtoPreconditions.CheckNotNull(typeRegistry, nameof(typeRegistry)); in Settings()
DProtoPreconditions.cs51 public static T CheckNotNull<T>(T value, string name) where T : class
DJsonFormatter.cs159 ProtoPreconditions.CheckNotNull(message, nameof(message)); in Format()
160 ProtoPreconditions.CheckNotNull(writer, nameof(writer)); in Format()
191 ProtoPreconditions.CheckNotNull(message, nameof(message)); in ToDiagnosticString()
869 TypeRegistry = ProtoPreconditions.CheckNotNull(typeRegistry, nameof(typeRegistry)); in Settings()
DCodedInputStream.cs124 …public CodedInputStream(byte[] buffer) : this(null, ProtoPreconditions.CheckNotNull(buffer, "buffe… in CodedInputStream()
132 : this(null, ProtoPreconditions.CheckNotNull(buffer, "buffer"), offset, offset + length) in CodedInputStream()
161 : this(ProtoPreconditions.CheckNotNull(input, "input"), new byte[BufferSize], 0, 0) in CodedInputStream()
DCodedOutputStream.cs100 this.output = ProtoPreconditions.CheckNotNull(output, nameof(output)); in CodedOutputStream()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimestampPartial.cs62 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -()
63 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator -()
78 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator +()
79 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator +()
94 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -()
95 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator -()
DDurationPartial.cs121 ProtoPreconditions.CheckNotNull(value, "value"); in operator -()
136 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator +()
137 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator +()
152 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -()
153 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator -()
DValuePartial.cs44 ProtoPreconditions.CheckNotNull(value, "value"); in ForString()
84 ProtoPreconditions.CheckNotNull(values, "values"); in ForList()
95 ProtoPreconditions.CheckNotNull(value, "value"); in ForStruct()
DAnyPartial.cs98 ProtoPreconditions.CheckNotNull(message, nameof(message)); in Pack()
99 ProtoPreconditions.CheckNotNull(typeUrlPrefix, nameof(typeUrlPrefix)); in Pack()
DApi.cs100 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
156 version_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
391 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
404 requestTypeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
430 responseTypeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
743 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
757 root_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DAny.cs158 typeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
171 value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DType.cs136 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
420 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
434 typeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
486 jsonName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
499 defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
860 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1077 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1238 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DSourceContext.cs82 fileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DWrappers.cs872 value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
983 value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs94 ProtoPreconditions.CheckNotNull(fileDescriptors, nameof(fileDescriptors)); in FromFiles()
131 ProtoPreconditions.CheckNotNull(messageDescriptors, nameof(messageDescriptors)); in FromMessages()
DOriginalNameAttribute.cs55 Name = ProtoPreconditions.CheckNotNull(name, nameof(name)); in OriginalNameAttribute()
DDescriptor.cs319 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
332 package_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
448 syntax_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
704 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1277 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1328 typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1342 extendee_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1359 defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1389 jsonName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1722 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dlogging.h163 T* CheckNotNull(const char* /* file */, int /* line */, in CheckNotNull() function
172 ::google::protobuf::internal::CheckNotNull(\
/external/protobuf/csharp/src/AddressBook/
DAddressbook.cs85 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
108 email_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
270 number_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs238 ProtoPreconditions.CheckNotNull(entries, "entries"); in Add()
505 ProtoPreconditions.CheckNotNull(key, "key"); in IDictionary.Remove()
534 ProtoPreconditions.CheckNotNull(key, "key");
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs1170 o1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1191 plainString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1210 o2_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1443 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1453 description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1463 guid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DUnittestProto3.cs462 singleString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
472 singleBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
778 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
788 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2790 stringField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
3048 myString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
3483 data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
3681 data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
3784 data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4428 foo_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs264 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
274 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
474 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
489 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
504 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
518 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
532 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
546 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1011 optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1021 optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
[all …]

12