/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_svcout.c | 79 f_print(fout, "\t\t_xdr_%s = (xdrproc_t)\n", rname); in p_xdrfunc() 80 f_print(fout, "\t\t xdr_%s;\n", stringfix(typename)); in p_xdrfunc() 82 f_print(fout, "\t\t_xdr_%s = xdr_%s;\n", in p_xdrfunc() 90 f_print(fout, "static "); in internal_proctype() 92 f_print(fout, "*"); in internal_proctype() 99 f_print(fout, "\tif (!rpc_control(RPC_SVC_MTMODE_SET, &mode)) {\n"); in write_mtauto() 101 f_print(fout, "\t\texit(1);\n\t}\n"); in write_mtauto() 113 f_print(fout, "%s int _rpcpmstart;", var_type); in write_most() 114 f_print(fout, "\t\t/* Started by a port monitor ? */\n"); in write_most() 116 f_print(fout, "%s int _rpcfdtype;", var_type); in write_most() [all …]
|
H A D | rpc_sample.c | 88 f_print(fout, "\n\nvoid\n"); in write_sample_client() 91 f_print(fout, "(char *host)\n{\n"); in write_sample_client() 93 f_print(fout, "(host)\n\tchar *host;\n{\n"); in write_sample_client() 94 f_print(fout, "\tCLIENT *clnt;\n"); in write_sample_client() 98 f_print(fout, "\t"); in write_sample_client() 100 f_print(fout, "enum clnt_stat retval_%d;\n", ++i); in write_sample_client() 102 f_print(fout, "\t"); in write_sample_client() 107 f_print(fout, "void *"); in write_sample_client() 108 f_print(fout, "result_%d;\n", i); in write_sample_client() 112 f_print(fout, " *result_%d;\n", ++i); in write_sample_client() [all …]
|
H A D | rpc_clntout.c | 63 f_print(fout, in write_stubs() 65 f_print(fout, "static struct timeval TIMEOUT = { %d, 0 };\n", in write_stubs() 83 f_print(fout, "\n"); in write_program() 86 f_print(fout, "*\n"); in write_program() 90 f_print(fout, "enum clnt_stat \n"); in write_program() 95 f_print(fout, "{\n"); in write_program() 98 f_print(fout, "}\n"); in write_program() 120 f_print(fout, "("); in printarglist() 125 f_print(fout, "*argp, "); in printarglist() 129 f_print(fout, "*%s, ", result); in printarglist() [all …]
|
H A D | rpc_main.c | 257 f_print(stderr, in open_output() 264 f_print(stderr, "%s: unable to open ", cmdname); in open_output() 275 f_print(fout, "/*\n"); in add_warning() 276 f_print(fout, " * Please do not edit this file.\n"); in add_warning() 277 f_print(fout, " * It was generated using rpcgen.\n"); in add_warning() 278 f_print(fout, " */\n\n"); in add_warning() 347 f_print(stderr, "%s: ", cmdname); in open_input() 383 f_print(stderr, "illegal nettype :\'%s\'\n", name); in check_nettype() 414 f_print(fout, "#include \"%s\"\n", include); in c_output() 418 f_print(fout, "#include <rpc/rpc.h>\n"); in c_output() [all …]
|
H A D | rpc_cout.c | 127 f_print(fout, "\n"); in print_generic_header() 128 f_print(fout, "bool_t\n"); in print_generic_header() 130 f_print(fout, "xdr_%s(", procname); in print_generic_header() 131 f_print(fout, "XDR *xdrs, "); in print_generic_header() 132 f_print(fout, "%s ", procname); in print_generic_header() 134 f_print(fout, "*"); in print_generic_header() 135 f_print(fout, "objp)\n{\n\n"); in print_generic_header() 137 f_print(fout, "xdr_%s(xdrs, objp)\n", procname); in print_generic_header() 138 f_print(fout, "\tXDR *xdrs;\n"); in print_generic_header() 139 f_print(fout, "\t%s ", procname); in print_generic_header() [all …]
|
H A D | rpc_hout.c | 77 f_print(fout, "\n"); in print_datadef() 109 f_print(fout, "\n"); in print_funcdef() 145 f_print(fout, "extern bool_t xdr_%s();\n", name); in print_xdr_func_def() 147 f_print(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n", name, in print_xdr_func_def() 175 f_print(fout, "struct %s {\n", name); in pargdef() 178 f_print(fout, "};\n"); in pargdef() 179 f_print(fout, "typedef struct %s %s;\n", name, name); in pargdef() 181 f_print(fout, "\n"); in pargdef() 193 f_print(fout, "struct %s {\n", name); in pstructdef() 196 f_print(fout, "};\n"); in pstructdef() [all …]
|
H A D | rpc_tblout.c | 78 f_print(fout, "\n"); in write_tables() 102 f_print(fout, tbl_hdr, progvers); in write_table() 109 f_print(fout, null_entry); in write_table() 111 f_print(fout, null_entry_b); in write_table() 116 f_print(fout, in write_table() 119 f_print(stderr, in write_table() 128 f_print(fout, in write_table() 131 f_print(fout, in write_table() 139 f_print(fout, "_"); in write_table() 142 f_print(fout, "),\n"); in write_table() [all …]
|
H A D | rpc_util.c | 168 f_print(fout, "enum "); in ptype() 170 f_print(fout, "struct "); in ptype() 174 f_print(fout, "bool_t "); in ptype() 176 f_print(fout, "char *"); in ptype() 178 f_print(fout, "void "); in ptype() 180 f_print(fout, "%s ", follow ? fixtype(type) : type); in ptype() 231 f_print(fout, "%s_%s_svc", locase(pname), vnum); in pvname_svc() 237 f_print(fout, "%s_%s", locase(pname), vnum); in pvname() 247 f_print(stderr, "%s, line %d: ", infilename, linenum); in error() 248 f_print(stderr, "%s\n", msg); in error() [all …]
|
H A D | rpc_util.h | 58 #define f_print (void) fprintf macro
|
H A D | rpc_scan.c | 456 f_print(fout, "%s", line + 1); in printdirective()
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm.c | 398 .f_print = nvme_print_feat_arbitration 401 .f_print = nvme_print_feat_power_mgmt 404 .f_print = nvme_print_feat_lba_range 408 .f_print = nvme_print_feat_temperature 411 .f_print = nvme_print_feat_error 414 .f_print = nvme_print_feat_write_cache 417 .f_print = nvme_print_feat_nqueues 420 .f_print = nvme_print_feat_intr_coal 424 .f_print = nvme_print_feat_intr_vect 427 .f_print = nvme_print_feat_write_atom [all …]
|
H A D | nvmeadm.h | 64 void (*f_print)(uint32_t, void *, size_t, const nvme_identify_ctrl_t *, member
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | parseproto.y | 2069 char f_print[BUFSIZ]; in decl_PrintTraceInfo() local 2085 decl_GetTraceInfo(dp, f_type, f_print, &funargs); in decl_PrintTraceInfo() 2090 fprintf(stderr, "print function = %s\n", f_print); in decl_PrintTraceInfo() 2140 decl_GetTraceInfo(decl_t *dp, char *f_type, char *f_print, decl_t **funargs) in decl_GetTraceInfo() argument 2150 snprintf(f_print, BUFSIZ, "%s", in decl_GetTraceInfo() 2156 strcat(f_print, "*"); in decl_GetTraceInfo()
|