Home
last modified time | relevance | path

Searched refs:str2 (Results 1 – 25 of 53) sorted by relevance

123

/trunk/main/i18npool/source/transliteration/
H A Dtransliteration_caseignore.cxx81 if (str1.getLength() != 1 || str2.getLength() != 1) in transliterateRange()
92 OUString l2 = u2l.transliterateString2String(str2, 0, str2.getLength()); in transliterateRange()
93 OUString u2 = l2u.transliterateString2String(str2, 0, str2.getLength()); in transliterateRange()
113 const ::rtl::OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2) in equals()
116 return (compare(str1, pos1, nCount1, nMatch1, str2, pos2, nCount2, nMatch2) == 0); in equals()
122 const ::rtl::OUString& str2, sal_Int32 off2, sal_Int32 len2) in compareSubstring()
126 return compare(str1, off1, len1, nMatch1, str2, off2, len2, nMatch2); in compareSubstring()
133 const ::rtl::OUString& str2) in compareString()
137 return compare(str1, 0, str1.getLength(), nMatch1, str2, 0, str2.getLength(), nMatch2); in compareString()
143 const ::rtl::OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2) in compare()
[all …]
H A DtransliterationImpl.cxx442 const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2) in equals() argument
455 pos1 >= str1.getLength() || pos2 >= str2.getLength() || in equals()
463 if ( pos2 + nCount2 > str2.getLength() ) in equals()
464 nCount2 = str2.getLength() - pos2; in equals()
472 OUString tmpStr2 = folding(str2, pos2, nCount2, offset2); in equals()
530 return bodyCascade[0]->transliterateRange(str1, str2); in transliterateRange()
534 ostr[1] = str2; in transliterateRange()
543 const OUString& str2, sal_Int32 off2, sal_Int32 len2) in compareSubstring() argument
552 OUString in_str2 = this->transliterate(str2, off2, len2, offset); in compareSubstring()
572 return caseignore->compareString(str1, str2); in compareString()
[all …]
H A Dtransliteration_Ignore.cxx41 …const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 ) throw(RuntimeExcepti… in equals() argument
48 OUString s2 = this->folding( str2, pos2, nCount2, offset2); in equals()
73 transliteration_Ignore::transliterateRange( const OUString& str1, const OUString& str2 ) throw(Runt… in transliterateRange() argument
75 if (str1.getLength() < 1 || str2.getLength() < 1) in transliterateRange()
80 r[1] = str2.copy(0, 1); in transliterateRange()
102 transliteration_Ignore::transliterateRange( const OUString& str1, const OUString& str2, in transliterateRange() argument
105 if (str1.getLength() < 1 || str2.getLength() < 1) in transliterateRange()
110 OUString s12 = t1.transliterate( str2, 0, 1, offset ); in transliterateRange()
112 OUString s22 = t2.transliterate( str2, 0, 1, offset ); in transliterateRange()
H A Dtransliteration_commonclass.cxx87 const OUString& str2, sal_Int32 off2, sal_Int32 len2) in compareSubstring() argument
99 OUString in_str2 = this->transliterate(str2, off2, len2, offset2); in compareSubstring()
120 transliteration_commonclass::compareString( const OUString& str1, const OUString& str2 ) throw ( Ru… in compareString() argument
122 return( this->compareSubstring(str1, 0, str1.getLength(), str2, 0, str2.getLength())); in compareString()
H A DtextToPronounce_zh.cxx100 const OUString & str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32 & nMatch2) in equals() argument
111 if (nCount2 + pos2 > str2.getLength()) in equals()
112 nCount2 = str2.getLength() - pos2; in equals()
117 s2 = str2.getStr() + pos2; in equals()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/i18n/
H A D_XTransliteration.java327 String str2, int p2, int len2, int expRes) { in testSubstring() argument
333 res = oObj.compareSubstring(str1, p1, len1, str2, p2, len2); in testSubstring()
346 str2 + "', " + p2 + ", " + len2 + ")"); in testSubstring()
362 log.println("('" + str2 + "', " + p2 + ", " + len2 + ", '" + in testSubstring()
408 if (expRes == 0) return testString(str1, str2, expRes, false) ; in testString()
409 return testString(str1, str2, expRes, true) ; in testString()
412 private boolean testString(String str1, String str2, int expRes, in testString() argument
419 res = oObj.compareString(str1, str2); in testString()
427 log.println("Comparing of '" + str1 + "' and '" + str2 + in testString()
436 res = oObj.compareString(str2, str1); in testString()
[all …]
H A D_XCollator.java322 String str2 = new String(new char[] {locChar[0], locChar[0], in testCompareString() local
331 res = oObj.compareString(str1, str2) ; in testCompareString()
334 toUnicode(str1) + "),(" + toUnicode(str2) + in testCompareString()
337 col.compare(str1, str2) + "\n" ; in testCompareString()
340 res += oObj.compareString(str2, str1) ; in testCompareString()
343 toUnicode(str1) + "),(" + toUnicode(str2) + in testCompareString()
379 res = oObj.compareSubstring(str1, 1, 2 , str2, 2, 2) ; in testCompareSubstring()
385 res = oObj.compareSubstring(str1, 1, 2, str2, 1, 2) ; in testCompareSubstring()
389 toUnicode(str2.substring(1, 3)) in testCompareSubstring()
395 res += oObj.compareSubstring(str2, 1, 2, str1, 1, 2) ; in testCompareSubstring()
[all …]
/trunk/main/sal/qa/OStringBuffer/
H A Drtl_String_Utils.cxx113 sal_Bool cmpstr( const sal_Char* str1, const sal_Char* str2, sal_uInt32 len ) in cmpstr() argument
116 const sal_Char* pBuf2 = str2; in cmpstr()
128 sal_Bool cmpstr( const sal_Char* str1, const sal_Char* str2 ) in cmpstr() argument
131 const sal_Char* pBuf2 = str2; in cmpstr()
146 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 len ) in cmpustr() argument
149 const sal_Unicode* pBuf2 = str2; in cmpustr()
162 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2 ) in cmpustr() argument
165 const sal_Unicode* pBuf2 = str2; in cmpustr()
206 void makeComment( char *com, const char *str1, const char *str2, in makeComment() argument
214 cpystr(com + str1Length + signLength, str2); in makeComment()
[all …]
H A Drtl_String_Utils.hxx58 sal_Bool cmpstr( const sal_Char* str1, const sal_Char* str2, sal_uInt32 len );
59 sal_Bool cmpstr( const sal_Char* str1, const sal_Char* str2 );
60 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 len );
61 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2 );
64 void makeComment(char *com, const char *str1, const char *str2, sal_Int32 sgn);
/trunk/main/sal/qa/rtl/strings/
H A Dtest_oustringbuffer_utf32.cxx76 sal_Unicode const str2[str2Len] = { 'a', 'b', 'c', 'd' }; in TEST_F() local
83 createMessage(message, res1, rtl::OUString(str2, str2Len)); in TEST_F()
85 res1 == rtl::OUString(str2, str2Len)) << message.getStr(); in TEST_F()
86 rtl::OUStringBuffer buf2(rtl::OUString(str2, str2Len)); in TEST_F()
98 sal_Unicode const str2[str2Len] = { 'a', 'b', 'd', 'c' }; in TEST_F() local
105 createMessage(message, res1, rtl::OUString(str2, str2Len)); in TEST_F()
107 res1 == rtl::OUString(str2, str2Len)) << message.getStr(); in TEST_F()
108 rtl::OUStringBuffer buf2(rtl::OUString(str2, str2Len)); in TEST_F()
H A Dtest_oustring_endswith.cxx74 char const * str2; in TEST_F() member
100 appendString(msg, rtl::OString(data[i].str2, data[i].str2Len)); in TEST_F()
107 data[i].str2, data[i].str2Len) in TEST_F()
/trunk/main/sal/qa/rtl_strings/
H A Drtl_String_Utils.cxx109 sal_Bool cmpstr( const sal_Char* str1, const sal_Char* str2, sal_uInt32 len ) in cmpstr() argument
112 const sal_Char* pBuf2 = str2; in cmpstr()
124 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 len ) in cmpustr() argument
127 const sal_Unicode* pBuf2 = str2; in cmpustr()
140 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2 ) in cmpustr() argument
143 const sal_Unicode* pBuf2 = str2; in cmpustr()
184 void makeComment( char *com, const char *str1, const char *str2, in makeComment() argument
192 cpystr(com + str1Length + signLength, str2); in makeComment()
193 com[str1Length + signLength + AStringLen(str2)] = 0; in makeComment()
H A Drtl_String_Utils.hxx58 sal_Bool cmpstr( const sal_Char* str1, const sal_Char* str2, sal_uInt32 len );
59 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 len );
60 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2 );
63 void makeComment(char *com, const char *str1, const char *str2, sal_Int32 sgn);
H A Drtl_OString.cxx649 OString *str1, *str2; in test_rtl_OString_op_cmp() local
651 str2 = (arrOStr[i][1]) ? new OString(arrOStr[i][1]) : new OString() ; in test_rtl_OString_op_cmp()
653 sal_Bool cmpRes = (*str1 == *str2); in test_rtl_OString_op_cmp()
676 cmpRes = (arrOStr[i][0] == *str2); in test_rtl_OString_op_cmp()
687 delete str2; in test_rtl_OString_op_cmp()
742 OString *str1, *str2; in test_rtl_OString_op_neq() local
744 str2 = (arrOStr[i][1]) ? new OString(arrOStr[i][1]) : new OString() ; in test_rtl_OString_op_neq()
746 sal_Bool cmpRes = (*str1 != *str2); in test_rtl_OString_op_neq()
768 cmpRes = (arrOStr[i][0] != *str2); in test_rtl_OString_op_neq()
779 delete str2; in test_rtl_OString_op_neq()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/drawing/
H A D_AreaShapeDescriptor.java49 return str2; else
60 public String str2 = ""; field in _AreaShapeDescriptor
65 str2 = "Gradient 3"; in _FillGradientName()
72 str2 = "Blank"; in _FillBitmapName()
79 str2 = "Standard 2"; in _FillTransparenceGradientName()
86 str2 = "Black 45 degrees"; in _FillHatchName()
H A D_FillProperties.java88 return str2;
117 public String str2 = ""; field in _FillProperties
125 str2 = "Gradient 3"; in _FillGradientName()
135 str2 = "Blank"; in _FillBitmapName()
145 str2 = "Transparency 1"; in _FillTransparenceGradientName()
155 str2 = "Black 45 degrees"; in _FillHatchName()
/trunk/main/i18npool/source/collator/
H A Dchaptercollator.cxx63 const OUString& str2, sal_Int32 off2, sal_Int32 len2) throw(RuntimeException) in compareSubstring() argument
66 return CollatorImpl::compareSubstring( str1, off1, len1, str2, off2, len2 ); in compareSubstring()
70 for (i2 = len2; i2 && (cclass->getCharacterType(str2, off2+i2-1, nLocale) & DIGIT); i2--) ; in compareSubstring()
72 sal_Int32 ans = CollatorImpl::compareSubstring(str1, off1, i1, str2, off2, i2); in compareSubstring()
80 OUString s1 = str1.copy(off1+i1, len1-i1), s2 = str2.copy(off2+i2, len2-i2); in compareSubstring()
H A Dcollator_unicode.cxx59 const OUString& str2, sal_Int32 off2, sal_Int32 len2) throw(RuntimeException) in compareSubstring() argument
61 …nst UChar *>(str1.getStr()) + off1, len1, reinterpret_cast<const UChar *>(str2.getStr()) + off2, l… in compareSubstring()
65 Collator_Unicode::compareString( const OUString& str1, const OUString& str2) throw(RuntimeException) in compareString() argument
67 …rpret_cast<const UChar *>(str1.getStr()), reinterpret_cast<const UChar *>(str2.getStr())); // UCha… in compareString()
/trunk/main/xml2cmp/source/inc/
H A Dstr.h29 #define stricmp(str1,str2) strcasecmp(str1, str2) argument
30 #define strnicmp(str1,str2,n) strncasecmp(str1, str2, n) argument
/trunk/main/rdbmaker/inc/codemaker/
H A Dglobal.hxx37 sal_Bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const in operator ()()
39 return (str1 == str2); in operator ()()
53 sal_Bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const in operator ()()
55 return (str1 < str2); in operator ()()
/trunk/main/codemaker/inc/codemaker/
H A Dglobal.hxx39 sal_Bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const in operator ()()
41 return (str1 == str2); in operator ()()
55 sal_Bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const in operator ()()
57 return (str1 < str2); in operator ()()
/trunk/main/idlc/inc/idlc/
H A Didlctypes.hxx39 sal_Bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const in operator ()()
41 return (str1 == str2); in operator ()()
55 sal_Bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const in operator ()()
57 return (str1 < str2); in operator ()()
/trunk/main/i18npool/inc/
H A Dtransliteration_Ignore.hxx50 const rtl::OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
55 transliterateRange( const rtl::OUString& str1, const rtl::OUString& str2 )
72 …transliterateRange( const rtl::OUString& str1, const rtl::OUString& str2, XTransliteration& t1, XT…
164 const rtl::OUString& str2 ) throw(com::sun::star::uno::RuntimeException); \
/trunk/main/soltools/testSHL/util/
H A Dtutil.cxx110 sal_Char* cat( const sal_Char* str1, const sal_Char* str2 ) { in cat() argument
113 sal_Char* dest = new sal_Char[ ln(str1)+ln(str2)+1 ]; in cat()
122 psrc = str2; in cat()
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/
H A DFlatXml.cxx110 virtual void SAL_CALL processingInstruction(const OUString& str, const OUString& str2)
263 void XFlatXml::processingInstruction(const OUString& str, const OUString& str2) in processingInstruction() argument
267 m_rDocumentHandler->processingInstruction(str, str2); in processingInstruction()

Completed in 104 milliseconds

123