Lines Matching refs:s2
89 rtl::ByteSequence s2(s1); in test_copy() local
90 CPPUNIT_ASSERT_EQUAL(sal_Int32(5), s2.getLength()); 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()
129 rtl::ByteSequence s2(s1); in test_getArray() local
130 sal_Int8 * p = s2.getArray(); in test_getArray()
133 CPPUNIT_ASSERT_EQUAL(sal_Int32(1), s2.getHandle()->nRefCount); in test_getArray()
135 CPPUNIT_ASSERT_EQUAL(sal_Int8(10), s2.getConstArray()[2]); in test_getArray()
140 rtl::ByteSequence s2; 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()
150 rtl::ByteSequence s2(a, 4); 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()
161 rtl::ByteSequence s2(a2, 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()