Home
last modified time | relevance | path

Searched refs:WireType (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dreader.js90 this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID;
153 this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID;
213 return this.nextWireType_ == jspb.BinaryConstants.WireType.END_GROUP;
235 this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID;
246 this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID;
287 if (nextWireType != jspb.BinaryConstants.WireType.VARINT &&
288 nextWireType != jspb.BinaryConstants.WireType.FIXED32 &&
289 nextWireType != jspb.BinaryConstants.WireType.FIXED64 &&
290 nextWireType != jspb.BinaryConstants.WireType.DELIMITED &&
291 nextWireType != jspb.BinaryConstants.WireType.START_GROUP &&
[all …]
Dwriter.js133 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.FIXED32);
[all …]
Dconstants.js203 jspb.BinaryConstants.WireType = {
221 var wireTypes = jspb.BinaryConstants.WireType;
Dutils.js727 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;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs274 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadMaliciouslyLargeBlob()
348 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadInvalidUtf8()
399 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
401 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
438 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in SkipGroup()
442 output.WriteTag(2, WireFormat.WireType.StartGroup); in SkipGroup()
443 output.WriteTag(1, WireFormat.WireType.Fixed32); in SkipGroup()
445 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in SkipGroup()
448 output.WriteTag(3, WireFormat.WireType.StartGroup); in SkipGroup()
449 output.WriteTag(1, WireFormat.WireType.Fixed64); in SkipGroup()
[all …]
DGeneratedMessageTest.cs259 … output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
263 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
277 output.WriteTag(TestMap.MapInt32DoubleFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_PrimitiveValue()
280 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_PrimitiveValue()
294 … output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_MessageValue()
297 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_MessageValue()
312 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapIgnoresExtraFieldsWithinEntryMessages()
321 output.WriteTag(1, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
323 output.WriteTag(2, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
325 output.WriteTag(3, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
[all …]
DCodedOutputStreamTest.cs298 cout.WriteTag(11, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
303 cout.WriteTag(12, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
308 cout.WriteTag(13, WireFormat.WireType.Fixed32); in TestCodedInputOutputPosition()
319 cout.WriteTag(1, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
324 cout.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
329 cout.WriteTag(3, WireFormat.WireType.Fixed32); in TestCodedInputOutputPosition()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DWireFormat.cs49 public enum WireType : uint enum in Google.Protobuf.WireFormat
83 public static WireType GetTagWireType(uint tag) in GetTagWireType()
85 return (WireType) (tag & TagTypeMask); in GetTagWireType()
99 public static uint MakeTag(int fieldNumber, WireType wireType) in MakeTag()
DFieldCodec.cs268 …Bool(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
269 …nt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
270 …nt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
271 …nt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
272 …nt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
273 …oat(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Fixed32)) },
274 …ble(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Fixed64)) },
275 …reFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.LengthDelimited))…
276 …reFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.LengthDelimited))…
367 … TypeSupportsPacking && WireFormat.GetTagWireType(tag) == WireFormat.WireType.LengthDelimited; in IsPackedRepeatedField()
DCodedInputStream.cs404 case WireFormat.WireType.StartGroup: in SkipLastField()
407 case WireFormat.WireType.EndGroup: in SkipLastField()
410 case WireFormat.WireType.Fixed32: in SkipLastField()
413 case WireFormat.WireType.Fixed64: in SkipLastField()
416 case WireFormat.WireType.LengthDelimited: in SkipLastField()
420 case WireFormat.WireType.Varint: in SkipLastField()
444 if (WireFormat.GetTagWireType(tag) == WireFormat.WireType.EndGroup) in SkipGroup()
DCodedOutputStream.cs391 public void WriteTag(int fieldNumber, WireFormat.WireType type) in WriteTag()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs309 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_PackedInt32()
325 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_PackedInt32()
337 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); in AddEntriesFrom_NonPackedInt32()
351 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_NonPackedInt32()
363 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_String()
389 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_Message()
410 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_PackedInt32()
431 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); in WriteTo_NonPackedInt32()
452 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_String()
475 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_Message()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs160 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
162 output.WriteTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint); in RepeatedWrappersBinaryFormat()
165 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
332 … WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in MergingStreamExplicitValue()
333 … var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); in MergingStreamExplicitValue()
393 … WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in UnknownFieldInWrapper()
394 var unknownTag = WireFormat.MakeTag(15, WireFormat.WireType.Varint); in UnknownFieldInWrapper()
395 … var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); in UnknownFieldInWrapper()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_lite.h86 enum WireType { enum
137 static inline WireFormatLite::WireType WireTypeForFieldType( in 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);
565 static const WireFormatLite::WireType kWireTypeForFieldType[];
617 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) { in MakeTag()
621 inline WireFormatLite::WireType WireFormatLite::GetTagWireType(uint32 tag) { in GetTagWireType()
622 return static_cast<WireType>(tag & kTagTypeMask); in GetTagWireType()
Dwire_format.h79 static inline WireFormatLite::WireType WireTypeForField(
83 static inline WireFormatLite::WireType WireTypeForFieldType(
282 inline WireFormatLite::WireType WireFormat::WireTypeForField( in WireTypeForField()
291 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType( in WireTypeForFieldType()
Dwire_format_lite.cc98 const WireFormatLite::WireType
100 static_cast<WireFormatLite::WireType>(-1), // invalid
231 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); in SkipMessage()
251 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); in SkipMessage()
Dmap_type_handler.h113 static const WireFormatLite::WireType kWireType = \
151 static const WireFormatLite::WireType kWireType =
211 static const WireFormatLite::WireType kWireType = \
Dwire_format_lite_inl.h517 inline void WireFormatLite::WriteTag(int field_number, WireType type, in WriteTag()
602 WireType type, in WriteTagToArray()
Dextension_set.cc60 inline bool is_packable(WireFormatLite::WireType type) { in is_packable()
1118 WireFormatLite::WireType wire_type = WireFormatLite::GetTagWireType(tag); in FindExtensionInfoFromTag()
1131 WireFormatLite::WireType expected_wire_type = in FindExtensionInfoFromFieldNumber()
Dextension_set_heavy.cc608 field_number, static_cast<WireFormatLite::WireType>(wire_type)), in ParseFieldMaybeLazily()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_map_field.cc73 string WireType(const FieldDescriptor* field) { in WireType() function
96 (*variables)["key_wire_type"] = WireType(key); in SetMessageVariables()
106 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables()
124 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables()
Djava_map_field_lite.cc73 string WireType(const FieldDescriptor* field) { in WireType() function
96 (*variables)["key_wire_type"] = WireType(key); in SetMessageVariables()
107 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables()
125 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc475 internal::WireFormatLite::WireType wt = in GenerateMergingMethods()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc161 WireFormatLite::WireType expected_type = in FindAndVerifyField()
164 WireFormatLite::WireType actual_type = WireFormatLite::GetTagWireType(tag); in FindAndVerifyField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_message.cc3055 internal::WireFormatLite::WireType wiretype = in GenerateMergeFromCodedStream()
3065 internal::WireFormatLite::WireType wiretype = in GenerateMergeFromCodedStream()
3164 range->start, static_cast<WireFormatLite::WireType>(0)); in GenerateMergeFromCodedStream()
3166 range->end, static_cast<WireFormatLite::WireType>(0)); in GenerateMergeFromCodedStream()

12