HomeSort by relevance Sort by last modified time
    Searched refs:Varint (Results 1 - 3 of 3) sorted by null

  /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...]
  /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/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...]

Completed in 260 milliseconds