Home
last modified time | relevance | path

Searched refs:EncodeVarint (Results 1 – 8 of 8) sorted by relevance

/external/golang-protobuf/proto/
Dencode.go72 func EncodeVarint(x uint64) []byte { func
88 func (p *Buffer) EncodeVarint(x uint64) error { func
155 return p.EncodeVarint(uint64((x << 1) ^ uint64((int64(x) >> 63))))
163 return p.EncodeVarint(uint64((uint32(x) << 1) ^ uint32((int32(x) >> 31))))
170 p.EncodeVarint(uint64(len(b)))
178 p.EncodeVarint(uint64(len(s)))
192 p.EncodeVarint(uint64(siz))
Dmessage_set.go165 b := EncodeVarint(uint64(id)<<3 | WireBytes)
175 b = append(b, EncodeVarint(uint64(len(msg)))...)
Dextensions_test.go125 if err := expected.EncodeVarint(uint64((extdesc1.Field << 3) | proto.WireVarint)); err != nil {
128 if err := expected.EncodeVarint(1 /* bool true */); err != nil {
139 if err := expected.EncodeVarint(uint64((extdesc2.Field << 3) | proto.WireBytes)); err != nil {
153 if err := expected.EncodeVarint(uint64((extdesc3.Field << 3) | proto.WireBytes)); err != nil {
Dtext_test.go118 b = append(proto.EncodeVarint(201<<3|proto.WireBytes), b...)
122 b = append(proto.EncodeVarint(202<<3|proto.WireVarint), 19)
Dall_test.go215 if o.EncodeVarint(i) != nil {
1336 return EncodeVarint(uint64(nni)), nil
/external/chromium-trace/catapult/common/py_trace_event/third_party/protobuf/
Dencoder.py69 def EncodeVarint(write, value): function
78 return EncodeVarint
/external/protobuf/python/google/protobuf/internal/
Dencoder.py375 def EncodeVarint(write, value, unused_deterministic=None): function
384 return EncodeVarint
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_api.cc820 std::string EncodeVarint(uint64_t val) { in EncodeVarint() function
831 return EncodeVarint((field_number << 3) | wire_type); in EncodeTag()
836 EncodeVarint(str.size()) + str; in EncodeStringField()