Home
last modified time | relevance | path

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

123

/external/pdfium/core/fxge/
Dcfx_fontmapper_unittest.cpp12 TEST(CFX_FontMapper, MakeTag) { in TEST() argument
13 EXPECT_EQ(0x61626364u, CFX_FontMapper::MakeTag('a', 'b', 'c', 'd')); in TEST()
14 EXPECT_EQ(0x00000000u, CFX_FontMapper::MakeTag('\0', '\0', '\0', '\0')); in TEST()
15 EXPECT_EQ(0xfffe0a08u, CFX_FontMapper::MakeTag('\xff', '\xfe', '\n', '\b')); in TEST()
17 CFX_FontMapper::MakeTag('\xff', '\xff', '\xff', '\xff')); in TEST()
19 CFX_FontMapper::MakeTag(g_maybe_changes, '\xff', '\xff', '\xff')); in TEST()
Dsystemfontinfo_iface.h15 constexpr uint32_t kTableNAME = CFX_FontMapper::MakeTag('n', 'a', 'm', 'e');
16 constexpr uint32_t kTableTTCF = CFX_FontMapper::MakeTag('t', 't', 'c', 'f');
Dcfx_fontmapper.h48 static constexpr uint32_t MakeTag(char c1, char c2, char c3, char c4) { in MakeTag() function
/external/protobuf/csharp/compatibility_tests/v3.0.0/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 …]
/external/protobuf/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 …]
/external/protobuf/csharp/src/Google.Protobuf/
DFieldCodec.cs514 …{ typeof(bool), ForBool(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.…
515 …{ typeof(int), ForInt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.…
516 …{ typeof(long), ForInt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat…
517 …{ typeof(uint), ForUInt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireForma…
518 …{ typeof(ulong), ForUInt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireForm…
519 …{ typeof(float), ForFloat(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireForma…
520 …{ typeof(double), ForDouble(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFor…
521 …{ typeof(string), ForString(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFor…
522 …{ 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.cs305 return ComputeRawVarint32Size(WireFormat.MakeTag(fieldNumber, 0)); in ComputeTagSize()
DUnknownFieldSet.cs218 uint endTag = WireFormat.MakeTag(number, WireFormat.WireType.EndGroup); in MergeFieldFrom()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs274 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadMaliciouslyLargeBlob()
362 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadInvalidUtf8()
382 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadNegativeSizedStringThrowsInvalidProtocolBufferException()
400 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadNegativeSizedBytesThrowsInvalidProtocolBufferException()
514 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
516 Assert.AreEqual(WireFormat.MakeTag(2, WireFormat.WireType.StartGroup), input.ReadTag()); in SkipGroup()
518 … Assert.AreEqual(WireFormat.MakeTag(3, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
545 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup_WrongEndGroupTag()
547 Assert.AreEqual(WireFormat.MakeTag(2, WireFormat.WireType.StartGroup), input.ReadTag()); in SkipGroup_WrongEndGroupTag()
564 Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.EndGroup), input.ReadTag()); in RogueEndGroupTag()
[all …]
/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()
/external/protobuf/csharp/compatibility_tests/v3.0.0/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/
Dwire_format.h187 static uint32 MakeTag(const FieldDescriptor* field);
289 inline uint32 WireFormat::MakeTag(const FieldDescriptor* field) { in MakeTag() function
290 return WireFormatLite::MakeTag(field->number(), WireTypeForField(field)); in MakeTag()
Dwire_format.cc126 WireFormatLite::MakeTag(WireFormatLite::GetTagFieldNumber(tag), in SkipField()
197 output->WriteVarint32(WireFormatLite::MakeTag( in SerializeUnknownFields()
202 output->WriteVarint32(WireFormatLite::MakeTag( in SerializeUnknownFields()
207 output->WriteVarint32(WireFormatLite::MakeTag( in SerializeUnknownFields()
212 output->WriteVarint32(WireFormatLite::MakeTag( in SerializeUnknownFields()
219 output->WriteVarint32(WireFormatLite::MakeTag( in SerializeUnknownFields()
222 output->WriteVarint32(WireFormatLite::MakeTag( in SerializeUnknownFields()
327 size += io::CodedOutputStream::VarintSize32(WireFormatLite::MakeTag( in ComputeUnknownFieldsSize()
332 size += io::CodedOutputStream::VarintSize32(WireFormatLite::MakeTag( in ComputeUnknownFieldsSize()
337 size += io::CodedOutputStream::VarintSize32(WireFormatLite::MakeTag( in ComputeUnknownFieldsSize()
[all …]
Dwire_format_lite.cc147 WireFormatLite::MakeTag(WireFormatLite::GetTagFieldNumber(tag), in SkipField()
204 WireFormatLite::MakeTag(WireFormatLite::GetTagFieldNumber(tag), in SkipField()
307 uint32 tag = WireFormatLite::MakeTag(field_number, in ReadPackedEnumPreserveUnknowns()
/external/protobuf/csharp/compatibility_tests/v3.0.0/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/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/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc1597 uint32 tag = WireFormatLite::MakeTag(field->number(), wiretype); in GenerateFieldBody()
1694 WireFormatLite::MakeTag(field->number(), expected_wiretype); in ExpectedTag()
1698 WireFormatLite::MakeTag(field->number(), fallback_wiretype); in ExpectedTag()
1705 WireFormatLite::MakeTag(field->number(), expected_wiretype); in ExpectedTag()
1747 uint32 tag = WireFormatLite::MakeTag(field->number(), wiretype); in GenerateParseLoop()
1799 uint32 start_tag = WireFormatLite::MakeTag( in GenerateParseLoop()
1801 uint32 end_tag = WireFormatLite::MakeTag( in GenerateParseLoop()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc63 uint tag = internal::WireFormat::MakeTag(descriptor_); in SetCommonFieldVariables()
76 tag = internal::WireFormatLite::MakeTag( in SetCommonFieldVariables()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum_field.cc63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables()
/external/pdfium/core/fpdfapi/font/
Dcfx_cttgsubtable.cpp19 CFX_FontMapper::MakeTag('v', 'r', 't', '2'), in IsVerticalFeatureTag()
20 CFX_FontMapper::MakeTag('v', 'e', 'r', 't'), in IsVerticalFeatureTag()

123