Home
last modified time | relevance | path

Searched refs:GPBDecodeZigZag64 (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/objectivec/Tests/
DGPBCodedInputStreamTests.m74 XCTAssertEqual((int64_t)0, GPBDecodeZigZag64(0));
75 XCTAssertEqual((int64_t)-1, GPBDecodeZigZag64(1));
76 XCTAssertEqual((int64_t)1, GPBDecodeZigZag64(2));
77 XCTAssertEqual((int64_t)-2, GPBDecodeZigZag64(3));
79 GPBDecodeZigZag64(0x000000007FFFFFFEL));
81 GPBDecodeZigZag64(0x000000007FFFFFFFL));
83 GPBDecodeZigZag64(0x00000000FFFFFFFEL));
85 GPBDecodeZigZag64(0x00000000FFFFFFFFL));
87 GPBDecodeZigZag64(0xFFFFFFFFFFFFFFFEL));
89 GPBDecodeZigZag64(0xFFFFFFFFFFFFFFFFL));
DGPBCodedOuputStreamTests.m295 XCTAssertEqual(0ULL, GPBEncodeZigZag64(GPBDecodeZigZag64(0)));
296 XCTAssertEqual(1ULL, GPBEncodeZigZag64(GPBDecodeZigZag64(1)));
297 XCTAssertEqual(-1ULL, GPBEncodeZigZag64(GPBDecodeZigZag64(-1)));
298 XCTAssertEqual(14927ULL, GPBEncodeZigZag64(GPBDecodeZigZag64(14927)));
299 XCTAssertEqual(-3612ULL, GPBEncodeZigZag64(GPBDecodeZigZag64(-3612)));
302 GPBEncodeZigZag64(GPBDecodeZigZag64(856912304801416LL)));
304 GPBEncodeZigZag64(GPBDecodeZigZag64(-75123905439571256LL)));
/external/protobuf/objectivec/
DGPBUtilities_PackagePrivate.h106 GPB_INLINE int64_t GPBDecodeZigZag64(uint64_t n) { in GPBDecodeZigZag64() function
DGPBCodedInputStream.m188 int64_t value = GPBDecodeZigZag64(ReadRawVarint64(state));