Home | History | Annotate | Download | only in exe

Lines Matching refs:bytes

166 	"membytes [-h | -r | -i] <address> <length> [<bytes>]\n"
168 "\t-h <bytes> is a sequence of hex digits, else a char string\n"
385 fprintf(stderr, "Failed to allocate buffer of %d bytes\n", len);
929 /* required args: address size [<bytes>]] */
931 fprintf(stderr, "required args: address size [<bytes>]\n");
935 fprintf(stderr, "missing <bytes> arg implies by -h\n");
939 fprintf(stderr, "can't have input <bytes> arg with -r or -i\n");
988 fprintf(stderr, "Hex (-h) must consist of whole bytes\n");
1152 uint offset, words, bytes;
1177 bytes = 2 * words;
1181 memcpy(bufp, &bytes, sizeof(int));
1205 bytes = ret;
1207 words = bytes / 2;
1209 if (bytes != 2 * SPROM_WORDS) {
1216 memcpy(bufp, &bytes, sizeof(int));
1231 fprintf(stderr, "Could not read %d bytes from %s\n",
1240 hndcrc8((uint8*)bufp, bytes, CRC8_INIT_VALUE) != CRC8_GOOD_VALUE) {
1242 ((uint8*)bufp)[bytes-1],
1243 ~hndcrc8((uint8*)bufp, bytes - 1, CRC8_INIT_VALUE) & 0xff);
1247 ltoh16_buf(bufp, bytes);
1277 bytes = 2 * words;
1278 memcpy(countptr, &bytes, sizeof(int));
1284 (strlen("sprom") + 1) + (2 * sizeof(int)) + bytes);
1288 (strlen("sprom") + 1) + (2 * sizeof(int)) + bytes);
1789 fprintf(stderr, "%s: %d bytes at 0x%x exceeds ramsize 0x%x\n",
1950 {DHD_BYTES_VAL, "bytes"},