Searched refs:Bodyfp (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | interceptor.c | 123 (void) fprintf(Bodyfp, "#line %d \"%s\"\n", in generate_interceptor() 125 (void) fprintf(Bodyfp, "#undef %s\n", function_name); in generate_interceptor() 126 (void) fprintf(Bodyfp, "extern %s;\n", buf); in generate_interceptor() 128 (void) fprintf(Bodyfp, "static %s\n{\n", prototype); in generate_interceptor() 153 (void) fprintf(Bodyfp, xtype, buffer); in print_function_signature() 155 (void) fprintf(Bodyfp, "(%s)", formals); in print_function_signature() 171 (void) fprintf(Bodyfp, in generate_i_declarations() 173 (void) fprintf(Bodyfp, " int functions_errvar;\n"); in generate_i_declarations() 178 (void) fprintf(Bodyfp, " int exception = 0;\n"); in generate_i_declarations() 182 (void) fprintf(Bodyfp, " %s;\n", ret_str); in generate_i_declarations() [all …]
|
H A D | printfuncs.c | 58 (void) fprintf(Bodyfp, " fprintf(ABISTREAM, \""); in generate_printf() 71 (void) fprintf(Bodyfp, ", "); in generate_printf() 75 (void) fprintf(Bodyfp, "..."); in generate_printf() 77 (void) fprintf(Bodyfp, "%s = ", name); in generate_printf() 88 (void) fprintf(Bodyfp, ")\""); in generate_printf() 91 (void) fprintf(Bodyfp, ") = "); in generate_printf() 93 (void) fprintf(Bodyfp, "\""); in generate_printf() 96 (void) fprintf(Bodyfp, "%s);\n", arglist); in generate_printf() 119 (void) fputs("\\\"%.*s\\\"", Bodyfp); in prepare_printf_part() 126 (void) fprintf(Bodyfp, "%s", "0x%p"); in prepare_printf_part() [all …]
|
H A D | linkage.c | 66 (void) fprintf(Bodyfp, "static abisym_t __abi_%s_%s_sym;\n", in generate_linkage() 72 (void) fputs("\n\n", Bodyfp); in generate_linkage() 88 (void) fprintf(Bodyfp, "\n/* from \"%s\", line %d */\n", in generate_interface_predeclaration() 90 (void) fprintf(Bodyfp, "static "); in generate_interface_predeclaration() 100 (void) fprintf(Bodyfp, "%s;\n", symtab_get_prototype()); in generate_interface_predeclaration() 112 (void) fprintf(Bodyfp, in generate_linkage_function() 114 (void) fprintf(Bodyfp, " ABI_REAL(%s, %s) = real;\n", lib, func); in generate_linkage_function() 115 (void) fprintf(Bodyfp, " ABI_VFLAG(%s, %s) = vflag;\n", lib, func); in generate_linkage_function() 116 (void) fprintf(Bodyfp, in generate_linkage_function()
|
H A D | bindings.c | 182 (void) fprintf(Bodyfp, in generate_a_binding() 188 (void) fprintf(Bodyfp, " %s = (", name); in generate_a_binding() 215 (void) fputs("_return", Bodyfp); in generate_a_binding() 217 (void) fputs("functions_errvar", Bodyfp); in generate_a_binding() 220 (void) fputs("0 == ", Bodyfp); in generate_a_binding() 224 (void) fputs("false", Bodyfp); in generate_a_binding() 229 (void) fputs("false", Bodyfp); in generate_a_binding() 232 (void) fputs("ABI_ERRNO", Bodyfp); in generate_a_binding() 236 strpqprint(p, q, Bodyfp); in generate_a_binding() 238 (void) putc(' ', Bodyfp); in generate_a_binding() [all …]
|
H A D | io.c | 41 FILE *Bodyfp = NULL; variable 85 if ((Bodyfp = fopen(body_file_name, "w+")) == NULL) { in open_code_file() 107 (void) fclose(Bodyfp); in abort_code_file() 151 if (ftell(Bodyfp) == 0) { in commit_code_file() 160 rewind(Bodyfp); in commit_code_file() 162 sizeof (copy_buffer), Bodyfp)) != 0) { in commit_code_file() 165 (void) fclose(Bodyfp); in commit_code_file()
|
H A D | io.h | 34 extern FILE *Bodyfp;
|
H A D | trace.c | 898 generate_print_declarations(Bodyfp); in generate_interface()
|