Searched refs:GPBDecodeZigZag32 (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/objectivec/Tests/ |
D | GPBCodedInputStreamTests.m | 65 XCTAssertEqual(0, GPBDecodeZigZag32(0)); 66 XCTAssertEqual(-1, GPBDecodeZigZag32(1)); 67 XCTAssertEqual(1, GPBDecodeZigZag32(2)); 68 XCTAssertEqual(-2, GPBDecodeZigZag32(3)); 69 XCTAssertEqual((int32_t)0x3FFFFFFF, GPBDecodeZigZag32(0x7FFFFFFE)); 70 XCTAssertEqual((int32_t)0xC0000000, GPBDecodeZigZag32(0x7FFFFFFF)); 71 XCTAssertEqual((int32_t)0x7FFFFFFF, GPBDecodeZigZag32(0xFFFFFFFE)); 72 XCTAssertEqual((int32_t)0x80000000, GPBDecodeZigZag32(0xFFFFFFFF));
|
D | GPBCodedOuputStreamTests.m | 289 XCTAssertEqual(0U, GPBEncodeZigZag32(GPBDecodeZigZag32(0))); 290 XCTAssertEqual(1U, GPBEncodeZigZag32(GPBDecodeZigZag32(1))); 291 XCTAssertEqual(-1U, GPBEncodeZigZag32(GPBDecodeZigZag32(-1))); 292 XCTAssertEqual(14927U, GPBEncodeZigZag32(GPBDecodeZigZag32(14927))); 293 XCTAssertEqual(-3612U, GPBEncodeZigZag32(GPBDecodeZigZag32(-3612)));
|
/external/protobuf/objectivec/ |
D | GPBUtilities_PackagePrivate.h | 98 GPB_INLINE int32_t GPBDecodeZigZag32(uint32_t n) { in GPBDecodeZigZag32() function
|
D | GPBCodedInputStream.m | 183 int32_t value = GPBDecodeZigZag32(ReadRawVarint32(state));
|