Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/unittests/ADT/
DAPIntTest.cpp32 APInt Minus1(128, static_cast<uint64_t>(-1), true); in TEST() local
33 EXPECT_EQ(0u, Minus1.countLeadingZeros()); in TEST()
34 EXPECT_EQ(128u, Minus1.countLeadingOnes()); in TEST()
35 EXPECT_EQ(128u, Minus1.getActiveBits()); in TEST()
36 EXPECT_EQ(0u, Minus1.countTrailingZeros()); in TEST()
37 EXPECT_EQ(128u, Minus1.countTrailingOnes()); in TEST()
38 EXPECT_EQ(128u, Minus1.countPopulation()); in TEST()
39 EXPECT_EQ(-1, Minus1.getSExtValue()); in TEST()
/external/llvm/unittests/ADT/
DAPIntTest.cpp40 APInt Minus1(128, static_cast<uint64_t>(-1), true); in TEST() local
41 EXPECT_EQ(0u, Minus1.countLeadingZeros()); in TEST()
42 EXPECT_EQ(128u, Minus1.countLeadingOnes()); in TEST()
43 EXPECT_EQ(128u, Minus1.getActiveBits()); in TEST()
44 EXPECT_EQ(0u, Minus1.countTrailingZeros()); in TEST()
45 EXPECT_EQ(128u, Minus1.countTrailingOnes()); in TEST()
46 EXPECT_EQ(128u, Minus1.countPopulation()); in TEST()
47 EXPECT_EQ(-1, Minus1.getSExtValue()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp45 APInt Minus1(128, static_cast<uint64_t>(-1), true); in TEST() local
46 EXPECT_EQ(0u, Minus1.countLeadingZeros()); in TEST()
47 EXPECT_EQ(128u, Minus1.countLeadingOnes()); in TEST()
48 EXPECT_EQ(128u, Minus1.getActiveBits()); in TEST()
49 EXPECT_EQ(0u, Minus1.countTrailingZeros()); in TEST()
50 EXPECT_EQ(128u, Minus1.countTrailingOnes()); in TEST()
51 EXPECT_EQ(128u, Minus1.countPopulation()); in TEST()
52 EXPECT_EQ(-1, Minus1.getSExtValue()); in TEST()
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py650 def Minus1(b): function
654 call1 = Minus1([2.])
655 self.assertTrue(isinstance(Minus1, function._DefinedFunction))
656 self.assertEqual(Minus1.name, "Minus1")
658 call2 = Minus1(call1, name="next")