Searched refs:wire_format (Results 1 – 13 of 13) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | wire_format_test.py | 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()) 74 Z = wire_format.ZigZagEncode [all …]
|
D | 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 …]
|
D | 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 …]
|
D | 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 …]
|
D | python_message.py | 76 from google.protobuf.internal import wire_format 287 wire_format.IsTypePackable(field_descriptor.type)) 344 if is_repeated and wire_format.IsTypePackable(field_descriptor.type): 347 AddDecoder(wire_format.WIRETYPE_LENGTH_DELIMITED, True)
|
D | reflection_test.py | 61 from google.protobuf.internal import wire_format 90 return wire_format.ZigZagDecode(self.ReadVarint()) 95 return wire_format.UnpackTag(self.ReadVarint()) 2358 self.assertEqual((1, wire_format.WIRETYPE_VARINT), ReadTag()) 2360 self.assertEqual((2, wire_format.WIRETYPE_VARINT), ReadTag()) 2362 self.assertEqual((3, wire_format.WIRETYPE_VARINT), ReadTag()) 2364 self.assertEqual((4, wire_format.WIRETYPE_VARINT), ReadTag()) 2366 self.assertEqual((5, wire_format.WIRETYPE_VARINT), ReadTag()) 2662 self.assertEqual((90, wire_format.WIRETYPE_LENGTH_DELIMITED), ReadTag()) 2668 self.assertEqual((100, wire_format.WIRETYPE_LENGTH_DELIMITED), ReadTag()) [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/cmake/ |
D | libprotobuf.cmake | 53 ${protobuf_source_dir}/src/google/protobuf/wire_format.cc
|
D | extract_includes.bat.in | 122 …{PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\wire_format.h include\google\protobuf\wire_for…
|
/frameworks/opt/gamesdk/src/protobuf/ |
D | protobuf.cmake | 188 ${GP_SRC_DIR}/wire_format.cc
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | map_test.cc | 2210 string wire_format = data; in TEST() local 2216 wire_format.push_back(is_key ? kKeyTag : in TEST() 2219 wire_format.push_back(c); in TEST() 2222 ASSERT_TRUE(message.ParseFromString(wire_format)); in TEST()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/ |
D | Makefile.am | 134 google/protobuf/wire_format.h \ 245 google/protobuf/wire_format.cc \
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ |
D | BUILD | 166 "src/google/protobuf/wire_format.cc",
|
D | Makefile.am | 620 python/google/protobuf/internal/wire_format.py \
|