Home
last modified time | relevance | path

Searched refs:neg_one (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/ADT/
DAPIntTest.cpp125 const APInt neg_one(1, static_cast<uint64_t>(-1), true); in TEST() local
131 EXPECT_EQ(-1, neg_one.getSExtValue()); in TEST()
132 EXPECT_EQ(1u, neg_one.getZExtValue()); in TEST()
142 EXPECT_EQ(one, neg_one); in TEST()
153 EXPECT_EQ(zero, neg_one + one); in TEST()
154 EXPECT_EQ(neg_two, neg_one + neg_one); in TEST()
157 EXPECT_EQ(neg_two, neg_one - one); in TEST()
158 EXPECT_EQ(two, one - neg_one); in TEST()
176 EXPECT_EQ(neg_one, neg_one * one); in TEST()
177 EXPECT_EQ(neg_one, one * neg_one); in TEST()
[all …]
/external/icu/icu4c/source/test/intltest/
Ditrbnf.cpp1080 const char neg_one[] = "-1";
1086 LLAssert(llong::atoll(neg_one) == llong(0xffffffff, 0xffffffff));
1112 …ng(0xffffffff, 0xffffffff).lltoa(buf, (uint32_t)sizeof(buf)) == 2) && (strcmp(buf, neg_one) == 0));