Lines Matching refs:tok
135 uchar *lim, *str, *ptr, *cur, *tok, *pos;
305 unsigned int cnt = s->tok - s->bot;
307 memcpy(s->bot, s->tok, s->lim - s->tok);
308 s->tok = s->bot;
316 memcpy(buf, s->tok, s->lim - s->tok);
317 s->tok = buf;
340 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0;
341 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
350 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
351 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
440 char *tmp = timelib_calloc(1, s->cur - s->tok + 1);
441 memcpy(tmp, s->tok, s->cur - s->tok);
853 s->tok = cursor;