Lines Matching refs:tok
136 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
306 unsigned int cnt = s->tok - s->bot;
308 memcpy(s->bot, s->tok, s->lim - s->tok);
309 s->tok = s->bot;
317 memcpy(buf, s->tok, s->lim - s->tok);
318 s->tok = buf;
341 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning()
342 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning()
351 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
352 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
441 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); in timelib_string()
442 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string()
888 s->tok = cursor; in scan()