Home
last modified time | relevance | path

Searched refs:InvalidProtocolBufferException (Results 1 – 25 of 143) sorted by relevance

123456

/external/protobuf/csharp/src/Google.Protobuf/
DInvalidProtocolBufferException.cs42 public sealed class InvalidProtocolBufferException : IOException class
44 internal InvalidProtocolBufferException(string message) in InvalidProtocolBufferException() method in Google.Protobuf.InvalidProtocolBufferException
49 internal InvalidProtocolBufferException(string message, Exception innerException) in InvalidProtocolBufferException() method in Google.Protobuf.InvalidProtocolBufferException
54 internal static InvalidProtocolBufferException MoreDataAvailable() in MoreDataAvailable()
56 return new InvalidProtocolBufferException( in MoreDataAvailable()
60 internal static InvalidProtocolBufferException TruncatedMessage() in TruncatedMessage()
62 return new InvalidProtocolBufferException( in TruncatedMessage()
69 internal static InvalidProtocolBufferException NegativeSize() in NegativeSize()
71 return new InvalidProtocolBufferException( in NegativeSize()
76 internal static InvalidProtocolBufferException MalformedVarint() in MalformedVarint()
[all …]
DJsonParser.cs137 throw new InvalidProtocolBufferException("Expected end of JSON after object"); in Merge()
152 throw InvalidProtocolBufferException.JsonRecursionLimitExceeded(); in Merge()
167 throw new InvalidProtocolBufferException("Expected an object"); in Merge()
198 …throw new InvalidProtocolBufferException($"Multiple values specified for oneof {field.ContainingOn… in Merge()
208 throw new InvalidProtocolBufferException("Unknown field: " + name); in Merge()
250 …throw new InvalidProtocolBufferException("Repeated field value was not an array. Token type: " + t… in MergeRepeatedField()
264 … throw new InvalidProtocolBufferException("Repeated field elements cannot be null"); in MergeRepeatedField()
276 throw new InvalidProtocolBufferException("Expected an object to populate a map"); in MergeMapField()
284 throw new InvalidProtocolBufferException("Invalid map field: " + field.FullName); in MergeMapField()
299 throw new InvalidProtocolBufferException("Map values must not be null"); in MergeMapField()
[all …]
DCodedInputStream.cs296 throw InvalidProtocolBufferException.MoreDataAvailable(); in CheckReadEndOfStreamTag()
378 throw InvalidProtocolBufferException.InvalidTag(); in ReadTag()
408 throw new InvalidProtocolBufferException( in SkipLastField()
433 throw InvalidProtocolBufferException.RecursionLimitExceeded(); in SkipGroup()
441 throw InvalidProtocolBufferException.TruncatedMessage(); in SkipGroup()
455 throw new InvalidProtocolBufferException( in SkipGroup()
570 throw InvalidProtocolBufferException.RecursionLimitExceeded(); in ReadMessage()
579 throw InvalidProtocolBufferException.TruncatedMessage(); in ReadMessage()
732 throw InvalidProtocolBufferException.MalformedVarint(); in SlowReadRawVarint32()
794 throw InvalidProtocolBufferException.MalformedVarint(); in ReadRawVarint32()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DInvalidProtocolBufferException.java41 public class InvalidProtocolBufferException extends IOException { class
45 public InvalidProtocolBufferException(final String description) { in InvalidProtocolBufferException() method in InvalidProtocolBufferException
49 public InvalidProtocolBufferException(IOException e) { in InvalidProtocolBufferException() method in InvalidProtocolBufferException
59 public InvalidProtocolBufferException setUnfinishedMessage( in setUnfinishedMessage()
81 static InvalidProtocolBufferException truncatedMessage() { in truncatedMessage()
82 return new InvalidProtocolBufferException( in truncatedMessage()
89 static InvalidProtocolBufferException negativeSize() { in negativeSize()
90 return new InvalidProtocolBufferException( in negativeSize()
95 static InvalidProtocolBufferException malformedVarint() { in malformedVarint()
96 return new InvalidProtocolBufferException( in malformedVarint()
[all …]
DParser.java63 throws InvalidProtocolBufferException; in parseFrom()
73 throws InvalidProtocolBufferException; in parseFrom()
81 throws InvalidProtocolBufferException; in parsePartialFrom()
90 throws InvalidProtocolBufferException; in parsePartialFrom()
100 throws InvalidProtocolBufferException; in parseFrom()
109 throws InvalidProtocolBufferException; in parseFrom()
117 throws InvalidProtocolBufferException; in parsePartialFrom()
126 throws InvalidProtocolBufferException; in parsePartialFrom()
133 throws InvalidProtocolBufferException; in parseFrom()
142 throws InvalidProtocolBufferException; in parseFrom()
[all …]
DAbstractParser.java69 throws InvalidProtocolBufferException { in checkMessageInitialized()
83 throws InvalidProtocolBufferException { in parsePartialFrom()
89 throws InvalidProtocolBufferException { in parseFrom()
95 public MessageType parseFrom(CodedInputStream input) throws InvalidProtocolBufferException { in parseFrom()
101 throws InvalidProtocolBufferException { in parsePartialFrom()
108 } catch (InvalidProtocolBufferException e) { in parsePartialFrom()
112 } catch (InvalidProtocolBufferException e) { in parsePartialFrom()
118 public MessageType parsePartialFrom(ByteString data) throws InvalidProtocolBufferException { in parsePartialFrom()
124 throws InvalidProtocolBufferException { in parseFrom()
129 public MessageType parseFrom(ByteString data) throws InvalidProtocolBufferException { in parseFrom()
[all …]
DCodedInputStream.java96 } catch (InvalidProtocolBufferException ex) { in newInstance()
148 throw InvalidProtocolBufferException.invalidTag(); in readTag()
162 throws InvalidProtocolBufferException { in checkLastTagWas()
164 throw InvalidProtocolBufferException.invalidEndTag(); in checkLastTagWas()
201 throw InvalidProtocolBufferException.invalidWireType(); in skipField()
252 throw InvalidProtocolBufferException.invalidWireType(); in skipField()
412 throw InvalidProtocolBufferException.invalidUtf8(); in readStringRequireUtf8()
423 throw InvalidProtocolBufferException.recursionLimitExceeded(); in readGroup()
440 throw InvalidProtocolBufferException.recursionLimitExceeded(); in readGroup()
475 throw InvalidProtocolBufferException.recursionLimitExceeded(); in readMessage()
[all …]
DMessageLite.java218 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom()
229 throws InvalidProtocolBufferException; in mergeFrom()
238 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom()
248 throws InvalidProtocolBufferException; in mergeFrom()
259 throws InvalidProtocolBufferException; in mergeFrom()
270 throws InvalidProtocolBufferException; in mergeFrom()
DAbstractMessageLite.java150 public BuilderType mergeFrom(final ByteString data) throws InvalidProtocolBufferException { in mergeFrom()
156 } catch (InvalidProtocolBufferException e) { in mergeFrom()
168 throws InvalidProtocolBufferException { in mergeFrom()
174 } catch (InvalidProtocolBufferException e) { in mergeFrom()
184 public BuilderType mergeFrom(final byte[] data) throws InvalidProtocolBufferException { in mergeFrom()
190 throws InvalidProtocolBufferException { in mergeFrom()
197 } catch (InvalidProtocolBufferException e) { in mergeFrom()
208 throws InvalidProtocolBufferException { in mergeFrom()
218 throws InvalidProtocolBufferException { in mergeFrom()
225 } catch (InvalidProtocolBufferException e) { in mergeFrom()
DMessage.java258 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom()
262 throws InvalidProtocolBufferException; in mergeFrom()
265 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom()
268 Builder mergeFrom(byte[] data, int off, int len) throws InvalidProtocolBufferException; in mergeFrom()
272 throws InvalidProtocolBufferException; in mergeFrom()
276 throws InvalidProtocolBufferException; in mergeFrom()
DUnknownFieldSet.java253 throws InvalidProtocolBufferException { in parseFrom()
259 throws InvalidProtocolBufferException { in parseFrom()
545 throw InvalidProtocolBufferException.invalidWireType(); in mergeFieldFrom()
555 public Builder mergeFrom(final ByteString data) throws InvalidProtocolBufferException { in mergeFrom()
561 } catch (final InvalidProtocolBufferException e) { in mergeFrom()
576 public Builder mergeFrom(final byte[] data) throws InvalidProtocolBufferException { in mergeFrom()
582 } catch (final InvalidProtocolBufferException e) { in mergeFrom()
632 throws InvalidProtocolBufferException { in mergeFrom()
638 public Builder mergeFrom(byte[] data, int off, int len) throws InvalidProtocolBufferException { in mergeFrom()
645 } catch (InvalidProtocolBufferException e) { in mergeFrom()
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java59 import com.google.protobuf.InvalidProtocolBufferException;
177 throws InvalidProtocolBufferException { in print()
182 } catch (InvalidProtocolBufferException e) { in print()
228 throws InvalidProtocolBufferException { in merge()
568 throw new InvalidProtocolBufferException("Invalid Any type."); in printAny()
574 throw new InvalidProtocolBufferException( in printAny()
603 throw new InvalidProtocolBufferException("Invalid Wrapper type."); in printWrapper()
642 throw new InvalidProtocolBufferException("Invalid Struct type."); in printStruct()
660 throw new InvalidProtocolBufferException("Invalid Value type."); in printValue()
672 throw new InvalidProtocolBufferException("Invalid ListValue type."); in printListValue()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs71 … Assert.Throws<InvalidProtocolBufferException>(() => JsonParser.Default.Parse<TestMap>(json)); in IntegerMapKeysAreStrict()
195 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullElementProhibited()
211 Assert.Throws<InvalidProtocolBufferException>(() => TestMap.Parser.ParseJson(json)); in MapField_NullValueProhibited()
267 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt32_Invalid()
288 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToUInt32_Invalid()
311 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt64_Invalid()
332 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToUInt64_Invalid()
385 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToDouble_Invalid()
415 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToFloat_Invalid()
442 [TestCase("1.5", typeof(InvalidProtocolBufferException))]
[all …]
DCodedInputStreamTest.cs96 … private static void AssertReadVarintFailure(InvalidProtocolBufferException expected, byte[] data) in AssertReadVarintFailure()
99 … var exception = Assert.Throws<InvalidProtocolBufferException>(() => input.ReadRawVarint32()); in AssertReadVarintFailure()
103 … exception = Assert.Throws<InvalidProtocolBufferException>(() => input.ReadRawVarint64()); in AssertReadVarintFailure()
107 …exception = Assert.Throws<InvalidProtocolBufferException>(() => CodedInputStream.ReadRawVarint32(n… in AssertReadVarintFailure()
141 InvalidProtocolBufferException.MalformedVarint(), in ReadVarint()
145 InvalidProtocolBufferException.TruncatedMessage(), in ReadVarint()
284 Assert.Throws<InvalidProtocolBufferException>(() => input.ReadBytes()); in ReadMaliciouslyLargeBlob()
321 …Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(data65)); in MaliciousRecursion()
324 … Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(input)); in MaliciousRecursion()
334 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseFrom(input)); in SizeLimit()
[all …]
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DSecureMessageParser.java18 import com.google.protobuf.InvalidProtocolBufferException;
53 throws InvalidProtocolBufferException { in getUnverifiedHeader()
55 throw new InvalidProtocolBufferException("Missing header and body"); in getUnverifiedHeader()
58 throw new InvalidProtocolBufferException("Missing header"); in getUnverifiedHeader()
63 throw new InvalidProtocolBufferException("Missing header field(s)"); in getUnverifiedHeader()
69 throw new InvalidProtocolBufferException("Corrupt/unsupported SignatureScheme"); in getUnverifiedHeader()
76 throw new InvalidProtocolBufferException("Corrupt/unsupported EncryptionScheme"); in getUnverifiedHeader()
204 } catch (InvalidProtocolBufferException e) { in parseSignCryptedMessage()
261 } catch (InvalidProtocolBufferException e) { in verifyHeaderAndBody()
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/
DNestedTypeOuter.java29 throws com.google.protobuf.InvalidProtocolBufferException { in NestedTypeOuter()
53 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in NestedTypeOuter()
56 throw new com.google.protobuf.InvalidProtocolBufferException( in NestedTypeOuter()
102 throws com.google.protobuf.InvalidProtocolBufferException { in Middle()
126 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in Middle()
129 throw new com.google.protobuf.InvalidProtocolBufferException( in Middle()
185 throws com.google.protobuf.InvalidProtocolBufferException { in Inner()
215 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in Inner()
218 throw new com.google.protobuf.InvalidProtocolBufferException( in Inner()
323 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
[all …]
DEmptyMessage.java29 throws com.google.protobuf.InvalidProtocolBufferException { in EmptyMessage()
53 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in EmptyMessage()
56 throw new com.google.protobuf.InvalidProtocolBufferException( in EmptyMessage()
129 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
135 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
140 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
146 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
150 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
156 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
330 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in mergeFrom()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java161 InvalidProtocolBufferException expected, byte[] data) in assertReadVarintFailure()
167 } catch (InvalidProtocolBufferException e) { in assertReadVarintFailure()
175 } catch (InvalidProtocolBufferException e) { in assertReadVarintFailure()
183 } catch (InvalidProtocolBufferException e) { in assertReadVarintFailure()
191 } catch (InvalidProtocolBufferException e) { in assertReadVarintFailure()
227 InvalidProtocolBufferException.malformedVarint(), in testReadVarint()
231 InvalidProtocolBufferException.truncatedMessage(), in testReadVarint()
435 } catch (InvalidProtocolBufferException e) { in testReadMaliciouslyLargeBlob()
468 } catch (InvalidProtocolBufferException e) { in testMaliciousRecursion()
477 } catch (InvalidProtocolBufferException e) { in testMaliciousRecursion()
[all …]
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DGetSocketRequest.java30 throws com.google.protobuf.InvalidProtocolBufferException { in GetSocketRequest()
60 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in GetSocketRequest()
63 throw new com.google.protobuf.InvalidProtocolBufferException( in GetSocketRequest()
161 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
167 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
172 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
178 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
182 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
188 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
368 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in mergeFrom()
[all …]
DGetSubchannelRequest.java30 throws com.google.protobuf.InvalidProtocolBufferException { in GetSubchannelRequest()
60 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in GetSubchannelRequest()
63 throw new com.google.protobuf.InvalidProtocolBufferException( in GetSubchannelRequest()
161 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
167 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
172 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
178 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
182 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
188 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
368 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in mergeFrom()
[all …]
DGetTopChannelsRequest.java30 throws com.google.protobuf.InvalidProtocolBufferException { in GetTopChannelsRequest()
60 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in GetTopChannelsRequest()
63 throw new com.google.protobuf.InvalidProtocolBufferException( in GetTopChannelsRequest()
162 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
168 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
173 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
179 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
183 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
189 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
369 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in mergeFrom()
[all …]
DGetServersRequest.java30 throws com.google.protobuf.InvalidProtocolBufferException { in GetServersRequest()
60 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in GetServersRequest()
63 throw new com.google.protobuf.InvalidProtocolBufferException( in GetServersRequest()
162 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
168 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
173 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
179 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
183 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
189 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
369 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in mergeFrom()
[all …]
DGetChannelRequest.java30 throws com.google.protobuf.InvalidProtocolBufferException { in GetChannelRequest()
60 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in GetChannelRequest()
63 throw new com.google.protobuf.InvalidProtocolBufferException( in GetChannelRequest()
161 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
167 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
172 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
178 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
182 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
188 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
368 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in mergeFrom()
[all …]
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DD2DCryptoOps.java18 import com.google.protobuf.InvalidProtocolBufferException;
129 byte[] signcryptedMessageFromResponder) throws InvalidProtocolBufferException { in parseAndValidateResponderHello()
138 throw new InvalidProtocolBufferException("Missing decryption key id"); in parseAndValidateResponderHello()
143 throw new InvalidProtocolBufferException("Missing public key in responder hello"); in parseAndValidateResponderHello()
173 } catch (InvalidProtocolBufferException e) { in verifydecryptPayload()
226 } catch (InvalidProtocolBufferException e) { in decryptResponderHelloMessage()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DUint128.java35 throws com.google.protobuf.InvalidProtocolBufferException { in Uint128()
70 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in Uint128()
73 throw new com.google.protobuf.InvalidProtocolBufferException( in Uint128()
188 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
194 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
199 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
205 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
209 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
215 throws com.google.protobuf.InvalidProtocolBufferException { in parseFrom()
405 } catch (com.google.protobuf.InvalidProtocolBufferException e) { in mergeFrom()
[all …]

123456