MCPcopy Create free account
hub / github.com/Kitware/VTK / htmlSkipBlankChars

Function htmlSkipBlankChars

ThirdParty/libxml2/vtklibxml2/HTMLparser.c:508–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 */
507
508static int
509htmlSkipBlankChars(xmlParserCtxtPtr ctxt) {
510 int res = 0;
511
512 while (IS_BLANK_CH(*(ctxt->input->cur))) {
513 if (*(ctxt->input->cur) == '\n') {
514 ctxt->input->line++; ctxt->input->col = 1;
515 } else ctxt->input->col++;
516 ctxt->input->cur++;
517 if (*ctxt->input->cur == 0)
518 xmlParserGrow(ctxt);
519 if (res < INT_MAX)
520 res++;
521 }
522 return(res);
523}
524
525
526

Callers

nothing calls this directly

Calls 1

xmlParserGrowFunction · 0.85

Tested by

no test coverage detected