HomeSort by relevance Sort by last modified time
    Searched full:varint (Results 1 - 25 of 130) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/sqlite/src/test/
varint.test 14 # $Id: varint.test,v 1.1 2004/05/18 15:57:42 drh Exp $
27 do_test varint-1.$cnt {
  /external/chromium/sdch/open-vcdiff/src/
varint_bigendian.h 29 // the ninth byte of the varint does not have a continuation bit, but instead
68 // Example: to parse a 32-bit integer value stored as a big-endian varint, use
82 // Returns the maximum number of bytes needed to store a varint
86 // Attempts to parse a big-endian varint from a prefix of the bytes
89 // If a parsed varint would exceed the maximum value of
91 // If parsing a varint at *ptr (without exceeding the capacity of
106 // Appends the varint representation of "value" to "*s".
110 // Appends the varint representation of "value" to output_string.
addrcache_test.cc 276 ManualEncodeByte(0xFE); // SAME mode uses a byte, not a Varint
303 ExpectDecodedSizeInBytes(sizeof(unsigned char)); // a byte, not a Varint
462 // A Varint should contain at most 9 bytes that have their continuation bit
464 // bit 7 set is not a valid Varint. Try to parse such a string as a Varint
480 // If only part of a Varint appears in the data to be decoded,
482 // which means that the Varint *may* be valid if there is more
498 // and verify that the Varint is now valid.
499 ManualEncodeByte(0x01); // End the Varint with an additional byte
decodetable.cc 94 // Parse the size as a Varint in the instruction stream.
105 break; // Successfully parsed Varint
  /external/chromium_org/sdch/open-vcdiff/src/
varint_bigendian.h 29 // the ninth byte of the varint does not have a continuation bit, but instead
68 // Example: to parse a 32-bit integer value stored as a big-endian varint, use
82 // Returns the maximum number of bytes needed to store a varint
86 // Attempts to parse a big-endian varint from a prefix of the bytes
89 // If a parsed varint would exceed the maximum value of
91 // If parsing a varint at *ptr (without exceeding the capacity of
106 // Appends the varint representation of "value" to "*s".
110 // Appends the varint representation of "value" to output_string.
addrcache_test.cc 276 ManualEncodeByte(0xFE); // SAME mode uses a byte, not a Varint
303 ExpectDecodedSizeInBytes(sizeof(unsigned char)); // a byte, not a Varint
462 // A Varint should contain at most 9 bytes that have their continuation bit
464 // bit 7 set is not a valid Varint. Try to parse such a string as a Varint
480 // If only part of a Varint appears in the data to be decoded,
482 // which means that the Varint *may* be valid if there is more
498 // and verify that the Varint is now valid.
499 ManualEncodeByte(0x01); // End the Varint with an additional byte
decodetable.cc 94 // Parse the size as a Varint in the instruction stream.
105 break; // Successfully parsed Varint
  /external/open-vcdiff/src/
varint_bigendian.h 29 // the ninth byte of the varint does not have a continuation bit, but instead
68 // Example: to parse a 32-bit integer value stored as a big-endian varint, use
82 // Returns the maximum number of bytes needed to store a varint
86 // Attempts to parse a big-endian varint from a prefix of the bytes
89 // If a parsed varint would exceed the maximum value of
91 // If parsing a varint at *ptr (without exceeding the capacity of
106 // Appends the varint representation of "value" to "*s".
110 // Appends the varint representation of "value" to output_string.
addrcache_test.cc 276 ManualEncodeByte(0xFE); // SAME mode uses a byte, not a Varint
303 ExpectDecodedSizeInBytes(sizeof(unsigned char)); // a byte, not a Varint
462 // A Varint should contain at most 9 bytes that have their continuation bit
464 // bit 7 set is not a valid Varint. Try to parse such a string as a Varint
480 // If only part of a Varint appears in the data to be decoded,
482 // which means that the Varint *may* be valid if there is more
498 // and verify that the Varint is now valid.
499 ManualEncodeByte(0x01); // End the Varint with an additional byte
decodetable.cc 94 // Parse the size as a Varint in the instruction stream.
105 break; // Successfully parsed Varint
  /external/chromium_org/courgette/
streams.cc 33 // This is a cut down Varint implementation, implementing only what we use for
36 class Varint {
38 // Maximum lengths of varint encoding of uint32
43 // varint value was not found before |limit|.
62 const uint8* Varint::Parse32WithLimit(const uint8* source,
116 inline uint8* Varint::Encode32(uint8* destination, uint32 value) {
138 const uint8* after = Varint::Parse32WithLimit(current_, end_, output_value);
147 // have shorter varint encoding.
189 uint8 buffer[Varint::kMax32];
190 uint8* end = Varint::Encode32(buffer, value)
    [all...]
  /hardware/ti/omap4xxx/camera/OMXCameraAdapter/
OMXCapture.cpp 43 int varint = 0; local
138 varint = params.getInt(CameraParameters::KEY_ROTATION);
139 if ( varint != -1 )
141 if ( ( unsigned int ) varint != mPictureRotation) {
144 mPictureRotation = varint;
158 varint = params.getInt(TICameraParameters::KEY_SENSOR_ORIENTATION);
159 if (( varint != -1 ) && (mCapMode == OMXCameraAdapter::VIDEO_MODE))
161 mSensorOrientation = varint;
176 varint = params.getInt(TICameraParameters::KEY_BURST);
177 if ( varint >= 1
    [all...]
OMX3A.cpp 78 int varint = 0; local
145 varint = params.getInt(TICameraParameters::KEY_CONTRAST);
146 if ( 0 <= varint )
149 ( (mParameters3A.Contrast + CONTRAST_OFFSET) != varint ) )
151 mParameters3A.Contrast = varint - CONTRAST_OFFSET;
157 varint = params.getInt(TICameraParameters::KEY_SHARPNESS);
158 if ( 0 <= varint )
161 ((mParameters3A.Sharpness + SHARPNESS_OFFSET) != varint ))
163 mParameters3A.Sharpness = varint - SHARPNESS_OFFSET;
169 varint = params.getInt(TICameraParameters::KEY_SATURATION)
    [all...]
  /external/chromium_org/courgette/third_party/
README.chromium 20 - changed the encoding of numbers to use the 'varint' encoding
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
UnknownFieldSet.java 405 * Convenience method for merging a new field containing a single varint
678 /** Get the list of varint values for this field. */
679 public List<Long> getVarintList() { return varint; }
720 varint,
733 for (final long value : varint) {
756 for (final long value : varint) {
800 private List<Long> varint; field in class:UnknownFieldSet.Field
830 if (result.varint == null) {
831 result.varint = Collections.emptyList();
833 result.varint = Collections.unmodifiableList(result.varint)
    [all...]
InvalidProtocolBufferException.java 37 * e.g. it contains a malformed varint or a negative byte length.
85 "CodedInputStream encountered a malformed varint.");
  /external/protobuf/java/src/main/java/com/google/protobuf/
UnknownFieldSet.java 405 * Convenience method for merging a new field containing a single varint
678 /** Get the list of varint values for this field. */
679 public List<Long> getVarintList() { return varint; }
720 varint,
733 for (final long value : varint) {
756 for (final long value : varint) {
800 private List<Long> varint; field in class:UnknownFieldSet.Field
830 if (result.varint == null) {
831 result.varint = Collections.emptyList();
833 result.varint = Collections.unmodifiableList(result.varint)
    [all...]
InvalidProtocolBufferException.java 37 * e.g. it contains a malformed varint or a negative byte length.
64 "CodedInputStream encountered a malformed varint.");
  /external/qemu/
varint.c 13 #include "varint.h"
27 // Encodes the 64-bit value "value" using the varint encoding. The varint
84 // Encodes the 35-bit signed value "value" using the varint encoding.
85 // The varint encoding uses a prefix followed by some data bits. The
  /external/protobuf/src/google/protobuf/
unknown_field_set_unittest.cc 132 TEST_F(UnknownFieldSetTest, Varint) {
137 EXPECT_EQ(all_fields_.optional_int32(), field->varint());
178 EXPECT_EQ(all_fields_.optionalgroup().a(), nested_field.varint());
321 EXPECT_EQ(654321, destination.unknown_fields().field(0).varint());
429 EXPECT_EQ(5, unknown_fields.field(0).varint());
433 EXPECT_EQ(4, unknown_fields.field(1).varint());
437 EXPECT_EQ(6, unknown_fields.field(2).varint());
459 EXPECT_EQ(5, unknown_fields.field(0).varint());
463 EXPECT_EQ(4, unknown_fields.field(1).varint());
467 EXPECT_EQ(6, unknown_fields.field(2).varint());
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/util/
coding.h 7 // * In addition we support variable length "varint" encoding
8 // * Strings are encoded prefixed by their length in varint format
  /external/protobuf/java/src/main/java/com/google/protobuf/micro/
InvalidProtocolBufferMicroException.java 37 * e.g. it contains a malformed varint or a negative byte length.
64 "CodedInputStream encountered a malformed varint.");
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
InvalidProtocolBufferNanoException.java 37 * e.g. it contains a malformed varint or a negative byte length.
64 "CodedInputStream encountered a malformed varint.");
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
unknown_field_set_unittest.cc 132 TEST_F(UnknownFieldSetTest, Varint) {
137 EXPECT_EQ(all_fields_.optional_int32(), field->varint());
178 EXPECT_EQ(all_fields_.optionalgroup().a(), nested_field.varint());
330 EXPECT_EQ(654321, destination.unknown_fields().field(0).varint());
438 EXPECT_EQ(5, unknown_fields.field(0).varint());
442 EXPECT_EQ(4, unknown_fields.field(1).varint());
446 EXPECT_EQ(6, unknown_fields.field(2).varint());
468 EXPECT_EQ(5, unknown_fields.field(0).varint());
472 EXPECT_EQ(4, unknown_fields.field(1).varint());
476 EXPECT_EQ(6, unknown_fields.field(2).varint());
    [all...]
  /external/chromium_org/third_party/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

Completed in 455 milliseconds

1 2 3 4 5 6