HomeSort by relevance Sort by last modified time
    Searched refs:wire_format (Results 1 - 25 of 34) sorted by null

1 2

  /external/protobuf/python/google/protobuf/internal/
wire_format_test.py 33 """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.UnpackTag, object()
    [all...]
type_checkers.py 50 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.StringByteSize
    [all...]
encoder.py 70 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.WIRETYPE_VARINT, _EncodeVarint, _VarintSize
    [all...]
decoder.py 85 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.WIRETYPE_FIXED32, '<I'
    [all...]
reflection_test.py 55 from google.protobuf.internal import wire_format namespace
84 return wire_format.ZigZagDecode(self.ReadVarint())
89 return wire_format.UnpackTag(self.ReadVarint())
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_field.cc 42 #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_enum_field.cc 42 #include <google/protobuf/wire_format.h>
java_message_field.cc 41 #include <google/protobuf/wire_format.h>
java_primitive_field.cc 42 #include <google/protobuf/wire_format.h>
java_message.cc 44 #include <google/protobuf/wire_format.h>
    [all...]
  /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>
javamicro_message.cc 43 #include <google/protobuf/wire_format.h>
javamicro_primitive_field.cc 42 #include <google/protobuf/wire_format.h>
  /external/protobuf/src/google/protobuf/
message.cc 47 #include <google/protobuf/wire_format.h>
unknown_field_set.cc 41 #include <google/protobuf/wire_format.h>
dynamic_message.cc 78 #include <google/protobuf/wire_format.h>
extension_set_heavy.cc 42 #include <google/protobuf/wire_format.h>
  /external/protobuf/
Android.mk 66 src/google/protobuf/wire_format.cc \
235 src/google/protobuf/wire_format.cc \
Makefile.am 129 python/google/protobuf/internal/wire_format.py \
  /external/protobuf/python/google/protobuf/
reflection.py 66 from google.protobuf.internal import wire_format namespace
287 if is_repeated and wire_format.IsTypePackable(field_descriptor.type):
290 AddDecoder(wire_format.WIRETYPE_LENGTH_DELIMITED, True)
    [all...]
  /external/protobuf/src/
Makefile.am 57 google/protobuf/wire_format.h \
119 google/protobuf/wire_format.cc \
  /external/protobuf/src/google/protobuf/compiler/
parser_unittest.cc 43 #include <google/protobuf/wire_format.h>
    [all...]
  /hardware/ril/mock-ril/src/cpp/
msgheader.pb.cpp 10 #include <google/protobuf/wire_format.h>

Completed in 249 milliseconds

1 2