Lines Matching refs:rtl

46 std::ostream & operator <<(std::ostream & out, rtl::OUString const & value) {  in operator <<()
47 out << rtl::OUStringToOString(value, RTL_TEXTENCODING_ASCII_US).getStr(); in operator <<()
54 rtl::OUString const & message, T1 const & expected, T2 const & actual) in assertEqual()
214 virtual sal_Int32 SAL_CALL queryStringWidth(rtl::OUString const & rString) in queryStringWidth()
227 rtl::OString in abbreviate()
228 aAbbreviated(rtl::OUStringToOString( in abbreviate()
246 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("test_getSegmentCount")), in test_getSegmentCount()
248 INetURLObject(rtl::OUString::createFromAscii(url)).getSegmentCount( in test_getSegmentCount()
256 INetURLObject tmp(rtl::OUString::createFromAscii(url)); in test_insertName()
259 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("test_insertName")), in test_insertName()
262 rtl::OUString::createFromAscii(name), appendFinalSlash, index, in test_insertName()
265 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("test_insertName")), in test_insertName()
266 rtl::OUString::createFromAscii(result), in test_insertName()
274 INetURLObject tmp(rtl::OUString::createFromAscii(url)); in test_removeSegment()
277 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("test_removeSegment")), in test_removeSegment()
280 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("test_removeSegment")), in test_removeSegment()
281 rtl::OUString::createFromAscii(result), in test_removeSegment()
607 rtl::OUString in main()
608 aParameters(rtl::OUString::createFromAscii("; CharSet=UTF-8 ; Blubber=Blob")); in main()
644 aObj.setFSysPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a:")), in main()
646 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
655 aObj.setFSysPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
658 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
667 aObj.setFSysPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
670 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
678 if (!rtl::OUString(INetURLObject("file:///a:"). in main()
685 if (!rtl::OUString(INetURLObject("file:///a:/"). in main()
695 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
699 rtl::OUString( in main()
713 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
717 rtl::OUString( in main()
731 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
735 rtl::OUString( in main()
749 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
753 rtl::OUString( in main()
768 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
772 rtl::OUString( in main()
788 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
792 rtl::OUString( in main()
807 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
811 rtl::OUString( in main()
840 … INetURLObject aObj(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("https://xxx/yyy?abc/def~"))); in main()
841 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
861 INetURLObject aObj(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("https://xxx/yyy"))); in main()
863 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
874 … if (INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier:"))).HasError()) in main()
879 … if (!INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier://"))).HasError()) in main()
884 …if (!INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier:///"))).HasError()) in main()
889 …if (!INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier:///abc"))).HasErro… in main()
894 …if (INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier://abc"))).HasError(… in main()
899 …if (INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier://abc/def"))).HasEr… in main()
908 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
910 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
912 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
914 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
916 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
918 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
920 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
922 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
924 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
926 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
928 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
930 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
932 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
934 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
936 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
938 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
940 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
942 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
944 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
946 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
948 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
950 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
952 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
960 rtl::OUString in main()
962 rtl::OUString aAbs(RTL_CONSTASCII_USTRINGPARAM("file:///a:/d/e")); in main()
963 rtl::OUString aRel(INetURLObject::GetRelURL(aBase, aAbs)); in main()
967 rtl::OUStringToOString(aBase, RTL_TEXTENCODING_UTF8). in main()
969 rtl::OUStringToOString(aAbs, RTL_TEXTENCODING_UTF8). in main()
971 rtl::OUStringToOString(aRel, RTL_TEXTENCODING_UTF8). in main()
977 rtl::OUString in main()
979 rtl::OUString aAbs(RTL_CONSTASCII_USTRINGPARAM("file:///d:/e/f")); in main()
980 rtl::OUString aRel(INetURLObject::GetRelURL(aBase, aAbs)); in main()
984 rtl::OUStringToOString(aBase, RTL_TEXTENCODING_UTF8). in main()
986 rtl::OUStringToOString(aAbs, RTL_TEXTENCODING_UTF8). in main()
988 rtl::OUStringToOString(aRel, RTL_TEXTENCODING_UTF8). in main()
994 rtl::OUString in main()
996 rtl::OUString aAbs(RTL_CONSTASCII_USTRINGPARAM("file:///d/e/f")); in main()
997 rtl::OUString aRel(INetURLObject::GetRelURL(aBase, aAbs)); in main()
1001 rtl::OUStringToOString(aBase, RTL_TEXTENCODING_UTF8). in main()
1003 rtl::OUStringToOString(aAbs, RTL_TEXTENCODING_UTF8). in main()
1005 rtl::OUStringToOString(aRel, RTL_TEXTENCODING_UTF8). in main()
1011 rtl::OUString in main()
1013 rtl::OUString aAbs(RTL_CONSTASCII_USTRINGPARAM("file:///d:/e/f")); in main()
1014 rtl::OUString in main()
1025 rtl::OUStringToOString(aBase, RTL_TEXTENCODING_UTF8). in main()
1027 rtl::OUStringToOString(aAbs, RTL_TEXTENCODING_UTF8). in main()
1029 rtl::OUStringToOString(aRel, RTL_TEXTENCODING_UTF8). in main()
1058 INetURLObject aUrl(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
1060 rtl::OUString aPath; in main()
1066 rtl::OUStringToOString(aPath, RTL_TEXTENCODING_UTF8). in main()
1078 rtl::OUStringToOString(aPath, RTL_TEXTENCODING_UTF8). in main()
1088 rtl::OUStringToOString(aPath, RTL_TEXTENCODING_UTF8). in main()
1097 INetURLObject aUrl1(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.odma:"))); in main()
1098 rtl::OUString aUrl2(aUrl1.GetMainURL( in main()
1103 rtl::OUStringToOString(aUrl2, RTL_TEXTENCODING_UTF8). in main()
1109 INetURLObject aUrl1(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.odma:/"))); in main()
1110 rtl::OUString aUrl2(aUrl1.GetMainURL( in main()
1115 rtl::OUStringToOString(aUrl2, RTL_TEXTENCODING_UTF8). in main()
1121 … INetURLObject aUrl1(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.odma:/bla/bla"))); in main()
1122 rtl::OUString aUrl2(aUrl1.GetMainURL( in main()
1127 rtl::OUStringToOString(aUrl2, RTL_TEXTENCODING_UTF8). in main()
1273 rtl::OUString aUser; in main()
1274 aUrl = INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
1280 rtl::OUStringToOString(aUser, RTL_TEXTENCODING_UTF8).getStr()); in main()
1281 aUrl = INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
1287 rtl::OUStringToOString(aUser, RTL_TEXTENCODING_UTF8).getStr()); in main()
1301 if (!rtl::OUString(aUrl.GetMainURL(INetURLObject::NO_DECODE)). in main()
1306 rtl::OUStringToOString( in main()
1309 if (!rtl::OUString(aUrl.GetParam(INetURLObject::NO_DECODE)). in main()
1313 rtl::OUStringToOString( in main()
1325 if (!rtl::OUString(aUrl.GetMainURL(INetURLObject::NO_DECODE)). in main()
1331 rtl::OUStringToOString( in main()
1334 if (!rtl::OUString(aUrl.GetParam(INetURLObject::NO_DECODE)). in main()
1338 rtl::OUStringToOString( in main()
1413 const rtl::OUString aBaseURL(RTL_CONSTASCII_USTRINGPARAM( in main()
1415 rtl::OUString aRelURL (RTL_CONSTASCII_USTRINGPARAM( in main()
1418 rtl::OUString aRelURLToTest( in main()
1431 aRelURL = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
1433 aRelURLToTest = rtl::OUString( in main()
1448 INetURLObject url1(rtl::OUString::createFromAscii(".uno:abc%3Fdef")); in main()
1453 if (!rtl::OUString(url1.GetURLPath(INetURLObject::NO_DECODE)). in main()
1457 rtl::OUStringToOString( in main()
1466 INetURLObject url2(rtl::OUString::createFromAscii(".uno:abc?def?ghi")); in main()
1471 if (!rtl::OUString(url2.GetURLPath(INetURLObject::NO_DECODE)). in main()
1475 rtl::OUStringToOString( in main()
1484 if (!rtl::OUString(url2.GetParam(INetURLObject::NO_DECODE)). in main()
1488 rtl::OUStringToOString( in main()
1496 rtl::OUString url; in main()
1499 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("A-b.3:/%2f?x#y")); in main()
1503 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a-b.3:/%2F?x#y")), in main()
1504 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1509 url, rtl::OUString(), rtl::OUString(urlobj.GetHost())); in main()
1511 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/%2F?x")), in main()
1512 rtl::OUString(urlobj.GetURLPath())); in main()
1516 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("y")), in main()
1517 rtl::OUString(urlobj.GetMark())); in main()
1519 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:")); in main()
1523 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:#")); in main()
1527 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:/")); in main()
1532 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1534 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".foo:/")); in main()
1538 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("C:\\bla")); in main()
1542 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("C:\\bla")); in main()
1546 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///C:/bla")), in main()
1547 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1549 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LPR:\\bla")); in main()
1553 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("lpr:%5Cbla")), in main()
1554 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1556 url = rtl::OUString( in main()
1563 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1565 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("A-b.3:/%2f?x#y")); in main()
1569 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a-b.3:/%2F?x#y")), in main()
1570 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1572 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:")); in main()
1576 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("cid:foo:")), in main()
1577 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1579 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:#")); in main()
1583 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("cid:foo:#")), in main()
1584 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1586 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:/")); in main()
1591 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1593 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".foo:/")); in main()
1597 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("cid:.foo:/")), in main()
1598 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1600 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("C:\\bla")); in main()
1604 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///C:/bla")), in main()
1605 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1607 url = rtl::OUString( in main()
1614 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1617 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\\\\foobar\\%20#")); in main()
1622 rtl::OUString( in main()
1624 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1625 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\\\\foo_bar\\%20#")); in main()
1630 rtl::OUString( in main()
1632 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1636 rtl::OUString url(RTL_CONSTASCII_USTRINGPARAM("file://comp_name/path")); in main()
1638 rtl::OUString( in main()
1644 rtl::OUString( in main()
1650 rtl::OUString path; in main()
1651 path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/a/b/c")); in main()
1654 rtl::OUString( in main()
1657 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///a/b/c"))); in main()
1658 path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a\\b\\c")); in main()
1661 rtl::OUString( in main()
1664 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///a/b/c"))); in main()
1665 path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a:b:c")); in main()
1671 rtl::OUString( in main()
1677 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///a/b/c"))); in main()
1678 rtl::OUString url; in main()
1679 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/a/b/c")); in main()
1682 rtl::OUString( in main()
1685 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///a/b/c"))); in main()
1686 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a:\\b\\c")); in main()
1689 rtl::OUString( in main()
1692 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///a:/b/c"))); in main()
1693 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a:b:c")); in main()