Lines Matching refs:pEnd
67 sal_Unicode const * pEnd, in matchStringIgnoreCase() argument
75 if (pEnd - p < qEnd - q) in matchStringIgnoreCase()
100 sal_Unicode const * pEnd = pBegin + rString.getLength(); in matches() local
105 if (matchStringIgnoreCase(&p, pEnd, m_aPrefix)) in matches()
108 sal_Unicode const * pBlock1End = pEnd; in matches()
120 bMatches = p == pEnd || *p == '/' || *p == '?' || *p == '#'; in matches()
126 if (p == pEnd || *p == '/' || *p == '?' || *p == '#') in matches()
133 if (matchStringIgnoreCase(&q, pEnd, m_aInfix) in matches()
134 && (q == pEnd || *q == '/' || *q == '?' || *q == '#')) in matches()
139 pBlock2End = pEnd; in matches()
143 if (p == pEnd) in matches()
199 sal_Unicode const * pEnd = p + rString.getLength(); in isScheme() local
200 if (p != pEnd && isAlpha(*p)) in isScheme()
203 if (p == pEnd) in isScheme()
208 return bColon && c == ':' && p == pEnd; in isScheme()
220 sal_Unicode const * pEnd = p + rString.getLength(); in appendStringLiteral() local
221 while (p != pEnd) in appendStringLiteral()
314 bool matchString(sal_Unicode const ** pBegin, sal_Unicode const * pEnd, in matchString() argument
322 if (pEnd - p < qEnd - q) in matchString()
337 bool scanStringLiteral(sal_Unicode const ** pBegin, sal_Unicode const * pEnd, in scanStringLiteral() argument
342 if (p == pEnd || *p++ != '"') in scanStringLiteral()
348 if (p == pEnd) in scanStringLiteral()
355 if (p == pEnd) in scanStringLiteral()
385 sal_Unicode const * pEnd = p + rRegexp.getLength(); in parse() local
388 scanStringLiteral(&p, pEnd, &aPrefix); in parse()
390 if (p == pEnd) in parse()
393 if (matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM(".*"))) in parse()
395 if (p != pEnd) in parse()
401 else if (matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM("(.*)->"))) in parse()
404 scanStringLiteral(&p, pEnd, &aReversePrefix); in parse()
406 if (!matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM("\\1")) in parse()
407 || p != pEnd) in parse()
413 else if (matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM("([/?#].*)?"))) in parse()
415 if (p != pEnd) in parse()
421 else if (matchString(&p, pEnd, in parse()
425 if (!(scanStringLiteral(&p, pEnd, &aReversePrefix) in parse()
426 && matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM("\\1")) in parse()
427 && p == pEnd)) in parse()
436 if (p != pEnd && *p == '(') in parse()
442 if (!matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM("[^/?#]"))) in parse()
445 if (p == pEnd || (*p != '*' && *p != '+')) in parse()
450 scanStringLiteral(&p, pEnd, &aInfix); in parse()
452 if (!matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM("([/?#].*)?"))) in parse()
457 && !(matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM(")->")) in parse()
458 && scanStringLiteral(&p, pEnd, &aReversePrefix) in parse()
459 && matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM("\\1")))) in parse()
462 if (p != pEnd) in parse()