Lines Matching refs:i
95 for (sal_Int32 i = 0; i < s1.getLength();) { in equalIgnoreEscapeCase() local
96 if (s1[i] == '%' && s2[i] == '%' && s1.getLength() - i > 2 in equalIgnoreEscapeCase()
97 && isHexDigit(s1[i + 1]) && isHexDigit(s1[i + 2]) in equalIgnoreEscapeCase()
98 && isHexDigit(s2[i + 1]) && isHexDigit(s2[i + 2]) in equalIgnoreEscapeCase()
99 && equalIgnoreCase(s1[i + 1], s2[i + 1]) in equalIgnoreEscapeCase()
100 && equalIgnoreCase(s1[i + 2], s2[i + 2])) in equalIgnoreEscapeCase()
102 i += 3; in equalIgnoreEscapeCase()
103 } else if (s1[i] != s2[i]) { in equalIgnoreEscapeCase()
106 ++i; in equalIgnoreEscapeCase()
117 for (sal_Int32 i = 0; i < uriReference.getLength(); ++i) { in parseScheme() local
118 sal_Unicode c = uriReference[i]; in parseScheme()
120 return i; in parseScheme()
234 sal_Int32 i = 0; in parseGeneric() local
235 if (len - i >= 2 && schemeSpecificPart[i] == '/' in parseGeneric()
236 && schemeSpecificPart[i + 1] == '/') in parseGeneric()
238 i += 2; in parseGeneric()
239 sal_Int32 n = i; in parseGeneric()
240 while (i < len && schemeSpecificPart[i] != '/' in parseGeneric()
241 && schemeSpecificPart[i] != '?') { in parseGeneric()
242 ++i; in parseGeneric()
245 authority = schemeSpecificPart.copy(n, i - n); in parseGeneric()
247 sal_Int32 n = i; in parseGeneric()
248 i = schemeSpecificPart.indexOf('?', i); in parseGeneric()
249 if (i == -1) { in parseGeneric()
250 i = len; in parseGeneric()
252 path = schemeSpecificPart.copy(n, i - n); in parseGeneric()
253 if (i != len) { in parseGeneric()
255 query = schemeSpecificPart.copy(i + 1); in parseGeneric()
277 for (sal_Int32 i = 0; i < count; ++i) { in processSegments() local
279 rtl::OUString segment(uriReference->getPathSegment(i)); in processSegments()
281 if (!base && i == count - 1) { in processSegments()
296 segments.push_back(base ? -(i + 2) : i + 2); in processSegments()
388 for (sal_Int32 i = 0; i < scheme.getLength(); ++i) { in parse() local
389 sal_Unicode c = scheme[i]; in parse()
497 for (Segments::iterator i(segments.begin()); i != segments.end(); in makeAbsolute() local
498 ++i) in makeAbsolute()
500 if (*i < -1) { in makeAbsolute()
502 baseUriReference->getPathSegment(-(*i + 2))); in makeAbsolute()
511 } else if (*i > 1) { in makeAbsolute()
512 rtl::OUString segment(uriReference->getPathSegment(*i - 2)); in makeAbsolute()
520 } else if (*i == 0) { in makeAbsolute()
534 slash = *i < 0; in makeAbsolute()
606 sal_Int32 i = 0; in makeRelative() local
607 for (; i < std::min(count1, count2) - 1; ++i) { in makeRelative()
609 baseUriReference->getPathSegment(i), in makeRelative()
610 uriReference->getPathSegment(i))) in makeRelative()
615 if (i == 0 && preferAbsoluteOverRelativePath in makeRelative()
638 for (sal_Int32 j = i; j < count1 - 1; ++j) { in makeRelative()
645 if (i < count2 - 1 in makeRelative()
650 && (uriReference->getPathSegment(i).getLength() == 0 in makeRelative()
651 || (parseScheme(uriReference->getPathSegment(i)) in makeRelative()
657 for (; i < count2; ++i) { in makeRelative()
661 rtl::OUString s(uriReference->getPathSegment(i)); in makeRelative()