Lines Matching refs:parse
70 /** parse keyword in string.
141 char *parse;
156 parse = line;
157 while(isspace((unsigned char)*parse))
158 parse++;
159 if(!*parse || *parse == ';') {
163 if(parse_keyword(&parse, "ADDRESS")) {
164 while(isspace((unsigned char)*parse))
165 parse++;
166 strip_end_white(parse);
167 if(!extstrtoaddr(parse, &rng->addr, &rng->addrlen,
170 pstate->lineno, parse);
177 if(parse_keyword(&parse, "RANGE_END")) {
232 fatal_exit("cannot parse assign: %s", remain);
248 * @param pstate: with lineno, ttl, origin, prev for parse state.
364 log_err("line %d: could not parse ADDRESS: %s",
375 log_err("line %d: could not parse ELAPSE: %s (%s)",
425 char *parse;
434 parse=line;
437 while(isspace((unsigned char)*parse))
438 parse++;
439 if(!*parse)
441 if(parse_keyword(&parse, ";"))
443 if(parse_keyword(&parse, "SCENARIO_BEGIN")) {
446 scen = make_scenario(parse);
453 if(parse_keyword(&parse, "RANGE_BEGIN")) {
454 struct replay_range* newr = replay_range_read(parse,
461 } else if(parse_keyword(&parse, "STEP")) {
462 struct replay_moment* mom = replay_moment_read(parse,
474 } else if(parse_keyword(&parse, "SCENARIO_END")) {
625 return at; /* and parse over the expanded text to see if again */
734 /* parse operands */