Lines Matching refs:out
124 out is a one). We start with the highest power (least significant bit) of
184 /* write out CRC tables to crc32.h */
186 FILE *out;
188 out = fopen("crc32.h", "w");
189 if (out == NULL) return;
190 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n");
191 fprintf(out, " * Generated automatically by crc32.c\n */\n\n");
192 fprintf(out, "local const unsigned long FAR ");
193 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
194 write_table(out, crc_table[0]);
196 fprintf(out, "#ifdef BYFOUR\n");
198 fprintf(out, " },\n {\n");
199 write_table(out, crc_table[k]);
201 fprintf(out, "#endif\n");
203 fprintf(out, " }\n};\n");
204 fclose(out);
210 local void write_table(out, table)
211 FILE *out;
217 fprintf(out, "%s0x%08lxUL%s", n % 5 ? "" : " ", table[n],