/external/protobuf/python/google/protobuf/internal/ |
wire_format.py | 44 # We use the least-significant TAG_TYPE_BITS bits of the varint-encoded 102 effectively used with varint encoding. See wire_format.h for 233 """Returns the number of bytes required to serialize a single varint
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
CodedInputStreamMicro.java | 288 * Read a raw Varint from the stream. If larger than 32 bits, discard the 326 * Reads a varint from the input one byte at a time, so that it does not 327 * read any bytes after the end of the varint. If you simply wrapped the 329 * then you would probably end up reading past the end of the varint since 358 /** Read a raw Varint from the stream. */ 407 * into values that can be efficiently encoded with varint. (Otherwise, 408 * negative values must be sign-extended to 64 bits to be varint encoded, 421 * into values that can be efficiently encoded with varint. (Otherwise, 422 * negative values must be sign-extended to 64 bits to be varint encoded,
|
CodedOutputStreamMicro.java | 885 * Encode and write a varint. {@code value} is treated as 901 * Compute the number of bytes that would be needed to encode a varint. 913 /** Encode and write a varint. */ 926 /** Compute the number of bytes that would be needed to encode a varint. */ [all...] |
/external/protobuf/src/google/protobuf/ |
wire_format_unittest.cc | 697 // The byte is a valid varint, but not a valid tag (zero). 700 // The byte is a malformed varint. 706 // The byte is a valid varint but not a valid tag (bad wire type). 719 // The byte is a valid varint, but not a valid tag (zero). 722 // The byte is a malformed varint. 728 // The byte is a valid varint but not a valid tag (bad wire type). 743 // The byte is a valid varint, but not a valid tag (zero). 746 // The byte is a malformed varint. 752 // The byte is a valid varint but not a valid tag (bad wire type).
|
wire_format_lite.h | 79 // field). Each tag is encoded as a varint. The lower bits of the tag 219 // number and varint-encode it, it will always take 10 bytes, defeating 220 // the purpose of varint. So, for the "sint32" and "sint64" field types, 515 // saves it as an unknown varint. 575 // effectively used with varint encoding. 577 // varint operates on unsigned integers, encoding smaller numbers into 583 // encoded values, making them appropriate for encoding using varint.
|
/sdk/emulator/qtools/ |
decoder.cpp | 11 // a varint-encoded object to the length (in bytes) of that object. 32 // a varint-encoded object to the initial data bits for that object. 186 // Decode a varint-encoded object starting at the current position in 188 // A varint-encoded object has an initial prefix that specifies how many
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
coded_stream.h | 38 // formats. In particular, these implement the varint encoding for 50 // // string is composed of a varint giving the length followed by the raw 92 // For those who are interested, varint encoding is defined as follows: 105 // In theory, varint could be used to encode integers of any length. 149 // Class which reads and decodes binary data which is composed of varint- 226 // Read an unsigned integer with Varint encoding, truncating to 32 bits. 230 // Read an unsigned integer with Varint encoding. 244 // the varint. For best performance, use a compile-time constant as the 251 // responsible for ensuring that the buffer is large enough to read a varint 531 // then optimize for the case when the varint fits within the current buffe [all...] |
/external/protobuf/src/google/protobuf/io/ |
coded_stream.h | 38 // formats. In particular, these implement the varint encoding for 50 // // string is composed of a varint giving the length followed by the raw 92 // For those who are interested, varint encoding is defined as follows: 105 // In theory, varint could be used to encode integers of any length. 136 // Class which reads and decodes binary data which is composed of varint- 210 // Read an unsigned integer with Varint encoding, truncating to 32 bits. 214 // Read an unsigned integer with Varint encoding. 228 // the varint. For best performance, use a compile-time constant as the 235 // responsible for ensuring that the buffer is large enough to read a varint 504 // then optimize for the case when the varint fits within the current buffe [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
headerparser_test.cc | 182 EXPECT_FALSE(parser->ParseInt32("incomplete Varint", &incomplete_int32)); 196 EXPECT_FALSE(parser->ParseInt32("invalid Varint", &invalid_int32));
|
encodetable.h | 163 // by one or two Varint values representing the size parameters 174 // A series of Varint addresses used for COPY instructions. 175 // For the SAME mode, a byte value is stored instead of a Varint.
|
/external/chromium_org/sdch/open-vcdiff/src/ |
headerparser_test.cc | 182 EXPECT_FALSE(parser->ParseInt32("incomplete Varint", &incomplete_int32)); 196 EXPECT_FALSE(parser->ParseInt32("invalid Varint", &invalid_int32));
|
encodetable.h | 164 // by one or two Varint values representing the size parameters 175 // A series of Varint addresses used for COPY instructions. 176 // For the SAME mode, a byte value is stored instead of a Varint.
|
/external/open-vcdiff/src/ |
headerparser_test.cc | 182 EXPECT_FALSE(parser->ParseInt32("incomplete Varint", &incomplete_int32)); 196 EXPECT_FALSE(parser->ParseInt32("invalid Varint", &invalid_int32));
|
encodetable.h | 164 // by one or two Varint values representing the size parameters 175 // A series of Varint addresses used for COPY instructions. 176 // For the SAME mode, a byte value is stored instead of a Varint.
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3.c | 36 ** varint. We encode variable-length integers in little-endian order 73 ** varint docid; 75 ** varint position; (2 more than the delta from previous position) 78 ** varint POS_COLUMN; (marks start of position list for new column) 79 ** varint column; (index of new column) 81 ** varint position; (2 more than the delta from previous position) 84 ** varint POS_END; (marks end of positions for this document. 114 ** array of varint-encoded docids. 123 ** varint iHeight; (height from leaf level, always 0) 124 ** varint nTerm; (length of first term [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
wire_format_lite.h | 78 // field). Each tag is encoded as a varint. The lower bits of the tag 227 // number and varint-encode it, it will always take 10 bytes, defeating 228 // the purpose of varint. So, for the "sint32" and "sint64" field types, 558 // saves it as an unknown varint. 621 // effectively used with varint encoding. 623 // varint operates on unsigned integers, encoding smaller numbers into 629 // encoded values, making them appropriate for encoding using varint.
|
wire_format_unittest.cc | 745 // The byte is a valid varint, but not a valid tag (zero). 748 // The byte is a malformed varint. 754 // The byte is a valid varint but not a valid tag (bad wire type). 767 // The byte is a valid varint, but not a valid tag (zero). 770 // The byte is a malformed varint. 776 // The byte is a valid varint but not a valid tag (bad wire type). 791 // The byte is a valid varint, but not a valid tag (zero). 794 // The byte is a malformed varint. 800 // The byte is a valid varint but not a valid tag (bad wire type). [all...] |
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | 251 int varint = 0; local 277 varint = params.getInt(TICameraParameters::KEY_VNF); 280 if ( ( varint == 0 ) || ( varint == 1 ) ) { 282 mParameters.set(TICameraParameters::KEY_VNF, varint); 790 varint = params.getInt(CameraParameters::KEY_ROTATION); 791 if( varint >=0 ) 793 CAMHAL_LOGDB("Rotation set %d", varint); 794 mParameters.set(CameraParameters::KEY_ROTATION, varint); 797 varint = params.getInt(CameraParameters::KEY_JPEG_QUALITY) [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 369 * Read a raw Varint from the stream. If larger than 32 bits, discard the 407 * Reads a varint from the input one byte at a time, so that it does not 408 * read any bytes after the end of the varint. If you simply wrapped the 410 * then you would probably end up reading past the end of the varint since 457 /** Read a raw Varint from the stream. */ 506 * into values that can be efficiently encoded with varint. (Otherwise, 507 * negative values must be sign-extended to 64 bits to be varint encoded, 520 * into values that can be efficiently encoded with varint. (Otherwise, 521 * negative values must be sign-extended to 64 bits to be varint encoded,
|
CodedOutputStream.java | [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 314 * Read a raw Varint from the stream. If larger than 32 bits, discard the 352 * Reads a varint from the input one byte at a time, so that it does not 353 * read any bytes after the end of the varint. If you simply wrapped the 355 * then you would probably end up reading past the end of the varint since 402 /** Read a raw Varint from the stream. */ 451 * into values that can be efficiently encoded with varint. (Otherwise, 452 * negative values must be sign-extended to 64 bits to be varint encoded, 465 * into values that can be efficiently encoded with varint. (Otherwise, 466 * negative values must be sign-extended to 64 bits to be varint encoded,
|
CodedOutputStream.java | 921 * Encode and write a varint. {@code value} is treated as 937 * Compute the number of bytes that would be needed to encode a varint. [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
fulltext.c | 85 * A document list holds a sorted list of varint-encoded document IDs. 90 * varint docid; 92 * varint position; (delta from previous position plus 1, or 0 for end) 93 * varint startOffset; (delta from previous startOffset) 94 * varint endOffset; (delta from startOffset) 175 /* Append a varint to a DocList's data. */ 913 ** docid varint-encoded 914 ** token count varint-encoded 916 ** position varint-encoded as delta from previous position 917 ** start offset varint-encoded as delta from previous start offse [all...] |
/external/chromium_org/courgette/ |
streams.h | 77 // Reads a varint formatted unsigned integer from stream. Returns 'false' if 81 // Reads a varint formatted signed integer from stream. Returns 'false' if
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
CodedOutputByteBufferNano.java | 802 * Encode and write a varint. {@code value} is treated as 818 * Compute the number of bytes that would be needed to encode a varint. 830 /** Encode and write a varint. */ 843 /** Compute the number of bytes that would be needed to encode a varint. */ 883 * into values that can be efficiently encoded with varint. (Otherwise, 884 * negative values must be sign-extended to 64 bits to be varint encoded, 898 * into values that can be efficiently encoded with varint. (Otherwise, 899 * negative values must be sign-extended to 64 bits to be varint encoded,
|