Lines Matching refs:rtl
31 inline void printOUString( ::rtl::OUString const & _suStr ) in printOUString()
33 rtl::OString aString; in printOUString()
36 aString = ::rtl::OUStringToOString( _suStr, RTL_TEXTENCODING_ASCII_US ); in printOUString()
57 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in compare_000_1()
63 rtl::OUString aStr1; in compare_001()
64 rtl::OUString aStr2; in compare_001()
72 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in compare_002()
73 rtl::OUString aStr2 = rtl::OUString::createFromAscii("Line must be equal."); in compare_002()
81 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must differ."); in compare_003()
82 rtl::OUString aStr2 = rtl::OUString::createFromAscii("Line foo bar, ok, differ."); in compare_003()
113 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in compare_000_1()
118 rtl::OUString aStr1; in compare_001()
119 rtl::OUString aStr2; in compare_001()
127 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in compare_002()
128 rtl::OUString aStr2 = rtl::OUString::createFromAscii("Line must be equal."); in compare_002()
136 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in compare_002_1()
137 rtl::OUString aStr2 = rtl::OUString::createFromAscii("LINE MUST BE EQUAL."); in compare_002_1()
145 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must differ."); in compare_003()
146 rtl::OUString aStr2 = rtl::OUString::createFromAscii("Line foo bar, ok, differ."); in compare_003()
179 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in compare_000_1()
184 rtl::OUString aStr1; in compare_001()
185 rtl::OUString aStr2; in compare_001()
193 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in compare_002()
194 rtl::OUString aStr2 = rtl::OUString::createFromAscii("Line must be equal."); in compare_002()
204 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in compare_002_1()
205 rtl::OUString aStr2 = rtl::OUString::createFromAscii("LINE MUST BE EQUAL."); in compare_002_1()
215 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must differ."); in compare_003()
216 rtl::OUString aStr2 = rtl::OUString::createFromAscii("Line foo bar, ok, differ."); in compare_003()
226 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must differ."); in compare_004()
227 rtl::OUString aStr2 = rtl::OUString::createFromAscii("Line foo bar, ok, differ."); in compare_004()
319 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a indexOfChar."); in indexOfChar_001()
336 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a indexOfChar."); in indexOfChar_002()
365 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a lastIndexOfChar."); in lastIndexOfChar_001()
382 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a lastIndexOfChar."); in lastIndexOfChar_002()
413 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a indexOfStr."); in indexOfStr_000_1()
419 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a indexOfStr."); in indexOfStr_001()
421 rtl::OUString suSearch = rtl::OUString::createFromAscii("Line"); in indexOfStr_001()
425 /* rtl::OUString */ suSearch = rtl::OUString::createFromAscii("for"); in indexOfStr_001()
429 /* rtl::OUString */ suSearch = rtl::OUString::createFromAscii("a"); in indexOfStr_001()
433 /* rtl::OUString */ suSearch = rtl::OUString::createFromAscii("a index"); in indexOfStr_001()
440 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a indexOfStr."); in indexOfStr_002()
441 rtl::OUString suSearch = rtl::OUString::createFromAscii("not exist"); in indexOfStr_002()
471 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a lastIndexOfStr."); in lastIndexOfStr_000_1()
477 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a lastIndexOfStr."); in lastIndexOfStr_001()
478 rtl::OUString aSearchStr = rtl::OUString::createFromAscii("Index"); in lastIndexOfStr_001()
483 /* rtl::OString */ aSearchStr = rtl::OUString::createFromAscii("Line"); in lastIndexOfStr_001()
487 /* rtl::OString */ aSearchStr = rtl::OUString::createFromAscii(""); in lastIndexOfStr_001()
494 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a lastIndexOfStr."); in lastIndexOfStr_002()
495 rtl::OUString aSearchStr = rtl::OUString::createFromAscii("foo"); in lastIndexOfStr_002()
503 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line for a lastIndexOfStr."); in lastIndexOfStr_003()
504 rtl::OUString aSearchStr = rtl::OUString::createFromAscii("O"); in lastIndexOfStr_003()
535 rtl::OUString aStr1 = rtl::OUString::createFromAscii("replace char."); in replaceChar_001()
536 rtl::OUString aShouldStr1 = rtl::OUString::createFromAscii("ruplacu char."); in replaceChar_001()
545 rtl::OUString suStr(pStr, aStr1.getLength()); in replaceChar_001()
578 rtl::OUString aStr1 = rtl::OUString::createFromAscii("replace char."); in replaceChar_WithLength_001()
579 rtl::OUString aShouldStr1 = rtl::OUString::createFromAscii("ruplace char."); in replaceChar_WithLength_001()
587 rtl::OUString suStr(pStr, aStr1.getLength()); in replaceChar_WithLength_001()
595 rtl::OUString aStr1 = rtl::OUString::createFromAscii("eeeeeeeeeeeee"); in replaceChar_WithLength_002()
596 rtl::OUString aShouldStr1 = rtl::OUString::createFromAscii("uuuuuueeeeeee"); in replaceChar_WithLength_002()
604 rtl::OUString suStr(pStr, aStr1.getLength()); in replaceChar_WithLength_002()
636 … rtl::OUString aStr1 = rtl::OUString::createFromAscii("CHANGE THIS TO ASCII LOWER CASE."); in toAsciiLowerCase_001()
637 … rtl::OUString aShouldStr1 = rtl::OUString::createFromAscii("change this to ascii lower case."); in toAsciiLowerCase_001()
646 rtl::OUString suStr(pStr, aStr1.getLength()); in toAsciiLowerCase_001()
674 … rtl::OUString aStr1 = rtl::OUString::createFromAscii("CHANGE THIS TO ASCII LOWER CASE."); in toAsciiLowerCase_WithLength_001()
675 … rtl::OUString aShouldStr1 = rtl::OUString::createFromAscii("change thiS TO ASCII LOWER CASE."); in toAsciiLowerCase_WithLength_001()
684 rtl::OUString suStr(pStr, aStr1.getLength()); in toAsciiLowerCase_WithLength_001()
718 … rtl::OUString aStr1 = rtl::OUString::createFromAscii("change this to ascii upper case."); in toAsciiUpperCase_001()
719 … rtl::OUString aShouldStr1 = rtl::OUString::createFromAscii("CHANGE THIS TO ASCII UPPER CASE."); in toAsciiUpperCase_001()
728 rtl::OUString suStr(pStr, aStr1.getLength()); in toAsciiUpperCase_001()
756 … rtl::OUString aStr1 = rtl::OUString::createFromAscii("change this to ascii lower case."); in toAsciiUpperCase_WithLength_001()
757 … rtl::OUString aShouldStr1 = rtl::OUString::createFromAscii("CHANGE THIs to ascii lower case."); in toAsciiUpperCase_WithLength_001()
765 rtl::OUString suStr(pStr, aStr1.getLength()); in toAsciiUpperCase_WithLength_001()
796 rtl::OUString suStr = rtl::OUString::createFromAscii(" trim this"); in trim_WithLength_000_1()
808 rtl::OUString suStr = rtl::OUString::createFromAscii(" trim this"); in trim_WithLength_001()
815 CPPUNIT_ASSERT_MESSAGE("string should be empty", rtl::OUString(pStr).getLength() == 0); in trim_WithLength_001()
822 rtl::OUString suStr = rtl::OUString::createFromAscii("trim this"); in trim_WithLength_002()
830 … CPPUNIT_ASSERT_MESSAGE("string should contain 'trim'", rtl::OUString(pStr).getLength() == 4); in trim_WithLength_002()
837 rtl::OUString suStr = rtl::OUString::createFromAscii(" trim this"); in trim_WithLength_003()
845 … CPPUNIT_ASSERT_MESSAGE("string should contain 'trim'", rtl::OUString(pStr).getLength() == 4); in trim_WithLength_003()
851 rtl::OUString suStr = rtl::OUString::createFromAscii("\r\n\t \n\r trim \n this"); in trim_WithLength_004()
859 … CPPUNIT_ASSERT_MESSAGE("string should contain 'trim'", rtl::OUString(pStr).getLength() == 4); in trim_WithLength_004()
865 … rtl::OUString suStr = rtl::OUString::createFromAscii("\r\n\t \n\r trim \t this \n\r\t\t "); in trim_WithLength_005()
873 …CPPUNIT_ASSERT_MESSAGE("string should contain 'trim \\t this'", rtl::OUString(pStr).getLength() ==… in trim_WithLength_005()
941 rtl::OUString refStr(RTL_CONSTASCII_USTRINGPARAM("referenceString")); in equal_ascii_shorter()
950 rtl::OUString refStr(RTL_CONSTASCII_USTRINGPARAM("referenceString")); in equal_ascii_shorter_asciiLength()
959 rtl::OUString refStr(RTL_CONSTASCII_USTRINGPARAM("reference")); in equal_ref_shorter()
968 rtl::OUString refStr(RTL_CONSTASCII_USTRINGPARAM("reference")); in equal()
977 rtl::OUString refStr(RTL_CONSTASCII_USTRINGPARAM("defghi")); in unequal_reference_bigger()
986 rtl::OUString refStr(RTL_CONSTASCII_USTRINGPARAM("abc")); in unequal_ascii_bigger()
1020 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_shortenedCompareIgnoreAsciiCase_WithLength_000_1()
1026 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_shortenedCompareIgnoreAsciiCase_WithLength_000_2()
1027 rtl::OString sStr2 = "Line is shorter."; in ascii_shortenedCompareIgnoreAsciiCase_WithLength_000_2()
1033 rtl::OUString suStr1; in ascii_shortenedCompareIgnoreAsciiCase_WithLength_001()
1034 rtl::OString sStr2; in ascii_shortenedCompareIgnoreAsciiCase_WithLength_001()
1042 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_shortenedCompareIgnoreAsciiCase_WithLength_002()
1043 rtl::OString sStr2 = "Line must be equal."; in ascii_shortenedCompareIgnoreAsciiCase_WithLength_002()
1051 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must differ."); in ascii_shortenedCompareIgnoreAsciiCase_WithLength_003()
1052 … rtl::OString sStr2 = "Line must be differ and longer."; in ascii_shortenedCompareIgnoreAsciiCase_WithLength_003()
1086 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compareIgnoreAsciiCase_WithLength_000_1()
1092 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compareIgnoreAsciiCase_WithLength_000_2()
1093 rtl::OString sStr2 = "Line is shorter."; in ascii_compareIgnoreAsciiCase_WithLength_000_2()
1099 rtl::OUString suStr1; in ascii_compareIgnoreAsciiCase_WithLength_001()
1100 rtl::OString sStr2; in ascii_compareIgnoreAsciiCase_WithLength_001()
1108 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compareIgnoreAsciiCase_WithLength_002()
1109 rtl::OString sStr2 = "Line must be equal."; in ascii_compareIgnoreAsciiCase_WithLength_002()
1117 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must differ."); in ascii_compareIgnoreAsciiCase_WithLength_003()
1118 … rtl::OString sStr2 = "Line must be differ and longer."; in ascii_compareIgnoreAsciiCase_WithLength_003()
1152 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compare_000_1()
1158 rtl::OUString suStr1; in ascii_compare_001()
1159 rtl::OString sStr2; in ascii_compare_001()
1167 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compare_002()
1168 rtl::OString sStr2 = "Line must be equal."; in ascii_compare_002()
1176 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must differ."); in ascii_compare_003()
1177 rtl::OString sStr2 = "Line foo bar, ok, differ."; in ascii_compare_003()
1210 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compareIgnoreAsciiCase_000_1()
1216 rtl::OUString suStr1; in ascii_compareIgnoreAsciiCase_001()
1217 rtl::OString sStr2; in ascii_compareIgnoreAsciiCase_001()
1225 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compareIgnoreAsciiCase_002()
1226 rtl::OString sStr2 = "Line must be equal."; in ascii_compareIgnoreAsciiCase_002()
1234 … rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must be equal, when ignore case."); in ascii_compareIgnoreAsciiCase_002_1()
1235 … rtl::OString sStr2 = "LINE MUST BE EQUAL, WHEN IGNORE CASE."; in ascii_compareIgnoreAsciiCase_002_1()
1243 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must differ."); in ascii_compareIgnoreAsciiCase_003()
1244 rtl::OString sStr2 = "Line foo bar, ok, differ."; in ascii_compareIgnoreAsciiCase_003()
1308 rtl::OUString aStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compareIgnoreAsciiCase_000_1()
1314 rtl::OUString suStr1; in ascii_compareIgnoreAsciiCase_001()
1315 rtl::OString sStr2; in ascii_compareIgnoreAsciiCase_001()
1323 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must be equal."); in ascii_compareIgnoreAsciiCase_002()
1324 rtl::OString sStr2 = "Line must be equal."; in ascii_compareIgnoreAsciiCase_002()
1332 … rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must be equal, when ignore case."); in ascii_compareIgnoreAsciiCase_002_1()
1333 … rtl::OString sStr2 = "LINE MUST BE EQUAL, WHEN IGNORE CASE."; in ascii_compareIgnoreAsciiCase_002_1()
1341 rtl::OUString suStr1 = rtl::OUString::createFromAscii("Line must differ."); in ascii_compareIgnoreAsciiCase_003()
1342 rtl::OString sStr2 = "Line foo bar, ok, differ."; in ascii_compareIgnoreAsciiCase_003()