Lines Matching refs:wire_format
70 from google.protobuf.internal import wire_format
106 return _VarintSize(wire_format.PackTag(field_number, 0))
213 _SignedVarintSize, wire_format.ZigZagEncode)
385 return _VarintBytes(wire_format.PackTag(field_number, wire_type))
405 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
439 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
480 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
511 wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize)
514 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize)
517 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize,
518 wire_format.ZigZagEncode)
524 Fixed32Encoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED32, '<I')
525 Fixed64Encoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED64, '<Q')
526 SFixed32Encoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED32, '<i')
527 SFixed64Encoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED64, '<q')
528 FloatEncoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED32, '<f')
529 DoubleEncoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED64, '<d')
538 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
550 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
560 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
572 tag = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
596 tag = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
618 start_tag = TagBytes(field_number, wire_format.WIRETYPE_START_GROUP)
619 end_tag = TagBytes(field_number, wire_format.WIRETYPE_END_GROUP)
639 tag = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
673 TagBytes(1, wire_format.WIRETYPE_START_GROUP),
674 TagBytes(2, wire_format.WIRETYPE_VARINT),
676 TagBytes(3, wire_format.WIRETYPE_LENGTH_DELIMITED)])
677 end_bytes = TagBytes(1, wire_format.WIRETYPE_END_GROUP)