Home
last modified time | relevance | path

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

/external/protobuf/objectivec/Tests/
DGPBCodedOuputStreamTests.m270 XCTAssertEqual(0ULL, GPBEncodeZigZag64(0));
271 XCTAssertEqual(1ULL, GPBEncodeZigZag64(-1));
272 XCTAssertEqual(2ULL, GPBEncodeZigZag64(1));
273 XCTAssertEqual(3ULL, GPBEncodeZigZag64(-2));
275 GPBEncodeZigZag64(0x000000003FFFFFFFLL));
277 GPBEncodeZigZag64(0xFFFFFFFFC0000000LL));
279 GPBEncodeZigZag64(0x000000007FFFFFFFLL));
281 GPBEncodeZigZag64(0xFFFFFFFF80000000LL));
283 GPBEncodeZigZag64(0x7FFFFFFFFFFFFFFFLL));
285 GPBEncodeZigZag64(0x8000000000000000LL));
[all …]
/external/protobuf/objectivec/
DGPBUtilities_PackagePrivate.h123 GPB_INLINE uint64_t GPBEncodeZigZag64(int64_t n) { in GPBEncodeZigZag64() function
DGPBCodedOutputStream.m422 GPBWriteRawVarint64(&state_, GPBEncodeZigZag64(value));
427 GPBWriteRawVarint64(&state_, GPBEncodeZigZag64(value));
1085 return GPBComputeRawVarint64Size(GPBEncodeZigZag64(value));
1164 GPBComputeRawVarint64Size(GPBEncodeZigZag64(value));