Home
last modified time | relevance | path

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

1234

/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()
/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");
/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()
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()
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()
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/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/
Dsmartreply_jni.cc29 T CheckNotNull(JNIEnv* env, T&& t) { in CheckNotNull() function
93 jclass smart_reply_class = CheckNotNull( in Java_com_example_android_smartreply_SmartReplyClient_predictJNI()
98 jmethodID smart_reply_ctor = CheckNotNull( in Java_com_example_android_smartreply_SmartReplyClient_predictJNI()
104 jobjectArray array = CheckNotNull( in Java_com_example_android_smartreply_SmartReplyClient_predictJNI()
111 CheckNotNull(env, env->NewStringUTF(responses[i].GetText().data())); in Java_com_example_android_smartreply_SmartReplyClient_predictJNI()
/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

1234