/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.java | 44 * Unit test for {@link CodedInputStream}. 64 * We use this to make sure that CodedInputStream doesn't screw up when 93 CodedInputStream input = CodedInputStream.newInstance(data); 96 input = CodedInputStream.newInstance(data); 102 input = CodedInputStream.newInstance( 106 input = CodedInputStream.newInstance( 118 assertEquals((int)value, CodedInputStream.readRawVarint32(rawInput)); 130 CodedInputStream input = CodedInputStream.newInstance(data) [all...] |
CodedOutputStreamTest.java | 246 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(0))); 248 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(1))); 250 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(-1))); 252 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(14927))); 254 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(-3612))); 257 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(0))); 259 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(1))); 261 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-1))); 263 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(14927))); 265 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-3612))) [all...] |
/external/protobuf/src/google/protobuf/io/ |
coded_stream.h | 35 // This file contains the CodedInputStream and CodedOutputStream classes, 66 // CodedInputStream example: 70 // CodedInputStream coded_input = new CodedInputStream(raw_input); 129 class CodedInputStream; 138 // Most users will not need to deal with CodedInputStream. 140 // Most methods of CodedInputStream that return a bool return false if an 142 // failure occurs, the CodedInputStream is broken and is no longer useful. 143 class LIBPROTOBUF_EXPORT CodedInputStream { 145 // Create a CodedInputStream that reads from the given ZeroCopyInputStream [all...] |
coded_stream_inl.h | 47 inline bool CodedInputStream::InternalReadStringInline(string* buffer,
|
coded_stream_unittest.cc | 184 CodedInputStream coded_input(&input); 199 CodedInputStream coded_input(&input); 219 CodedInputStream coded_input(&input); 253 CodedInputStream::ExpectTagFromArray(buffer_, 256 CodedInputStream::ExpectTagFromArray(buffer_, expected_value)); 259 CodedInputStream::ExpectTagFromArray(buffer_, expected_value)); 268 CodedInputStream coded_input(&input); 352 CodedInputStream coded_input(&input); 402 CodedInputStream coded_input(&input); 412 CodedInputStream coded_input(&input) [all...] |
coded_stream.cc | 61 // CodedInputStream ================================================== 64 void CodedInputStream::BackUpInputToCurrentPosition() { 77 inline void CodedInputStream::RecomputeBufferLimits() { 90 CodedInputStream::Limit CodedInputStream::PushLimit(int byte_limit) { 116 void CodedInputStream::PopLimit(Limit limit) { 127 int CodedInputStream::BytesUntilLimit() { 135 void CodedInputStream::SetTotalBytesLimit( 146 void CodedInputStream::PrintTotalBytesLimitError() { 150 "warnings), see CodedInputStream::SetTotalBytesLimit() [all...] |
/external/protobuf/src/google/protobuf/ |
generated_message_util.h | 47 class CodedInputStream; // coded_stream.h
|
message_lite.h | 111 bool ParseFromCodedStream(io::CodedInputStream* input); 114 bool ParsePartialFromCodedStream(io::CodedInputStream* input); 152 bool MergeFromCodedStream(io::CodedInputStream* input); 159 virtual bool MergePartialFromCodedStream(io::CodedInputStream* input) = 0;
|
message_lite.cc | 103 inline bool InlineMergeFromCodedStream(io::CodedInputStream* input, 106 inline bool InlineParseFromCodedStream(io::CodedInputStream* input, 109 inline bool InlineParsePartialFromCodedStream(io::CodedInputStream* input, 119 bool InlineMergeFromCodedStream(io::CodedInputStream* input, 129 bool InlineParseFromCodedStream(io::CodedInputStream* input, 135 bool InlineParsePartialFromCodedStream(io::CodedInputStream* input, 142 io::CodedInputStream input(reinterpret_cast<const uint8*>(data), size); 149 io::CodedInputStream input(reinterpret_cast<const uint8*>(data), size); 156 bool MessageLite::MergeFromCodedStream(io::CodedInputStream* input) { 160 bool MessageLite::ParseFromCodedStream(io::CodedInputStream* input) [all...] |
wire_format.h | 56 class CodedInputStream; // coded_stream.h 105 static bool ParseAndMergePartial(io::CodedInputStream* input, 132 static bool SkipField(io::CodedInputStream* input, uint32 tag, 137 static bool SkipMessage(io::CodedInputStream* input, 188 io::CodedInputStream* input); 206 io::CodedInputStream* input, 252 virtual bool SkipField(io::CodedInputStream* input, uint32 tag); 253 virtual bool SkipMessage(io::CodedInputStream* input);
|
wire_format_lite_inl.h | 56 io::CodedInputStream* input, 65 io::CodedInputStream* input, 74 io::CodedInputStream* input, 80 io::CodedInputStream* input, 86 io::CodedInputStream* input, 95 io::CodedInputStream* input, 104 io::CodedInputStream* input, 110 io::CodedInputStream* input, 116 io::CodedInputStream* input, 125 io::CodedInputStream* input [all...] |
wire_format_lite.cc | 112 io::CodedInputStream* input, uint32 tag) { 156 bool WireFormatLite::SkipMessage(io::CodedInputStream* input) { 176 io::CodedInputStream* input, uint32 tag) { 180 bool FieldSkipper::SkipMessage(io::CodedInputStream* input) { 189 bool WireFormatLite::ReadPackedEnumNoInline(io::CodedInputStream* input, 194 io::CodedInputStream::Limit limit = input->PushLimit(length); 342 bool WireFormatLite::ReadString(io::CodedInputStream* input, 350 bool WireFormatLite::ReadBytes(io::CodedInputStream* input,
|
wire_format_unittest.cc | 88 io::CodedInputStream input(&raw_input); 105 io::CodedInputStream input(&raw_input); 122 io::CodedInputStream input(&raw_input); 138 io::CodedInputStream input(&raw_input); 154 io::CodedInputStream input(&raw_input); 171 io::CodedInputStream input(&raw_input); 332 io::CodedInputStream coded_input(&raw_input); 477 io::CodedInputStream input(reinterpret_cast<const uint8*>(data.data()), 491 io::CodedInputStream input(&raw_input); 499 io::CodedInputStream input(&raw_input) [all...] |
unknown_field_set.h | 113 bool MergeFromCodedStream(io::CodedInputStream* input); 114 bool ParseFromCodedStream(io::CodedInputStream* input);
|
unknown_field_set.cc | 146 bool UnknownFieldSet::MergeFromCodedStream(io::CodedInputStream* input) { 158 bool UnknownFieldSet::ParseFromCodedStream(io::CodedInputStream* input) { 164 io::CodedInputStream coded_input(input);
|
wire_format_lite.h | 51 class CodedInputStream; // coded_stream.h 166 static bool SkipField(io::CodedInputStream* input, uint32 tag); 171 static bool SkipMessage(io::CodedInputStream* input); 233 #define input io::CodedInputStream* input 488 google::protobuf::io::CodedInputStream* input, 507 virtual bool SkipField(io::CodedInputStream* input, uint32 tag); 511 virtual bool SkipMessage(io::CodedInputStream* input);
|
wire_format.cc | 69 io::CodedInputStream* input, uint32 tag) { 73 bool UnknownFieldSetFieldSkipper::SkipMessage(io::CodedInputStream* input) { 82 bool WireFormat::SkipField(io::CodedInputStream* input, uint32 tag, 142 bool WireFormat::SkipMessage(io::CodedInputStream* input, 368 bool WireFormat::ParseAndMergePartial(io::CodedInputStream* input, 424 io::CodedInputStream* input) { 450 io::CodedInputStream::Limit limit = input->PushLimit(length); 627 io::CodedInputStream* input, 668 io::CodedInputStream sub_input(&raw_input); [all...] |
extension_set.h | 60 class CodedInputStream; // coded_stream.h 320 bool ParseField(uint32 tag, io::CodedInputStream* input, 326 bool ParseField(uint32 tag, io::CodedInputStream* input, 328 bool ParseField(uint32 tag, io::CodedInputStream* input, 334 bool ParseMessageSet(io::CodedInputStream* input, 340 bool ParseMessageSet(io::CodedInputStream* input, 342 bool ParseMessageSet(io::CodedInputStream* input, 461 bool ParseMessageSetItem(io::CodedInputStream* input, [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 106 public BuilderType mergeFrom(final CodedInputStream input) 113 final CodedInputStream input, 120 final CodedInputStream input = data.newCodedInput(); 138 final CodedInputStream input = data.newCodedInput(); 160 final CodedInputStream input = 161 CodedInputStream.newInstance(data, off, len); 186 final CodedInputStream input = 187 CodedInputStream.newInstance(data, off, len); 201 final CodedInputStream codedInput = CodedInputStream.newInstance(input) [all...] |
MessageLite.java | 217 * {@link CodedInputStream#checkLastTagWas(int)} after calling this to 221 Builder mergeFrom(CodedInputStream input) throws IOException; 224 * Like {@link Builder#mergeFrom(CodedInputStream)}, but also 229 Builder mergeFrom(CodedInputStream input, 245 * {@link #mergeFrom(CodedInputStream)}. 252 * {@link #mergeFrom(CodedInputStream,ExtensionRegistry)}. 261 * {@link #mergeFrom(CodedInputStream)}. 268 * {@link #mergeFrom(CodedInputStream)}. 276 * {@link #mergeFrom(CodedInputStream,ExtensionRegistry)}. 285 * {@link #mergeFrom(CodedInputStream,ExtensionRegistry)} [all...] |
UnknownFieldSet.java | 237 public static UnknownFieldSet parseFrom(final CodedInputStream input) 458 public Builder mergeFrom(final CodedInputStream input) throws IOException { 473 public boolean mergeFieldFrom(final int tag, final CodedInputStream input) 505 * {@link #mergeFrom(CodedInputStream)}. 510 final CodedInputStream input = data.newCodedInput(); 526 * {@link #mergeFrom(CodedInputStream)}. 531 final CodedInputStream input = CodedInputStream.newInstance(data); 547 * {@link #mergeFrom(CodedInputStream)}. 550 final CodedInputStream codedInput = CodedInputStream.newInstance(input) [all...] |
CodedInputStream.java | 50 public final class CodedInputStream { 52 * Create a new CodedInputStream wrapping the given InputStream. 54 public static CodedInputStream newInstance(final InputStream input) { 55 return new CodedInputStream(input); 59 * Create a new CodedInputStream wrapping the given byte array. 61 public static CodedInputStream newInstance(final byte[] buf) { 66 * Create a new CodedInputStream wrapping the given byte array slice. 68 public static CodedInputStream newInstance(final byte[] buf, final int off, 70 return new CodedInputStream(buf, off, len); 354 * stream in a CodedInputStream and used {@link #readRawVarint32(InputStream) [all...] |
Message.java | 189 Builder mergeFrom(CodedInputStream input) throws IOException; 190 Builder mergeFrom(CodedInputStream input,
|
ByteString.java | 300 * Creates a {@link CodedInputStream} which can be used to read the bytes. 301 * Using this is more efficient than creating a {@link CodedInputStream} 304 public CodedInputStream newCodedInput() { 305 // We trust CodedInputStream not to modify the bytes, or to give anyone 307 return CodedInputStream.newInstance(bytes);
|
AbstractMessage.java | 242 public BuilderType mergeFrom(final CodedInputStream input) 249 final CodedInputStream input, 271 * Like {@link #mergeFrom(CodedInputStream, UnknownFieldSet.Builder, 279 final CodedInputStream input, 429 final CodedInputStream input, 490 CodedInputStream.newInstance(rawBytes.newInput()));
|