Home
last modified time | relevance | path

Searched refs:MakeTag (Results 1 – 25 of 44) sorted by relevance

12

/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/csharp/src/Google.Protobuf/
DFieldCodec.cs268 …{ typeof(bool), ForBool(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.…
269 …{ typeof(int), ForInt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.…
270 …{ typeof(long), ForInt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat…
271 …{ typeof(uint), ForUInt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireForma…
272 …{ typeof(ulong), ForUInt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireForm…
273 …{ typeof(float), ForFloat(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireForma…
274 …{ typeof(double), ForDouble(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFor…
275 …{ typeof(string), ForString(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFor…
276 …{ typeof(ByteString), ForBytes(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, Wire…
DWireFormat.cs99 public static uint MakeTag(int fieldNumber, WireType wireType) in MakeTag() method in Google.Protobuf.WireFormat
DCodedOutputStream.ComputeSize.cs301 return ComputeRawVarint32Size(WireFormat.MakeTag(fieldNumber, 0)); in ComputeTagSize()
DCodedOutputStream.cs393 WriteRawVarint32(WireFormat.MakeTag(fieldNumber, type)); in WriteTag()
/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()
464 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
466 Assert.AreEqual(WireFormat.MakeTag(2, WireFormat.WireType.StartGroup), input.ReadTag()); in SkipGroup()
468 … Assert.AreEqual(WireFormat.MakeTag(3, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
495 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup_WrongEndGroupTag()
497 Assert.AreEqual(WireFormat.MakeTag(2, WireFormat.WireType.StartGroup), input.ReadTag()); in SkipGroup_WrongEndGroupTag()
514 Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.EndGroup), input.ReadTag()); in RogueEndGroupTag()
554 Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.StartGroup), input.ReadTag()); in RecursionLimitAppliedWhileSkippingGroup()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_extension.cc88 string tag = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetVariables()
111 string non_packed_tag = SimpleItoa(WireFormatLite::MakeTag( in SetVariables()
117 string packed_tag = SimpleItoa(WireFormatLite::MakeTag( in SetVariables()
Djavanano_map_field.cc97 (*variables)["key_tag"] = SimpleItoa(internal::WireFormat::MakeTag(key)); in SetMapVariables()
102 (*variables)["value_tag"] = SimpleItoa(internal::WireFormat::MakeTag(value)); in SetMapVariables()
Djavanano_enum_field.cc72 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables()
76 internal::WireFormatLite::MakeTag(descriptor->number(), in SetEnumVariables()
Djavanano_message.cc444 uint32 tag = WireFormatLite::MakeTag(field->number(), in GenerateMergeFromMethods()
462 uint32 packed_tag = WireFormatLite::MakeTag(field->number(), in GenerateMergeFromMethods()
Djavanano_message_field.cc69 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetMessageVariables()
Djavanano_primitive_field.cc220 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables()
224 internal::WireFormatLite::MakeTag(descriptor->number(), in SetPrimitiveVariables()
/external/protobuf/src/google/protobuf/
Dwire_format.cc112 if (!input->LastTagWas(WireFormatLite::MakeTag( in SkipField()
185 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
190 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
195 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
200 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
207 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
210 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
319 WireFormatLite::MakeTag(field.number(), in ComputeUnknownFieldsSize()
325 WireFormatLite::MakeTag(field.number(), in ComputeUnknownFieldsSize()
331 WireFormatLite::MakeTag(field.number(), in ComputeUnknownFieldsSize()
[all …]
Dwire_format.h189 static uint32 MakeTag(const FieldDescriptor* field);
300 inline uint32 WireFormat::MakeTag(const FieldDescriptor* field) { in MakeTag() function
301 return WireFormatLite::MakeTag(field->number(), WireTypeForField(field)); in MakeTag()
Dwire_format_lite_inl.h439 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { in ReadGroup()
476 if (!input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP))) { in ReadGroupNoVirtual()
487 input->LastTagWas(MakeTag(field_number, WIRETYPE_END_GROUP)); in ReadGroupNoVirtualNoRecursionDepth()
519 output->WriteTag(MakeTag(field_number, type)); in WriteTag()
604 return io::CodedOutputStream::WriteTagToArray(MakeTag(field_number, type), in WriteTagToArray()
Dwire_format_lite.cc145 if (!input->LastTagWas(WireFormatLite::MakeTag( in SkipField()
200 if (!input->LastTagWas(WireFormatLite::MakeTag( in SkipField()
330 uint32 tag = WireFormatLite::MakeTag(field_number, in ReadPackedEnumPreserveUnknowns()
Dwire_format_lite.h152 static uint32 MakeTag(int field_number, WireType type);
589 inline uint32 WireFormatLite::MakeTag(int field_number, WireType type) { in MakeTag() function
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs332 …var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.… in MergingStreamExplicitValue()
333 … var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); in MergingStreamExplicitValue()
393 …var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.… 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/v8/tools/release/
Dauto_tag.py149 class MakeTag(Step): class
195 MakeTag,
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc2957 WireFormat::MakeTag(ordered_fields[descriptor_->field_count() - 1]); in GenerateMergeFromCodedStream()
3010 "commontag", SimpleItoa(WireFormat::MakeTag(field))); in GenerateMergeFromCodedStream()
3039 internal::WireFormatLite::MakeTag( in GenerateMergeFromCodedStream()
3049 internal::WireFormatLite::MakeTag( in GenerateMergeFromCodedStream()
3067 "tag", SimpleItoa(WireFormat::MakeTag(field)), in GenerateMergeFromCodedStream()
3072 "tag", SimpleItoa(WireFormat::MakeTag(field)), in GenerateMergeFromCodedStream()
3086 "next_tag", SimpleItoa(WireFormat::MakeTag(next_field)), in GenerateMergeFromCodedStream()
3106 "next_tag", SimpleItoa(WireFormat::MakeTag(next_field)), in GenerateMergeFromCodedStream()
3143 uint32 start_tag = WireFormatLite::MakeTag( in GenerateMergeFromCodedStream()
3145 uint32 end_tag = WireFormatLite::MakeTag( in GenerateMergeFromCodedStream()
Dcpp_map_field.cc85 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetMessageVariables()
Dcpp_primitive_field.cc88 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc453 uint32 tag = internal::WireFormatLite::MakeTag(field->number(), wt); in GenerateMergingMethods()
464 internal::WireFormatLite::MakeTag( in GenerateMergingMethods()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum_field.cc63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc968 uint32 tag = WireFormatLite::MakeTag(field->number(), in GenerateDynamicMethodMergeFromStream()
986 uint32 packed_tag = WireFormatLite::MakeTag(field->number(), in GenerateDynamicMethodMergeFromStream()

12