Lines Matching refs:pEnd
614 sal_Unicode const * pEnd, in guessFSysStyleByCounting() argument
622 DBG_ASSERT(std::numeric_limits< sal_Int32 >::min() < pBegin - pEnd in guessFSysStyleByCounting()
623 && pEnd - pBegin <= std::numeric_limits< sal_Int32 >::max(), in guessFSysStyleByCounting()
634 while (pBegin != pEnd) in guessFSysStyleByCounting()
691 sal_Unicode const * pEnd = pPos + rTheAbsURIRef.getLength(); in setAbsURIRef() local
701 PrefixInfo const * pPrefix = getPrefix(p, pEnd); in setAbsURIRef()
768 && pEnd - p1 >= 2 in setAbsURIRef()
771 && (pEnd - p1 == 2 || p1[2] == '/' || p1[2] == '\\')) in setAbsURIRef()
777 else if (pEnd - p1 >= 2 && p1[0] == '/' && p1[1] == '/') in setAbsURIRef()
780 if ((scanDomain(p1, pEnd) > 0 || scanIPv6reference(p1, pEnd)) in setAbsURIRef()
781 && (p1 == pEnd || *p1 == '/')) in setAbsURIRef()
784 else if (p1 != pEnd && *p1 == '/') in setAbsURIRef()
791 && pEnd - p1 >= 2 in setAbsURIRef()
797 p1, pEnd - p1, '\\'); in setAbsURIRef()
798 sal_Unicode const * pe = n == -1 ? pEnd : p1 + n; in setAbsURIRef()
814 sal_uInt32 nLabels = scanDomain(pDomainEnd, pEnd); in setAbsURIRef()
815 if (nLabels > 0 && pDomainEnd != pEnd && *pDomainEnd == '@') in setAbsURIRef()
818 if (scanDomain(pDomainEnd, pEnd) > 0 in setAbsURIRef()
819 && pDomainEnd == pEnd) in setAbsURIRef()
823 && (pDomainEnd == pEnd || *pDomainEnd == '/')) in setAbsURIRef()
837 aSynScheme = parseScheme(&p1, pEnd, nFragmentDelimiter); in setAbsURIRef()
845 if (bSmart && m_eScheme == INET_PROT_NOT_VALID && pPos != pEnd in setAbsURIRef()
883 if (pEnd - pPos < 2 || *pPos++ != '/' || *pPos++ != '/') in setAbsURIRef()
890 while (pPos < pEnd in setAbsURIRef()
895 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in setAbsURIRef()
911 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in setAbsURIRef()
917 while (pPos < pEnd in setAbsURIRef()
923 pEnd, in setAbsURIRef()
953 if (pEnd - pPos < 2 || *pPos++ != '/' || *pPos++ != '/') in setAbsURIRef()
960 while (pPos < pEnd in setAbsURIRef()
965 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in setAbsURIRef()
1010 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in setAbsURIRef()
1013 while (p1 != pEnd && *p1 != '/' && in setAbsURIRef()
1047 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in setAbsURIRef()
1054 && pEnd - pPos >= 2 in setAbsURIRef()
1057 && (pEnd - pPos == 2 in setAbsURIRef()
1067 if (pPos < pEnd && *pPos == '/') in setAbsURIRef()
1080 && pEnd - pPos >= 2 in setAbsURIRef()
1086 while (pe < pEnd && *pe != '\\' && in setAbsURIRef()
1120 && pEnd - pPos >= 2 in setAbsURIRef()
1123 && (pEnd - pPos == 2 in setAbsURIRef()
1153 switch (guessFSysStyleByCounting(pPos, pEnd, eStyle)) in setAbsURIRef()
1174 = pPos != pEnd && *pPos != nSegmentDelimiter; in setAbsURIRef()
1184 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in setAbsURIRef()
1188 && pPos != pEnd && *pPos == '/')) in setAbsURIRef()
1197 while (pPos < pEnd && *pPos != '/' && *pPos != c in setAbsURIRef()
1390 if (!parsePath(m_eScheme, &pPos, pEnd, bOctets, eMechanism, eCharset, in setAbsURIRef()
1403 if (getSchemeInfo().m_bQuery && pPos < pEnd && *pPos == '?') in setAbsURIRef()
1407 for (++pPos; pPos < pEnd && *pPos != nFragmentDelimiter;) in setAbsURIRef()
1410 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, cEscapePrefix, in setAbsURIRef()
1420 if (pPos < pEnd && *pPos == nFragmentDelimiter) in setAbsURIRef()
1424 for (++pPos; pPos < pEnd;) in setAbsURIRef()
1427 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, cEscapePrefix, in setAbsURIRef()
1436 if (pPos != pEnd) in setAbsURIRef()
1459 sal_Unicode const * pEnd = p + rTheRelURIRef.getLength(); in convertRelToAbs() local
1462 PrefixInfo const * pPrefix = getPrefix(pPrefixBegin, pEnd); in convertRelToAbs()
1466 hasScheme = parseScheme(&pPrefixBegin, pEnd, '#').getLength() > 0; in convertRelToAbs()
1502 if (pEnd - q >= 2 in convertRelToAbs()
1505 && (pEnd - q == 2 || q[2] == '/' || q[2] == '\\')) in convertRelToAbs()
1507 else if (pEnd - q >= 2 && q[0] == '\\' && q[1] == '\\') in convertRelToAbs()
1511 q, pEnd - q, '\\'); in convertRelToAbs()
1512 sal_Unicode const * qe = n == -1 ? pEnd : q + n; in convertRelToAbs()
1538 switch (guessFSysStyleByCounting(p, pEnd, eStyle)) in convertRelToAbs()
1577 while (p != pEnd && *p++ != ':') ; in convertRelToAbs()
1627 if (pEnd - p >= 2 && p[0] == '/' && p[1] == '/') in convertRelToAbs()
1633 while (p != pEnd) in convertRelToAbs()
1637 = getUTF32(p, pEnd, bOctets, cEscapePrefix, eMechanism, in convertRelToAbs()
1664 if (p == pEnd) in convertRelToAbs()
1688 while (p != pEnd) in convertRelToAbs()
1692 = getUTF32(p, pEnd, bOctets, cEscapePrefix, eMechanism, in convertRelToAbs()
1737 while (p != pEnd && *p != nQueryDelimiter && *p != nFragmentDelimiter) in convertRelToAbs()
1741 if (pEnd - p == 1 in convertRelToAbs()
1747 if (p != pEnd && *p == nSegmentDelimiter) in convertRelToAbs()
1751 else if (pEnd - p >= 2 in convertRelToAbs()
1753 && (pEnd - p == 2 in convertRelToAbs()
1760 if (p != pEnd && *p == nSegmentDelimiter) in convertRelToAbs()
1776 while (p != pEnd in convertRelToAbs()
1783 = getUTF32(p, pEnd, bOctets, cEscapePrefix, eMechanism, in convertRelToAbs()
1788 if (p != pEnd && *p == nSegmentDelimiter) in convertRelToAbs()
1795 while (p != pEnd && *p != nFragmentDelimiter) in convertRelToAbs()
1799 = getUTF32(p, pEnd, bOctets, cEscapePrefix, eMechanism, in convertRelToAbs()
1805 if (p == pEnd) in convertRelToAbs()
1826 while (p != pEnd) in convertRelToAbs()
1830 = getUTF32(p, pEnd, bOctets, cEscapePrefix, eMechanism, in convertRelToAbs()
2034 sal_Unicode const * pEnd = pBegin + aSynExtURIRef.getLength(); in convertIntToExt() local
2036 PrefixInfo const * pPrefix = getPrefix(p, pEnd); in convertIntToExt()
2062 sal_Unicode const * pEnd = pBegin + aSynIntURIRef.getLength(); in convertExtToInt() local
2064 PrefixInfo const * pPrefix = getPrefix(p, pEnd); in convertExtToInt()
2081 sal_Unicode const * pEnd) in getPrefix() argument
2188 if (p >= pEnd) in getPrefix()
2199 while (p < pEnd && *q != '\0' in getPrefix()
2365 sal_Unicode const *& rBegin, sal_Unicode const * pEnd, in parseHost() argument
2386 for (; p != pEnd; ++p) in parseHost()
2802 sal_Unicode const * pBegin, sal_Unicode const * pEnd, bool bOctets, in parseHostOrNetBiosName() argument
2807 if (pBegin < pEnd) in parseHostOrNetBiosName()
2810 if (!parseHost(p, pEnd, aTheCanonic) || p != pEnd) in parseHostOrNetBiosName()
2815 while (pBegin < pEnd) in parseHostOrNetBiosName()
2818 sal_uInt32 nUTF32 = getUTF32(pBegin, pEnd, bOctets, '%', in parseHostOrNetBiosName()
2933 sal_Unicode const * pEnd, in parsePath() argument
2956 if (pPos < pEnd && *pPos != '/') in parsePath()
2958 while (pPos < pEnd && *pPos != nFragmentDelimiter) in parsePath()
2961 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
2975 if (pPos < pEnd && *pPos != '/') in parsePath()
2977 while (pPos < pEnd && *pPos != nQueryDelimiter in parsePath()
2981 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
2995 else if (pPos < pEnd in parsePath()
2999 while (pPos < pEnd && *pPos != nFragmentDelimiter) in parsePath()
3002 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3014 && (pPos == pEnd in parsePath()
3036 while (pPos < pEnd && *pPos != nQueryDelimiter in parsePath()
3040 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3049 if (pPos == pEnd || *pPos == nQueryDelimiter in parsePath()
3055 && (pEnd - pPos == 1 || pPos[1] == nQueryDelimiter in parsePath()
3066 if (p == pEnd || *p == nQueryDelimiter in parsePath()
3081 if (pPos == pEnd || *pPos == nQueryDelimiter in parsePath()
3087 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, '%', in parsePath()
3098 while (p < pEnd && *pPos != nQueryDelimiter in parsePath()
3111 while (pPos < pEnd && *pPos != nFragmentDelimiter) in parsePath()
3114 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3130 while (pPos < pEnd && *pPos != nQueryDelimiter in parsePath()
3134 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3144 if (pPos == pEnd in parsePath()
3152 while (pPos < pEnd && *pPos != nQueryDelimiter in parsePath()
3156 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3169 while (pPos < pEnd && *pPos != nFragmentDelimiter) in parsePath()
3172 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3181 if (pEnd - pPos < 2 || *pPos++ != '/' || *pPos++ != '~') in parsePath()
3184 while (pPos < pEnd && *pPos != nFragmentDelimiter) in parsePath()
3187 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3197 if (pPos < pEnd && *pPos != '/' in parsePath()
3200 while (pPos < pEnd && *pPos != nQueryDelimiter in parsePath()
3204 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3225 while (pPathEnd < pEnd && *pPathEnd != nFragmentDelimiter) in parsePath()
3329 if (pPos == pEnd || *pPos == nFragmentDelimiter) in parsePath()
3332 while (pPos != pEnd && *pPos != nFragmentDelimiter) in parsePath()
3335 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3346 if (pPos < pEnd) in parsePath()
3354 while (pPos < pEnd && *pPos != nFragmentDelimiter) in parsePath()
3357 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3366 if (pPos < pEnd) in parsePath()
3368 if (*pPos != '/' || pEnd - pPos > 1) in parsePath()
3376 if (pPos == pEnd || *pPos != '/') in parsePath()
3378 while (pPos < pEnd && *pPos != nFragmentDelimiter) in parsePath()
3381 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3393 while (pPos < pEnd && *pPos != nFragmentDelimiter) in parsePath()
3396 sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets, in parsePath()
3422 sal_Unicode const * pEnd = p + rThePath.getLength(); in setPath() local
3423 if (!parsePath(m_eScheme, &p, pEnd, bOctets, eMechanism, eCharset, false, in setPath()
3425 || p != pEnd) in setPath()
3544 sal_Unicode const * pEnd = pPathEnd; in insertName() local
3545 if (bIgnoreFinalSlash && pEnd > pPathBegin && pEnd[-1] == '/') in insertName()
3546 --pEnd; in insertName()
3547 bool bSkip = pPrefixEnd < pEnd && *pPrefixEnd == '/'; in insertName()
3556 if (pPrefixEnd >= pEnd) in insertName()
3704 sal_Unicode const * pEnd = pBegin + m_aPath.getLength(); in getIMAPUID() local
3705 sal_Unicode const * p = pEnd; in getIMAPUID()
3708 if (p < pEnd && *--p != '0' in getIMAPUID()
3715 if (INetMIME::scanUnsigned(p, pEnd, false, nUID)) in getIMAPUID()
3725 sal_Unicode const * pEnd, bool bOctets, in encodeText() argument
3732 while (pBegin < pEnd) in encodeText()
3735 sal_uInt32 nUTF32 = getUTF32(pBegin, pEnd, bOctets, cEscapePrefix, in encodeText()
3746 sal_Unicode const * pEnd, in decode() argument
3754 return rtl::OUString(pBegin, pEnd - pBegin); in decode()
3764 while (pBegin < pEnd) in decode()
3767 sal_uInt32 nUTF32 = getUTF32(pBegin, pEnd, false, cEscapePrefix, in decode()
3869 sal_Unicode const * pEnd = pCoreEnd; in getAbbreviated() local
3871 sal_Unicode const * pSuffixEnd = pEnd; in getAbbreviated()
3905 pEnd = pSuffixEnd; in getAbbreviated()
3911 if (pBegin == pEnd) in getAbbreviated()
3920 OSL_ASSERT(p <= pEnd); in getAbbreviated()
3921 while (p < pEnd && *p != '/') in getAbbreviated()
3929 p == pEnd ? p : p + 1, in getAbbreviated()
3936 if (pPrefixBegin != pEnd) in getAbbreviated()
3952 if (pBegin == pEnd) in getAbbreviated()
3959 if (pPrefixBegin != pBegin || pSuffixEnd != pEnd) in getAbbreviated()
4247 sal_Unicode const * pEnd = p + rThePath.getLength(); in ConcatData() local
4248 if (!parsePath(m_eScheme, &p, pEnd, false, eMechanism, eCharset, false, '/', in ConcatData()
4250 || p != pEnd) in ConcatData()
4362 sal_Unicode const * pEnd = p + m_aPort.getLength(); in GetPort() local
4364 if (INetMIME::scanUnsigned(p, pEnd, true, nThePort) && p == pEnd) in GetPort()
4399 sal_Unicode const * pEnd = p + m_aPort.getLength(); in makePortCanonic() local
4401 if (INetMIME::scanUnsigned(p, pEnd, true, nThePort) && p == pEnd) in makePortCanonic()
4427 sal_Unicode const * pEnd = p + m_aPath.getLength(); in getSegmentCount() local
4428 if (bIgnoreFinalSlash && pEnd > p && pEnd[-1] == '/') in getSegmentCount()
4429 --pEnd; in getSegmentCount()
4430 sal_Int32 n = p == pEnd || *p == '/' ? 0 : 1; in getSegmentCount()
4431 while (p != pEnd) in getSegmentCount()
5037 sal_Unicode const * pEnd = p + m_aPath.getLength(); in getFSysPath() local
5038 DBG_ASSERT(p < pEnd && *p == '/', in getFSysPath()
5041 while (p < pEnd) in getFSysPath()
5044 sal_uInt32 nUTF32 = getUTF32(p, pEnd, false, '%', WAS_ENCODED, in getFSysPath()
5066 sal_Unicode const * pEnd = p + m_aPath.getLength(); in getFSysPath() local
5067 DBG_ASSERT(p < pEnd && *p == '/', in getFSysPath()
5070 while (p < pEnd) in getFSysPath()
5073 sal_uInt32 nUTF32 = getUTF32(p, pEnd, false, '%', WAS_ENCODED, in getFSysPath()
5095 sal_Unicode const * pEnd = p + m_aPath.getLength(); in HasMsgId() local
5096 for (; p < pEnd; ++p) in HasMsgId()
5109 sal_Unicode const * pEnd = p + m_aPath.getLength(); in GetMsgId() local
5110 for (; p < pEnd; ++p) in GetMsgId()
5112 return decode(p, pEnd, getEscapePrefix(), eMechanism, eCharset); in GetMsgId()
5231 sal_Unicode const * pEnd, bool bOctets, in getUTF32() argument
5237 DBG_ASSERT(rBegin < pEnd, "INetURLObject::getUTF32(): Bad sequence"); in getUTF32()
5239 INetMIME::getUTF32Character(rBegin, pEnd); in getUTF32()
5250 if (nUTF32 == sal_uChar(cEscapePrefix) && rBegin + 1 < pEnd in getUTF32()
5302 if (pEnd - p < 3 in getUTF32()
5348 if (nUTF32 == sal_uChar(cEscapePrefix) && rBegin + 1 < pEnd in getUTF32()
5367 sal_Unicode const * pEnd, in scanDomain() argument
5378 if (p != pEnd && INetMIME::isAlphanumeric(*p)) in scanDomain()
5390 if (p != pEnd) in scanDomain()
5410 if (p != pEnd) in scanDomain()
5430 sal_Unicode const * pEnd) in scanIPv6reference() argument
5432 if (rBegin != pEnd && *rBegin == '[') { in scanIPv6reference()
5435 while (p != pEnd && (INetMIME::isHexDigit(*p) || *p == ':' || *p == '.')) in scanIPv6reference()
5439 if (p != pEnd && *p == ']') { in scanIPv6reference()