Lines Matching defs:out
99 out is a one). We start with the highest power (least significant bit) of
159 /* write out CRC tables to crc32.h */
161 FILE *out;
163 out = fopen("crc32.h", "w");
164 if (out == NULL) return;
165 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n");
166 fprintf(out, " * Generated automatically by crc32.c\n */\n\n");
167 fprintf(out, "local const unsigned long FAR ");
168 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
169 write_table(out, crc_table[0]);
171 fprintf(out, "#ifdef BYFOUR\n");
173 fprintf(out, " },\n {\n");
174 write_table(out, crc_table[k]);
176 fprintf(out, "#endif\n");
178 fprintf(out, " }\n};\n");
179 fclose(out);
185 local void write_table(out, table)
186 FILE *out;
192 fprintf(out, "%s0x%08lxUL%s", n % 5 ? "" : " ", table[n],