Searched refs:InvalidArgument (Results 1 – 9 of 9) sorted by relevance
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 54 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/ |
D | ClientServerTest.cs | 240 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/ |
D | StatusCode.cs | 48 InvalidArgument = 3, enumerator
|
/third_party/grpc/src/ruby/lib/grpc/ |
D | errors.rb | 85 codes[INVALID_ARGUMENT] = InvalidArgument 139 class InvalidArgument < BadStatus class
|
/third_party/grpc/src/csharp/Grpc.Examples/ |
D | MathServiceImpl.cs | 72 throw new RpcException(new Status(StatusCode.InvalidArgument, "Division by zero")); in DivInternal()
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | AsyncCallTest.cs | 93 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/ |
D | MathClientServerTests.cs | 81 Assert.AreEqual(StatusCode.InvalidArgument, ex.Status.StatusCode); in DivByZero()
|
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/ |
D | StressTestClient.cs | 265 … throw new RpcException(new Status(StatusCode.InvalidArgument, "Gauge does not exist")); in GetGauge()
|
D | InteropClient.cs | 630 Assert.AreEqual(StatusCode.InvalidArgument, e.Status.StatusCode); in RunClientCompressedUnary() 680 Assert.AreEqual(StatusCode.InvalidArgument, e.Status.StatusCode); in RunClientCompressedStreamingAsync()
|