Home
last modified time | relevance | path

Searched refs:fprintf (Results 1 – 25 of 2915) sorted by relevance

12345678910>>...117

/NextBSD/sbin/growfs/
HDdebug.c107 fprintf(dbg_log, "===== START HEXDUMP =====\n"); in dbg_dump_hex()
108 fprintf(dbg_log, "# %d@%lx: %s\n", indent, (unsigned long)mem, comment); in dbg_dump_hex()
113 fprintf(dbg_log, "%02x ", *mem++); in dbg_dump_hex()
114 fprintf(dbg_log, " "); in dbg_dump_hex()
116 fprintf(dbg_log, "\n"); in dbg_dump_hex()
119 fprintf(dbg_log, "===== END HEXDUMP =====\n"); in dbg_dump_hex()
135 fprintf(dbg_log, "===== START SUPERBLOCK =====\n"); in dbg_dump_fs()
136 fprintf(dbg_log, "# %d@%lx: %s\n", indent, (unsigned long)sb, comment); in dbg_dump_fs()
139 fprintf(dbg_log, "sblkno int32_t 0x%08x\n", in dbg_dump_fs()
141 fprintf(dbg_log, "cblkno int32_t 0x%08x\n", in dbg_dump_fs()
[all …]
/NextBSD/usr.bin/migcom/
HDheader.c154 fprintf(file, "#include <mach/port.h>\n"); in WriteIncludes()
155 fprintf(file, "#include <sys/mach/kern_return.h>\n"); in WriteIncludes()
157 fprintf(file, "#include <mach/mig_errors.h>\n"); in WriteIncludes()
160 fprintf(file, "#include <sys/cdefs.h>\n"); in WriteIncludes()
161 fprintf(file, "#include <sys/types.h>\n"); in WriteIncludes()
162 fprintf(file, "#ifdef _KERNEL\n"); in WriteIncludes()
163 fprintf(file, "#include <sys/mach/ndr.h>\n"); in WriteIncludes()
164 fprintf(file, "#include <sys/mach/kern_return.h>\n"); in WriteIncludes()
165 fprintf(file, "#include <sys/mach/notify.h>\n"); in WriteIncludes()
166 fprintf(file, "#include <sys/mach/mach_types.h>\n"); in WriteIncludes()
[all …]
HDutils.c148 fprintf(file, "/*\n"); in WriteIdentificationString()
149 fprintf(file, " * IDENTIFICATION:\n"); in WriteIdentificationString()
150 fprintf(file, " * stub generated %s", GenerationDate); in WriteIdentificationString()
151 fprintf(file, " * with a MiG generated %s by %s\n", MigGenerationDate, MigMoreData); in WriteIdentificationString()
152 fprintf(file, " * OPTIONS: \n"); in WriteIdentificationString()
154 fprintf(file, " *\tKernelUser\n"); in WriteIdentificationString()
156 fprintf(file, " *\tKernelServer\n"); in WriteIdentificationString()
158 fprintf(file, " *\t-R (no RPC calls)\n"); in WriteIdentificationString()
159 fprintf(file, " */\n"); in WriteIdentificationString()
165 fprintf(file, "#ifdef\tmig_external\n"); in WriteMigExternal()
[all …]
HDserver.c245 fprintf(file, "\t{\n"); in WriteKPD_Iterator()
246 fprintf(file, "\t register\t%s\t*ptr;\n", it->itKPDType); in WriteKPD_Iterator()
247 fprintf(file, "\t register int\ti"); in WriteKPD_Iterator()
249 fprintf(file, ", j"); in WriteKPD_Iterator()
250 fprintf(file, ";\n\n"); in WriteKPD_Iterator()
257 fprintf(file, "\t ptr = &%s->%s[0];\n", string, arg->argMsgField); in WriteKPD_Iterator()
263 fprintf(file, "\t for (i = 0; i < In%dP->%s; ptr++, i++) %s\n", in WriteKPD_Iterator()
267 fprintf(file, "\t j = min(%d, ", it->itKPD_Number); in WriteKPD_Iterator()
269 fprintf(file, "%s);\n", count->argName); in WriteKPD_Iterator()
271 fprintf(file, "%s->%s);\n", string, count->argMsgField); in WriteKPD_Iterator()
[all …]
HDuser.c274 fprintf(file, "\t{\n"); in WriteKPD_Iterator()
275 fprintf(file, "\t register\t%s\t*ptr;\n", it->itKPDType); in WriteKPD_Iterator()
276 fprintf(file, "\t register int\ti"); in WriteKPD_Iterator()
278 fprintf(file, ", j"); in WriteKPD_Iterator()
279 fprintf(file, ";\n\n"); in WriteKPD_Iterator()
288 fprintf(file, "\t ptr = &%s->%s[0];\n", string, arg->argMsgField); in WriteKPD_Iterator()
295 fprintf(file, "\t if (%s%s > %d)\n", cref, count->argVarName, in WriteKPD_Iterator()
298 fprintf(file, "\t for (i = 0; i < %s%s; ptr++, i++) %s\n", in WriteKPD_Iterator()
301 fprintf(file, "\t j = min(Out%dP->%s, %s%s);\n", count->argReplyPos, in WriteKPD_Iterator()
303 fprintf(file, "\t for (i = 0; i < j; ptr++, i++) %s\n", in WriteKPD_Iterator()
[all …]
/NextBSD/contrib/telnet/telnet/
HDutilities.c122 fprintf(stderr, "Cannot open %s.\n", file); in SetNetTrace()
140 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump()
145 fprintf(NetTrace, "%c%.2x", in Dump()
155 fprintf(NetTrace, "%.2x", (*pThis)&0xff); in Dump()
162 fprintf(NetTrace, "\r\n"); in Dump()
164 fprintf(NetTrace, "\n"); in Dump()
183 fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option)); in printoption()
185 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption()
191 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption()
193 fprintf(NetTrace, "%s", TELOPT(option)); in printoption()
[all …]
/NextBSD/crypto/heimdal/appl/telnet/telnet/
HDutilities.c60 fprintf(stderr, "Error: attempt to turn off an option 0x%x.\n", in SetSockOpt()
88 fprintf(stderr, "Cannot open %s.\n", file); in SetNetTrace()
105 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump()
110 fprintf(NetTrace, "%c%.2x", in Dump()
120 fprintf(NetTrace, "%.2x", (*pThis)&0xff); in Dump()
127 fprintf(NetTrace, "\r\n"); in Dump()
129 fprintf(NetTrace, "\n"); in Dump()
148 fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option)); in printoption()
150 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption()
156 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption()
[all …]
/NextBSD/crypto/heimdal/include/
HDbits.c59 fprintf(f, "%s", tmp2); \
60 while(tabs-- > 0) fprintf(f, "\t"); \
61 fprintf(f, "/* %2d bits */\n", b); \
89 fprintf(f, "/* There is no %d bit type */\n", len); in try_signed()
102 fprintf(f, "/* There is no %d bit type */\n", len); in try_unsigned()
109 fprintf(f, "/* For compatibility with various type definitions */\n"); in print_bt()
110 fprintf(f, "#ifndef __BIT_TYPES_DEFINED__\n"); in print_bt()
111 fprintf(f, "#define __BIT_TYPES_DEFINED__\n"); in print_bt()
112 fprintf(f, "\n"); in print_bt()
144 fprintf(f, "/* %s -- this file was generated for %s by\n", fn, HOST); in main()
[all …]
/NextBSD/usr.sbin/mfiutil/
HDmfiutil.c54 fprintf(stderr, "usage: mfiutil [-de] [-u unit] <command> ...\n\n"); in usage()
55 fprintf(stderr, "Commands include:\n"); in usage()
56 fprintf(stderr, " version\n"); in usage()
57 fprintf(stderr, " show adapter - display controller information\n"); in usage()
58 fprintf(stderr, " show battery - display battery information\n"); in usage()
59 fprintf(stderr, " show config - display RAID configuration\n"); in usage()
60 fprintf(stderr, " show drives - list physical drives\n"); in usage()
61 fprintf(stderr, " show events - display event log\n"); in usage()
62 fprintf(stderr, " show firmware - list firmware images\n"); in usage()
63 fprintf(stderr, " show foreign - display detected foreign volumes\n"); in usage()
[all …]
/NextBSD/crypto/heimdal/lib/com_err/
HDcompile_et.c78 fprintf(c_file, "/* Generated from %s */\n", filename); in generate_c()
80 fprintf(c_file, "/* %s */\n", id_str); in generate_c()
81 fprintf(c_file, "\n"); in generate_c()
82 fprintf(c_file, "#include <stddef.h>\n"); in generate_c()
83 fprintf(c_file, "#include <com_err.h>\n"); in generate_c()
84 fprintf(c_file, "#include \"%s\"\n", hfn); in generate_c()
85 fprintf(c_file, "\n"); in generate_c()
86 fprintf(c_file, "#define N_(x) (x)\n"); in generate_c()
87 fprintf(c_file, "\n"); in generate_c()
89 fprintf(c_file, "static const char *%s_error_strings[] = {\n", name); in generate_c()
[all …]
/NextBSD/contrib/com_err/
HDcompile_et.c78 fprintf(c_file, "/* Generated from %s */\n", filename); in generate_c()
80 fprintf(c_file, "/* %s */\n", id_str); in generate_c()
81 fprintf(c_file, "\n"); in generate_c()
82 fprintf(c_file, "#include <stddef.h>\n"); in generate_c()
83 fprintf(c_file, "#include <com_err.h>\n"); in generate_c()
84 fprintf(c_file, "#include \"%s\"\n", hfn); in generate_c()
85 fprintf(c_file, "\n"); in generate_c()
86 fprintf(c_file, "#define N_(x) (x)\n"); in generate_c()
87 fprintf(c_file, "\n"); in generate_c()
89 fprintf(c_file, "static const char *%s_error_strings[] = {\n", name); in generate_c()
[all …]
/NextBSD/lib/libc/regex/grot/
HDdebug.c32 fprintf(d, "%ld states", (long)g->nstates);
33 fprintf(d, ", first %ld last %ld", (long)g->firststate,
36 fprintf(d, ", USEBOL");
38 fprintf(d, ", USEEOL");
40 fprintf(d, ", BAD");
42 fprintf(d, ", nsub=%ld", (long)g->nsub);
44 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen,
47 fprintf(d, ", backrefs");
49 fprintf(d, ", nplus %ld", (long)g->nplus);
50 fprintf(d, "\n");
[all …]
/NextBSD/crypto/heimdal/lib/asn1/
HDgen.c68 fprintf (headerfile, "#include <%s_asn1.h>\n", module); in add_import()
153 fprintf (headerfile, in init_generate()
157 fprintf (headerfile, in init_generate()
160 fprintf (headerfile, in init_generate()
163 fprintf (headerfile, in init_generate()
166 fprintf (headerfile, in init_generate()
172 fprintf (headerfile, in init_generate()
177 fprintf (headerfile, in init_generate()
180 fprintf (headerfile, in init_generate()
183 fprintf (headerfile, in init_generate()
[all …]
HDgen_encode.c41 fprintf (codefile, in encode_primitive()
117 fprintf (codefile, in encode_type()
124 fprintf(codefile, in encode_type()
129 fprintf(codefile, "}\n;"); in encode_type()
161 fprintf (codefile, "{\n" in encode_type()
164 fprintf (codefile, in encode_type()
189 fprintf (codefile, in encode_type()
191 fprintf (codefile, in encode_type()
195 fprintf (codefile, in encode_type()
206 fprintf (codefile, in encode_type()
[all …]
/NextBSD/contrib/netbsd-tests/lib/libc/regex/
HDdebug.c65 fprintf(d, "%ld states, %zu categories", (long)g->nstates, in regprint()
67 fprintf(d, ", first %ld last %ld", (long)g->firststate, in regprint()
70 fprintf(d, ", USEBOL"); in regprint()
72 fprintf(d, ", USEEOL"); in regprint()
74 fprintf(d, ", BAD"); in regprint()
76 fprintf(d, ", nsub=%ld", (long)g->nsub); in regprint()
78 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen, in regprint()
81 fprintf(d, ", backrefs"); in regprint()
83 fprintf(d, ", nplus %ld", (long)g->nplus); in regprint()
84 fprintf(d, "\n"); in regprint()
[all …]
/NextBSD/contrib/netbsd-tests/include/
HDt_bitstring.c54 (void) fprintf(file, "%3d %3d ", jc, js); in printbits()
57 (void) fprintf(file, "%c", (bit_test(b, i) ? '1' : '0')); in printbits()
60 (void) fprintf(file, "%c", '\n'); in printbits()
71 (void) fprintf(file, "Testing with TEST_LENGTH = %d\n\n", test_length); in calculate_data()
73 (void) fprintf(file, "test _bit_byte, _bit_mask, and bitstr_size\n"); in calculate_data()
74 (void) fprintf(file, " i _bit_byte(i) _bit_mask(i) bitstr_size(i)\n"); in calculate_data()
77 (void) fprintf(file, "%3d%15u%15u%15zu\n", in calculate_data()
83 (void) fprintf(file, "\ntest bit_alloc, clearbits, bit_ffc, bit_ffs\n"); in calculate_data()
84 (void) fprintf(file, "be: 0 -1 "); in calculate_data()
86 (void) fprintf(file, "%c", '0'); in calculate_data()
[all …]
/NextBSD/libexec/bootpd/
HDdumptab.c108 fprintf(fp, "\n# %s %s.%d\n", progname, VERSION, PATCHLEVEL);
109 fprintf(fp, "# %s: dump of bootp server database.\n", filename);
110 fprintf(fp, "# Dump taken %s", ctime(&t));
117 fprintf(fp, "\n");
139 fprintf(fp, "%s:", (hp->hostname ?
142 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string);
145 fprintf(fp, "\\\n\t:bs=");
147 fprintf(fp, "auto:");
149 fprintf(fp, "%lu:", (u_long)hp->bootsize);
153 fprintf(fp, "\\\n\t:cs=");
[all …]
/NextBSD/tools/regression/sockets/socketpair/
HDsocketpair.c59 fprintf(stderr, "socketpair(PF_UNIX, SOCK_DGRAM): %s\n", in main()
61 fprintf(stderr, "FAIL\n"); in main()
65 fprintf(stderr, "socketpair(PF_UNIX, SOCK_DGRAM) close 0: %s\n", in main()
67 fprintf(stderr, "FAIL\n"); in main()
71 fprintf(stderr, "socketpair(PF_UNIX, SOCK_DGRAM) close 1: %s\n", in main()
73 fprintf(stderr, "FAIL\n"); in main()
81 fprintf(stderr, "socketpair(PF_UNIX, SOCK_STREAM): %s\n", in main()
83 fprintf(stderr, "FAIL\n"); in main()
87 fprintf(stderr, "socketpair(PF_UNIX, SOCK_STREAM) close 0: %s\n", in main()
89 fprintf(stderr, "FAIL\n"); in main()
[all …]
/NextBSD/contrib/gperf/src/
HDoptions.cc75 fprintf (stream, in short_usage()
82 fprintf (stream, in long_usage()
84 fprintf (stream, "\n"); in long_usage()
85 fprintf (stream, in long_usage()
88 fprintf (stream, "\n"); in long_usage()
89 fprintf (stream, in long_usage()
92 fprintf (stream, "\n"); in long_usage()
93 fprintf (stream, in long_usage()
95 fprintf (stream, in long_usage()
97 fprintf (stream, in long_usage()
[all …]
/NextBSD/contrib/wpa/wpa_supplicant/
HDconfig_file.c479 fprintf(f, "\t%s=%s\n", field, value); in write_str()
488 fprintf(f, "\t%s=%d\n", field, value); in write_int()
497 fprintf(f, "\tbssid=%s\n", value); in write_bssid()
512 fprintf(f, "\tpsk=%s\n", value); in write_psk()
528 fprintf(f, "\tproto=%s\n", value); in write_proto()
544 fprintf(f, "\tkey_mgmt=%s\n", value); in write_key_mgmt()
560 fprintf(f, "\tpairwise=%s\n", value); in write_pairwise()
576 fprintf(f, "\tgroup=%s\n", value); in write_group()
592 fprintf(f, "\tauth_alg=%s\n", value); in write_auth_alg()
607 fprintf(f, "\teap=%s\n", value); in write_eap()
[all …]
/NextBSD/usr.sbin/mptutil/
HDmptutil.c51 fprintf(stderr, "usage: mptutil [-u unit] <command> ...\n\n"); in usage()
52 fprintf(stderr, "Commands include:\n"); in usage()
53 fprintf(stderr, " version\n"); in usage()
54 fprintf(stderr, " show adapter - display controller information\n"); in usage()
55 fprintf(stderr, " show config - display RAID configuration\n"); in usage()
56 fprintf(stderr, " show drives - list physical drives\n"); in usage()
57 fprintf(stderr, " show events - display event log\n"); in usage()
58 fprintf(stderr, " show volumes - list logical volumes\n"); in usage()
59 fprintf(stderr, " fail <drive> - fail a physical drive\n"); in usage()
60 fprintf(stderr, " online <drive> - bring an offline physical drive online\n"); in usage()
[all …]
/NextBSD/contrib/byacc/
HDerror.c10 fprintf(stderr, "%s: f - %s\n", myname, msg); in fatal()
17 fprintf(stderr, "%s: f - out of space\n", myname); in no_space()
24 fprintf(stderr, "%s: f - cannot open \"%s\"\n", myname, filename); in open_error()
31 fprintf(stderr, "%s: e - line %d of \"%s\", missing '}'\n", in missing_brace()
39 fprintf(stderr, "%s: e - line %d of \"%s\", unexpected end-of-file\n", in unexpected_EOF()
73 fprintf(stderr, "%s: e - line %d of \"%s\", syntax error\n", in syntax_error()
82 fprintf(stderr, "%s: e - line %d of \"%s\", unmatched /*\n", in unterminated_comment()
91 fprintf(stderr, "%s: e - line %d of \"%s\", unterminated string\n", in unterminated_string()
100 fprintf(stderr, "%s: e - line %d of \"%s\", unmatched %%{\n", in unterminated_text()
109 fprintf(stderr, "%s: e - line %d of \"%s\", unterminated %%union \ in unterminated_union()
[all …]
/NextBSD/contrib/dtc/
HDtreesource.c74 fprintf(f, "%s: ", m->ref); in write_propval_string()
77 fprintf(f, "\""); in write_propval_string()
84 fprintf(f, "\\a"); in write_propval_string()
87 fprintf(f, "\\b"); in write_propval_string()
90 fprintf(f, "\\t"); in write_propval_string()
93 fprintf(f, "\\n"); in write_propval_string()
96 fprintf(f, "\\v"); in write_propval_string()
99 fprintf(f, "\\f"); in write_propval_string()
102 fprintf(f, "\\r"); in write_propval_string()
105 fprintf(f, "\\\\"); in write_propval_string()
[all …]
/NextBSD/contrib/ipfilter/tools/
HDipfcomp.c89 fprintf(fp, "/*\n");
90 fprintf(fp, "* Copyright (C) 2012 by Darren Reed.\n");
91 fprintf(fp, "*\n");
92 fprintf(fp, "* Redistribution and use in source and binary forms are permitted\n");
93 fprintf(fp, "* provided that this notice is preserved and due credit is given\n");
94 fprintf(fp, "* to the original author and the contributors.\n");
95 fprintf(fp, "*/\n\n");
97 fprintf(fp, "#include <sys/param.h>\n");
98 fprintf(fp, "#include <sys/types.h>\n");
99 fprintf(fp, "#include <sys/time.h>\n");
[all …]
/NextBSD/usr.sbin/notifyd/
HDnotifyd.c114 fprintf(f, "NULL client\n"); in fprint_client()
120 fprintf(f, "client_id: %lu\n", c->client_id); in fprint_client()
121 fprintf(f, "pid: %d\n", c->pid); in fprint_client()
122 fprintf(f, "token: %d\n", token); in fprint_client()
123 fprintf(f, "lastval: %u\n", c->lastval); in fprint_client()
124 fprintf(f, "suspend_count: %u\n", c->suspend_count); in fprint_client()
125 fprintf(f, "type: %s\n", notify_type_name(c->notify_type)); in fprint_client()
138 fprintf(f, "mach port: 0x%08x\n", c->port); in fprint_client()
142 fprintf(f, "fd: %d\n", c->fd); in fprint_client()
146 fprintf(f, "signal: %d\n", c->sig); in fprint_client()
[all …]

12345678910>>...117