Home
last modified time | relevance | path

Searched refs:Truncate (Results 1 – 3 of 3) sorted by relevance

/art/libartbase/base/
Dbit_string_test.cc163 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()
Dbit_string.h255 BitString Truncate(size_t end) { in Truncate() function
/art/runtime/
Dsubtype_check_info.h182 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()