OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ZigZagEncode64
(Results
1 - 4
of
4
) sorted by null
/external/protobuf/src/google/protobuf/
wire_format_unittest.cc
540
#define
ZigZagEncode64
(x) WireFormatLite::
ZigZagEncode64
(x)
561
EXPECT_EQ(0u,
ZigZagEncode64
( 0));
562
EXPECT_EQ(1u,
ZigZagEncode64
(-1));
563
EXPECT_EQ(2u,
ZigZagEncode64
( 1));
564
EXPECT_EQ(3u,
ZigZagEncode64
(-2));
565
EXPECT_EQ(ULL(0x000000007FFFFFFE),
ZigZagEncode64
(LL(0x000000003FFFFFFF)));
566
EXPECT_EQ(ULL(0x000000007FFFFFFF),
ZigZagEncode64
(LL(0xFFFFFFFFC0000000)));
567
EXPECT_EQ(ULL(0x00000000FFFFFFFE),
ZigZagEncode64
(LL(0x000000007FFFFFFF)));
568
EXPECT_EQ(ULL(0x00000000FFFFFFFF),
ZigZagEncode64
(LL(0xFFFFFFFF80000000)))
[
all
...]
wire_format_lite.h
224
static uint64
ZigZagEncode64
(int64 n);
607
inline uint64 WireFormatLite::
ZigZagEncode64
(int64 n) {
wire_format_lite_inl.h
429
output->WriteVarint64(
ZigZagEncode64
(value));
514
return io::CodedOutputStream::WriteVarint64ToArray(
ZigZagEncode64
(value),
709
return io::CodedOutputStream::VarintSize64(
ZigZagEncode64
(value));
descriptor.cc
[
all
...]
Completed in 621 milliseconds