Lines Matching defs:handler
921 xmlCharEncodingHandlerPtr handler, int len);
924 xmlCharEncodingHandlerPtr handler, int len);
938 xmlCharEncodingHandlerPtr handler;
1011 handler = xmlGetCharEncodingHandler(enc);
1012 if (handler == NULL) {
1097 if (handler == NULL)
1100 return(xmlSwitchToEncodingInt(ctxt, handler, len));
1107 * @handler: the encoding handler
1117 xmlCharEncodingHandlerPtr handler, int len)
1121 if (handler == NULL)
1131 if (input->buf->encoder == handler)
1138 (!xmlStrncmp(BAD_CAST handler->name,
1150 input->buf->encoder = handler;
1153 input->buf->encoder = handler;
1166 if ((handler->name != NULL) &&
1167 (!strcmp(handler->name, "UTF-16LE") ||
1168 !strcmp(handler->name, "UTF-16")) &&
1172 if ((handler->name != NULL) &&
1173 (!strcmp(handler->name, "UTF-16BE")) &&
1182 if ((handler->name != NULL) &&
1183 (!strcmp(handler->name, "UTF-8")) &&
1239 * @handler: the encoding handler
1248 xmlCharEncodingHandlerPtr handler) {
1249 return(xmlSwitchInputEncodingInt(ctxt, input, handler, -1));
1255 * @handler: the encoding handler
1267 xmlCharEncodingHandlerPtr handler, int len) {
1270 if (handler != NULL) {
1272 ret = xmlSwitchInputEncodingInt(ctxt, ctxt->input, handler, len);
1290 * @handler: the encoding handler
1298 xmlSwitchToEncoding(xmlParserCtxtPtr ctxt, xmlCharEncodingHandlerPtr handler)
1300 return (xmlSwitchToEncodingInt(ctxt, handler, -1));