Home | History | Annotate | Download | only in libxml2

Lines Matching defs:bp

648     char *bp = buf;
651 while (bp - buf < 4095) {
654 if (bp == buf)
657 *bp = 0;
664 *bp = *ctxt->inrptr++;
665 if (*bp == '\n') {
666 *bp = 0;
669 if (*bp != '\r')
670 bp++;
1342 char *bp, *p;
1420 bp = (char*)xmlMallocAtomic(blen);
1421 if ( bp == NULL ) {
1427 p = bp;
1431 p += snprintf( p, blen - (p - bp), "%s http://%s:%d%s",
1436 p += snprintf( p, blen - (p - bp), "%s http://%s%s", method,
1440 p += snprintf( p, blen - (p - bp), "%s %s", method, ctxt->path);
1443 p += snprintf( p, blen - (p - bp), "?%s", ctxt->query);
1446 p += snprintf( p, blen - (p - bp), " HTTP/1.0\r\nHost: %s\r\n",
1449 p += snprintf( p, blen - (p - bp), " HTTP/1.0\r\nHost: %s:%d\r\n",
1454 p += snprintf(p, blen - (p - bp), "Accept-Encoding: gzip\r\n");
1458 p += snprintf(p, blen - (p - bp), "Content-Type: %s\r\n", *contentType);
1461 p += snprintf( p, blen - (p - bp), "%s", headers );
1464 snprintf(p, blen - (p - bp), "Content-Length: %d\r\n\r\n", ilen );
1466 snprintf(p, blen - (p - bp), "\r\n");
1470 "-> %s%s", proxy? "(Proxy) " : "", bp);
1471 if ((blen -= strlen(bp)+1) < 0)
1475 ctxt->outptr = ctxt->out = bp;