Searched refs:nbchars (Results 1 – 8 of 8) sorted by relevance
/external/cronet/third_party/libxml/src/ |
D | xmlIO.c | 3109 int nbchars = 0; in xmlParserInputBufferPush() local 3131 nbchars = xmlCharEncInput(in, 1); in xmlParserInputBufferPush() 3132 if (nbchars < 0) { in xmlParserInputBufferPush() 3144 nbchars = len; in xmlParserInputBufferPush() 3145 ret = xmlBufAdd(in->buffer, (xmlChar *) buf, nbchars); in xmlParserInputBufferPush() 3152 nbchars, xmlBufUse(in->buffer), xmlBufLength(in->buffer)); in xmlParserInputBufferPush() 3154 return(nbchars); in xmlParserInputBufferPush() 3258 nbchars, xmlBufUse(in->buffer)); in xmlParserInputBufferGrow() 3297 int nbchars = 0; /* number of chars to output to I/O */ in xmlOutputBufferWrite() local 3338 nbchars = xmlBufUse(out->conv); in xmlOutputBufferWrite() [all …]
|
D | parserInternals.c | 1159 int nbchars; in xmlSwitchInputEncoding() local 1255 nbchars = xmlCharEncInput(in, 1); in xmlSwitchInputEncoding() 1257 if (nbchars < 0) { in xmlSwitchInputEncoding()
|
D | parser.c | 2595 size_t nbchars = 0; in xmlStringDecodeEntitiesInt() local 2639 COPY_BUF(0,buffer,nbchars,val); in xmlStringDecodeEntitiesInt() 2640 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringDecodeEntitiesInt() 2652 COPY_BUF(0,buffer,nbchars,ent->content[0]); in xmlStringDecodeEntitiesInt() 2653 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringDecodeEntitiesInt() 2686 buffer[nbchars++] = *current++; in xmlStringDecodeEntitiesInt() 2687 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringDecodeEntitiesInt() 2697 buffer[nbchars++] = '&'; in xmlStringDecodeEntitiesInt() 2698 if (nbchars + i + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringDecodeEntitiesInt() 2702 buffer[nbchars++] = *cur++; in xmlStringDecodeEntitiesInt() [all …]
|
D | HTMLparser.c | 3850 int nbchars; in htmlCheckEncodingDirect() local 3858 nbchars = xmlCharEncInput(ctxt->input->buf, 1); in htmlCheckEncodingDirect() 3860 if (nbchars < 0) { in htmlCheckEncodingDirect() 6298 int nbchars; in htmlParseChunk() local 6302 nbchars = xmlCharEncInput(in, terminate); in htmlParseChunk() 6304 if (nbchars < 0) { in htmlParseChunk()
|
/external/libxml2/ |
D | xmlIO.c | 3109 int nbchars = 0; in xmlParserInputBufferPush() local 3131 nbchars = xmlCharEncInput(in, 1); in xmlParserInputBufferPush() 3132 if (nbchars < 0) { in xmlParserInputBufferPush() 3144 nbchars = len; in xmlParserInputBufferPush() 3145 ret = xmlBufAdd(in->buffer, (xmlChar *) buf, nbchars); in xmlParserInputBufferPush() 3152 nbchars, xmlBufUse(in->buffer), xmlBufLength(in->buffer)); in xmlParserInputBufferPush() 3154 return(nbchars); in xmlParserInputBufferPush() 3258 nbchars, xmlBufUse(in->buffer)); in xmlParserInputBufferGrow() 3297 int nbchars = 0; /* number of chars to output to I/O */ in xmlOutputBufferWrite() local 3338 nbchars = xmlBufUse(out->conv); in xmlOutputBufferWrite() [all …]
|
D | parserInternals.c | 1149 int nbchars; in xmlSwitchInputEncodingInt() local 1244 nbchars = xmlCharEncInput(in, 1); in xmlSwitchInputEncodingInt() 1252 nbchars = xmlCharEncFirstLineInput(in, len); in xmlSwitchInputEncodingInt() 1255 if (nbchars < 0) { in xmlSwitchInputEncodingInt()
|
D | parser.c | 2597 size_t nbchars = 0; in xmlStringDecodeEntitiesInt() local 2641 COPY_BUF(0,buffer,nbchars,val); in xmlStringDecodeEntitiesInt() 2642 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringDecodeEntitiesInt() 2654 COPY_BUF(0,buffer,nbchars,ent->content[0]); in xmlStringDecodeEntitiesInt() 2655 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringDecodeEntitiesInt() 2688 buffer[nbchars++] = *current++; in xmlStringDecodeEntitiesInt() 2689 if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringDecodeEntitiesInt() 2699 buffer[nbchars++] = '&'; in xmlStringDecodeEntitiesInt() 2700 if (nbchars + i + XML_PARSER_BUFFER_SIZE > buffer_size) { in xmlStringDecodeEntitiesInt() 2704 buffer[nbchars++] = *cur++; in xmlStringDecodeEntitiesInt() [all …]
|
D | HTMLparser.c | 3877 int nbchars; in htmlCheckEncodingDirect() local 3885 nbchars = xmlCharEncInput(ctxt->input->buf, 1); in htmlCheckEncodingDirect() 3887 if (nbchars < 0) { in htmlCheckEncodingDirect() 6315 int nbchars; in htmlParseChunk() local 6319 nbchars = xmlCharEncInput(in, terminate); in htmlParseChunk() 6321 if (nbchars < 0) { in htmlParseChunk()
|