Lines Matching refs:cur
74 unsigned char* cur; /* input buffer position */
215 if (f->cur >= f->end)
219 if ((n = f->cur - f->rec + f->prvlen) > f->prvsize)
238 f->cur = f->buf;
296 while (!xml_beg_tag[*f->cur++]);
297 if (*(f->cur - 1))
304 if (!(c = *f->cur++))
317 while (!xml_end_tag[*f->cur++]);
318 if (*(f->cur - 1))
338 f->rec = f->cur - 1;
362 while (!xml_end_tag[c = *f->cur++])
395 while (!xml_end_att[c = *f->cur++]);
410 f->rec = f->cur - 1;
415 while (!xml_beg_tag[c = *f->cur++])
421 if (*(f->cur - 1))
467 if ((n = r->cur - r->rec) && sfwrite(file->io, r->rec, n) != n)
566 f->cur = f->buf = buf;
572 f->buf = f->cur = f->end = (unsigned char*)null;
677 while (!json_beg_tag[c = *f->cur++]);
693 f->rec = f->cur - 1;
697 while (json_end_val[c = *f->cur++] == 1);
712 while (!json_end_val[c = *f->cur++])
724 if (!(c = *f->cur++))
745 while (json_end_val[c = *f->cur++] == 1);
788 if (!(c = *f->cur++))
833 while (!json_end_val[c = *f->cur++])
866 if (!(c = *f->cur++))
897 while (!json_end_val[c = *f->cur++]);
945 if ((n = r->cur - r->rec) && sfwrite(file->io, r->rec, n) != n)