Lines Matching defs:in

11  * This program is distributed in the hope that it will be useful,
40 #define RSASIG_LEN 20 /* Length of RSA Signature in tag */
41 #define TAGINFO1_LEN 30 /* Length of vendor information field1 in tag */
42 #define ZYX_TAGINFO1_LEN 20 /* Length of vendor information field1 in tag */
44 #define TAGINFO2_LEN 16 /* Length of vendor information field2 in tag */
45 #define CRC_LEN 4 /* Length of CRC in bytes */
57 char cfeAddress[ADDRESS_LEN]; // 72-83: Address in memory of CFE
59 char flashImageStart[ADDRESS_LEN]; // 94-105: Address in memory of image start (kernel for OpenWRT, rootfs for stock firmware)
61 char kernelAddress[ADDRESS_LEN]; // 116-127: Address in memory of kernel
74 char rootLength[4]; // 232-235: steal from reserved1 to keep the real root length so we can use in the flash map even after we have change the rootLength to 0 to satisfy devices that check CRC on every boot
87 char cfeAddress[ADDRESS_LEN]; // 72-83: Address in memory of CFE
89 char flashImageStart[ADDRESS_LEN]; // 94-105: Address in memory of image start (kernel for OpenWRT, rootfs for stock firmware)
91 char kernelAddress[ADDRESS_LEN]; // 116-127: Address in memory of kernel
97 char flashImageEnd[ADDRESS_LEN]; // 182-193: Address in memory of image end
105 char rootLength[4]; // 232-235: steal from reserved1 to keep the real root length so we can use in the flash map even after we have change the rootLength to 0 to satisfy devices that check CRC on every boot
193 FILE *in = stdin, *out = stdout;
217 if (ifn && !(in = fopen(ifn, "r"))) {
227 while ((n = fread(buf, 1, sizeof(buf), in)) > 0) {
229 if (ferror(in)) {
248 if (ferror(in)) {
256 fclose(in);