Home
last modified time | relevance | path

Searched refs:AppendVarint (Results 1 – 17 of 17) sorted by relevance

/external/golang-protobuf/internal/impl/
Dcodec_gen.go26 b = protowire.AppendVarint(b, f.wiretag)
27 b = protowire.AppendVarint(b, protowire.EncodeBool(v))
79 b = protowire.AppendVarint(b, f.wiretag)
80 b = protowire.AppendVarint(b, protowire.EncodeBool(v))
102 b = protowire.AppendVarint(b, f.wiretag)
103 b = protowire.AppendVarint(b, protowire.EncodeBool(v))
155 b = protowire.AppendVarint(b, f.wiretag)
156 b = protowire.AppendVarint(b, protowire.EncodeBool(v))
240 b = protowire.AppendVarint(b, f.wiretag)
245 b = protowire.AppendVarint(b, uint64(n))
[all …]
Dcodec_reflect.go23 b = protowire.AppendVarint(b, f.wiretag)
24 b = protowire.AppendVarint(b, uint64(v))
123 b = protowire.AppendVarint(b, f.wiretag)
124 b = protowire.AppendVarint(b, uint64(s.Index(i).Int()))
193 b = protowire.AppendVarint(b, f.wiretag)
198 b = protowire.AppendVarint(b, uint64(n))
200 b = protowire.AppendVarint(b, uint64(s.Index(i).Int()))
Dcodec_field.go236 b = protowire.AppendVarint(b, f.wiretag)
237 b = protowire.AppendVarint(b, uint64(f.mi.sizePointer(p.Elem(), opts)))
270 b = protowire.AppendVarint(b, wiretag)
271 b = protowire.AppendVarint(b, uint64(proto.Size(m)))
392 b = protowire.AppendVarint(b, f.wiretag) // start group
394 b = protowire.AppendVarint(b, f.wiretag+1) // end group
413 b = protowire.AppendVarint(b, wiretag) // start group
415 b = protowire.AppendVarint(b, wiretag+1) // end group
482 b = protowire.AppendVarint(b, f.wiretag)
484 b = protowire.AppendVarint(b, uint64(siz))
[all …]
Dcodec_map.go242 b = protowire.AppendVarint(b, uint64(size))
255 b = protowire.AppendVarint(b, uint64(size))
260 b = protowire.AppendVarint(b, mapi.valWiretag)
261 b = protowire.AppendVarint(b, uint64(valSize))
276 b = protowire.AppendVarint(b, f.wiretag)
305 b = protowire.AppendVarint(b, f.wiretag)
/external/golang-protobuf/proto/
Dencode_gen.go43 b = protowire.AppendVarint(b, protowire.EncodeBool(v.Bool()))
45 b = protowire.AppendVarint(b, uint64(v.Enum()))
47 b = protowire.AppendVarint(b, uint64(int32(v.Int())))
49 b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(int32(v.Int()))))
51 b = protowire.AppendVarint(b, uint64(uint32(v.Uint())))
53 b = protowire.AppendVarint(b, uint64(v.Int()))
55 b = protowire.AppendVarint(b, protowire.EncodeZigZag(v.Int()))
57 b = protowire.AppendVarint(b, v.Uint())
92 b = protowire.AppendVarint(b, protowire.EncodeTag(fd.Number(), protowire.EndGroupType))
Dmessageset.go50 b = protowire.AppendVarint(b, uint64(o.Size(value.Message().Interface())))
Dencode.go320 protowire.AppendVarint(b[:pos], uint64(mlen))
/external/golang-protobuf/internal/cmd/generate-types/
Dimpl.go103 b = protowire.AppendVarint(b, f.wiretag)
133 b = protowire.AppendVarint(b, f.wiretag)
183 b = protowire.AppendVarint(b, f.wiretag)
220 b = protowire.AppendVarint(b, f.wiretag)
269 b = protowire.AppendVarint(b, f.wiretag)
305 b = protowire.AppendVarint(b, f.wiretag)
359 b = protowire.AppendVarint(b, f.wiretag)
412 b = protowire.AppendVarint(b, f.wiretag)
471 b = protowire.AppendVarint(b, f.wiretag)
480 b = protowire.AppendVarint(b, uint64(n))
[all …]
Dproto.go399 b = protowire.AppendVarint(b, protowire.EncodeTag(fd.Number(), protowire.EndGroupType))
/external/golang-protobuf/encoding/protowire/
Dwire.go163 return AppendVarint(b, EncodeTag(num, typ))
185 func AppendVarint(b []byte, v uint64) []byte { func
431 return append(AppendVarint(b, uint64(len(v))), v...)
455 return append(AppendVarint(b, uint64(len(v))), v...)
468 return AppendVarint(append(b, v...), EncodeTag(num, EndGroupType))
Dwire_test.go546 b = AppendVarint(b, op.inVal)
/external/golang-protobuf/internal/encoding/messageset/
Dmessageset.go126 message = protowire.AppendVarint(message, 0)
162 message = protowire.AppendVarint(message, uint64(len(m0)+len(m)))
187 b = protowire.AppendVarint(b, uint64(num))
/external/golang-protobuf/encoding/protodelim/
Dprotodelim.go29 sizeBytes := protowire.AppendVarint(nil, uint64(len(msgBytes)))
Dprotodelim_test.go89 sb := protowire.AppendVarint(nil, 42)
/external/golang-protobuf/testing/protopack/
Dpack.go207 out = protowire.AppendVarint(out, protowire.EncodeBool(bool(v)))
209 out = protowire.AppendVarint(out, uint64(v))
211 out = protowire.AppendVarint(out, protowire.EncodeZigZag(int64(v)))
213 out = protowire.AppendVarint(out, uint64(v))
/external/golang-protobuf/internal/testprotos/nullable/
Dnullable.go239 b = protowire.AppendVarint(b, uint64(x.OptionalInt32))
/external/golang-protobuf/testing/prototest/
Dmessage.go599 b = protowire.AppendVarint(b, 1001)