Lines Matching refs:p

70 	sal_Unicode const * p = *pBegin;  in matchStringIgnoreCase()  local
75 if (pEnd - p < qEnd - q) in matchStringIgnoreCase()
80 sal_Unicode c1 = *p++; in matchStringIgnoreCase()
90 *pBegin = p; in matchStringIgnoreCase()
104 sal_Unicode const * p = pBegin; in matches() local
105 if (matchStringIgnoreCase(&p, pEnd, m_aPrefix)) in matches()
107 sal_Unicode const * pBlock1Begin = p; in matches()
120 bMatches = p == pEnd || *p == '/' || *p == '?' || *p == '#'; in matches()
126 if (p == pEnd || *p == '/' || *p == '?' || *p == '#') in matches()
128 ++p; in matches()
132 sal_Unicode const * q = p; in matches()
137 pBlock1End = p; in matches()
143 if (p == pEnd) in matches()
146 sal_Unicode c = *p++; in matches()
198 sal_Unicode const * p = rString.getStr(); in isScheme() local
199 sal_Unicode const * pEnd = p + rString.getLength(); in isScheme()
200 if (p != pEnd && isAlpha(*p)) in isScheme()
201 for (++p;;) in isScheme()
203 if (p == pEnd) in isScheme()
205 sal_Unicode c = *p++; in isScheme()
208 return bColon && c == ':' && p == pEnd; in isScheme()
219 sal_Unicode const * p = rString.getStr(); in appendStringLiteral() local
220 sal_Unicode const * pEnd = p + rString.getLength(); in appendStringLiteral()
221 while (p != pEnd) in appendStringLiteral()
223 sal_Unicode c = *p++; in appendStringLiteral()
317 sal_Unicode const * p = *pBegin; in matchString() local
322 if (pEnd - p < qEnd - q) in matchString()
327 sal_Unicode c1 = *p++; in matchString()
333 *pBegin = p; in matchString()
340 sal_Unicode const * p = *pBegin; in scanStringLiteral() local
342 if (p == pEnd || *p++ != '"') in scanStringLiteral()
348 if (p == pEnd) in scanStringLiteral()
350 sal_Unicode c = *p++; in scanStringLiteral()
355 if (p == pEnd) in scanStringLiteral()
357 c = *p++; in scanStringLiteral()
364 *pBegin = p; in scanStringLiteral()
384 sal_Unicode const * p = rRegexp.getStr(); in parse() local
385 sal_Unicode const * pEnd = p + rRegexp.getLength(); in parse()
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()
438 ++p; in parse()
442 if (!matchString(&p, pEnd, RTL_CONSTASCII_STRINGPARAM("[^/?#]"))) in parse()
445 if (p == pEnd || (*p != '*' && *p != '+')) in parse()
447 bool bEmptyDomain = *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()