Lines Matching refs:f
37 void GenerateExpected(FILE* f, InstructionSet isa, const char* isa_str, in GenerateExpected() argument
42 fprintf(f, "static constexpr uint8_t expected_asm_%s[] = {", isa_str); in GenerateExpected()
43 HexDump(f, actual_asm); in GenerateExpected()
44 fprintf(f, "\n};\n"); in GenerateExpected()
45 fprintf(f, "static constexpr uint8_t expected_cfi_%s[] = {", isa_str); in GenerateExpected()
46 HexDump(f, actual_cfi); in GenerateExpected()
47 fprintf(f, "\n};\n"); in GenerateExpected()
78 fprintf(f, "// %s\n", line.c_str()); in GenerateExpected()
80 fprintf(f, "\n"); in GenerateExpected()
146 static void HexDump(FILE* f, ArrayRef<const uint8_t> data) { in HexDump() argument
148 fprintf(f, i % 12 == 0 ? "\n " : " "); // Whitespace. in HexDump()
149 fprintf(f, "0x%02X,", data[i]); in HexDump()