Lines Matching defs:line
90 ga_parse_tokens(char *line, int max, char ***wret)
92 char *c = line;
99 for (n = 1, word = strtok(line, " \t"); word != NULL;
111 ga_parse_common(char *line, int min, int max, char **w1, char **w2, char **w3)
120 if ((nread = ga_parse_tokens(line, max, wret)) < min)
137 ga_parse_name(char *line, char **cnp, char **szdp, char **shdp)
139 return (ga_parse_common(line, 1, 3, cnp, szdp, shdp));
146 ga_parse_member(char *line, char **mnp, char **offp)
148 return (ga_parse_common(line, 1, 2, mnp, offp, NULL));
156 ga_process_name(char *line)
162 if (ga_parse_name(line, &curname, &sizedef, &shdef) < 0)
288 ga_process_member(ctf_id_t curtype, char *line)
292 if (ga_parse_member(line, &md.gmcb_memname, &md.gmcb_offdef) < 0)
299 ga_process_line(char *line)
304 if (strlen(line) == 0) {
308 if (!isspace(line[0]))
313 if (line[0] == '\\') {
314 if (line[1] == '#') {
316 (void) fprintf(out, "%s\n", line + 1);
320 } else if (line[0] == '#') {
322 * This is a comment of some sort; is it a line number
326 * terminator" like a blank line is.
328 if (isdigit(line[2])) {
329 /* line number, terminate type */
335 return ((curtype = ga_process_name(line)));
337 return (ga_process_member(curtype, line));