Lines Matching refs:input
13 int srec_decode (char *input, int *count, ulong *addr, char *data) in srec_decode() argument
26 for (; *input; ++input) { in srec_decode()
27 if (*input == 'S') { /* skip 'S' */ in srec_decode()
28 ++input; in srec_decode()
32 if (*input == '\0') { /* no more data? */ in srec_decode()
36 v = *input++; /* record type */ in srec_decode()
38 if ((*count = hex2_bin(input)) < 0) { in srec_decode()
43 input += 2; in srec_decode()
91 if ((v = hex2_bin(input)) < 0) { in srec_decode()
96 input += 2; in srec_decode()
100 if ((v = hex2_bin(input)) < 0) { in srec_decode()
106 input += 2; in srec_decode()
112 if ((v = hex2_bin(input)) < 0) { in srec_decode()
118 input += 2; in srec_decode()
120 if ((v = hex2_bin(input)) < 0) { in srec_decode()
126 input += 2; in srec_decode()
135 if ((v = hex2_bin(input)) < 0) { in srec_decode()
140 input += 2; in srec_decode()
144 if ((v = hex2_bin(input)) < 0) { in srec_decode()