/aoo42x/main/i18npool/source/transliteration/ |
H A D | transliteration_caseignore.cxx | 81 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 D | transliterationImpl.cxx | 442 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 D | transliteration_Ignore.cxx | 41 …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 D | transliteration_commonclass.cxx | 87 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 D | textToPronounce_zh.cxx | 100 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()
|
/aoo42x/main/qadevOOo/tests/java/ifc/i18n/ |
H A D | _XTransliteration.java | 327 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.java | 322 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 …]
|
/aoo42x/main/sal/qa/OStringBuffer/ |
H A D | rtl_String_Utils.cxx | 113 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 D | rtl_String_Utils.hxx | 58 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);
|
/aoo42x/main/sal/qa/rtl/strings/ |
H A D | test_oustringbuffer_utf32.cxx | 76 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 D | test_oustring_endswith.cxx | 74 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()
|
/aoo42x/main/sal/qa/rtl_strings/ |
H A D | rtl_String_Utils.cxx | 109 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 D | rtl_String_Utils.hxx | 58 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 D | rtl_OString.cxx | 649 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()
|
/aoo42x/main/qadevOOo/tests/java/ifc/drawing/ |
H A D | _AreaShapeDescriptor.java | 49 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.java | 88 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()
|
/aoo42x/main/i18npool/source/collator/ |
H A D | chaptercollator.cxx | 63 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 D | collator_unicode.cxx | 59 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()
|
/aoo42x/main/xml2cmp/source/inc/ |
H A D | str.h | 29 #define stricmp(str1,str2) strcasecmp(str1, str2) argument 30 #define strnicmp(str1,str2,n) strncasecmp(str1, str2, n) argument
|
/aoo42x/main/rdbmaker/inc/codemaker/ |
H A D | global.hxx | 37 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 ()()
|
/aoo42x/main/codemaker/inc/codemaker/ |
H A D | global.hxx | 39 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 ()()
|
/aoo42x/main/idlc/inc/idlc/ |
H A D | idlctypes.hxx | 39 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 ()()
|
/aoo42x/main/i18npool/inc/ |
H A D | transliteration_Ignore.hxx | 50 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); \
|
/aoo42x/main/soltools/testSHL/util/ |
H A D | tutil.cxx | 110 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()
|
/aoo42x/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/ |
H A D | FlatXml.cxx | 110 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()
|