Home
last modified time | relevance | path

Searched refs:varint (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/protoutil/src/
Dprotobuf.cpp23 read_wire_type(uint32_t varint) in read_wire_type() argument
25 return (uint8_t) (varint & WIRE_TYPE_MASK); in read_wire_type()
29 read_field_id(uint32_t varint) in read_field_id() argument
31 return varint >> FIELD_ID_SHIFT; in read_field_id()
35 get_varint_size(uint64_t varint) in get_varint_size() argument
38 while ((varint & ~0x7F)) { in get_varint_size()
40 varint >>= 7; in get_varint_size()
DProtoOutputStream.cpp527 ProtoOutputStream::writeRawVarint(uint64_t varint) in writeRawVarint() argument
529 mBuffer->writeRawVarint64(varint); in writeRawVarint()
/frameworks/base/libs/protoutil/include/android/util/
Dprotobuf.h36 uint8_t read_wire_type(uint32_t varint);
41 uint32_t read_field_id(uint32_t varint);
46 size_t get_varint_size(uint64_t varint);
DProtoOutputStream.h138 void writeRawVarint(uint64_t varint);
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp42 uint64_t varint = 0; in write_field_or_skip() local
46 varint = in->readRawVarint(); in write_field_or_skip()
49 out->writeRawVarint(varint); in write_field_or_skip()