Home
last modified time | relevance | path

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

12

/external/protobuf/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;
/external/protobuf/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()
/external/protobuf/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))…
366 … 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()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs223 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_PackedInt32()
239 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_PackedInt32()
251 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); in AddEntriesFrom_NonPackedInt32()
265 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_NonPackedInt32()
277 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_String()
303 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_Message()
324 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_PackedInt32()
345 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); in WriteTo_NonPackedInt32()
366 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_String()
389 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_Message()
[all …]
/external/protobuf/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);
537 static const WireFormatLite::WireType kWireTypeForFieldType[];
589 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) { in MakeTag()
593 inline WireFormatLite::WireType WireFormatLite::GetTagWireType(uint32 tag) { in GetTagWireType()
594 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 =
208 static const WireFormatLite::WireType kWireType = \
/external/protobuf/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()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding.cc114 enum WireType { enum
119 inline WireType GetTagWireType(uint32 tag) { in GetTagWireType()
120 return static_cast<WireType>(tag & 0x7); in GetTagWireType()
153 WireType wt = GetTagWireType(p.first); in ParseTensorSubmessage()
225 WireType wt = GetTagWireType(p.first); in ParseFast()
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dproperties.go135 WireType int member
204 p.WireType = WireVarint
206 p.WireType = WireFixed32
208 p.WireType = WireFixed64
210 p.WireType = WireVarint
212 p.WireType = WireVarint
214 p.WireType = WireBytes
/external/golang-protobuf/proto/
Dproperties.go135 WireType int member
204 p.WireType = WireVarint
206 p.WireType = WireFixed32
208 p.WireType = WireFixed64
210 p.WireType = WireVarint
212 p.WireType = WireVarint
214 p.WireType = WireBytes
/external/protobuf/src/google/protobuf/compiler/java/
Djava_map_field_lite.cc73 string WireType(const FieldDescriptor* field) { in WireType() function
93 (*variables)["key_wire_type"] = WireType(key); in SetMessageVariables()
99 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables()
117 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables()
Djava_map_field.cc73 string WireType(const FieldDescriptor* field) { in WireType() function
93 (*variables)["key_wire_type"] = WireType(key); in SetMessageVariables()
99 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables()
117 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables()
/external/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/
DTypeExtensionsTest.cs57 [TestCase(typeof(WireFormat.WireType), true)]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DRPCSerialization.h280 template <typename ChannelT, typename WireType,
281 typename ConcreteType = WireType, typename = void>
/external/tensorflow/tensorflow/core/kernels/
Ddecode_proto_op.cc1058 WireFormatLite::WireType wire_type, in CollectField()
1069 WireFormatLite::WireType schema_wire_type = in CollectField()

12