Lines Matching full:token
54 * leaving the brace in the token buffer for the caller. If we see a
68 int brace_count = 0, token; in skip_to_semi() local
72 token = peek_token(&val, cfile); in skip_to_semi()
73 if (token == RBRACE) { in skip_to_semi()
75 token = next_token(&val, cfile); in skip_to_semi()
80 } else if (token == LBRACE) { in skip_to_semi()
82 } else if (token == SEMI && !brace_count) { in skip_to_semi()
83 token = next_token(&val, cfile); in skip_to_semi()
85 } else if (token == '\n') { in skip_to_semi()
92 token = next_token(&val, cfile); in skip_to_semi()
95 token = next_token(&val, cfile); in skip_to_semi()
96 } while (token != EOF); in skip_to_semi()
102 int token; in parse_semi() local
105 token = next_token(&val, cfile); in parse_semi()
106 if (token != SEMI) { in parse_semi()
122 int token; in parse_string() local
124 token = next_token(&val, cfile); in parse_string()
125 if (token != STRING) { in parse_string()
161 int token; in parse_hardware_param() local
165 token = next_token(&val, cfile); in parse_hardware_param()
166 switch (token) { in parse_hardware_param()
208 token = next_token(&val, cfile); in parse_hardware_param()
209 if (token != SEMI) { in parse_hardware_param()
222 int token; in parse_lease_time() local
224 token = next_token(&val, cfile); in parse_lease_time()
225 if (token != NUMBER) { in parse_lease_time()
240 * token specified in separator. If max is zero, any number of numbers
250 int token; in parse_numeric_aggregate() local
265 token = peek_token(&val, cfile); in parse_numeric_aggregate()
266 if (token != separator) { in parse_numeric_aggregate()
269 if (token != RBRACE && token != LBRACE) in parse_numeric_aggregate()
270 token = next_token(&val, cfile); in parse_numeric_aggregate()
272 if (token != SEMI) in parse_numeric_aggregate()
277 token = next_token(&val, cfile); in parse_numeric_aggregate()
279 token = next_token(&val, cfile); in parse_numeric_aggregate()
281 if (token == EOF) { in parse_numeric_aggregate()
287 if (token != NUMBER && in parse_numeric_aggregate()
288 (base != 16 || token != NUMBER_OR_NAME)) { in parse_numeric_aggregate()
445 int token; in parse_date() local
450 token = next_token(&val, cfile); in parse_date()
451 if (token != NUMBER) { in parse_date()
453 if (token != SEMI) in parse_date()
460 token = next_token(&val, cfile); in parse_date()
461 if (token != NUMBER) { in parse_date()
463 if (token != SEMI) in parse_date()
472 token = next_token(&val, cfile); in parse_date()
473 if (token != SLASH) { in parse_date()
475 if (token != SEMI) in parse_date()
481 token = next_token(&val, cfile); in parse_date()
482 if (token != NUMBER) { in parse_date()
484 if (token != SEMI) in parse_date()
491 token = next_token(&val, cfile); in parse_date()
492 if (token != SLASH) { in parse_date()
494 if (token != SEMI) in parse_date()
500 token = next_token(&val, cfile); in parse_date()
501 if (token != NUMBER) { in parse_date()
503 if (token != SEMI) in parse_date()
510 token = next_token(&val, cfile); in parse_date()
511 if (token != NUMBER) { in parse_date()
513 if (token != SEMI) in parse_date()
520 token = next_token(&val, cfile); in parse_date()
521 if (token != COLON) { in parse_date()
523 if (token != SEMI) in parse_date()
529 token = next_token(&val, cfile); in parse_date()
530 if (token != NUMBER) { in parse_date()
532 if (token != SEMI) in parse_date()
539 token = next_token(&val, cfile); in parse_date()
540 if (token != COLON) { in parse_date()
542 if (token != SEMI) in parse_date()
548 token = next_token(&val, cfile); in parse_date()
549 if (token != NUMBER) { in parse_date()
551 if (token != SEMI) in parse_date()
562 token = next_token(&val, cfile); in parse_date()
563 if (token != SEMI) { in parse_date()