Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 25 of 52) sorted by relevance

123

/trunk/main/i18npool/source/transliteration/
H A Dtransliteration_caseignore.cxx81 if (str1.getLength() != 1 || str2.getLength() != 1) in transliterateRange()
90 OUString l1 = u2l.transliterateString2String(str1, 0, str1.getLength()); in transliterateRange()
91 OUString u1 = l2u.transliterateString2String(str1, 0, str1.getLength()); in transliterateRange()
112 const ::rtl::OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1, in equals()
116 return (compare(str1, pos1, nCount1, nMatch1, str2, pos2, nCount2, nMatch2) == 0); in equals()
121 const ::rtl::OUString& str1, sal_Int32 off1, sal_Int32 len1, in compareSubstring()
126 return compare(str1, off1, len1, nMatch1, str2, off2, len2, nMatch2); in compareSubstring()
132 const ::rtl::OUString& str1, in compareString()
137 return compare(str1, 0, str1.getLength(), nMatch1, str2, 0, str2.getLength(), nMatch2); in compareString()
142 const ::rtl::OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1, in compare()
[all …]
H A DtransliterationImpl.cxx441 const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1, in equals() argument
455 pos1 >= str1.getLength() || pos2 >= str2.getLength() || in equals()
461 if ( pos1 + nCount1 > str1.getLength() ) in equals()
462 nCount1 = str1.getLength() - pos1; in equals()
471 OUString tmpStr1 = folding(str1, pos1, nCount1, offset1); in equals()
530 return bodyCascade[0]->transliterateRange(str1, str2); in transliterateRange()
533 ostr[0] = str1; in transliterateRange()
542 const OUString& str1, sal_Int32 off1, sal_Int32 len1, in compareSubstring() argument
551 OUString in_str1 = this->transliterate(str1, off1, len1, offset); in compareSubstring()
572 return caseignore->compareString(str1, str2); in compareString()
[all …]
H A Dtransliteration_Ignore.cxx40 transliteration_Ignore::equals(const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& … in equals() argument
47 OUString s1 = this->folding( str1, pos1, nCount1, offset1); 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()
79 r[0] = str1.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()
109 OUString s11 = t1.transliterate( str1, 0, 1, offset ); in transliterateRange()
111 OUString s21 = t2.transliterate( str1, 0, 1, offset ); in transliterateRange()
H A Dtransliteration_commonclass.cxx86 const OUString& str1, sal_Int32 off1, sal_Int32 len1, in compareSubstring() argument
98 OUString in_str1 = this->transliterate(str1, off1, len1, offset1); 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.cxx99 TextToPronounce_zh::equals( const OUString & str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32 & n… in equals() argument
108 if (nCount1 + pos1 > str1.getLength()) in equals()
109 nCount1 = str1.getLength() - pos1; in equals()
116 s1 = str1.getStr() + pos1; in equals()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/i18n/
H A D_XCollator.java325 res = oObj.compareString(str1 , str1) ; in testCompareString()
328 toUnicode(str1) + ") ... FAILED\n" ; in testCompareString()
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()
382 toUnicode(str1) + ") ... FAILED\n" ; in testCompareSubstring()
385 res = oObj.compareSubstring(str1, 1, 2, str2, 1, 2) ; in testCompareSubstring()
[all …]
H A D_XTransliteration.java326 private boolean testSubstring(String str1, int p1, int len1, in testSubstring() argument
333 res = oObj.compareSubstring(str1, p1, len1, str2, p2, len2); in testSubstring()
345 log.println("('" + str1 + "', " + p1 + ", " + len1 + ", '" + in testSubstring()
363 str1 + "', " + p1 + ", " + len1 + ")"); 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 …]
/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
115 const sal_Char* pBuf1 = str1; in cmpstr()
128 sal_Bool cmpstr( const sal_Char* str1, const sal_Char* str2 ) in cmpstr() argument
130 const sal_Char* pBuf1 = str1; in cmpstr()
146 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 len ) in cmpustr() argument
148 const sal_Unicode* pBuf1 = str1; in cmpustr()
162 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2 ) in cmpustr() argument
164 const sal_Unicode* pBuf1 = str1; in cmpustr()
206 void makeComment( char *com, const char *str1, const char *str2, in makeComment() argument
209 cpystr(com, str1); 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/qadevOOo/java/OOoRunner/src/main/java/ifc/drawing/
H A D_AreaShapeDescriptor.java48 if (oldValue.equals(str1))
50 return str1;
59 public String str1 = ""; field in _AreaShapeDescriptor
64 str1 = "Gradient 1"; in _FillGradientName()
71 str1 = "Sky"; in _FillBitmapName()
78 str1 = "Standard 1"; in _FillTransparenceGradientName()
85 str1 = "Black 0 degrees"; in _FillHatchName()
H A D_FillProperties.java87 if (oldValue.equals(str1)) {
90 return str1;
116 public String str1 = ""; field in _FillProperties
124 str1 = "Gradient 1"; in _FillGradientName()
134 str1 = "Sky"; in _FillBitmapName()
144 str1 = "Transparency 2"; in _FillTransparenceGradientName()
154 str1 = "Black 0 degrees"; in _FillHatchName()
/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
111 const sal_Char* pBuf1 = str1; in cmpstr()
124 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 len ) in cmpustr() argument
126 const sal_Unicode* pBuf1 = str1; in cmpustr()
140 sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2 ) in cmpustr() argument
142 const sal_Unicode* pBuf1 = str1; in cmpustr()
184 void makeComment( char *com, const char *str1, const char *str2, in makeComment() argument
187 cpystr(com, str1); in makeComment()
188 int str1Length = AStringLen( str1 ); 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);
/trunk/main/l10ntools/source/
H A Dinireader.cxx150 string str1 = str.substr( 0 , str.find_last_not_of(' ') + 1 ); in trim() local
151 str = str1.empty() ? str1 : str1.substr( str1.find_first_not_of(' ') ); in trim()
/trunk/main/i18npool/source/collator/
H A Dchaptercollator.cxx62 ChapterCollator::compareSubstring( const OUString& str1, sal_Int32 off1, sal_Int32 len1, in compareSubstring() argument
66 return CollatorImpl::compareSubstring( str1, off1, len1, str2, off2, len2 ); in compareSubstring()
69 for (i1 = len1; i1 && (cclass->getCharacterType(str1, off1+i1-1, nLocale) & DIGIT); i1--) ; 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.cxx58 Collator_Unicode::compareSubstring( const OUString& str1, sal_Int32 off1, sal_Int32 len1, in compareSubstring() argument
61 …return collator->compare(reinterpret_cast<const UChar *>(str1.getStr()) + off1, len1, reinterpret_… in compareSubstring()
65 Collator_Unicode::compareString( const OUString& str1, const OUString& str2) throw(RuntimeException) in compareString() argument
67 …return collator->compare(reinterpret_cast<const UChar *>(str1.getStr()), reinterpret_cast<const UC… 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/sal/qa/rtl/strings/
H A Dtest_oustringbuffer_utf32.cxx74 sal_Unicode const str1[str1Len] = { 'a', 'b', 'c' }; in TEST_F() local
80 rtl::OUStringBuffer buf1(rtl::OUString(str1, str1Len)); in TEST_F()
96 sal_Unicode const str1[str1Len] = { 'a', 'b', 'c' }; in TEST_F() local
102 rtl::OUStringBuffer buf1(rtl::OUString(str1, str1Len)); in TEST_F()
H A Dtest_oustring_endswith.cxx72 char const * str1; in TEST_F() member
97 appendString(msg, rtl::OString(data[i].str1, data[i].str1Len)); in TEST_F()
105 data[i].str1, data[i].str1Len, in TEST_F()
/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.hxx49 equals( const rtl::OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
55 transliterateRange( const rtl::OUString& str1, const rtl::OUString& str2 )
72 …transliterateRange( const rtl::OUString& str1, const rtl::OUString& str2, XTransliteration& t1, XT…
163 …sun::star::uno::Sequence< rtl::OUString > SAL_CALL transliterateRange( const rtl::OUString& str1, \
H A Dtransliteration_caseignore.hxx43 const rtl::OUString& str1, const rtl::OUString& str2 )
47 const rtl::OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
65 const rtl::OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/text/
H A D_BaseFrame.java87 public String str1 = "Graphics"; field in _BaseFrame
95 if (str1.equals(oldValue))
98 return str1;

Completed in 144 milliseconds

123