/external/protobuf/csharp/src/Google.Protobuf/ |
H A D | WireFormat.cs | 49 public enum WireType : uint
enum in class:Google.Protobuf.WireFormat 83 public static WireType GetTagWireType(uint tag)
85 return (WireType) (tag & TagTypeMask);
99 public static uint MakeTag(int fieldNumber, WireType wireType)
|
H A D | FieldCodec.cs | 268 { typeof(bool), ForBool(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) }, 269 { typeof(int), ForInt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) }, 270 { typeof(long), ForInt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) }, 271 { typeof(uint), ForUInt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) }, 272 { typeof(ulong), ForUInt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) }, 273 { typeof(float), ForFloat(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Fixed32)) }, 274 { typeof(double), ForDouble(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Fixed64)) }, 275 { typeof(string), ForString(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.LengthDelimited)) }, 276 { typeof(ByteString), ForBytes(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.LengthDelimited)) } 366 TypeSupportsPacking && WireFormat.GetTagWireType(tag) == WireFormat.WireType [all...] |
H A D | CodedInputStream.cs | 404 case WireFormat.WireType.StartGroup:
407 case WireFormat.WireType.EndGroup:
410 case WireFormat.WireType.Fixed32:
413 case WireFormat.WireType.Fixed64:
416 case WireFormat.WireType.LengthDelimited:
420 case WireFormat.WireType.Varint:
444 if (WireFormat.GetTagWireType(tag) == WireFormat.WireType.EndGroup)
|
H A D | CodedOutputStream.cs | 391 public void WriteTag(int fieldNumber, WireFormat.WireType type)
|
/external/protobuf/js/binary/ |
H A D | reader.js | 88 * @private {jspb.BinaryConstants.WireType} 90 this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID; 153 this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID; 200 * @return {jspb.BinaryConstants.WireType} The wire type of the next field 201 * in the stream, or WireType.INVALID if there is no next field. 213 return this.nextWireType_ == jspb.BinaryConstants.WireType.END_GROUP; 235 this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID; 246 this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID; 283 var nextWireType = /** @type {jspb.BinaryConstants.WireType} */ 287 if (nextWireType != jspb.BinaryConstants.WireType [all...] |
H A D | writer.js | 133 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.DELIMITED); 367 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT); 380 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT); 393 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT); 406 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT); 419 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT); 432 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT); 488 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT); 544 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT); 587 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType [all...] |
H A D | constants.js | 203 jspb.BinaryConstants.WireType = { 217 * @return {jspb.BinaryConstants.WireType} 221 var wireTypes = jspb.BinaryConstants.WireType;
|
H A D | utils.js | 727 var tag = field * 8 + jspb.BinaryConstants.WireType.VARINT; 828 var tag = field * 8 + jspb.BinaryConstants.WireType.FIXED32; 843 var tag = field * 8 + jspb.BinaryConstants.WireType.FIXED64; 860 var tag = field * 8 + jspb.BinaryConstants.WireType.DELIMITED;
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | CodedInputStreamTest.cs | 274 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited);
348 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited);
399 output.WriteTag(1, WireFormat.WireType.LengthDelimited);
401 output.WriteTag(2, WireFormat.WireType.LengthDelimited);
438 output.WriteTag(1, WireFormat.WireType.LengthDelimited);
442 output.WriteTag(2, WireFormat.WireType.StartGroup);
443 output.WriteTag(1, WireFormat.WireType.Fixed32);
445 output.WriteTag(2, WireFormat.WireType.LengthDelimited);
448 output.WriteTag(3, WireFormat.WireType.StartGroup);
449 output.WriteTag(1, WireFormat.WireType [all...] |
H A D | GeneratedMessageTest.cs | 259 output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited);
263 output.WriteTag(2, WireFormat.WireType.LengthDelimited);
277 output.WriteTag(TestMap.MapInt32DoubleFieldNumber, WireFormat.WireType.LengthDelimited);
280 output.WriteTag(1, WireFormat.WireType.Varint);
294 output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited);
297 output.WriteTag(1, WireFormat.WireType.Varint);
312 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited);
321 output.WriteTag(1, WireFormat.WireType.Varint);
323 output.WriteTag(2, WireFormat.WireType.Varint);
325 output.WriteTag(3, WireFormat.WireType [all...] |
H A D | CodedOutputStreamTest.cs | 298 cout.WriteTag(11, WireFormat.WireType.Varint);
303 cout.WriteTag(12, WireFormat.WireType.LengthDelimited);
308 cout.WriteTag(13, WireFormat.WireType.Fixed32);
319 cout.WriteTag(1, WireFormat.WireType.Varint);
324 cout.WriteTag(2, WireFormat.WireType.LengthDelimited);
329 cout.WriteTag(3, WireFormat.WireType.Fixed32);
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
H A D | RepeatedFieldTest.cs | 223 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); 239 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); 251 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); 265 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); 277 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); 303 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); 324 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); 345 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); 366 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); 389 uint tag = WireFormat.MakeTag(10, WireFormat.WireType [all...] |
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | WrappersTest.cs | 160 output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); 162 output.WriteTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint); 165 output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); 332 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); 333 var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); 393 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); 394 var unknownTag = WireFormat.MakeTag(15, WireFormat.WireType.Varint); 395 var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint);
|
/external/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_map_field.cc | 73 string WireType(const FieldDescriptor* field) { function in namespace:google::protobuf::compiler::java::__anon17093 93 (*variables)["key_wire_type"] = WireType(key); 99 (*variables)["value_wire_type"] = WireType(value); 117 (*variables)["value_wire_type"] = WireType(value);
|
H A D | java_map_field_lite.cc | 73 string WireType(const FieldDescriptor* field) { function in namespace:google::protobuf::compiler::java::__anon17094 93 (*variables)["key_wire_type"] = WireType(key); 99 (*variables)["value_wire_type"] = WireType(value); 117 (*variables)["value_wire_type"] = WireType(value);
|
/external/protobuf/src/google/protobuf/ |
H A D | wire_format.h | 78 // Given a field return its WireType 79 static inline WireFormatLite::WireType WireTypeForField( 82 // Given a FieldDescriptor::Type return its WireType 83 static inline WireFormatLite::WireType WireTypeForFieldType( 130 // Skips a field value of the given WireType. The input should start 282 inline WireFormatLite::WireType WireFormat::WireTypeForField( 291 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
|
H A D | wire_format_lite.h | 86 enum WireType { enum in class:google::protobuf::internal::WireFormatLite 136 // Given a FieldSescriptor::Type return its WireType 137 static inline WireFormatLite::WireType WireTypeForFieldType( 152 static uint32 MakeTag(int field_number, WireType type); 153 static WireType GetTagWireType(uint32 tag); 355 INL static void WriteTag(field_number, WireType type, output); 421 INL static uint8* WriteTagToArray(field_number, WireType type, output); 537 static const WireFormatLite::WireType kWireTypeForFieldType[]; 589 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) { 593 inline WireFormatLite::WireType WireFormatLit [all...] |
H A D | wire_format_lite.cc | 98 const WireFormatLite::WireType 100 static_cast<WireFormatLite::WireType>(-1), // invalid 231 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); 251 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag);
|
H A D | map_type_handler.h | 113 static const WireFormatLite::WireType kWireType = \ 151 static const WireFormatLite::WireType kWireType = 208 static const WireFormatLite::WireType kWireType = \
|
H A D | wire_format_lite_inl.h | 517 inline void WireFormatLite::WriteTag(int field_number, WireType type, 602 WireType type,
|
H A D | extension_set.cc | 60 inline bool is_packable(WireFormatLite::WireType type) { 1117 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); 1130 WireFormatLite::WireType expected_wire_type =
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/ |
H A D | TypeExtensionsTest.cs | 57 [TestCase(typeof(WireFormat.WireType), true)]
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
H A D | csharp_message.cc | 451 internal::WireFormatLite::WireType wt =
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_message.cc | 3035 internal::WireFormatLite::WireType wiretype = 3045 internal::WireFormatLite::WireType wiretype = 3144 range->start, static_cast<WireFormatLite::WireType>(0)); 3146 range->end, static_cast<WireFormatLite::WireType>(0));
|
/external/protobuf/src/google/protobuf/util/internal/ |
H A D | protostream_objectsource.cc | 159 WireFormatLite::WireType expected_type = 162 WireFormatLite::WireType actual_type = WireFormatLite::GetTagWireType(tag);
|