Searched refs:Truncate (Results 1 – 3 of 3) sorted by relevance
/art/libartbase/base/ |
D | bit_string_test.cc | 163 TEST(InstanceOfBitString, Truncate) { in TEST() argument 164 EXPECT_BITSTRING_STR("BitString[]", MakeBitString({1, 2, 3}).Truncate(0)); in TEST() 165 EXPECT_BITSTRING_STR("BitString[1]", MakeBitString({1, 2, 3}).Truncate(1)); in TEST() 166 EXPECT_BITSTRING_STR("BitString[1,2]", MakeBitString({1, 2, 3}).Truncate(2)); in TEST() 167 EXPECT_BITSTRING_STR("BitString[1,2,3]", MakeBitString({1, 2, 3}).Truncate(3)); in TEST()
|
D | bit_string.h | 255 BitString Truncate(size_t end) { in Truncate() function
|
/art/runtime/ |
D | subtype_check_info.h | 182 DCHECK_EQ(GetPathToRoot().Truncate(target.GetSafeDepth()), target.GetPathToRoot()) in IsSubtypeOf() 185 DCHECK_NE(GetPathToRoot().Truncate(target.GetSafeDepth()), target.GetPathToRoot()) in IsSubtypeOf() 398 return GetBitString().Truncate(end); in GetPathToRoot()
|