Home
last modified time | relevance | path

Searched refs:EncodeZigZag (Results 1 – 6 of 6) sorted by relevance

/external/golang-protobuf/proto/
Dsize_gen.go23 return protowire.SizeVarint(protowire.EncodeZigZag(int64(int32(v.Int()))))
29 return protowire.SizeVarint(protowire.EncodeZigZag(v.Int()))
Dencode_gen.go49 b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(int32(v.Int()))))
55 b = protowire.AppendVarint(b, protowire.EncodeZigZag(v.Int()))
/external/golang-protobuf/internal/impl/
Dcodec_gen.go996 return f.tagsize + protowire.SizeVarint(protowire.EncodeZigZag(int64(v)))
1003 b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(v)))
1045 return f.tagsize + protowire.SizeVarint(protowire.EncodeZigZag(int64(v)))
1056 b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(v)))
1071 return f.tagsize + protowire.SizeVarint(protowire.EncodeZigZag(int64(v)))
1079 b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(v)))
1122 size += f.tagsize + protowire.SizeVarint(protowire.EncodeZigZag(int64(v)))
1132 b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(v)))
1205 n += protowire.SizeVarint(protowire.EncodeZigZag(int64(v)))
1219 n += protowire.SizeVarint(protowire.EncodeZigZag(int64(v)))
[all …]
/external/golang-protobuf/encoding/protowire/
Dwire.go526 func EncodeZigZag(x int64) uint64 { func
Dwire_test.go673 if enc := EncodeZigZag(tt.dec); enc != tt.enc {
/external/golang-protobuf/testing/protopack/
Dpack.go149 n += protowire.SizeVarint(protowire.EncodeZigZag(int64(v)))
211 out = protowire.AppendVarint(out, protowire.EncodeZigZag(int64(v)))