Searched refs:Bodyfp (Results 1 – 7 of 7) sorted by relevance
/titanic_50/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | interceptor.c | 125 (void) fprintf(Bodyfp, "#line %d \"%s\"\n", in generate_interceptor() 127 (void) fprintf(Bodyfp, "#undef %s\n", function_name); in generate_interceptor() 128 (void) fprintf(Bodyfp, "extern %s;\n", buf); in generate_interceptor() 130 (void) fprintf(Bodyfp, "static %s\n{\n", prototype); in generate_interceptor() 155 (void) fprintf(Bodyfp, xtype, buffer); in print_function_signature() 157 (void) fprintf(Bodyfp, "(%s)", formals); in print_function_signature() 173 (void) fprintf(Bodyfp, in generate_i_declarations() 175 (void) fprintf(Bodyfp, " int functions_errvar;\n"); in generate_i_declarations() 180 (void) fprintf(Bodyfp, " int exception = 0;\n"); in generate_i_declarations() 184 (void) fprintf(Bodyfp, " %s;\n", ret_str); in generate_i_declarations() [all …]
|
H A D | printfuncs.c | 60 (void) fprintf(Bodyfp, " fprintf(ABISTREAM, \""); in generate_printf() 73 (void) fprintf(Bodyfp, ", "); in generate_printf() 77 (void) fprintf(Bodyfp, "..."); in generate_printf() 79 (void) fprintf(Bodyfp, "%s = ", name); in generate_printf() 90 (void) fprintf(Bodyfp, ")\""); in generate_printf() 93 (void) fprintf(Bodyfp, ") = "); in generate_printf() 95 (void) fprintf(Bodyfp, "\""); in generate_printf() 98 (void) fprintf(Bodyfp, "%s);\n", arglist); in generate_printf() 121 (void) fputs("\\\"%.*s\\\"", Bodyfp); in prepare_printf_part() 128 (void) fprintf(Bodyfp, "%s", "0x%p"); in prepare_printf_part() [all …]
|
H A D | linkage.c | 69 (void) fprintf(Bodyfp, "static abisym_t __abi_%s_%s_sym;\n", in generate_linkage() 75 (void) fputs("\n\n", Bodyfp); in generate_linkage() 91 (void) fprintf(Bodyfp, "\n/* from \"%s\", line %d */\n", in generate_interface_predeclaration() 93 (void) fprintf(Bodyfp, "static "); in generate_interface_predeclaration() 103 (void) fprintf(Bodyfp, "%s;\n", symtab_get_prototype()); in generate_interface_predeclaration() 115 (void) fprintf(Bodyfp, in generate_linkage_function() 117 (void) fprintf(Bodyfp, " ABI_REAL(%s, %s) = real;\n", lib, func); in generate_linkage_function() 118 (void) fprintf(Bodyfp, " ABI_VFLAG(%s, %s) = vflag;\n", lib, func); in generate_linkage_function() 119 (void) fprintf(Bodyfp, in generate_linkage_function()
|
H A D | bindings.c | 184 (void) fprintf(Bodyfp, in generate_a_binding() 190 (void) fprintf(Bodyfp, " %s = (", name); in generate_a_binding() 217 (void) fputs("_return", Bodyfp); in generate_a_binding() 219 (void) fputs("functions_errvar", Bodyfp); in generate_a_binding() 222 (void) fputs("0 == ", Bodyfp); in generate_a_binding() 226 (void) fputs("false", Bodyfp); in generate_a_binding() 231 (void) fputs("false", Bodyfp); in generate_a_binding() 234 (void) fputs("ABI_ERRNO", Bodyfp); in generate_a_binding() 238 strpqprint(p, q, Bodyfp); in generate_a_binding() 240 (void) putc(' ', Bodyfp); in generate_a_binding() [all …]
|
H A D | io.c | 44 FILE *Bodyfp = NULL; variable 88 if ((Bodyfp = fopen(body_file_name, "w+")) == NULL) { in open_code_file() 110 (void) fclose(Bodyfp); in abort_code_file() 154 if (ftell(Bodyfp) == 0) { in commit_code_file() 163 rewind(Bodyfp); in commit_code_file() 165 sizeof (copy_buffer), Bodyfp)) != 0) { in commit_code_file() 168 (void) fclose(Bodyfp); in commit_code_file()
|
H A D | io.h | 36 extern FILE *Bodyfp;
|
H A D | trace.c | 900 generate_print_declarations(Bodyfp); in generate_interface()
|