Lines Matching refs:v
16 int v; /* conversion buffer */ in srec_decode() local
36 v = *input++; /* record type */ in srec_decode()
45 switch (v) { /* record type */ in srec_decode()
88 switch (v) { in srec_decode()
91 if ((v = hex2_bin(input)) < 0) { in srec_decode()
94 *addr += v; in srec_decode()
95 chksum += v; in srec_decode()
100 if ((v = hex2_bin(input)) < 0) { in srec_decode()
104 *addr += v; in srec_decode()
105 chksum += v; in srec_decode()
112 if ((v = hex2_bin(input)) < 0) { in srec_decode()
116 *addr += v; in srec_decode()
117 chksum += v; in srec_decode()
120 if ((v = hex2_bin(input)) < 0) { in srec_decode()
124 *addr += v; in srec_decode()
125 chksum += v; in srec_decode()
135 if ((v = hex2_bin(input)) < 0) { in srec_decode()
138 data[i] = v; in srec_decode()
139 chksum += v; in srec_decode()
144 if ((v = hex2_bin(input)) < 0) { in srec_decode()
148 if ((unsigned char)v != (unsigned char)~chksum) { in srec_decode()