Home
last modified time | relevance | path

Searched refs:Varint (Results 1 – 23 of 23) sorted by relevance

/external/pigweed/pw_varint/
Dvarint_test.cc41 class Varint : public ::testing::Test { class
43 Varint() in Varint() function in pw::varint::__anon9166191c0111::Varint
57 TEST_F(Varint, EncodeSizeUnsigned32_SmallSingleByte) { in TEST_F() argument
66 TEST_F(Varint, EncodeSizeUnsigned32_SmallSingleByte_C) { in TEST_F() argument
75 TEST_F(Varint, EncodeSizeUnsigned32_LargeSingleByte) { in TEST_F() argument
86 TEST_F(Varint, EncodeSizeUnsigned32_LargeSingleByte_C) { in TEST_F() argument
97 TEST_F(Varint, EncodeSizeUnsigned32_MultiByte) { in TEST_F() argument
110 TEST_F(Varint, EncodeSizeUnsigned32_MultiByte_C) { in TEST_F() argument
129 TEST_F(Varint, EncodeSizeSigned32_SmallSingleByte) { in TEST_F() argument
142 TEST_F(Varint, EncodeSizeSigned32_SmallSingleByte_C) { in TEST_F() argument
[all …]
/external/rust/crates/protobuf/src/
Dunknown.rs23 Varint(u64), enumerator
39 UnknownValue::Varint(varint) => UnknownValueRef::Varint(varint), in get_ref()
46 UnknownValue::Varint(encode_zig_zag_32(i) as u64) in sint32()
51 UnknownValue::Varint(encode_zig_zag_64(i)) in sint64()
64 Varint(u64), enumerator
75 UnknownValueRef::Varint(_) => wire_format::WireTypeVarint, in wire_type()
102 UnknownValue::Varint(varint) => self.varint.push(varint), in add_value()
151 return Some(UnknownValueRef::Varint(*varint.unwrap())); in next()
Dcoded_output_stream.rs365 UnknownValueRef::Varint(varint) => self.write_raw_varint64(varint), in write_unknown_no_tag()
Dcoded_input_stream.rs576 self.read_raw_varint64().map(|v| UnknownValue::Varint(v)) in read_unknown()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs280 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_PrimitiveValue()
297 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_MessageValue()
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()
347 output.WriteTag(2, WireFormat.WireType.Varint); in MapFieldOrderIsIrrelevant()
349 output.WriteTag(1, WireFormat.WireType.Varint); in MapFieldOrderIsIrrelevant()
373 output.WriteTag(1, WireFormat.WireType.Varint); in MapNonContiguousEntries()
375 output.WriteTag(2, WireFormat.WireType.Varint); in MapNonContiguousEntries()
393 output.WriteTag(1, WireFormat.WireType.Varint); in MapNonContiguousEntries()
[all …]
DCodedOutputStreamTest.cs298 cout.WriteTag(11, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
319 cout.WriteTag(1, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs280 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_PrimitiveValue()
297 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_MessageValue()
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()
347 output.WriteTag(2, WireFormat.WireType.Varint); in MapFieldOrderIsIrrelevant()
349 output.WriteTag(1, WireFormat.WireType.Varint); in MapFieldOrderIsIrrelevant()
373 output.WriteTag(1, WireFormat.WireType.Varint); in MapNonContiguousEntries()
375 output.WriteTag(2, WireFormat.WireType.Varint); in MapNonContiguousEntries()
393 output.WriteTag(1, WireFormat.WireType.Varint); in MapNonContiguousEntries()
[all …]
DCodedOutputStreamTest.cs298 cout.WriteTag(11, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
319 cout.WriteTag(1, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
/external/protobuf/csharp/src/Google.Protobuf/
DFieldCodec.cs514 …Bool(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
515 …nt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
516 …nt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
517 …nt32(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
518 …nt64(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint)) },
DWireFormat.cs54 Varint = 0, enumerator
DUnknownField.cs111 output.WriteTag(fieldNumber, WireFormat.WireType.Varint); in WriteTo()
DUnknownFieldSet.cs192 case WireFormat.WireType.Varint: in MergeFieldFrom()
DCodedInputStream.cs435 case WireFormat.WireType.Varint: in SkipLastField()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs162 output.WriteTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint); in RepeatedWrappersBinaryFormat()
333 … var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); in MergingStreamExplicitValue()
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.cs162 output.WriteTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint); in RepeatedWrappersBinaryFormat()
333 … var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); in MergingStreamExplicitValue()
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/
Dgenerated_message_table_driven.cc67 static void Varint(MessageLite* msg, const ParseTable& table, int tag, in Varint() function
Dgenerated_message_table_driven_lite.cc67 static void Varint(MessageLite* msg, const ParseTable& table, int tag, in Varint() function
Dgenerated_message_table_driven_lite.h339 UnknownFieldHandler::Varint(msg, table, tag, value); in HandleEnum()
841 UnknownFieldHandler::Varint(msg, table, tag, value); in MergePartialFromCodedStreamInlined()
Dunknown_field_set_unittest.cc142 TEST_F(UnknownFieldSetTest, Varint) { in TEST_F() argument
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs337 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); in AddEntriesFrom_NonPackedInt32()
431 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); in WriteTo_NonPackedInt32()
495 var tag = WireFormat.MakeTag(1, WireFormat.WireType.Varint); in CalculateSize_VariableSizeNonPacked()
535 uint tag = WireFormat.MakeTag(8, WireFormat.WireType.Varint); in TestNegativeEnumArray()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs337 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); in AddEntriesFrom_NonPackedInt32()
431 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.Varint); in WriteTo_NonPackedInt32()
495 var tag = WireFormat.MakeTag(1, WireFormat.WireType.Varint); in CalculateSize_VariableSizeNonPacked()
535 uint tag = WireFormat.MakeTag(8, WireFormat.WireType.Varint); in TestNegativeEnumArray()
/external/starlark-go/internal/compile/
Dserial.go305 x, len := binary.Varint(d.p[:])
/external/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m79 // Varint
405 // Varint