Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 185) sorted by relevance

12345678

/aoo41x/main/sal/qa/ByteSequence/
H A DByteSequence.cxx89 rtl::ByteSequence s2(s1); in test_copy() local
129 rtl::ByteSequence s2(s1); in test_getArray() local
130 sal_Int8 * p = s2.getArray(); 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()
150 rtl::ByteSequence s2(a, 4); in test_diffLen() local
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
[all …]
/aoo41x/main/sal/qa/rtl_strings/
H A Drtl_old_teststrbuf.cxx121 OString s2(b2.makeStringAndClear()); in test_OStringBuffer() local
122 TEST_ENSURE( s1 == s2, "test_OStringBuffer error 7"); in test_OStringBuffer()
129 s2 = "Hier fuege ich jetzt ein > Hallo <\n"; in test_OStringBuffer()
130 TEST_ENSURE( s2 == b2.getStr(), "test_OStringBuffer error 9"); in test_OStringBuffer()
134 s2 = "Hier fuege ich jetzt ein > false Hallo <\n"; in test_OStringBuffer()
135 TEST_ENSURE( s2 == b2.getStr(), "test_OStringBuffer error 10"); in test_OStringBuffer()
139 s2 = "Hier fuege ich jetzt ein > 123456789 false Hallo <\n"; in test_OStringBuffer()
140 TEST_ENSURE( s2 == b2.getStr(), "test_OStringBuffer error 11"); in test_OStringBuffer()
146 TEST_ENSURE( s2 == b2.getStr(), "test_OStringBuffer error 12"); in test_OStringBuffer()
215 OUString s2(b2.makeStringAndClear()); in test_OUStringBuffer() local
[all …]
H A Drtl_old_testowstring.cxx93 OUString s2 = s1; in test_OUString() local
94 TEST_ENSURE( s2[16] == (sal_Unicode)'O', "test_OWString error 3"); in test_OUString()
95 TEST_ENSURE( s2.equals(s1), "test_OWString error 4"); in test_OUString()
100 TEST_ENSURE( s2[20] == (sal_Unicode)'r', "test_OWString error 7"); in test_OUString()
101 TEST_ENSURE( s2[24] == (sal_Unicode)'\n', "test_OWString error 8"); in test_OUString()
104 TEST_ENSURE( s2.lastIndexOf((sal_Unicode)'t', s2.getLength() - 8) == 8, "test_OWString error 9"); in test_OUString()
110 OUString s3 = s2.copy(0, s2.getLength() - 1); in test_OUString()
397 OString s2 = OUStringToOString(u1, RTL_TEXTENCODING_MS_1252); in test_OString2OUStringAndViceVersa() local
399 s2 = OUStringToOString(u1, RTL_TEXTENCODING_IBM_850); in test_OString2OUStringAndViceVersa()
401 s2 = OUStringToOString(u1, RTL_TEXTENCODING_ISO_8859_15); in test_OString2OUStringAndViceVersa()
[all …]
H A Drtl_old_testostring.cxx85 OString s2 = s1; in test_OString() local
86 TEST_ENSURE( s2[16] == 'O', "test_OString error 3"); in test_OString()
87 TEST_ENSURE( s2.equals(s1), "test_OString error 4"); in test_OString()
88 TEST_ENSURE( s2.indexOf('O') == 16, "test_OString error 5"); in test_OString()
89 TEST_ENSURE( s2.indexOf('O', 5) == 16, "test_OString error 5a"); in test_OString()
90 TEST_ENSURE( s2.lastIndexOf('r') == 19, "test_OString error 6"); in test_OString()
91 TEST_ENSURE( s2[19] == 'r', "test_OString error 7"); in test_OString()
92 TEST_ENSURE( s2[23] == '\n', "test_OString error 8"); in test_OString()
94 TEST_ENSURE( s2.lastIndexOf('M') == 0, "test_OString error 10"); in test_OString()
95 TEST_ENSURE( s2.lastIndexOf('t', s2.getLength() - 8) == 8, "test_OString error 9"); in test_OString()
[all …]
/aoo41x/main/qadevOOo/tests/java/ifc/sheet/
H A D_XArrayFormulaRange.java156 private boolean equalIgnoreSpaces(String s1, String s2) { in equalIgnoreSpaces() argument
159 s2 = s2.trim() ; in equalIgnoreSpaces()
160 while (p1 < s1.length() && p2 < s2.length()) { in equalIgnoreSpaces()
162 while (s2.charAt(p2) == ' ') p2 ++ ; in equalIgnoreSpaces()
163 if (s1.charAt(p1) != s2.charAt(p2)) return false ; in equalIgnoreSpaces()
168 return p1 == s1.length() && p2 == s2.length() ; in equalIgnoreSpaces()
/aoo41x/main/lingucomponent/source/languageguessing/
H A Daltstrfunc.cxx30 int start(const std::string &s1, const std::string &s2){ in start() argument
35 if (min > s2.length()) in start()
36 min = s2.length(); in start()
38 for(i = 0; i < min && s2[i] && s1[i] && !ret; i++){ in start()
39 ret = toupper(s1[i]) - toupper(s2[i]); in start()
40 if(s1[i] == '.' || s2[i] == '.'){ret = 0;}//. is a neutral character in start()
/aoo41x/main/winaccessibility/inc/
H A DAccObjectWinManager.hxx55 bool operator()(const void* s1, const void* s2) const in operator ()()
57 return long(s1)<long(s2); in operator ()()
62 bool operator()(const HWND s1, const HWND s2) const in operator ()()
64 return long(s1)<long(s2); in operator ()()
69 bool operator()(const long s1, const long s2) const in operator ()()
71 return long(s1)<long(s2); in operator ()()
/aoo41x/main/i18npool/source/collator/
H A Dchaptercollator.cxx54 ChapterCollator::compareString( const OUString& s1, const OUString& s2) throw(RuntimeException) in compareString() argument
56 return compareSubstring(s1, 0, s1.getLength(), s2, 0, s2.getLength()); in compareString()
80 OUString s1 = str1.copy(off1+i1, len1-i1), s2 = str2.copy(off2+i2, len2-i2); in compareSubstring() local
82 res2 = cclass->parseAnyToken( s2, 0, nLocale, DIGIT, aAddAllowed, DIGIT, aAddAllowed ); in compareSubstring()
/aoo41x/main/xmlsecurity/source/dialogs/
H A Dresourcemanager.cxx122 ::rtl::OUStringBuffer s1, s2; in GetDNForCertDetailsView()
130 s2.append(static_cast<sal_Unicode>('\n')); in GetDNForCertDetailsView()
133 s2.append(i->first); in GetDNForCertDetailsView()
134 s2.append(sEqual); in GetDNForCertDetailsView()
135 s2.append(i->second); in GetDNForCertDetailsView()
137 return make_pair(s1.makeStringAndClear(), s2.makeStringAndClear()); in GetDNForCertDetailsView()
/aoo41x/main/stoc/source/uriproc/
H A DUriReferenceFactory.cxx93 bool equalIgnoreEscapeCase(rtl::OUString const & s1, rtl::OUString const & s2) { in equalIgnoreEscapeCase() argument
94 if (s1.getLength() == s2.getLength()) { in equalIgnoreEscapeCase()
96 if (s1[i] == '%' && s2[i] == '%' && s1.getLength() - i > 2 in equalIgnoreEscapeCase()
98 && isHexDigit(s2[i + 1]) && isHexDigit(s2[i + 2]) in equalIgnoreEscapeCase()
99 && equalIgnoreCase(s1[i + 1], s2[i + 1]) in equalIgnoreEscapeCase()
100 && equalIgnoreCase(s1[i + 2], s2[i + 2])) in equalIgnoreEscapeCase()
103 } else if (s1[i] != s2[i]) { in equalIgnoreEscapeCase()
/aoo41x/main/unotools/source/i18n/
H A Dcollatorwrapper.cxx89 const ::rtl::OUString& s2, sal_Int32 off2, sal_Int32 len2) const in compareSubstring()
95 s1, off1, len1, s2, off2, len2); in compareSubstring()
107 CollatorWrapper::compareString (const ::rtl::OUString& s1, const ::rtl::OUString& s2) const in compareString()
112 return mxInternationalCollator->compareString (s1, s2); in compareString()
/aoo41x/main/stoc/source/registry_tdprovider/
H A Dtdiface.cxx162 Sequence< Reference< XMethodParameter > > s2(s1.getLength()); in getParameters() local
164 s2[i] = s1[i].get(); in getParameters()
166 return s2; in getParameters()
174 Sequence< Reference< XTypeDescription > > s2(s1.getLength()); in getExceptions() local
176 s2[i] = s1[i].get(); in getExceptions()
178 return s2; in getExceptions()
/aoo41x/main/i18npool/source/transliteration/
H A Dtransliteration_Ignore.cxx48 OUString s2 = this->folding( str2, pos2, nCount2, offset2); in equals() local
51 const sal_Unicode * p2 = s2.getStr(); in equals()
52 sal_Int32 length = Min(s1.getLength(), s2.getLength()); in equals()
68 return (nmatch == s1.getLength()) && (nmatch == s2.getLength()); in equals()
H A DtextToPronounce_zh.cxx105 const sal_Unicode * s1, * s2; in equals() local
117 s2 = str2.getStr() + pos2; in equals()
120 pron2=getPronounce(*s2++); in equals()
/aoo41x/main/dbaccess/source/filter/xml/
H A DxmlTable.cxx159 ::rtl::OUString s1,s2,s3; in CreateChildContext()
160 fillAttributes(nPrefix, rLocalName,xAttrList,m_sFilterStatement,s1,s2,s3); in CreateChildContext()
166 ::rtl::OUString s1,s2,s3; in CreateChildContext()
167 fillAttributes(nPrefix, rLocalName,xAttrList,m_sOrderStatement,s1,s2,s3); in CreateChildContext()
/aoo41x/main/comphelper/qa/
H A Dtest_string.cxx48 rtl::OUString s2( in test() local
53 s2 == rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foobaazbar"))); in test()
58 s2, RTL_CONSTASCII_STRINGPARAM("bar"), in test()
/aoo41x/main/ucb/source/ucp/tdoc/
H A Dtdoc_storage.hxx144 const std::pair< rtl::OUString, bool > & s2 ) const in operator ()()
146 if ( s1.first < s2.first ) in operator ()()
148 else if ( s1.first == s2.first ) in operator ()()
149 return ( !s1.second && s2.second ); in operator ()()
/aoo41x/main/tools/inc/tools/
H A Dsolar.h288 #define LIBRARY_CONCAT3( s1, s2, s3 ) \ argument
289 s1 s2 s3
290 #define LIBRARY_CONCAT4( s1, s2, s3, s4 ) \ argument
291 s1 s2 s3 s4
/aoo41x/main/jvmfwk/plugins/sunmajor/pluginlib/
H A Dutil.hxx76 bool operator () (const std::pair<const rtl::OUString, rtl::Reference<VendorBase> > & s2) in operator ()()
78 if (s1 == s2.first) in operator ()()
81 sSub = s2.first + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")); in operator ()()
/aoo41x/main/solenv/inc/
H A Dverinfo.hrc45 #define PPCX(s1, s2) s1##s2
48 #define PPCAT(s1, s2) PPCX(s1, s2)
/aoo41x/main/ooo_custom_images/industrial/res/commandimagelist/
H A Dlc_adjust.xcf.bz2
H A Dlc_draw.xcf.bz2
/aoo41x/main/stoc/test/registry_tdprovider/
H A Dtypes.idl39 published struct Struct3<T, U> { U s2; };
41 struct Struct3a<T, U> { U s2; };
43 struct Struct4: Struct2 { Struct3< Struct2, Struct3< boolean, any > > s2; };
/aoo41x/main/cppu/source/uno/
H A DEnvStack.cxx40 bool operator()(oslThreadIdentifier s1, oslThreadIdentifier s2) const;
43 bool oslThreadIdentifier_equal::operator()(oslThreadIdentifier s1, oslThreadIdentifier s2) const in operator ()()
45 bool result = s1 == s2; in operator ()()
/aoo41x/main/autodoc/source/ary/cpp/
H A Dc_reposypart.cxx170 String s2 = NameOf(i_2); in operator ()() local
172 if (s1 != s2) in operator ()()
173 return aLess(s1, s2); in operator ()()

Completed in 127 milliseconds

12345678