Lines Matching refs:token

291 	const char *token;
294 if (!(token = next_token(f, NULL)))
297 if (!strcmp(token, "{")) {
309 if (!strcmp(token, "}"))
312 if (!strcmp(token, ","))
315 if (!strcmp(token, "NULL"))
318 struct data_node *str = data_node_string(token);
347 const char *token;
350 if (!(token = next_token(f, NULL)))
353 if (strcmp(token, "{"))
357 if (!(token = next_token(f, NULL)))
360 if (!strcmp(token, "{"))
363 if (!strcmp(token, "}"))
368 if (!strcmp(token, ",") && !depth) {
380 const char *token;
386 if (!(token = next_token2(f, buf[cur_buf], sizeof(buf[cur_buf]), NULL)))
389 if (!strcmp(token, "=") && !strcmp(buf[prev_buf], arr_id)) {
409 const char *token;
416 if (!(token = next_token(f, NULL)))
419 if (strcmp(token, "("))
422 if (!(token = next_token(f, NULL)))
425 arr_id = strdup(token);
442 if (!(token = next_token(f, NULL)))
445 if (token[0] == '#') {
453 if (!strcmp(token, "include")) {
477 char *token;
483 if (!(token = next_token(f, doc)))
486 if (!strcmp(token, "}"))
491 id = strdup(token);
495 if (!strcmp(token, "="))
501 if (!strcmp(token, "(")) {
507 if (!strcmp(token, ")"))
512 if (!strcmp(token, ","))
517 if (!strcmp(token, "{")) {
520 } else if (!strcmp(token, "ARRAY_SIZE")) {
524 try_apply_macro(&token);
525 ret = data_node_string(token);
644 const char *token;
651 while ((token = next_token(inc, NULL))) {
652 if (token[0] == '#') {
660 if (!strcmp(token, "define"))
672 const char *token;
686 while ((token = next_token(f, doc))) {
687 if (state < 6 && !strcmp(tokens[state], token)) {
690 if (token[0] == '#') {
691 token = next_token(f, doc);
692 if (token) {
693 if (!strcmp(token, "define"))
696 if (!strcmp(token, "include"))