Home
last modified time | relevance | path

Searched refs:InvalidArgument (Results 1 – 9 of 9) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc54 inline Status InvalidArgument(StringPiece value_str) { in InvalidArgument() function
64 return InvalidArgument(std::is_integral<From>::value in ValidateNumberConversion()
109 return InvalidArgument(DoubleAsString(before)); in DoubleToFloat()
179 return InvalidArgument(StrCat("\"", str_, "\"")); in ToDouble()
209 return InvalidArgument( in ToBool()
224 return InvalidArgument( in ToString()
265 return InvalidArgument(ValueAsStringOrDefault("Invalid data in input.")); in ToBytes()
269 return InvalidArgument(ValueAsStringOrDefault( in ToBytes()
329 return InvalidArgument( in ToEnum()
349 return InvalidArgument(ValueAsStringOrDefault( in GenericConvert()
[all …]
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DClientServerTest.cs240 context.Status = new Status(StatusCode.InvalidArgument, ""); in ServerStreamingCall_ErrorCanBeAwaitedTwice()
247 Assert.AreEqual(StatusCode.InvalidArgument, ex.Status.StatusCode); in ServerStreamingCall_ErrorCanBeAwaitedTwice()
251 Assert.AreEqual(StatusCode.InvalidArgument, ex2.Status.StatusCode); in ServerStreamingCall_ErrorCanBeAwaitedTwice()
260 …throw new RpcException(new Status(StatusCode.InvalidArgument, ""), new Metadata { {"abc", "abc-val… in ServerStreamingCall_TrailersFromMultipleSourcesGetConcatenated()
266 Assert.AreEqual(StatusCode.InvalidArgument, ex.Status.StatusCode); in ServerStreamingCall_TrailersFromMultipleSourcesGetConcatenated()
/third_party/grpc/src/csharp/Grpc.Core.Api/
DStatusCode.cs48 InvalidArgument = 3, enumerator
/third_party/grpc/src/ruby/lib/grpc/
Derrors.rb85 codes[INVALID_ARGUMENT] = InvalidArgument
139 class InvalidArgument < BadStatus class
/third_party/grpc/src/csharp/Grpc.Examples/
DMathServiceImpl.cs72 throw new RpcException(new Status(StatusCode.InvalidArgument, "Division by zero")); in DivInternal()
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DAsyncCallTest.cs93 CreateClientSideStatus(StatusCode.InvalidArgument), in AsyncUnary_NonSuccessStatusCode()
97 AssertUnaryResponseError(asyncCall, fakeCall, resultTask, StatusCode.InvalidArgument); in AsyncUnary_NonSuccessStatusCode()
174 CreateClientSideStatus(StatusCode.InvalidArgument), in ClientStreaming_NoRequest_NonSuccessStatusCode()
178 AssertUnaryResponseError(asyncCall, fakeCall, resultTask, StatusCode.InvalidArgument); in ClientStreaming_NoRequest_NonSuccessStatusCode()
/third_party/grpc/src/csharp/Grpc.Examples.Tests/
DMathClientServerTests.cs81 Assert.AreEqual(StatusCode.InvalidArgument, ex.Status.StatusCode); in DivByZero()
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DStressTestClient.cs265 … throw new RpcException(new Status(StatusCode.InvalidArgument, "Gauge does not exist")); in GetGauge()
DInteropClient.cs630 Assert.AreEqual(StatusCode.InvalidArgument, e.Status.StatusCode); in RunClientCompressedUnary()
680 Assert.AreEqual(StatusCode.InvalidArgument, e.Status.StatusCode); in RunClientCompressedStreamingAsync()