Lines Matching refs:xs
722 fbl::String xs(10u, 'x');
723 EXPECT_EQ(1u, StringTestHelper::GetRefCount(xs));
725 fbl::String copy1(xs);
726 EXPECT_EQ(xs.data(), copy1.data());
727 EXPECT_EQ(2u, StringTestHelper::GetRefCount(xs));
729 fbl::String copy2(xs);
730 EXPECT_EQ(xs.data(), copy2.data());
731 EXPECT_EQ(3u, StringTestHelper::GetRefCount(xs));
733 fbl::String assigned_from_xs = xs;
734 EXPECT_EQ(xs.data(), assigned_from_xs.data());
735 EXPECT_EQ(4u, StringTestHelper::GetRefCount(xs));
739 EXPECT_EQ(3u, StringTestHelper::GetRefCount(xs));
741 assigned_from_xs = xs;
742 EXPECT_EQ(xs.data(), assigned_from_xs.data());
743 EXPECT_EQ(4u, StringTestHelper::GetRefCount(xs));
747 EXPECT_EQ(3u, StringTestHelper::GetRefCount(xs));
749 EXPECT_EQ(3u, StringTestHelper::GetRefCount(xs));
751 EXPECT_EQ(2u, StringTestHelper::GetRefCount(xs));
753 EXPECT_EQ(1u, StringTestHelper::GetRefCount(xs));