Home
last modified time | relevance | path

Searched refs:GPBEncodeZigZag64 (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/objectivec/Tests/
DGPBCodedOuputStreamTests.m296 XCTAssertEqual(0ULL, GPBEncodeZigZag64(0));
297 XCTAssertEqual(1ULL, GPBEncodeZigZag64(-1));
298 XCTAssertEqual(2ULL, GPBEncodeZigZag64(1));
299 XCTAssertEqual(3ULL, GPBEncodeZigZag64(-2));
301 GPBEncodeZigZag64(0x000000003FFFFFFFLL));
303 GPBEncodeZigZag64(0xFFFFFFFFC0000000LL));
305 GPBEncodeZigZag64(0x000000007FFFFFFFLL));
307 GPBEncodeZigZag64(0xFFFFFFFF80000000LL));
309 GPBEncodeZigZag64(0x7FFFFFFFFFFFFFFFLL));
311 GPBEncodeZigZag64(0x8000000000000000LL));
[all …]
/external/protobuf/objectivec/
DGPBUtilities_PackagePrivate.h134 GPB_INLINE uint64_t GPBEncodeZigZag64(int64_t n) { in GPBEncodeZigZag64() function
DGPBCodedOutputStream.m413 GPBWriteRawVarint64(&state_, GPBEncodeZigZag64(value));
418 GPBWriteRawVarint64(&state_, GPBEncodeZigZag64(value));
1074 return GPBComputeRawVarint64Size(GPBEncodeZigZag64(value));
1153 GPBComputeRawVarint64Size(GPBEncodeZigZag64(value));