Home
last modified time | relevance | path

Searched refs:ULL (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBDictionaryTests+UInt64.m43 //%PDDM-EXPAND TEST_FOR_POD_KEY(UInt64, uint64_t, 31ULL, 32ULL, 33ULL, 34ULL)
97 XCTAssertFalse([dict getUInt32:NULL forKey:31ULL]);
106 …BUInt64UInt32Dictionary *dict = [GPBUInt64UInt32Dictionary dictionaryWithUInt32:100U forKey:31ULL];
110 XCTAssertTrue([dict getUInt32:NULL forKey:31ULL]);
111 XCTAssertTrue([dict getUInt32:&value forKey:31ULL]);
113 XCTAssertFalse([dict getUInt32:NULL forKey:32ULL]);
115 XCTAssertEqual(aKey, 31ULL);
122 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
131 XCTAssertTrue([dict getUInt32:NULL forKey:31ULL]);
132 XCTAssertTrue([dict getUInt32:&value forKey:31ULL]);
[all …]
DGPBArrayTests.m1416 //%PDDM-EXPAND ARRAY_TESTS(UInt64, uint64_t, 41ULL, 42ULL, 43ULL, 44ULL)
1444 GPBUInt64Array *array = [GPBUInt64Array arrayWithValue:41ULL];
1447 XCTAssertEqual([array valueAtIndex:0], 41ULL);
1451 XCTAssertEqual(value, 41ULL);
1457 XCTAssertEqual(value, 41ULL);
1463 static const uint64_t kValues[] = { 41ULL, 42ULL, 43ULL, 44ULL };
1469 XCTAssertEqual([array valueAtIndex:0], 41ULL);
1470 XCTAssertEqual([array valueAtIndex:1], 42ULL);
1471 XCTAssertEqual([array valueAtIndex:2], 43ULL);
1472 XCTAssertEqual([array valueAtIndex:3], 44ULL);
[all …]
DGPBCodedOuputStreamTests.m270 XCTAssertEqual(0ULL, GPBEncodeZigZag64(0));
271 XCTAssertEqual(1ULL, GPBEncodeZigZag64(-1));
272 XCTAssertEqual(2ULL, GPBEncodeZigZag64(1));
273 XCTAssertEqual(3ULL, GPBEncodeZigZag64(-2));
295 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)));
301 XCTAssertEqual(856912304801416ULL,
[all …]
DGPBTestUtilities.m243 …XCTAssertEqual(104ULL, [[message getExtension:[UnittestRoot optionalUint64Extension]] unsignedLong…
247 …XCTAssertEqual(108ULL, [[message getExtension:[UnittestRoot optionalFixed64Extension]] unsignedLon…
390 …XCTAssertEqual(404ULL, [[message getExtension:[UnittestRoot defaultUint64Extension]] unsignedLongL…
394 …XCTAssertEqual(408ULL, [[message getExtension:[UnittestRoot defaultFixed64Extension]] unsignedLong…
446 …XCTAssertEqual(204ULL, [[message getExtension:[UnittestRoot repeatedUint64Extension]][0] unsignedL…
450 …XCTAssertEqual(208ULL, [[message getExtension:[UnittestRoot repeatedFixed64Extension]][0] unsigned…
478 …XCTAssertEqual(504ULL, [[message getExtension:[UnittestRoot repeatedUint64Extension]][1] unsignedL…
482 …XCTAssertEqual(508ULL, [[message getExtension:[UnittestRoot repeatedFixed64Extension]][1] unsigned…
547 XCTAssertEqual(104ULL, message.optionalUint64);
551 XCTAssertEqual(108ULL, message.optionalFixed64);
[all …]
DGPBUtilitiesTests.m55 XCTAssertEqual((1ULL << 63) >> 63, 1ULL);
DGPBUnknownFieldSetTest.m183 XCTAssertEqual(654321ULL, [field2.varintList valueAtIndex:0]);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dcoded_stream_unittest.cc57 #undef ULL
58 #define ULL(x) GOOGLE_ULONGLONG(x) macro
175 (ULL(0x0b) << 28)},
180 (ULL(0x1b) << 28)},
183 (ULL(0x43) << 28) | (ULL(0x49) << 35) | (ULL(0x24) << 42) |
184 (ULL(0x49) << 49)},
188 (ULL(0x3b) << 28) | (ULL(0x56) << 35) | (ULL(0x00) << 42) |
189 (ULL(0x05) << 49) | (ULL(0x26) << 56) | (ULL(0x01) << 63)},
319 if (kVarintCases_case.value > ULL(0x00000000FFFFFFFF)) { in TEST_2D()
477 {ULL(41256202580718336), 8},
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_unittest.cc668 #define ULL(x) GOOGLE_ULONGLONG(x) in TEST() macro
696 EXPECT_EQ(ULL(0x000000007FFFFFFE), ZigZagEncode64(LL(0x000000003FFFFFFF))); in TEST()
697 EXPECT_EQ(ULL(0x000000007FFFFFFF), ZigZagEncode64(LL(0xFFFFFFFFC0000000))); in TEST()
698 EXPECT_EQ(ULL(0x00000000FFFFFFFE), ZigZagEncode64(LL(0x000000007FFFFFFF))); in TEST()
699 EXPECT_EQ(ULL(0x00000000FFFFFFFF), ZigZagEncode64(LL(0xFFFFFFFF80000000))); in TEST()
700 EXPECT_EQ(ULL(0xFFFFFFFFFFFFFFFE), ZigZagEncode64(LL(0x7FFFFFFFFFFFFFFF))); in TEST()
701 EXPECT_EQ(ULL(0xFFFFFFFFFFFFFFFF), ZigZagEncode64(LL(0x8000000000000000))); in TEST()
707 EXPECT_EQ(LL(0x000000003FFFFFFF), ZigZagDecode64(ULL(0x000000007FFFFFFE))); in TEST()
708 EXPECT_EQ(LL(0xFFFFFFFFC0000000), ZigZagDecode64(ULL(0x000000007FFFFFFF))); in TEST()
709 EXPECT_EQ(LL(0x000000007FFFFFFF), ZigZagDecode64(ULL(0x00000000FFFFFFFE))); in TEST()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dport.h136 #define GOOGLE_ULONGLONG(x) x##ULL
/frameworks/native/vulkan/api/templates/
Dvulkan_h.tmpl108 #define VK_WHOLE_SIZE (~0ULL)