Lines Matching refs:pp
101 char const *s, *e, *p, *pp, *ue; in php_url_parse_ex() local
182 pp = p; in php_url_parse_ex()
184 while (pp-p < 6 && isdigit(*pp)) { in php_url_parse_ex()
185 pp++; in php_url_parse_ex()
188 if (pp - p > 0 && pp - p < 6 && (*pp == '/' || *pp == '\0')) { in php_url_parse_ex()
190 memcpy(port_buf, p, (pp - p)); in php_url_parse_ex()
191 port_buf[pp - p] = '\0'; in php_url_parse_ex()
203 } else if (p == pp && *pp == '\0') { in php_url_parse_ex()
245 if ((pp = memchr(s, ':', (p-s)))) { in php_url_parse_ex()
246 ret->user = estrndup(s, (pp-s)); in php_url_parse_ex()
247 php_replace_controlchars_ex(ret->user, (pp - s)); in php_url_parse_ex()
249 pp++; in php_url_parse_ex()
250 ret->pass = estrndup(pp, (p-pp)); in php_url_parse_ex()
251 php_replace_controlchars_ex(ret->pass, (p-pp)); in php_url_parse_ex()
323 pp = memchr(s, '#', (ue - s)); in php_url_parse_ex()
325 if (pp && pp < p) { in php_url_parse_ex()
326 if (pp - s) { in php_url_parse_ex()
327 ret->path = estrndup(s, (pp-s)); in php_url_parse_ex()
328 php_replace_controlchars_ex(ret->path, (pp - s)); in php_url_parse_ex()
330 p = pp; in php_url_parse_ex()
339 if (pp) { in php_url_parse_ex()
340 if (pp - ++p) { in php_url_parse_ex()
341 ret->query = estrndup(p, (pp-p)); in php_url_parse_ex()
342 php_replace_controlchars_ex(ret->query, (pp - p)); in php_url_parse_ex()
344 p = pp; in php_url_parse_ex()