Home | History | Annotate | Download | only in libxml2

Lines Matching refs:encoder

140 xmlAllocOutputBufferInternal(xmlCharEncodingHandlerPtr encoder);
194 "encoder error", /* XML_IO_ENCODER */
2242 ret->encoder = xmlGetCharEncodingHandler(enc);
2243 if (ret->encoder != NULL)
2259 * @encoder: the encoding converter or NULL
2266 xmlAllocOutputBuffer(xmlCharEncodingHandlerPtr encoder) {
2281 ret->encoder = encoder;
2282 if (encoder != NULL) {
2290 * This call is designed to initiate the encoder state
2292 xmlCharEncOutFunc(encoder, ret->conv, NULL);
2305 * @encoder: the encoding converter or NULL
2312 xmlAllocOutputBufferInternal(xmlCharEncodingHandlerPtr encoder) {
2336 ret->encoder = encoder;
2337 if (encoder != NULL) {
2345 * This call is designed to initiate the encoder state
2347 xmlCharEncOutFunc(encoder, ret->conv, NULL);
2374 if (in->encoder != NULL) {
2375 xmlCharEncCloseFunc(in->encoder);
2416 if (out->encoder != NULL) {
2417 xmlCharEncCloseFunc(out->encoder);
2516 xmlCharEncodingHandlerPtr encoder,
2558 ret = xmlAllocOutputBufferInternal(encoder);
2595 ret = xmlAllocOutputBufferInternal(encoder);
2628 ret = xmlAllocOutputBufferInternal(encoder);
2640 * @encoder: the encoding converter or NULL
2654 xmlCharEncodingHandlerPtr encoder,
2657 return xmlOutputBufferCreateFilenameValue(URI, encoder, compression);
2659 return __xmlOutputBufferCreateFilename(URI, encoder, compression);
2696 * @encoder: the encoding converter or NULL
2704 xmlOutputBufferCreateFile(FILE *file, xmlCharEncodingHandlerPtr encoder) {
2712 ret = xmlAllocOutputBufferInternal(encoder);
2725 * @encoder: the encoding converter or NULL
2733 xmlCharEncodingHandlerPtr encoder) {
2741 NULL, (void *) buffer, encoder);
2840 ret->encoder = xmlGetCharEncodingHandler(enc);
2841 if (ret->encoder != NULL)
2857 * @encoder: the encoding converter or NULL
2865 xmlOutputBufferCreateFd(int fd, xmlCharEncodingHandlerPtr encoder) {
2870 ret = xmlAllocOutputBufferInternal(encoder);
2916 * @encoder: the charset encoding if known
2926 xmlCharEncodingHandlerPtr encoder) {
2931 ret = xmlAllocOutputBufferInternal(encoder);
3004 if (in->encoder != NULL) {
3021 nbchars = xmlCharEncInFunc(in->encoder, in->buffer, in->raw);
3115 if (in->encoder != NULL) {
3132 nbchars = xmlCharEncInFunc(in->encoder, in->buffer, in->raw);
3210 if (out->encoder != NULL) {
3227 ret = xmlCharEncOutFunc(out->encoder, out->conv, out->buffer);
3250 if (out->encoder != NULL) {
3396 if (out->encoder != NULL) {
3416 ret = xmlCharEncOutFunc(out->encoder, out->conv, out->buffer);
3442 if (out->encoder != NULL) {
3516 if ((out->conv != NULL) && (out->encoder != NULL)) {
3520 nbchars = xmlCharEncOutFunc(out->encoder, out->conv, out->buffer);
3531 if ((out->conv != NULL) && (out->encoder != NULL) &&