Searched refs:MaxValidNumber (Results 1 – 11 of 11) sorted by relevance
/external/golang-protobuf/proto/ |
D | messageset_test.go | 195 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),
|
D | decode.go | 139 if num > protowire.MaxValidNumber { 236 if num > protowire.MaxValidNumber {
|
D | testmessages_test.go | 1663 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/ |
D | wire.go | 27 MaxValidNumber Number = 1<<29 - 1 const 33 return MinValidNumber <= n && n <= MaxValidNumber
|
D | wire_test.go | 135 appendOps: ops{appendTag{inNum: MaxValidNumber, inType: VarintType}}, 137 consumeOps: ops{consumeTag{wantNum: MaxValidNumber, wantType: VarintType, wantCnt: 5}},
|
/external/golang-protobuf/internal/impl/ |
D | codec_map.go | 131 if num > protowire.MaxValidNumber { 188 if num > protowire.MaxValidNumber {
|
D | decode.go | 119 if n := tag >> 3; n < uint64(protowire.MinValidNumber) || n > uint64(protowire.MaxValidNumber) {
|
D | validate.go | 269 if n := tag >> 3; n < uint64(protowire.MinValidNumber) || n > uint64(protowire.MaxValidNumber) {
|
/external/golang-protobuf/internal/cmd/pbdump/ |
D | pbdump.go | 177 if num < protowire.MinValidNumber || protowire.MaxValidNumber < num {
|
/external/golang-protobuf/testing/protopack/ |
D | pack.go | 36 MaxValidNumber Number = protowire.MaxValidNumber const
|
/external/golang-protobuf/internal/filedesc/ |
D | desc_list.go | 189 return protowire.MinValidNumber <= n && (n <= protowire.MaxValidNumber || isMessageSet)
|