/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
varblock.py | 25 LENGTH := varint-encoded length of the subsequent data. Varint comes from 28 to 1 indicates the next byte is also part of the varint. The last byte will 31 This file format is called the VARBLOCK format, in line with the varint format 43 '''Reads a varint from the file. 51 @returns (varint, length), the read varint and the number of read bytes. 54 varint = 0 62 raise EOFError('EOF while reading varint, value is %i so far' % 63 varint) [all...] |
bigfile.py | 31 LENGTH := varint-encoded length of the subsequent data. Varint comes from 34 to 1 indicates the next byte is also part of the varint. The last byte will 37 This file format is called the VARBLOCK format, in line with the varint format
|
/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...] |
/prebuilts/go/darwin-x86/src/debug/dwarf/ |
buf.go | 118 // Read a varint, which is 7 bits per byte, little endian. 120 func (b *buf) varint() (c uint64, bits uint) { 134 // Unsigned int is just a varint. 136 x, _ := b.varint() 140 // Signed int is a sign-extended varint. 142 ux, bits := b.varint()
|
/prebuilts/go/darwin-x86/src/encoding/binary/ |
varint.go | 7 // This file implements "varint" encoding of 64-bit integers. 25 // format incompatible with a varint encoding for larger numbers (say 128-bit). 32 // MaxVarintLenN is the maximum length of a varint-encoded N-bit integer. 86 // Varint decodes an int64 from buf and returns that value and the 94 func Varint(buf []byte) (int64, int) { 103 var overflow = errors.New("binary: varint overflows a 64-bit integer")
|
varint_test.go | 30 y, m := Varint(buf[0:n]) 32 t.Errorf("Varint(%d): got %d", x, y) 35 t.Errorf("Varint(%d): got n = %d; want %d", x, m, n)
|
/prebuilts/go/linux-x86/src/debug/dwarf/ |
buf.go | 118 // Read a varint, which is 7 bits per byte, little endian. 120 func (b *buf) varint() (c uint64, bits uint) { 134 // Unsigned int is just a varint. 136 x, _ := b.varint() 140 // Signed int is a sign-extended varint. 142 ux, bits := b.varint()
|
/prebuilts/go/linux-x86/src/encoding/binary/ |
varint.go | 7 // This file implements "varint" encoding of 64-bit integers. 25 // format incompatible with a varint encoding for larger numbers (say 128-bit). 32 // MaxVarintLenN is the maximum length of a varint-encoded N-bit integer. 86 // Varint decodes an int64 from buf and returns that value and the 94 func Varint(buf []byte) (int64, int) { 103 var overflow = errors.New("binary: varint overflows a 64-bit integer")
|
varint_test.go | 30 y, m := Varint(buf[0:n]) 32 t.Errorf("Varint(%d): got %d", x, y) 35 t.Errorf("Varint(%d): got n = %d; want %d", x, m, n)
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/internal/gcprog/ |
gcprog.go | 22 // 1nnnnnnn c: repeat the previous n bits c times; c is a varint 134 w.varint(n) 136 w.varint(c) 231 // readvarint reads a varint from p, returning the value and the remainder of p. 257 // varint emits the varint encoding of x. 258 func (w *Writer) varint(x int64) { 260 panic("gcprog: negative varint")
|
/prebuilts/go/darwin-x86/src/cmd/internal/gcprog/ |
gcprog.go | 19 // 1nnnnnnn c: repeat the previous n bits c times; c is a varint 131 w.varint(n) 133 w.varint(c) 228 // readvarint reads a varint from p, returning the value and the remainder of p. 254 // varint emits the varint encoding of x. 255 func (w *Writer) varint(x int64) { 257 panic("gcprog: negative varint")
|
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/internal/gcprog/ |
gcprog.go | 22 // 1nnnnnnn c: repeat the previous n bits c times; c is a varint 134 w.varint(n) 136 w.varint(c) 231 // readvarint reads a varint from p, returning the value and the remainder of p. 257 // varint emits the varint encoding of x. 258 func (w *Writer) varint(x int64) { 260 panic("gcprog: negative varint")
|
/prebuilts/go/linux-x86/src/cmd/internal/gcprog/ |
gcprog.go | 19 // 1nnnnnnn c: repeat the previous n bits c times; c is a varint 131 w.varint(n) 133 w.varint(c) 228 // readvarint reads a varint from p, returning the value and the remainder of p. 254 // varint emits the varint encoding of x. 255 func (w *Writer) varint(x int64) { 257 panic("gcprog: negative varint")
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 422 * Convenience method for merging a new field containing a single varint 695 /** Get the list of varint values for this field. */ 696 public List<Long> getVarintList() { return varint; } 737 varint, 750 for (final long value : varint) { 773 for (final long value : varint) { 817 private List<Long> varint; field in class:UnknownFieldSet.Field 847 if (result.varint == null) { 848 result.varint = Collections.emptyList(); 850 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.");
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXCapture.cpp | 41 int varint = 0; local 247 varint = params.getInt(TICameraParameters::KEY_SENSOR_ORIENTATION); 248 if ( varint != -1 ) 250 mSensorOrientation = varint; 267 varint = params.getInt(TICameraParameters::KEY_BURST); 268 if ( varint >= 1 ) 270 if (varint != (int) mBurstFrames) { 273 mBurstFrames = varint; 284 varint = params.getInt(android::CameraParameters::KEY_JPEG_QUALITY); 285 if ( varint >= MIN_JPEG_QUALITY && varint <= MAX_JPEG_QUALITY ) [all...] |
OMX3A.cpp | 73 int varint = 0; local 169 varint = params.getInt(TICameraParameters::KEY_CONTRAST); 170 if ( 0 <= varint ) 173 ( (mParameters3A.Contrast + CONTRAST_OFFSET) != varint ) ) 175 mParameters3A.Contrast = varint - CONTRAST_OFFSET; 181 varint = params.getInt(TICameraParameters::KEY_SHARPNESS); 182 if ( 0 <= varint ) 185 ((mParameters3A.Sharpness + SHARPNESS_OFFSET) != varint )) 187 mParameters3A.Sharpness = varint - SHARPNESS_OFFSET; 193 varint = params.getInt(TICameraParameters::KEY_SATURATION) [all...] |
/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/protobuf/src/google/protobuf/ |
unknown_field_set_unittest.cc | 137 TEST_F(UnknownFieldSetTest, Varint) { 142 EXPECT_EQ(all_fields_.optional_int32(), field->varint()); 183 EXPECT_EQ(all_fields_.optionalgroup().a(), nested_field.varint()); 335 EXPECT_EQ(654321, destination.unknown_fields().field(0).varint()); 443 EXPECT_EQ(5, unknown_fields.field(0).varint()); 447 EXPECT_EQ(4, unknown_fields.field(1).varint()); 451 EXPECT_EQ(6, unknown_fields.field(2).varint()); 473 EXPECT_EQ(5, unknown_fields.field(0).varint()); 477 EXPECT_EQ(4, unknown_fields.field(1).varint()); 481 EXPECT_EQ(6, unknown_fields.field(2).varint()); [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. 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. 255 // the varint. For best performance, use a compile-time constant as the 262 // responsible for ensuring that the buffer is large enough to read a varint 546 // then optimize for the case when the varint fits within the current buffe [all...] |
/external/nanopb-c/generator/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/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
|
/prebuilts/go/darwin-x86/src/cmd/pprof/internal/profile/ |
proto.go | 61 // append varint to b.data 153 return 0, nil, errors.New("bad varint") 221 // pull varint field# + type
|