Lines Matching defs:line
127 * Read a line of text from a file using our crude file stream
132 * buffer - will receive line of text
183 * getbyte(line)
188 * line - pointer to pointer to characters (updated on exit)
194 static int getbyte(char **line)
199 c1 = getxdigit(*(*(line)+0));
202 c2 = getxdigit(*(*(line)+1));
206 (*line) += 2;
213 * procsrec(line,loadaddr,blklen,data)
219 * line - line of text (s-record line)
228 static int procsrec(char *line,
246 if (*line++ != 'S')
249 rectype = *line++;
267 linelen = getbyte(&line);
269 xprintf("srec: line too short\n");
279 b = getbyte(&line);
282 b = getbyte(&line);
287 b = getbyte(&line);
293 b = getbyte(&line);
297 b = getbyte(&line);
313 b = getbyte(&line);
318 b = getbyte(&line);
328 linelen = getbyte(&line);
329 b = getbyte(&line);
331 b = getbyte(&line);
339 linelen = getbyte(&line);
340 b = getbyte(&line);
342 b = getbyte(&line);
345 b = getbyte(&line);
353 linelen = getbyte(&line);
354 b = getbyte(&line);
356 b = getbyte(&line);
359 b = getbyte(&line);
362 b = getbyte(&line);
400 char line[256];
475 * Read a line of text
477 res = readline(&lb,line,sizeof(line));
485 if (line[0] == 0) continue;
487 res = procsrec(line,&loadaddr,&blklen,data);
533 xsprintf(line,"%04d",cnt);
534 cfe_ledstr(line);