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