Searched refs:nbchars (Results 1 – 8 of 8) sorted by relevance
/third_party/libxml2/ |
D | xmlIO.c | 3169 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 …]
|
D | parserInternals.c | 1127 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()
|
D | parser.c | 2653 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 …]
|
D | HTMLparser.c | 3826 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()
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | xmlIO.c | 3169 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 …]
|
D | parserInternals.c | 1161 int nbchars; in xmlSwitchInputEncodingInt() local 1246 nbchars = xmlCharEncInput(input->buf, 1); in xmlSwitchInputEncodingInt() 1254 nbchars = xmlCharEncFirstLineInput(input->buf, len); in xmlSwitchInputEncodingInt() 1257 if (nbchars < 0) { in xmlSwitchInputEncodingInt()
|
D | parser.c | 2623 size_t nbchars = 0; in xmlStringLenDecodeEntities() local 2665 COPY_BUF(0,buffer,nbchars,val); in xmlStringLenDecodeEntities() 2666 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringLenDecodeEntities() 2681 COPY_BUF(0,buffer,nbchars,ent->content[0]); in xmlStringLenDecodeEntities() 2682 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringLenDecodeEntities() 2700 buffer[nbchars++] = *current++; in xmlStringLenDecodeEntities() 2701 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringLenDecodeEntities() 2702 if (xmlParserEntityCheck(ctxt, nbchars, ent, 0)) in xmlStringLenDecodeEntities() 2713 buffer[nbchars++] = '&'; in xmlStringLenDecodeEntities() 2714 if (nbchars + i + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringLenDecodeEntities() [all …]
|
D | HTMLparser.c | 3659 int nbchars; in htmlCheckEncodingDirect() local 3667 nbchars = xmlCharEncInput(ctxt->input->buf, 1); in htmlCheckEncodingDirect() 3669 if (nbchars < 0) { in htmlCheckEncodingDirect() 6168 int nbchars; in htmlParseChunk() local 6172 nbchars = xmlCharEncInput(in, terminate); in htmlParseChunk() 6173 if (nbchars < 0) { in htmlParseChunk()
|