Lines Matching refs:fprintf
201 fprintf(stream, "#undef IS_LITTLE_ENDIAN\n");
202 fprintf(stream, "#define IS_BIG_ENDIAN 1\n\n");
204 fprintf(stream, "#define IS_LITTLE_ENDIAN 1\n");
205 fprintf(stream, "#undef IS_BIG_ENDIAN\n\n");
218 fprintf(stream, "#undef IS_LITTLE_ENDIAN\n");
219 fprintf(stream, "#define IS_BIG_ENDIAN 1\n\n");
221 fprintf(stream, "#define IS_LITTLE_ENDIAN 1\n");
222 fprintf(stream, "#undef IS_BIG_ENDIAN\n\n");
244 fprintf(stderr, "Could not write to output file %s.\n", *argv);
251 fprintf(stream, "#ifndef nspr_cpucfg___\n");
252 fprintf(stream, "#define nspr_cpucfg___\n\n");
254 fprintf(stream, "/* AUTOMATICALLY GENERATED - DO NOT EDIT */\n\n");
261 fprintf(stream, "#define PR_BYTES_PER_BYTE %d\n", sizeof(char));
262 fprintf(stream, "#define PR_BYTES_PER_SHORT %d\n", sizeof(short));
263 fprintf(stream, "#define PR_BYTES_PER_INT %d\n", sizeof(int));
264 fprintf(stream, "#define PR_BYTES_PER_INT64 %d\n", 8);
265 fprintf(stream, "#define PR_BYTES_PER_LONG %d\n", sizeof(long));
266 fprintf(stream, "#define PR_BYTES_PER_FLOAT %d\n", sizeof(float));
267 fprintf(stream, "#define PR_BYTES_PER_DOUBLE %d\n\n", sizeof(double));
269 fprintf(stream, "#define PR_BITS_PER_BYTE %d\n", bpb);
270 fprintf(stream, "#define PR_BITS_PER_SHORT %d\n", bpb * sizeof(short));
271 fprintf(stream, "#define PR_BITS_PER_INT %d\n", bpb * sizeof(int));
272 fprintf(stream, "#define PR_BITS_PER_INT64 %d\n", bpb * 8);
273 fprintf(stream, "#define PR_BITS_PER_LONG %d\n", bpb * sizeof(long));
274 fprintf(stream, "#define PR_BITS_PER_FLOAT %d\n", bpb * sizeof(float));
275 fprintf(stream, "#define PR_BITS_PER_DOUBLE %d\n\n",
278 fprintf(stream, "#define PR_BITS_PER_BYTE_LOG2 %d\n", Log2(bpb));
279 fprintf(stream, "#define PR_BITS_PER_SHORT_LOG2 %d\n",
281 fprintf(stream, "#define PR_BITS_PER_INT_LOG2 %d\n",
283 fprintf(stream, "#define PR_BITS_PER_INT64_LOG2 %d\n", 6);
284 fprintf(stream, "#define PR_BITS_PER_LONG_LOG2 %d\n",
286 fprintf(stream, "#define PR_BITS_PER_FLOAT_LOG2 %d\n",
288 fprintf(stream, "#define PR_BITS_PER_DOUBLE_LOG2 %d\n\n",
291 fprintf(stream, "#define PR_ALIGN_OF_SHORT %d\n", ALIGN_OF(short));
292 fprintf(stream, "#define PR_ALIGN_OF_INT %d\n", ALIGN_OF(int));
293 fprintf(stream, "#define PR_ALIGN_OF_LONG %d\n", ALIGN_OF(long));
296 fprintf(stream, "#define PR_ALIGN_OF_INT64 %d\n",
299 fprintf(stream, "#define PR_ALIGN_OF_INT64 %d\n", ALIGN_OF(PRInt64));
301 fprintf(stream, "#define PR_ALIGN_OF_FLOAT %d\n", ALIGN_OF(float));
302 fprintf(stream, "#define PR_ALIGN_OF_DOUBLE %d\n", ALIGN_OF(double));
303 fprintf(stream, "#define PR_ALIGN_OF_POINTER %d\n\n", ALIGN_OF(pointer));
305 fprintf(stream, "#endif /* nspr_cpucfg___ */\n");