Lines Matching refs:nbchar

3084     int nbchar = 0;  in htmlParseScript()  local
3121 COPY_BUF(l,buf,nbchar,cur); in htmlParseScript()
3126 if (nbchar >= HTML_PARSER_BIG_BUFFER_SIZE) { in htmlParseScript()
3127 buf[nbchar] = 0; in htmlParseScript()
3132 ctxt->sax->cdataBlock(ctxt->userData, buf, nbchar); in htmlParseScript()
3134 ctxt->sax->characters(ctxt->userData, buf, nbchar); in htmlParseScript()
3136 nbchar = 0; in htmlParseScript()
3143 if ((nbchar != 0) && (ctxt->sax != NULL) && (!ctxt->disableSAX)) { in htmlParseScript()
3144 buf[nbchar] = 0; in htmlParseScript()
3149 ctxt->sax->cdataBlock(ctxt->userData, buf, nbchar); in htmlParseScript()
3151 ctxt->sax->characters(ctxt->userData, buf, nbchar); in htmlParseScript()
3171 int nbchar = 0; in htmlParseCharDataInternal() local
3176 buf[nbchar++] = readahead; in htmlParseCharDataInternal()
3187 COPY_BUF(l,buf,nbchar,cur); in htmlParseCharDataInternal()
3189 if (nbchar >= HTML_PARSER_BIG_BUFFER_SIZE) { in htmlParseCharDataInternal()
3190 buf[nbchar] = 0; in htmlParseCharDataInternal()
3196 if (areBlanks(ctxt, buf, nbchar)) { in htmlParseCharDataInternal()
3199 ctxt->sax->characters(ctxt->userData, buf, nbchar); in htmlParseCharDataInternal()
3203 buf, nbchar); in htmlParseCharDataInternal()
3208 ctxt->sax->characters(ctxt->userData, buf, nbchar); in htmlParseCharDataInternal()
3211 nbchar = 0; in htmlParseCharDataInternal()
3227 if (nbchar != 0) { in htmlParseCharDataInternal()
3228 buf[nbchar] = 0; in htmlParseCharDataInternal()
3234 if (areBlanks(ctxt, buf, nbchar)) { in htmlParseCharDataInternal()
3237 ctxt->sax->characters(ctxt->userData, buf, nbchar); in htmlParseCharDataInternal()
3241 buf, nbchar); in htmlParseCharDataInternal()
3246 ctxt->sax->characters(ctxt->userData, buf, nbchar); in htmlParseCharDataInternal()