Home | History | Annotate | Download | only in libxml2

Lines Matching refs:inputStream

1414     xmlParserInputPtr inputStream;
1419 inputStream = xmlNewInputStream(ctxt);
1420 if (inputStream == NULL) {
1423 inputStream->filename = NULL;
1424 inputStream->buf = input;
1425 inputStream->base = inputStream->buf->buffer->content;
1426 inputStream->cur = inputStream->buf->buffer->content;
1427 inputStream->end = &inputStream->base[inputStream->buf->buffer->use];
1432 return(inputStream);
1541 xmlParserInputPtr inputStream;
1561 inputStream = xmlNewInputStream(ctxt);
1562 if (inputStream == NULL)
1565 inputStream->buf = buf;
1566 inputStream = xmlCheckHTTPInput(ctxt, inputStream);
1567 if (inputStream == NULL)
1570 if (inputStream->filename == NULL)
1573 URI = xmlStrdup((xmlChar *) inputStream->filename);
1575 if (inputStream->filename != NULL) xmlFree((char *)inputStream->filename);
1576 inputStream->filename = (char *) xmlCanonicPath((const xmlChar *) URI);
1578 inputStream->directory = directory;
1580 inputStream->base = inputStream->buf->buffer->content;
1581 inputStream->cur = inputStream->buf->buffer->content;
1582 inputStream->end = &inputStream->base[inputStream->buf->buffer->use];
1585 return(inputStream);