• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:blen

1353     int blen;  in xmlNanoHTTPMethodRedir()  local
1391 blen = strlen(ctxt->hostname) * 2 + 16; in xmlNanoHTTPMethodRedir()
1395 blen = strlen(ctxt->hostname); in xmlNanoHTTPMethodRedir()
1408 blen += 36; in xmlNanoHTTPMethodRedir()
1411 blen += strlen(headers) + 2; in xmlNanoHTTPMethodRedir()
1414 blen += strlen(*contentType) + 16; in xmlNanoHTTPMethodRedir()
1417 blen += strlen(ctxt->query) + 1; in xmlNanoHTTPMethodRedir()
1418 blen += strlen(method) + strlen(ctxt->path) + 24; in xmlNanoHTTPMethodRedir()
1421 blen += 23; in xmlNanoHTTPMethodRedir()
1426 blen += 12; in xmlNanoHTTPMethodRedir()
1428 blen += 6; in xmlNanoHTTPMethodRedir()
1430 bp = (char*)xmlMallocAtomic(blen); in xmlNanoHTTPMethodRedir()
1441 p += snprintf( p, blen - (p - bp), "%s http://%s:%d%s", in xmlNanoHTTPMethodRedir()
1446 p += snprintf( p, blen - (p - bp), "%s http://%s%s", method, in xmlNanoHTTPMethodRedir()
1450 p += snprintf( p, blen - (p - bp), "%s %s", method, ctxt->path); in xmlNanoHTTPMethodRedir()
1453 p += snprintf( p, blen - (p - bp), "?%s", ctxt->query); in xmlNanoHTTPMethodRedir()
1456 p += snprintf( p, blen - (p - bp), " HTTP/1.0\r\nHost: %s\r\n", in xmlNanoHTTPMethodRedir()
1459 p += snprintf( p, blen - (p - bp), " HTTP/1.0\r\nHost: %s:%d\r\n", in xmlNanoHTTPMethodRedir()
1464 p += snprintf(p, blen - (p - bp), "Accept-Encoding: gzip\r\n"); in xmlNanoHTTPMethodRedir()
1468 p += snprintf(p, blen - (p - bp), "Content-Type: %s\r\n", *contentType); in xmlNanoHTTPMethodRedir()
1471 p += snprintf( p, blen - (p - bp), "%s", headers ); in xmlNanoHTTPMethodRedir()
1474 snprintf(p, blen - (p - bp), "Content-Length: %d\r\n\r\n", ilen ); in xmlNanoHTTPMethodRedir()
1476 snprintf(p, blen - (p - bp), "\r\n"); in xmlNanoHTTPMethodRedir()
1481 if ((blen -= strlen(bp)+1) < 0) in xmlNanoHTTPMethodRedir()
1483 "ERROR: overflowed buffer by %d bytes\n", -blen); in xmlNanoHTTPMethodRedir()
1487 blen = strlen( ctxt->out ); in xmlNanoHTTPMethodRedir()
1489 xmt_bytes = xmlNanoHTTPSend(ctxt, ctxt->out, blen ); in xmlNanoHTTPMethodRedir()
1490 if ( xmt_bytes != blen ) in xmlNanoHTTPMethodRedir()
1493 xmt_bytes, blen, in xmlNanoHTTPMethodRedir()
1497 xmlNanoHTTPSend(ctxt, ctxt->out, blen ); in xmlNanoHTTPMethodRedir()