Home
last modified time | relevance | path

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

12345678

/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 …]
DCodedInputStream.cs307 throw InvalidProtocolBufferException.MoreDataAvailable(); in CheckReadEndOfStreamTag()
389 throw InvalidProtocolBufferException.InvalidTag(); in ReadTag()
423 throw new InvalidProtocolBufferException( in SkipLastField()
451 throw InvalidProtocolBufferException.RecursionLimitExceeded(); in SkipGroup()
459 throw InvalidProtocolBufferException.TruncatedMessage(); in SkipGroup()
473 throw new InvalidProtocolBufferException( in SkipGroup()
588 throw InvalidProtocolBufferException.RecursionLimitExceeded(); in ReadMessage()
597 throw InvalidProtocolBufferException.TruncatedMessage(); in ReadMessage()
610 throw InvalidProtocolBufferException.RecursionLimitExceeded(); in ReadGroup()
762 throw InvalidProtocolBufferException.MalformedVarint(); in SlowReadRawVarint32()
[all …]
DJsonParser.cs138 throw new InvalidProtocolBufferException("Expected end of JSON after object"); in Merge()
153 throw InvalidProtocolBufferException.JsonRecursionLimitExceeded(); in Merge()
168 throw new InvalidProtocolBufferException("Expected an object"); in Merge()
199 …throw new InvalidProtocolBufferException($"Multiple values specified for oneof {field.ContainingOn… in Merge()
212 throw new InvalidProtocolBufferException("Unknown field: " + name); in Merge()
255 …throw new InvalidProtocolBufferException("Repeated field value was not an array. Token type: " + t… in MergeRepeatedField()
270 … throw new InvalidProtocolBufferException("Repeated field elements cannot be null"); in MergeRepeatedField()
282 throw new InvalidProtocolBufferException("Expected an object to populate a map"); in MergeMapField()
290 throw new InvalidProtocolBufferException("Invalid map field: " + field.FullName); in MergeMapField()
305 throw new InvalidProtocolBufferException("Map values must not be null"); in MergeMapField()
[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
53 public InvalidProtocolBufferException(final String description, IOException e) { in InvalidProtocolBufferException() method in InvalidProtocolBufferException
63 public InvalidProtocolBufferException setUnfinishedMessage(MessageLite unfinishedMessage) { in setUnfinishedMessage()
83 static InvalidProtocolBufferException truncatedMessage() { in truncatedMessage()
84 return new InvalidProtocolBufferException( in truncatedMessage()
91 static InvalidProtocolBufferException negativeSize() { in negativeSize()
92 return new InvalidProtocolBufferException( in negativeSize()
97 static InvalidProtocolBufferException malformedVarint() { in malformedVarint()
[all …]
DParser.java61 public MessageType parseFrom(CodedInputStream input) throws InvalidProtocolBufferException; in parseFrom()
69 throws InvalidProtocolBufferException; in parseFrom()
75 public MessageType parsePartialFrom(CodedInputStream input) throws InvalidProtocolBufferException; in parsePartialFrom()
83 throws InvalidProtocolBufferException; in parsePartialFrom()
92 public MessageType parseFrom(ByteBuffer data) throws InvalidProtocolBufferException; in parseFrom()
99 throws InvalidProtocolBufferException; in parseFrom()
104 public MessageType parseFrom(ByteString data) throws InvalidProtocolBufferException; in parseFrom()
111 throws InvalidProtocolBufferException; in parseFrom()
117 public MessageType parsePartialFrom(ByteString data) throws InvalidProtocolBufferException; in parsePartialFrom()
124 throws InvalidProtocolBufferException; in parsePartialFrom()
[all …]
DAbstractParser.java65 throws InvalidProtocolBufferException { in checkMessageInitialized()
79 throws InvalidProtocolBufferException { in parsePartialFrom()
85 throws InvalidProtocolBufferException { in parseFrom()
90 public MessageType parseFrom(CodedInputStream input) throws InvalidProtocolBufferException { in parseFrom()
96 throws InvalidProtocolBufferException { in parsePartialFrom()
103 } catch (InvalidProtocolBufferException e) { in parsePartialFrom()
107 } catch (InvalidProtocolBufferException e) { in parsePartialFrom()
113 public MessageType parsePartialFrom(ByteString data) throws InvalidProtocolBufferException { in parsePartialFrom()
119 throws InvalidProtocolBufferException { in parseFrom()
124 public MessageType parseFrom(ByteString data) throws InvalidProtocolBufferException { in parseFrom()
[all …]
DCodedInputStream.java153 } catch (InvalidProtocolBufferException ex) { in newInstance()
215 public abstract void checkLastTagWas(final int value) throws InvalidProtocolBufferException; in checkLastTagWas()
468 public abstract int pushLimit(int byteLimit) throws InvalidProtocolBufferException; in pushLimit()
558 throw InvalidProtocolBufferException.truncatedMessage(); in readRawVarint32()
569 throw InvalidProtocolBufferException.truncatedMessage(); in readRawVarint32()
575 throw InvalidProtocolBufferException.malformedVarint(); in readRawVarint32()
587 throw InvalidProtocolBufferException.truncatedMessage(); in readRawVarint32()
625 throw InvalidProtocolBufferException.invalidTag(); in readTag()
631 public void checkLastTagWas(final int value) throws InvalidProtocolBufferException { in checkLastTagWas()
633 throw InvalidProtocolBufferException.invalidEndTag(); in checkLastTagWas()
[all …]
DBinaryReader.java156 throw InvalidProtocolBufferException.invalidWireType(); in skipField()
227 throw InvalidProtocolBufferException.invalidUtf8(); in readStringInternal()
265 throw InvalidProtocolBufferException.parseFailure(); in readMessage()
300 throw InvalidProtocolBufferException.parseFailure(); in readGroup()
392 throw InvalidProtocolBufferException.invalidWireType(); in readDoubleList()
421 throw InvalidProtocolBufferException.invalidWireType(); in readDoubleList()
456 throw InvalidProtocolBufferException.invalidWireType(); in readFloatList()
485 throw InvalidProtocolBufferException.invalidWireType(); in readFloatList()
520 throw InvalidProtocolBufferException.invalidWireType(); in readUInt64List()
549 throw InvalidProtocolBufferException.invalidWireType(); in readUInt64List()
[all …]
DCodedInputStreamReader.java104 throw InvalidProtocolBufferException.invalidWireType(); in requireWireType()
205 throw InvalidProtocolBufferException.recursionLimitExceeded(); in readMessage()
234 throw InvalidProtocolBufferException.parseFailure(); in readGroup()
312 throw InvalidProtocolBufferException.invalidWireType(); in readDoubleList()
338 throw InvalidProtocolBufferException.invalidWireType(); in readDoubleList()
370 throw InvalidProtocolBufferException.invalidWireType(); in readFloatList()
396 throw InvalidProtocolBufferException.invalidWireType(); in readFloatList()
428 throw InvalidProtocolBufferException.invalidWireType(); in readUInt64List()
454 throw InvalidProtocolBufferException.invalidWireType(); in readUInt64List()
486 throw InvalidProtocolBufferException.invalidWireType(); in readInt64List()
[all …]
DMessageLite.java197 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom()
206 throws InvalidProtocolBufferException; in mergeFrom()
214 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom()
222 Builder mergeFrom(byte[] data, int off, int len) throws InvalidProtocolBufferException; in mergeFrom()
231 throws InvalidProtocolBufferException; in mergeFrom()
240 throws InvalidProtocolBufferException; in mergeFrom()
DArrayDecoders.java185 throws InvalidProtocolBufferException { in decodeString()
189 throw InvalidProtocolBufferException.negativeSize(); in decodeString()
201 throws InvalidProtocolBufferException { in decodeStringRequireUtf8()
205 throw InvalidProtocolBufferException.negativeSize(); in decodeStringRequireUtf8()
217 throws InvalidProtocolBufferException { in decodeBytes()
221 throw InvalidProtocolBufferException.negativeSize(); in decodeBytes()
223 throw InvalidProtocolBufferException.truncatedMessage(); in decodeBytes()
243 throw InvalidProtocolBufferException.truncatedMessage(); in decodeMessageField()
433 throw InvalidProtocolBufferException.truncatedMessage(); in decodePackedVarint32List()
449 throw InvalidProtocolBufferException.truncatedMessage(); in decodePackedVarint64List()
[all …]
DMessage.java246 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom()
250 throws InvalidProtocolBufferException; in mergeFrom()
253 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom()
256 Builder mergeFrom(byte[] data, int off, int len) throws InvalidProtocolBufferException; in mergeFrom()
260 throws InvalidProtocolBufferException; in mergeFrom()
264 throws InvalidProtocolBufferException; in mergeFrom()
DGeneratedMessageLite.java425 throws InvalidProtocolBufferException { in mergeFrom()
431 } catch (InvalidProtocolBufferException e) { in mergeFrom()
434 throw InvalidProtocolBufferException.truncatedMessage(); in mergeFrom()
444 throws InvalidProtocolBufferException { in mergeFrom()
1355 } catch (InvalidProtocolBufferException e) { in readResolve()
1382 } catch (InvalidProtocolBufferException e) { in readResolveFallback()
1504 throws InvalidProtocolBufferException { in parsePartialFrom()
1511 throws InvalidProtocolBufferException { in parsePartialFrom()
1524 throws InvalidProtocolBufferException { in parsePartialFrom()
1534 if (e.getCause() instanceof InvalidProtocolBufferException) { in parsePartialFrom()
[all …]
DAbstractMessageLite.java174 public BuilderType mergeFrom(final ByteString data) throws InvalidProtocolBufferException { in mergeFrom()
180 } catch (InvalidProtocolBufferException e) { in mergeFrom()
190 throws InvalidProtocolBufferException { in mergeFrom()
196 } catch (InvalidProtocolBufferException e) { in mergeFrom()
204 public BuilderType mergeFrom(final byte[] data) throws InvalidProtocolBufferException { in mergeFrom()
210 throws InvalidProtocolBufferException { in mergeFrom()
216 } catch (InvalidProtocolBufferException e) { in mergeFrom()
225 throws InvalidProtocolBufferException { in mergeFrom()
235 throws InvalidProtocolBufferException { in mergeFrom()
241 } catch (InvalidProtocolBufferException e) { in mergeFrom()
DUtf8.java329 throws InvalidProtocolBufferException { in decodeUtf8()
339 throws InvalidProtocolBufferException { in decodeUtf8()
617 throws InvalidProtocolBufferException; in decodeUtf8()
625 throws InvalidProtocolBufferException { in decodeUtf8()
637 throws InvalidProtocolBufferException; in decodeUtf8Direct()
644 throws InvalidProtocolBufferException { in decodeUtf8Default()
686 throw InvalidProtocolBufferException.invalidUtf8(); in decodeUtf8Default()
692 throw InvalidProtocolBufferException.invalidUtf8(); in decodeUtf8Default()
702 throw InvalidProtocolBufferException.invalidUtf8(); in decodeUtf8Default()
956 String decodeUtf8(byte[] bytes, int index, int size) throws InvalidProtocolBufferException { in decodeUtf8()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DArrayDecodersTest.java55 } catch (InvalidProtocolBufferException expected) { in testException_decodeString()
63 } catch (InvalidProtocolBufferException expected) { in testException_decodeStringRequireUtf8()
71 } catch (InvalidProtocolBufferException expected) { in testException_decodeBytes()
85 } catch (InvalidProtocolBufferException expected) { in testException_decodeStringList_first()
99 } catch (InvalidProtocolBufferException expected) { in testException_decodeStringList_second()
113 } catch (InvalidProtocolBufferException expected) { in testException_decodeStringListRequireUtf8_first()
127 } catch (InvalidProtocolBufferException expected) { in testException_decodeStringListRequireUtf8_second()
141 } catch (InvalidProtocolBufferException expected) { in testException_decodeBytesList_first()
155 } catch (InvalidProtocolBufferException expected) { in testException_decodeBytesList_second()
169 } catch (InvalidProtocolBufferException expected) { in testException_decodeUnknownField()
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java64 import com.google.protobuf.InvalidProtocolBufferException;
339 public String print(MessageOrBuilder message) throws InvalidProtocolBufferException { in print()
344 } catch (InvalidProtocolBufferException e) { in print()
404 public void merge(String json, Message.Builder builder) throws InvalidProtocolBufferException { in merge()
459 Descriptor getDescriptorForTypeUrl(String typeUrl) throws InvalidProtocolBufferException { in getDescriptorForTypeUrl()
805 throw new InvalidProtocolBufferException("Invalid Any type."); in printAny()
810 throw new InvalidProtocolBufferException("Cannot find type for url: " + typeUrl); in printAny()
838 throw new InvalidProtocolBufferException("Invalid Wrapper type."); in printWrapper()
876 throw new InvalidProtocolBufferException("Invalid Struct type."); in printStruct()
894 throw new InvalidProtocolBufferException("Invalid Value type."); in printValue()
[all …]
/external/protobuf/conformance/
DConformanceJava.java5 import com.google.protobuf.InvalidProtocolBufferException;
74 throws InvalidProtocolBufferException { in decode()
86 } catch (InvalidProtocolBufferException e) { in decode()
94 } catch (InvalidProtocolBufferException e) { in decode()
104 } catch (InvalidProtocolBufferException e) { in decode()
115 } catch (InvalidProtocolBufferException e) { in decode()
122 } catch (InvalidProtocolBufferException e) { in decode()
134 throws InvalidProtocolBufferException { in parseBinary()
136 ArrayList <InvalidProtocolBufferException> exceptions = in parseBinary()
137 new ArrayList <InvalidProtocolBufferException>(); in parseBinary()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs71 … Assert.Throws<InvalidProtocolBufferException>(() => JsonParser.Default.Parse<TestMap>(json)); in IntegerMapKeysAreStrict()
198 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullElementProhibited()
214 Assert.Throws<InvalidProtocolBufferException>(() => TestMap.Parser.ParseJson(json)); in MapField_NullValueProhibited()
270 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt32_Invalid()
291 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToUInt32_Invalid()
314 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt64_Invalid()
335 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToUInt64_Invalid()
388 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToDouble_Invalid()
418 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToFloat_Invalid()
445 [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()
298 Assert.Throws<InvalidProtocolBufferException>(() => cis.ReadTag()); in ReadTag_ZeroFieldRejected()
335 …Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(beyondRe… in MaliciousRecursion()
338 … Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(input)); in MaliciousRecursion()
[all …]
/external/icing/java/src/com/google/android/icing/
DIcingSearchEngine.java48 import com.google.protobuf.InvalidProtocolBufferException;
123 } catch (InvalidProtocolBufferException e) { in initialize()
152 } catch (InvalidProtocolBufferException e) { in setSchema()
174 } catch (InvalidProtocolBufferException e) { in getSchema()
196 } catch (InvalidProtocolBufferException e) { in getSchemaType()
218 } catch (InvalidProtocolBufferException e) { in put()
241 } catch (InvalidProtocolBufferException e) { in get()
263 } catch (InvalidProtocolBufferException e) { in reportUsage()
286 } catch (InvalidProtocolBufferException e) { in getAllNamespaces()
313 } catch (InvalidProtocolBufferException e) { in search()
[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/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
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(beyondRe… in MaliciousRecursion()
324 … Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(input)); in MaliciousRecursion()
334 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseFrom(input)); in SizeLimit()
[all …]
/external/kotlinx.metadata/
Dkotlinx-metadata-jvm-0.1.0.jarMETA-INF/ META-INF/MANIFEST.MF kotlinx/ kotlinx/metadata/ kotlinx/ ...
/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 …]

12345678