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