Lines Matching refs:s1
87 rtl::ByteSequence s1(5); in test_copy() local
89 rtl::ByteSequence s2(s1); in test_copy()
91 CPPUNIT_ASSERT_EQUAL(s1.getConstArray(), s2.getConstArray()); in test_copy()
92 CPPUNIT_ASSERT_EQUAL(s1.getHandle(), s2.getHandle()); in test_copy()
93 CPPUNIT_ASSERT_EQUAL(sal_Int32(2), s1.getHandle()->nRefCount); in test_copy()
95 CPPUNIT_ASSERT_EQUAL(sal_Int32(1), s1.getHandle()->nRefCount); in test_copy()
128 rtl::ByteSequence s1(a, 5); in test_getArray() local
129 rtl::ByteSequence s2(s1); in test_getArray()
132 CPPUNIT_ASSERT_EQUAL(sal_Int32(1), s1.getHandle()->nRefCount); in test_getArray()
134 CPPUNIT_ASSERT_EQUAL(sal_Int8(2), s1.getConstArray()[2]); in test_getArray()
139 rtl::ByteSequence s1; in test_same0() local
141 CPPUNIT_ASSERT_EQUAL(sal_True, s1 == s2); in test_same0()
142 CPPUNIT_ASSERT_EQUAL(sal_True, s2 == s1); in test_same0()
143 CPPUNIT_ASSERT_EQUAL(sal_False, s1 != s2); in test_same0()
144 CPPUNIT_ASSERT_EQUAL(sal_False, s2 != s1); in test_same0()
149 rtl::ByteSequence s1(a, 5); in test_diffLen() local
151 CPPUNIT_ASSERT_EQUAL(sal_False, s1 == s2); in test_diffLen()
152 CPPUNIT_ASSERT_EQUAL(sal_False, s2 == s1); in test_diffLen()
153 CPPUNIT_ASSERT_EQUAL(sal_True, s1 != s2); in test_diffLen()
154 CPPUNIT_ASSERT_EQUAL(sal_True, s2 != s1); in test_diffLen()
159 rtl::ByteSequence s1(a1, 5); in test_diffElem() local
162 CPPUNIT_ASSERT_EQUAL(sal_False, s1 == s2); in test_diffElem()
163 CPPUNIT_ASSERT_EQUAL(sal_False, s2 == s1); in test_diffElem()
164 CPPUNIT_ASSERT_EQUAL(sal_True, s1 != s2); in test_diffElem()
165 CPPUNIT_ASSERT_EQUAL(sal_True, s2 != s1); in test_diffElem()