Home
last modified time | relevance | path

Searched refs:nbchars (Results 1 – 4 of 4) sorted by relevance

/third_party/libxml2/
DxmlIO.c3169 int nbchars = 0; in xmlParserInputBufferPush() local
3191 nbchars = xmlCharEncInput(in, 1); in xmlParserInputBufferPush()
3192 if (nbchars < 0) { in xmlParserInputBufferPush()
3199 nbchars = len; in xmlParserInputBufferPush()
3200 ret = xmlBufAdd(in->buffer, (xmlChar *) buf, nbchars); in xmlParserInputBufferPush()
3207 nbchars, xmlBufUse(in->buffer), xmlBufLength(in->buffer)); in xmlParserInputBufferPush()
3209 return(nbchars); in xmlParserInputBufferPush()
3244 int nbchars = 0; in xmlParserInputBufferGrow() local
3307 nbchars = xmlCharEncInput(in, 1); in xmlParserInputBufferGrow()
3308 if (nbchars < 0) { in xmlParserInputBufferGrow()
[all …]
DparserInternals.c1127 int nbchars; in xmlSwitchInputEncodingInt() local
1217 nbchars = xmlCharEncInput(input->buf, 1); in xmlSwitchInputEncodingInt()
1225 nbchars = xmlCharEncFirstLineInput(input->buf, len); in xmlSwitchInputEncodingInt()
1228 if (nbchars < 0) { in xmlSwitchInputEncodingInt()
Dparser.c2653 size_t nbchars = 0; in xmlStringLenDecodeEntities() local
2696 COPY_BUF(0,buffer,nbchars,val); in xmlStringLenDecodeEntities()
2697 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringLenDecodeEntities()
2712 COPY_BUF(0,buffer,nbchars,ent->content[0]); in xmlStringLenDecodeEntities()
2713 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringLenDecodeEntities()
2733 buffer[nbchars++] = *current++; in xmlStringLenDecodeEntities()
2734 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringLenDecodeEntities()
2735 if (xmlParserEntityCheck(ctxt, nbchars, ent, 0)) in xmlStringLenDecodeEntities()
2746 buffer[nbchars++] = '&'; in xmlStringLenDecodeEntities()
2747 if (nbchars + i + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringLenDecodeEntities()
[all …]
DHTMLparser.c3826 int nbchars; in htmlCheckEncodingDirect() local
3834 nbchars = xmlCharEncInput(ctxt->input->buf, 1); in htmlCheckEncodingDirect()
3836 if (nbchars < 0) { in htmlCheckEncodingDirect()
6251 int nbchars; in htmlParseChunk() local
6255 nbchars = xmlCharEncInput(in, terminate); in htmlParseChunk()
6257 if (nbchars < 0) { in htmlParseChunk()