Lines Matching refs:lim
42 limit = uchar_wrapper (s->lim); \
54 s->lim = limit; \
63 if (s->cur > s->lim) \
182 if (NULL == s->lim) in fill()
183 s->lim = s->top; in fill()
184 memmove(s->bot, s->tok, s->lim - s->tok); in fill()
188 s->lim -= cnt; in fill()
192 if((s->top - s->lim) < BOOST_WAVE_BSIZE) in fill()
194 uchar *buf = (uchar*) malloc(((s->lim - s->bot) + BOOST_WAVE_BSIZE)*sizeof(uchar)); in fill()
205 memmove(buf, s->tok, s->lim - s->tok); in fill()
209 s->lim = &buf[s->lim - s->bot]; in fill()
210 s->top = &s->lim[BOOST_WAVE_BSIZE]; in fill()
218 uchar * dst = s->lim; in fill()
226 s->eof = &s->lim[cnt]; *(s->eof)++ = '\0'; in fill()
232 for (p = s->lim; p < s->lim + cnt - 2; ++p) in fill()
235 if (is_backslash(p, s->lim + cnt, len)) in fill()
240 memmove(p, p + offset, s->lim + cnt - p - offset); in fill()
250 memmove(p, p + offset, s->lim + cnt - p - offset); in fill()
257 memmove(p, p + offset, s->lim + cnt - p - offset); in fill()
272 uchar last = s->lim[cnt-1]; in fill()
273 uchar last2 = s->lim[cnt-2]; in fill()
282 aq_enqueue(s->eol_offsets, cnt + (s->lim - s->bot)); in fill()
297 aq_enqueue(s->eol_offsets, cnt + (s->lim - s->bot)); in fill()
319 aq_enqueue(s->eol_offsets, cnt + (s->lim - s->bot)); in fill()
325 aq_enqueue(s->eol_offsets, cnt + (s->lim - s->bot)); in fill()
329 s->lim += cnt; in fill()
332 s->eof = s->lim; in fill()
370 uchar_wrapper limit (s->lim); in scan()