Home
last modified time | relevance | path

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

1234

/external/protobuf/csharp/src/Google.Protobuf/
DMessageExtensions.cs98 ProtoPreconditions.CheckNotNull(message, "message"); in ToByteArray()
113 ProtoPreconditions.CheckNotNull(message, "message"); in WriteTo()
114 ProtoPreconditions.CheckNotNull(output, "output"); in WriteTo()
127 ProtoPreconditions.CheckNotNull(message, "message"); in WriteDelimitedTo()
128 ProtoPreconditions.CheckNotNull(output, "output"); in WriteDelimitedTo()
142 ProtoPreconditions.CheckNotNull(message, "message"); in ToByteString()
196 ProtoPreconditions.CheckNotNull(message, "message"); in MergeFrom()
197 ProtoPreconditions.CheckNotNull(data, "data"); in MergeFrom()
207 ProtoPreconditions.CheckNotNull(message, "message"); in MergeFrom()
208 ProtoPreconditions.CheckNotNull(data, "data"); in MergeFrom()
[all …]
DExtensionRegistry.cs80 ProtoPreconditions.CheckNotNull(extension, nameof(extension)); in Add()
90 ProtoPreconditions.CheckNotNull(extensions, nameof(extensions)); in AddRange()
109 ProtoPreconditions.CheckNotNull(item, nameof(item)); in Contains()
121 ProtoPreconditions.CheckNotNull(array, nameof(array)); in CopyTo()
150 ProtoPreconditions.CheckNotNull(item, nameof(item)); in Remove()
/external/grpc-grpc/src/csharp/Grpc.Core/Interceptors/
DServerServiceDefinitionExtensions.cs45 … GrpcPreconditions.CheckNotNull(serverServiceDefinition, nameof(serverServiceDefinition)); in Intercept()
46 GrpcPreconditions.CheckNotNull(interceptor, nameof(interceptor)); in Intercept()
68 … GrpcPreconditions.CheckNotNull(serverServiceDefinition, nameof(serverServiceDefinition)); in Intercept()
69 GrpcPreconditions.CheckNotNull(interceptors, nameof(interceptors)); in Intercept()
DCallInvokerExtensions.cs66 GrpcPreconditions.CheckNotNull(invoker, nameof(invoker)); in Intercept()
67 GrpcPreconditions.CheckNotNull(interceptors, nameof(interceptors)); in Intercept()
106 this.interceptor = GrpcPreconditions.CheckNotNull(interceptor, nameof(interceptor)); in MetadataInterceptor()
/external/grpc-grpc/src/csharp/Grpc.Core/
DMethod.cs94 this.serviceName = GrpcPreconditions.CheckNotNull(serviceName, "serviceName"); in Method()
95 this.name = GrpcPreconditions.CheckNotNull(name, "name"); in Method()
96 … this.requestMarshaller = GrpcPreconditions.CheckNotNull(requestMarshaller, "requestMarshaller"); in Method()
97 …this.responseMarshaller = GrpcPreconditions.CheckNotNull(responseMarshaller, "responseMarshaller"); in Method()
DMetadata.cs95 GrpcPreconditions.CheckNotNull(item); in Insert()
121 GrpcPreconditions.CheckNotNull(value);
132 GrpcPreconditions.CheckNotNull(item); in Add()
252 GrpcPreconditions.CheckNotNull(valueBytes, "valueBytes"); in Entry()
267 this.value = GrpcPreconditions.CheckNotNull(value, "value"); in Entry()
361 var normalized = GrpcPreconditions.CheckNotNull(key, "key").ToLowerInvariant(); in NormalizeKey()
DCallInvocationDetails.cs73 this.channel = GrpcPreconditions.CheckNotNull(channel, "channel"); in CallInvocationDetails()
74 this.method = GrpcPreconditions.CheckNotNull(method, "method"); in CallInvocationDetails()
76 … this.requestMarshaller = GrpcPreconditions.CheckNotNull(requestMarshaller, "requestMarshaller"); in CallInvocationDetails()
77 …this.responseMarshaller = GrpcPreconditions.CheckNotNull(responseMarshaller, "responseMarshaller"); in CallInvocationDetails()
DAuthProperty.cs39 this.name = GrpcPreconditions.CheckNotNull(name); in AuthProperty()
40 this.valueBytes = GrpcPreconditions.CheckNotNull(valueBytes); in AuthProperty()
86 GrpcPreconditions.CheckNotNull(valueBytes); in Create()
DClientBase.cs108 this.configuration = GrpcPreconditions.CheckNotNull(configuration, "configuration"); in ClientBase()
161 … this.interceptor = GrpcPreconditions.CheckNotNull(interceptor, nameof(interceptor)); in ClientBaseConfigurationInterceptor()
203 … this.undecoratedCallInvoker = GrpcPreconditions.CheckNotNull(undecoratedCallInvoker); in ClientBaseConfiguration()
214 GrpcPreconditions.CheckNotNull(host, nameof(host)); in WithHost()
DChannelOptions.cs61 this.name = GrpcPreconditions.CheckNotNull(name, "name"); in ChannelOption()
62 this.stringValue = GrpcPreconditions.CheckNotNull(stringValue, "stringValue"); in ChannelOption()
73 this.name = GrpcPreconditions.CheckNotNull(name, "name"); in ChannelOption()
DGrpcEnvironment.cs119 GrpcPreconditions.CheckNotNull(channel); in RegisterChannel()
128 GrpcPreconditions.CheckNotNull(channel); in UnregisterChannel()
137 GrpcPreconditions.CheckNotNull(server); in RegisterServer()
146 GrpcPreconditions.CheckNotNull(server); in UnregisterServer()
194 GrpcPreconditions.CheckNotNull(customLogger, "customLogger"); in SetLogger()
DKeyCertificatePair.cs42 … this.certificateChain = GrpcPreconditions.CheckNotNull(certificateChain, "certificateChain"); in KeyCertificatePair()
43 this.privateKey = GrpcPreconditions.CheckNotNull(privateKey, "privateKey"); in KeyCertificatePair()
DAsyncAuthInterceptor.cs49 this.serviceUrl = GrpcPreconditions.CheckNotNull(serviceUrl); in AuthInterceptorContext()
50 this.methodName = GrpcPreconditions.CheckNotNull(methodName); in AuthInterceptorContext()
DServerPort.cs50 this.host = GrpcPreconditions.CheckNotNull(host, "host"); in ServerPort()
52 this.credentials = GrpcPreconditions.CheckNotNull(credentials, "credentials"); in ServerPort()
DMarshaller.cs39 this.serializer = GrpcPreconditions.CheckNotNull(serializer, "serializer"); in Marshaller()
40 this.deserializer = GrpcPreconditions.CheckNotNull(deserializer, "deserializer"); in Marshaller()
DChannelCredentials.cs195 this.channelCredentials = GrpcPreconditions.CheckNotNull(channelCredentials); in CompositeChannelCredentials()
196 this.callCredentials = GrpcPreconditions.CheckNotNull(callCredentials); in CompositeChannelCredentials()
/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 -()
DAnyPartial.cs65 ProtoPreconditions.CheckNotNull(typeUrl, nameof(typeUrl)); in GetTypeName()
77 ProtoPreconditions.CheckNotNull(descriptor, nameof(descriptor)); in Is()
138 ProtoPreconditions.CheckNotNull(message, nameof(message)); in Pack()
139 ProtoPreconditions.CheckNotNull(typeUrlPrefix, nameof(typeUrlPrefix)); in Pack()
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()
/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dtokenizer_jni_lib.cc23 using ::tflite::support::utils::CheckNotNull;
41 jclass string_class = CheckNotNull(env, env->FindClass("java/lang/String")); in nativeTokenize()
42 jobjectArray result = CheckNotNull( in nativeTokenize()
46 jstring text = CheckNotNull(env, env->NewStringUTF(subwords[i].data())); in nativeTokenize()
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DCompletionRegistry.cs47 this.environment = GrpcPreconditions.CheckNotNull(environment); in CompletionRegistry()
48 this.batchContextFactory = GrpcPreconditions.CheckNotNull(batchContextFactory); in CompletionRegistry()
49 … this.requestCallContextFactory = GrpcPreconditions.CheckNotNull(requestCallContextFactory); in CompletionRegistry()
DAsyncCallServer.cs42 this.server = GrpcPreconditions.CheckNotNull(server); in AsyncCallServer()
69 GrpcPreconditions.CheckNotNull(call); in ServerSideCallAsync()
103 GrpcPreconditions.CheckNotNull(headers, "metadata"); in SendInitialMetadataAsync()
/external/grpc-grpc/src/csharp/Grpc.Core/Utils/
DGrpcPreconditions.cs57 public static T CheckNotNull<T>(T reference) in CheckNotNull() method in Grpc.Core.Utils.GrpcPreconditions
71 public static T CheckNotNull<T>(T reference, string paramName) in CheckNotNull() method in Grpc.Core.Utils.GrpcPreconditions
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs297 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
308 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
322 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
333 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
364 messageType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
733 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
749 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
765 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
780 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
795 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
[all …]

1234