Lines Matching refs:url

242     char const * url, bool ignoreFinalSlash, sal_Int32 result)  in test_getSegmentCount()  argument
248 INetURLObject(rtl::OUString::createFromAscii(url)).getSegmentCount( in test_getSegmentCount()
253 char const * url, char const * name, bool appendFinalSlash, sal_Int32 index, in test_insertName() argument
256 INetURLObject tmp(rtl::OUString::createFromAscii(url)); in test_insertName()
271 char const * url, sal_Int32 index, bool ignoreFinalSlash, bool success, in test_removeSegment() argument
274 INetURLObject tmp(rtl::OUString::createFromAscii(url)); in test_removeSegment()
1496 rtl::OUString url; in main() local
1499 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("A-b.3:/%2f?x#y")); in main()
1500 urlobj = INetURLObject(url); in main()
1501 bSuccess &= assertEqual(url, INET_PROT_GENERIC, urlobj.GetProtocol()); in main()
1503 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a-b.3:/%2F?x#y")), in main()
1505 bSuccess &= assertEqual(url, false, urlobj.HasUserData()); in main()
1506 bSuccess &= assertEqual(url, false, urlobj.hasPassword()); in main()
1507 bSuccess &= assertEqual(url, false, urlobj.HasPort()); in main()
1509 url, rtl::OUString(), rtl::OUString(urlobj.GetHost())); in main()
1511 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/%2F?x")), in main()
1513 bSuccess &= assertEqual(url, false, urlobj.HasParam()); in main()
1514 bSuccess &= assertEqual(url, true, urlobj.HasMark()); in main()
1516 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("y")), in main()
1519 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:")); in main()
1520 urlobj = INetURLObject(url); in main()
1521 bSuccess &= assertEqual(url, true, urlobj.HasError()); in main()
1523 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:#")); in main()
1524 urlobj = INetURLObject(url); in main()
1525 bSuccess &= assertEqual(url, true, urlobj.HasError()); in main()
1527 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:/")); in main()
1528 urlobj = INetURLObject(url); in main()
1529 bSuccess &= assertEqual(url, INET_PROT_GENERIC, urlobj.GetProtocol()); in main()
1531 url, url, in main()
1534 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".foo:/")); in main()
1535 urlobj = INetURLObject(url); in main()
1536 bSuccess &= assertEqual(url, true, urlobj.HasError()); in main()
1538 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("C:\\bla")); in main()
1539 urlobj = INetURLObject(url); in main()
1540 bSuccess &= assertEqual(url, true, urlobj.HasError()); in main()
1542 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("C:\\bla")); in main()
1543 urlobj = INetURLObject(url, INET_PROT_FILE); in main()
1544 bSuccess &= assertEqual(url, INET_PROT_FILE, urlobj.GetProtocol()); in main()
1546 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///C:/bla")), in main()
1549 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LPR:\\bla")); in main()
1550 urlobj = INetURLObject(url); in main()
1551 bSuccess &= assertEqual(url, INET_PROT_GENERIC, urlobj.GetProtocol()); in main()
1553 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("lpr:%5Cbla")), in main()
1556 url = rtl::OUString( in main()
1558 urlobj = INetURLObject(url); in main()
1560 url, INET_PROT_PRIV_SOFFICE, urlobj.GetProtocol()); in main()
1562 url, url, in main()
1565 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("A-b.3:/%2f?x#y")); in main()
1566 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1567 bSuccess &= assertEqual(url, INET_PROT_GENERIC, urlobj.GetProtocol()); in main()
1569 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a-b.3:/%2F?x#y")), in main()
1572 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:")); in main()
1573 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1574 bSuccess &= assertEqual(url, INET_PROT_CID, urlobj.GetProtocol()); in main()
1576 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("cid:foo:")), in main()
1579 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:#")); in main()
1580 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1581 bSuccess &= assertEqual(url, INET_PROT_CID, urlobj.GetProtocol()); in main()
1583 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("cid:foo:#")), in main()
1586 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo:/")); in main()
1587 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1588 bSuccess &= assertEqual(url, INET_PROT_GENERIC, urlobj.GetProtocol()); in main()
1590 url, url, in main()
1593 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".foo:/")); in main()
1594 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1595 bSuccess &= assertEqual(url, INET_PROT_CID, urlobj.GetProtocol()); in main()
1597 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("cid:.foo:/")), in main()
1600 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("C:\\bla")); in main()
1601 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1602 bSuccess &= assertEqual(url, INET_PROT_FILE, urlobj.GetProtocol()); in main()
1604 url, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///C:/bla")), in main()
1607 url = rtl::OUString( in main()
1609 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1611 url, INET_PROT_PRIV_SOFFICE, urlobj.GetProtocol()); in main()
1613 url, url, in main()
1617 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\\\\foobar\\%20#")); in main()
1618 urlobj = INetURLObject(url, INET_PROT_FILE); in main()
1619 bSuccess &= assertEqual(url, INET_PROT_FILE, urlobj.GetProtocol()); in main()
1621 url, in main()
1625 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\\\\foo_bar\\%20#")); in main()
1626 urlobj = INetURLObject(url, INET_PROT_FILE); in main()
1627 bSuccess &= assertEqual(url, INET_PROT_FILE, urlobj.GetProtocol()); in main()
1629 url, in main()
1636 rtl::OUString url(RTL_CONSTASCII_USTRINGPARAM("file://comp_name/path")); in main() local
1640 INetURLObject(url, INET_PROT_FILE).GetMainURL( in main()
1642 url); in main()
1646 INetURLObject(url).GetMainURL(INetURLObject::NO_DECODE), url); in main()
1678 rtl::OUString url; in main() local
1679 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/a/b/c")); in main()
1681 url, in main()
1683 INetURLObject(url, INET_PROT_HTTP).GetMainURL( in main()
1686 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a:\\b\\c")); in main()
1688 url, in main()
1690 INetURLObject(url, INET_PROT_HTTP).GetMainURL( in main()
1693 url = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("a:b:c")); in main()
1695 url, INetURLObject(url, INET_PROT_HTTP).HasError(), true); in main()
1697 url, in main()
1699 url, INET_PROT_HTTP, INetURLObject::WAS_ENCODED, in main()