Searched refs:neg_one (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 117 const APInt neg_one(1, static_cast<uint64_t>(-1), true); in TEST() local 123 EXPECT_EQ(-1, neg_one.getSExtValue()); in TEST() 124 EXPECT_EQ(1u, neg_one.getZExtValue()); in TEST() 134 EXPECT_EQ(one, neg_one); in TEST() 139 EXPECT_EQ(zero, neg_one + one); in TEST() 140 EXPECT_EQ(neg_two, neg_one + neg_one); in TEST() 143 EXPECT_EQ(neg_two, neg_one - one); in TEST() 144 EXPECT_EQ(two, one - neg_one); in TEST() 162 EXPECT_EQ(neg_one, neg_one * one); in TEST() 163 EXPECT_EQ(neg_one, one * neg_one); in TEST() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | itrbnf.cpp | 1056 const char neg_one[] = "-1"; 1062 LLAssert(llong::atoll(neg_one) == llong(0xffffffff, 0xffffffff)); 1088 …ng(0xffffffff, 0xffffffff).lltoa(buf, (uint32_t)sizeof(buf)) == 2) && (strcmp(buf, neg_one) == 0));
|