Home | History | Annotate | Download | only in libxml2

Lines Matching refs:cur

175     const xmlChar *cur, *base;
180 if ((input == NULL) || (input->cur == NULL))
183 cur = input->cur;
186 while ((cur > base) && ((*(cur) == '\n') || (*(cur) == '\r'))) {
187 cur--;
191 while ((n++ < (sizeof(content)-1)) && (cur > base) &&
192 (*(cur) != '\n') && (*(cur) != '\r'))
193 cur--;
194 if ((*(cur) == '\n') || (*(cur) == '\r')) cur++;
196 col = input->cur - cur;
201 while ((*cur != 0) && (*(cur) != '\n') &&
202 (*(cur) != '\r') && (n < sizeof(content)-1)) {
203 *ctnt++ = *cur++;
256 xmlParserInputPtr cur = NULL;
285 cur = input;
407 if (cur != NULL) {
408 if (cur->filename)
409 channel(data, "%s:%d: \n", cur->filename, cur->line);
411 channel(data, "Entity: line %d: \n", cur->line);
412 xmlParserPrintFileContextInternal(cur, channel, data);
685 xmlParserInputPtr cur = NULL;
692 cur = input;
706 if (cur != NULL) {
707 xmlParserPrintFileInfo(cur);
709 xmlParserPrintFileContext(cur);
728 xmlParserInputPtr cur = NULL;
735 cur = input;
749 if (cur != NULL) {
750 xmlParserPrintFileInfo(cur);
752 xmlParserPrintFileContext(cur);