Searched refs:wire_format (Results 1 - 25 of 71) sorted by relevance

123

/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py33 """Test for google.protobuf.internal.wire_format."""
39 from google.protobuf.internal import wire_format namespace
48 wire_format.PackTag(field_number, tag_type))
49 PackTag = wire_format.PackTag
59 field_number, wire_type = wire_format.UnpackTag(
60 wire_format.PackTag(expected_field_number, expected_wire_type))
64 self.assertRaises(TypeError, wire_format.UnpackTag, None)
65 self.assertRaises(TypeError, wire_format.UnpackTag, 'abc')
66 self.assertRaises(TypeError, wire_format.UnpackTag, 0.0)
67 self.assertRaises(TypeError, wire_format
[all...]
H A Dtype_checkers.py50 from google.protobuf.internal import wire_format namespace
174 _FieldDescriptor.TYPE_DOUBLE: wire_format.DoubleByteSize,
175 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize,
176 _FieldDescriptor.TYPE_INT64: wire_format.Int64ByteSize,
177 _FieldDescriptor.TYPE_UINT64: wire_format.UInt64ByteSize,
178 _FieldDescriptor.TYPE_INT32: wire_format.Int32ByteSize,
179 _FieldDescriptor.TYPE_FIXED64: wire_format.Fixed64ByteSize,
180 _FieldDescriptor.TYPE_FIXED32: wire_format.Fixed32ByteSize,
181 _FieldDescriptor.TYPE_BOOL: wire_format.BoolByteSize,
182 _FieldDescriptor.TYPE_STRING: wire_format
[all...]
H A Dencoder.py70 from google.protobuf.internal import wire_format namespace
112 return _VarintSize(wire_format.PackTag(field_number, 0))
219 _SignedVarintSize, wire_format.ZigZagEncode)
391 return _VarintBytes(wire_format.PackTag(field_number, wire_type))
411 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
445 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
486 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
552 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
594 wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize)
597 wire_format
[all...]
H A Ddecoder.py85 from google.protobuf.internal import wire_format namespace
312 return _SimpleDecoder(wire_format.WIRETYPE_FIXED32, InnerDecode)
342 return _SimpleDecoder(wire_format.WIRETYPE_FIXED64, InnerDecode)
349 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint32)
352 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint)
354 UInt32Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint32)
355 UInt64Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint)
358 wire_format.WIRETYPE_VARINT, _DecodeVarint32, wire_format.ZigZagDecode)
360 wire_format
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py33 """Test for google.protobuf.internal.wire_format."""
39 from google.protobuf.internal import wire_format namespace
48 wire_format.PackTag(field_number, tag_type))
49 PackTag = wire_format.PackTag
59 field_number, wire_type = wire_format.UnpackTag(
60 wire_format.PackTag(expected_field_number, expected_wire_type))
64 self.assertRaises(TypeError, wire_format.UnpackTag, None)
65 self.assertRaises(TypeError, wire_format.UnpackTag, 'abc')
66 self.assertRaises(TypeError, wire_format.UnpackTag, 0.0)
67 self.assertRaises(TypeError, wire_format
[all...]
H A Dtype_checkers.py50 from google.protobuf.internal import wire_format namespace
174 _FieldDescriptor.TYPE_DOUBLE: wire_format.DoubleByteSize,
175 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize,
176 _FieldDescriptor.TYPE_INT64: wire_format.Int64ByteSize,
177 _FieldDescriptor.TYPE_UINT64: wire_format.UInt64ByteSize,
178 _FieldDescriptor.TYPE_INT32: wire_format.Int32ByteSize,
179 _FieldDescriptor.TYPE_FIXED64: wire_format.Fixed64ByteSize,
180 _FieldDescriptor.TYPE_FIXED32: wire_format.Fixed32ByteSize,
181 _FieldDescriptor.TYPE_BOOL: wire_format.BoolByteSize,
182 _FieldDescriptor.TYPE_STRING: wire_format
[all...]
H A Dencoder.py70 from google.protobuf.internal import wire_format namespace
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
[all...]
H A Ddecoder.py85 from google.protobuf.internal import wire_format namespace
276 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint32)
279 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint)
281 UInt32Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint32)
282 UInt64Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint)
285 wire_format.WIRETYPE_VARINT, _DecodeVarint32, wire_format.ZigZagDecode)
287 wire_format.WIRETYPE_VARINT, _DecodeVarint, wire_format.ZigZagDecode)
293 Fixed32Decoder = _StructPackDecoder(wire_format
[all...]
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_extension.cc37 #include <google/protobuf/wire_format.h>
H A Djavanano_message_field.cc41 #include <google/protobuf/wire_format.h>
H A Djavanano_enum_field.cc42 #include <google/protobuf/wire_format.h>
H A Djavanano_message.cc44 #include <google/protobuf/wire_format.h>
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_field.cc42 #include <google/protobuf/wire_format.h>
H A Dcpp_primitive_field.cc38 #include <google/protobuf/wire_format.h>
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_field.cc42 #include <google/protobuf/wire_format.h>
H A Dcpp_primitive_field.cc38 #include <google/protobuf/wire_format.h>
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_enum_field.cc42 #include <google/protobuf/wire_format.h>
H A Djava_message_field.cc41 #include <google/protobuf/wire_format.h>
H A Djava_primitive_field.cc42 #include <google/protobuf/wire_format.h>
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_enum_field.cc42 #include <google/protobuf/wire_format.h>
H A Djavamicro_message_field.cc41 #include <google/protobuf/wire_format.h>
/external/protobuf/src/google/protobuf/
H A Dmessage.cc47 #include <google/protobuf/wire_format.h>
H A Dunknown_field_set.cc41 #include <google/protobuf/wire_format.h>
/external/chromium_org/third_party/protobuf/
H A Dprotobuf_full_do_not_use.host.darwin-arm.mk43 third_party/protobuf/src/google/protobuf/wire_format.cc \
H A Dprotobuf_full_do_not_use.host.darwin-mips.mk43 third_party/protobuf/src/google/protobuf/wire_format.cc \

Completed in 269 milliseconds

123