Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 187) sorted by relevance

12345678

/aoo41x/main/sal/qa/ByteSequence/
H A DByteSequence.cxx87 rtl::ByteSequence s1(5); in test_copy() local
89 rtl::ByteSequence s2(s1); in test_copy()
128 rtl::ByteSequence s1(a, 5); in test_getArray() local
129 rtl::ByteSequence s2(s1); 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()
149 rtl::ByteSequence s1(a, 5); 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()
[all …]
/aoo41x/main/sal/qa/rtl_strings/
H A Drtl_old_teststrbuf.cxx80 OString s1("Mein erster RTL OString\n"); in test_OStringBuffer() local
82 OStringBuffer b1(s1); in test_OStringBuffer()
87 s1 = "Mein erster RTL OStringBuffer\n"; in test_OStringBuffer()
95 s1 = "false"; in test_OStringBuffer()
101 s1 += " 123456789"; in test_OStringBuffer()
115 s1 += " -3223372036854775807"; in test_OStringBuffer()
122 TEST_ENSURE( s1 == s2, "test_OStringBuffer error 7"); in test_OStringBuffer()
176 OUStringBuffer b1(s1); in test_OUStringBuffer()
189 s1 = OUString::createFromAscii("false"); in test_OUStringBuffer()
195 s1 += OUString::createFromAscii(" 123456789"); in test_OUStringBuffer()
[all …]
H A Drtl_old_testowstring.cxx89 OUString s1(OUString::createFromAscii("Mein erster RTL OUString\n")); in test_OUString() local
91 TEST_ENSURE( s1.getLength() == 25, "test_OWString error 2"); in test_OUString()
93 OUString s2 = s1; in test_OUString()
95 TEST_ENSURE( s2.equals(s1), "test_OWString error 4"); in test_OUString()
114 s1 = s4.copy(0, 39); in test_OUString()
116 s5 = s1 + OUString::createFromAscii( " aus der RTL Library\n" ); in test_OUString()
387 OString s1("Hallo jetzt komm ich"); in test_OString2OUStringAndViceVersa() local
388 OUString u1 = OStringToOUString(s1, RTL_TEXTENCODING_MS_1252); in test_OString2OUStringAndViceVersa()
390 u1 = OStringToOUString(s1, RTL_TEXTENCODING_IBM_850); in test_OString2OUStringAndViceVersa()
392 u1 = OStringToOUString(s1, RTL_TEXTENCODING_ISO_8859_15); in test_OString2OUStringAndViceVersa()
[all …]
H A Drtl_old_testostring.cxx81 OString s1("Mein erster RTL OString\n"); in test_OString() local
82 TEST_ENSURE( s1 == "Mein erster RTL OString\n", "test_OString error 1"); in test_OString()
83 TEST_ENSURE( s1.getLength() == 24, "test_OString error 2"); in test_OString()
85 OString s2 = s1; in test_OString()
87 TEST_ENSURE( s2.equals(s1), "test_OString error 4"); in test_OString()
105 s1 = s4.copy(0, 38); in test_OString()
107 s5 = s1 + " aus der RTL Library\n"; in test_OString()
/aoo41x/main/qadevOOo/tests/java/ifc/sheet/
H A D_XArrayFormulaRange.java156 private boolean equalIgnoreSpaces(String s1, String s2) { in equalIgnoreSpaces() argument
158 s1 = s1.trim() ; in equalIgnoreSpaces()
160 while (p1 < s1.length() && p2 < s2.length()) { in equalIgnoreSpaces()
161 while (s1.charAt(p1) == ' ') p1 ++ ; in equalIgnoreSpaces()
163 if (s1.charAt(p1) != s2.charAt(p2)) return false ; in equalIgnoreSpaces()
168 return p1 == s1.length() && p2 == s2.length() ; in equalIgnoreSpaces()
H A D_XNamedRanges.java106 String s1 = null; in _addNewByName() local
109 s1 = oSheet.getCellByPosition(2, 1).getFormula(); in _addNewByName()
114 log.println("Outputlist returns: " + s + " " + s1); in _addNewByName()
/aoo41x/main/lingucomponent/source/languageguessing/
H A Daltstrfunc.cxx30 int start(const std::string &s1, const std::string &s2){ in start() argument
34 size_t min = s1.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/wizards/com/sun/star/wizards/web/export/
H A DConfiguredExporter.java65 String s1 = s.substring(1); in cast() local
70 return s1; in cast()
72 return Integer.valueOf(s1); in cast()
74 return Short.valueOf(s1); in cast()
76 return Double.valueOf(s1); in cast()
/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()
95 for (sal_Int32 i = 0; i < s1.getLength();) { in equalIgnoreEscapeCase()
96 if (s1[i] == '%' && s2[i] == '%' && s1.getLength() - i > 2 in equalIgnoreEscapeCase()
97 && isHexDigit(s1[i + 1]) && isHexDigit(s1[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/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
81 res1 = cclass->parseAnyToken( s1, 0, nLocale, DIGIT, aAddAllowed, DIGIT, aAddAllowed ); in compareSubstring()
/aoo41x/main/stoc/source/registry_tdprovider/
H A Dtdiface.cxx161 Sequence< Reference< XParameter > > s1(_desc.getParameters()); in getParameters() local
162 Sequence< Reference< XMethodParameter > > s2(s1.getLength()); in getParameters()
163 for (sal_Int32 i = 0; i < s1.getLength(); ++i) { in getParameters()
164 s2[i] = s1[i].get(); in getParameters()
172 Sequence< Reference< XCompoundTypeDescription > > s1( in getExceptions() local
174 Sequence< Reference< XTypeDescription > > s2(s1.getLength()); in getExceptions()
175 for (sal_Int32 i = 0; i < s1.getLength(); ++i) { in getExceptions()
176 s2[i] = s1[i].get(); in getExceptions()
/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 ()() argument
45 bool result = s1 == s2; in operator ()()
53 size_t operator()(oslThreadIdentifier s1) const;
56 size_t oslThreadIdentifier_hash::operator()(oslThreadIdentifier s1) const in operator ()()
58 return s1; in operator ()()
/aoo41x/main/migrationanalysis/src/driver_docs/sources/excel/
H A DMigrationAnalyser.cls2041 Dim s1() As String
2062 s1 = SplitRange(myarray(0, 1))
2063 If UBound(s1) < 4 Then
2067 If (Asclong(s1(0)) <> Asclong(s1(2))) And (Asclong(s1(1)) <> Asclong(s1(3))) Then
2089 …btemp1 = s1(0) = s1(2) And s1(1) = v1(1) And s1(3) = v1(3) And Asclong(v1(0)) >= Asclong(s1(0)) + …
2090 …btemp2 = s1(1) = s1(3) And s1(0) = v1(0) And s1(2) = v1(2) And Asclong(v1(1)) >= Asclong(s1(1)) + …
/aoo41x/main/jvmfwk/plugins/sunmajor/pluginlib/
H A Dutil.hxx72 rtl::OUString s1; member
73 SameOrSubDirJREMap(const rtl::OUString& s):s1(s){ in SameOrSubDirJREMap()
78 if (s1 == s2.first) in operator ()()
82 if (s1.match(sSub) == sal_True) in operator ()()
/aoo41x/main/unotools/source/i18n/
H A Dcollatorwrapper.cxx88 const ::rtl::OUString& s1, sal_Int32 off1, sal_Int32 len1, 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() argument
112 return mxInternationalCollator->compareString (s1, s2); in compareString()
/aoo41x/main/bridges/test/
H A Dtestclient.cxx103 Sequence< sal_Int8 > s1( 200 ); in testLatency() local
104 r->write( s1 ); in testLatency()
105 r->read( s1 , 12 ); in testLatency()
106 r->read( s1 , 48 ); in testLatency()
/aoo41x/main/i18npool/source/transliteration/
H A Dtransliteration_Ignore.cxx47 OUString s1 = this->folding( str1, pos1, nCount1, offset1); in equals() local
50 const sal_Unicode * p1 = s1.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
116 s1 = str1.getStr() + pos1; in equals()
119 pron1=getPronounce(*s1++); 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/ucb/source/ucp/tdoc/
H A Dtdoc_storage.hxx143 const std::pair< rtl::OUString, bool > & s1, 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/solenv/inc/
H A Dverinfo.hrc45 #define PPCX(s1, s2) s1##s2
48 #define PPCAT(s1, s2) PPCX(s1, s2)
/aoo41x/main/xmlsecurity/source/dialogs/
H A Dresourcemanager.cxx122 ::rtl::OUStringBuffer s1, s2; in GetDNForCertDetailsView()
129 s1.append(static_cast<sal_Unicode>(',')); in GetDNForCertDetailsView()
132 s1.append(i->second); in GetDNForCertDetailsView()
137 return make_pair(s1.makeStringAndClear(), s2.makeStringAndClear()); in GetDNForCertDetailsView()
/aoo41x/main/autodoc/source/ary/cpp/
H A Dc_reposypart.cxx169 String s1 = NameOf(i_1); in operator ()() local
172 if (s1 != s2) in operator ()()
173 return aLess(s1, s2); in operator ()()

Completed in 372 milliseconds

12345678