Searched refs:PackTag (Results 1 - 5 of 5) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py48 wire_format.PackTag(field_number, tag_type))
49 PackTag = wire_format.PackTag
51 self.assertRaises(message.EncodeError, PackTag, field_number, 6)
53 self.assertRaises(message.EncodeError, PackTag, field_number, -1)
60 wire_format.PackTag(expected_field_number, expected_wire_type))
H A Dwire_format.py80 def PackTag(field_number, wire_type): function
94 """The inverse of PackTag(). Given an unsigned 32-bit number,
227 return _VarUInt64ByteSizeNoTag(PackTag(field_number, 0))
H A Dencoder.py118 return _VarintSize(wire_format.PackTag(field_number, 0))
400 return _VarintBytes(wire_format.PackTag(field_number, wire_type))
/external/nanopb-c/generator/google/protobuf/internal/
H A Dwire_format.py80 def PackTag(field_number, wire_type): function
94 """The inverse of PackTag(). Given an unsigned 32-bit number,
227 return _VarUInt64ByteSizeNoTag(PackTag(field_number, 0))
H A Dencoder.py112 return _VarintSize(wire_format.PackTag(field_number, 0))
391 return _VarintBytes(wire_format.PackTag(field_number, wire_type))

Completed in 39 milliseconds