Lines Matching refs:BAD_CAST
743 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"Content-Type:", 13)) { in xmlNanoHTTPScanAnswer()
758 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset="); in xmlNanoHTTPScanAnswer()
769 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"ContentType:", 12)) { in xmlNanoHTTPScanAnswer()
783 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset="); in xmlNanoHTTPScanAnswer()
794 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"Location:", 9)) { in xmlNanoHTTPScanAnswer()
800 xmlChar *tmp_http = xmlStrdup(BAD_CAST "http://"); in xmlNanoHTTPScanAnswer()
808 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"WWW-Authenticate:", 17)) { in xmlNanoHTTPScanAnswer()
814 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"Proxy-Authenticate:", 19)) { in xmlNanoHTTPScanAnswer()
821 } else if ( !xmlStrncasecmp( BAD_CAST line, BAD_CAST"Content-Encoding:", 17) ) { in xmlNanoHTTPScanAnswer()
824 if ( !xmlStrncasecmp( BAD_CAST cur, BAD_CAST"gzip", 4) ) { in xmlNanoHTTPScanAnswer()
840 } else if ( !xmlStrncasecmp( BAD_CAST line, BAD_CAST"Content-Length:", 15) ) { in xmlNanoHTTPScanAnswer()
1298 ctxt->strm->next_in = BAD_CAST (ctxt->inrptr + bytes_read); in xmlNanoHTTPRead()