/external/protobuf/python/google/protobuf/internal/ |
wire_format_test.py | 33 """Test for google.protobuf.internal.wire_format.""" 43 from google.protobuf.internal import wire_format 52 wire_format.PackTag(field_number, tag_type)) 53 PackTag = wire_format.PackTag 63 field_number, wire_type = wire_format.UnpackTag( 64 wire_format.PackTag(expected_field_number, expected_wire_type)) 68 self.assertRaises(TypeError, wire_format.UnpackTag, None) 69 self.assertRaises(TypeError, wire_format.UnpackTag, 'abc') 70 self.assertRaises(TypeError, wire_format.UnpackTag, 0.0) 71 self.assertRaises(TypeError, wire_format.UnpackTag, object() [all...] |
type_checkers.py | 56 from google.protobuf.internal import wire_format 240 _FieldDescriptor.TYPE_DOUBLE: wire_format.DoubleByteSize, 241 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize, 242 _FieldDescriptor.TYPE_INT64: wire_format.Int64ByteSize, 243 _FieldDescriptor.TYPE_UINT64: wire_format.UInt64ByteSize, 244 _FieldDescriptor.TYPE_INT32: wire_format.Int32ByteSize, 245 _FieldDescriptor.TYPE_FIXED64: wire_format.Fixed64ByteSize, 246 _FieldDescriptor.TYPE_FIXED32: wire_format.Fixed32ByteSize, 247 _FieldDescriptor.TYPE_BOOL: wire_format.BoolByteSize, 248 _FieldDescriptor.TYPE_STRING: wire_format.StringByteSize [all...] |
encoder.py | 73 from google.protobuf.internal import wire_format 115 return _VarintSize(wire_format.PackTag(field_number, 0)) 222 _SignedVarintSize, wire_format.ZigZagEncode) 418 return _VarintBytes(wire_format.PackTag(field_number, wire_type)) 438 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED) 472 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED) 513 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED) 579 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED) 621 wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize) 624 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize [all...] |
decoder.py | 91 from google.protobuf.internal import wire_format 320 return _SimpleDecoder(wire_format.WIRETYPE_FIXED32, InnerDecode) 350 return _SimpleDecoder(wire_format.WIRETYPE_FIXED64, InnerDecode) 374 wire_format.WIRETYPE_VARINT) 386 tag_bytes = encoder.TagBytes(field_number, wire_format.WIRETYPE_VARINT) 422 wire_format.WIRETYPE_VARINT) 433 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint32) 436 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint) 438 UInt32Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint32) 439 UInt64Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint [all...] |
/external/nanopb-c/generator/google/protobuf/internal/ |
type_checkers.py | 50 from google.protobuf.internal import wire_format 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.StringByteSize [all...] |
decoder.py | 85 from google.protobuf.internal import wire_format 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.WIRETYPE_VARINT, _DecodeVarint, wire_format.ZigZagDecode [all...] |
encoder.py | 70 from google.protobuf.internal import wire_format 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.WIRETYPE_VARINT, _EncodeVarint, _VarintSize [all...] |
/external/autotest/scheduler/ |
rdb_hosts_unittest.py | 36 Get the wire_format fields of an RDBServerHostWrapper and use them to 40 going through the complete wire_format conversion, of the bare 41 wire_format conversion also converts labels and acls. 43 wire_format conversion, as we won't be able to construct the 61 formatted_server_host = server_host.wire_format() 65 bare_formatted_server_host = server_host.wire_format( 101 **server_host.wire_format()) 117 server_host_dict = rdb_hosts.RDBServerHostWrapper(db_host).wire_format() 138 self.db_helper.get_host(hostname=hostname)[0]).wire_format() 151 server_host_dict = rdb_hosts.RDBServerHostWrapper(db_host).wire_format() [all...] |
rdb_hosts.py | 83 def wire_format(self): member in class:RDBHost 157 def wire_format(self, unwrap_foreign_keys=True): member in class:RDBServerHostWrapper 166 host_info = super(RDBServerHostWrapper, self).wire_format() 378 return self.wire_format()
|
rdb_utils.py | 27 def wire_format(self, **kwargs): member in class:RDBException
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
objectivec_message_field.cc | 37 #include <google/protobuf/wire_format.h>
|
objectivec_enum_field.cc | 38 #include <google/protobuf/wire_format.h>
|
objectivec_primitive_field.cc | 38 #include <google/protobuf/wire_format.h>
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
csharp_repeated_enum_field.cc | 39 #include <google/protobuf/wire_format.h>
|
csharp_repeated_primitive_field.cc | 39 #include <google/protobuf/wire_format.h>
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_extension.cc | 37 #include <google/protobuf/wire_format.h>
|
javanano_map_field.cc | 35 #include <google/protobuf/wire_format.h>
|
javanano_message_field.cc | 41 #include <google/protobuf/wire_format.h>
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_field.cc | 48 #include <google/protobuf/wire_format.h>
|
cpp_map_field.cc | 34 #include <google/protobuf/wire_format.h>
|
cpp_primitive_field.cc | 38 #include <google/protobuf/wire_format.h>
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_message_builder_lite.cc | 56 #include <google/protobuf/wire_format.h>
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_enum_field.cc | 42 #include <google/protobuf/wire_format.h>
|
javamicro_message_field.cc | 41 #include <google/protobuf/wire_format.h>
|
/external/protobuf/src/google/protobuf/ |
empty.pb.cc | 17 #include <google/protobuf/wire_format.h>
|