Home
last modified time | relevance | path

Searched refs:MaxValidNumber (Results 1 – 11 of 11) sorted by relevance

/external/golang-protobuf/proto/
Dmessageset_test.go195 protopack.Tag{2, protopack.VarintType}, protopack.Varint(protowire.MaxValidNumber + 1),
207 protopack.Tag{protowire.MaxValidNumber + 2, protopack.BytesType}, protopack.LengthPrefix{},
215 protopack.Tag{2, protopack.VarintType}, protopack.Varint(protowire.MaxValidNumber + 2),
Ddecode.go139 if num > protowire.MaxValidNumber {
236 if num > protowire.MaxValidNumber {
Dtestmessages_test.go1663 protopack.Tag{protopack.MaxValidNumber, protopack.VarintType}, protopack.Varint(1006),
1664 protopack.Tag{protopack.MaxValidNumber + 1, protopack.VarintType}, protopack.Varint(1007),
1674 protopack.Tag{protopack.MaxValidNumber + 1, protopack.VarintType}, protopack.Varint(1008),
1694 protopack.Tag{protopack.MaxValidNumber + 1, protopack.VarintType}, protopack.Varint(0),
1723 protopack.Tag{protowire.MaxValidNumber + 1, protopack.VarintType}, protopack.Varint(0),
/external/golang-protobuf/encoding/protowire/
Dwire.go27 MaxValidNumber Number = 1<<29 - 1 const
33 return MinValidNumber <= n && n <= MaxValidNumber
Dwire_test.go135 appendOps: ops{appendTag{inNum: MaxValidNumber, inType: VarintType}},
137 consumeOps: ops{consumeTag{wantNum: MaxValidNumber, wantType: VarintType, wantCnt: 5}},
/external/golang-protobuf/internal/impl/
Dcodec_map.go131 if num > protowire.MaxValidNumber {
188 if num > protowire.MaxValidNumber {
Ddecode.go119 if n := tag >> 3; n < uint64(protowire.MinValidNumber) || n > uint64(protowire.MaxValidNumber) {
Dvalidate.go269 if n := tag >> 3; n < uint64(protowire.MinValidNumber) || n > uint64(protowire.MaxValidNumber) {
/external/golang-protobuf/internal/cmd/pbdump/
Dpbdump.go177 if num < protowire.MinValidNumber || protowire.MaxValidNumber < num {
/external/golang-protobuf/testing/protopack/
Dpack.go36 MaxValidNumber Number = protowire.MaxValidNumber const
/external/golang-protobuf/internal/filedesc/
Ddesc_list.go189 return protowire.MinValidNumber <= n && (n <= protowire.MaxValidNumber || isMessageSet)