| /freebsd/sbin/growfs/ |
| H A D | debug.c | 104 fprintf(dbg_log, "===== START HEXDUMP =====\n"); in dbg_dump_hex() 105 fprintf(dbg_log, "# %d@%lx: %s\n", indent, (unsigned long)mem, comment); in dbg_dump_hex() 110 fprintf(dbg_log, "%02x ", *mem++); in dbg_dump_hex() 111 fprintf(dbg_log, " "); in dbg_dump_hex() 113 fprintf(dbg_log, "\n"); in dbg_dump_hex() 116 fprintf(dbg_log, "===== END HEXDUMP =====\n"); in dbg_dump_hex() 132 fprintf(dbg_log, "===== START SUPERBLOCK =====\n"); in dbg_dump_fs() 133 fprintf(dbg_log, "# %d@%lx: %s\n", indent, (unsigned long)sb, comment); in dbg_dump_fs() 136 fprintf(dbg_log, "sblkno int32_t 0x%08x\n", in dbg_dump_fs() 138 fprintf(dbg_lo in dbg_dump_fs() [all...] |
| /freebsd/contrib/telnet/telnet/ |
| H A D | utilities.c | 116 fprintf(stderr, "Cannot open %s.\n", file); in SetNetTrace() 134 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump() 139 fprintf(NetTrace, "%c%.2x", in Dump() 149 fprintf(NetTrace, "%.2x", (*pThis)&0xff); in Dump() 156 fprintf(NetTrace, "\r\n"); in Dump() 158 fprintf(NetTrace, "\n"); in Dump() 177 fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option)); in printoption() 179 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption() 185 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption() 187 fprintf(NetTrace, "%s", TELOPT(option)); in printoption() [all …]
|
| /freebsd/crypto/heimdal/appl/telnet/telnet/ |
| H A D | utilities.c | 60 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 …]
|
| /freebsd/crypto/heimdal/include/ |
| H A D | bits.c | 59 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 …]
|
| /freebsd/usr.sbin/mfiutil/ |
| H A D | mfiutil.c | 57 …fprintf(stderr, "usage: %s [-de] [-D device] [-u unit] [-t type] <command> ...\n\n", getprogname()… in usage() 58 fprintf(stderr, "Commands include:\n"); in usage() 59 fprintf(stderr, " version\n"); in usage() 60 fprintf(stderr, " show adapter - display controller information\n"); in usage() 61 fprintf(stderr, " show battery - display battery information\n"); in usage() 62 fprintf(stderr, " show config - display RAID configuration\n"); in usage() 63 fprintf(stderr, " show drives - list physical drives\n"); in usage() 64 fprintf(stderr, " show events - display event log\n"); in usage() 65 fprintf(stderr, " show firmware - list firmware images\n"); in usage() 66 fprintf(stderr, " show foreign - display detected foreign volumes\n"); in usage() [all …]
|
| /freebsd/contrib/com_err/ |
| H A D | compile_et.c | 78 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 …]
|
| /freebsd/crypto/heimdal/lib/com_err/ |
| H A D | compile_et.c | 78 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 …]
|
| /freebsd/lib/libc/regex/grot/ |
| H A D | debug.c | 29 fprintf(d, "%ld states", (long)g->nstates); 30 fprintf(d, ", first %ld last %ld", (long)g->firststate, 33 fprintf(d, ", USEBOL"); 35 fprintf(d, ", USEEOL"); 37 fprintf(d, ", BAD"); 39 fprintf(d, ", nsub=%ld", (long)g->nsub); 41 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen, 44 fprintf(d, ", backrefs"); 46 fprintf(d, ", nplus %ld", (long)g->nplus); 47 fprintf(d, "\n"); [all …]
|
| /freebsd/crypto/heimdal/lib/asn1/ |
| H A D | gen.c | 68 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 (headerfil in init_generate() [all...] |
| H A D | gen_encode.c | 41 fprintf (codefile, in encode_primitive() 117 fprintf (codefile, in encode_type() 124 fprintf(codefile, in encode_type() 129 fprintf(codefile, "}\n;"); in encode_type() 163 fprintf (codefile, "{\n" in encode_type() 166 fprintf (codefile, in encode_type() 191 fprintf (codefile, in encode_type() 193 fprintf (codefile, in encode_type() 197 fprintf (codefile, in encode_type() 208 fprintf (codefil in encode_type() [all...] |
| H A D | gen_decode.c | 43 fprintf (codefile, in decode_primitive() 50 fprintf (codefile, in decode_primitive() 191 fprintf (codefile, in range_check() 197 fprintf (codefile, in range_check() 203 fprintf (codefile, in range_check() 218 fprintf(codefile, in decode_type() 222 fprintf (codefile, in decode_type() 226 fprintf (codefile, in decode_type() 235 fprintf (codefile, in decode_type() 238 fprintf (codefil in decode_type() [all...] |
| /freebsd/libexec/bootpd/ |
| H A D | dumptab.c | 97 fprintf(fp, "\n# %s %s.%d\n", progname, VERSION, PATCHLEVEL); in dumptab() 98 fprintf(fp, "# %s: dump of bootp server database.\n", filename); in dumptab() 99 fprintf(fp, "# Dump taken %s", ctime(&t)); in dumptab() 106 fprintf(fp, "\n"); in dumptab() 126 fprintf(fp, "%s:", (hp->hostname ? in dump_host() 129 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string); in dump_host() 132 fprintf(fp, "\\\n\t:bs="); in dump_host() 134 fprintf(fp, "auto:"); in dump_host() 136 fprintf(fp, "%lu:", (u_long)hp->bootsize); in dump_host() 140 fprintf(fp, "\\\n\t:cs="); in dump_host() [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libc/regex/ |
| H A D | debug.c | 60 fprintf(d, "%ld states, %zu categories", (long)g->nstates, in regprint() 62 fprintf(d, ", first %ld last %ld", (long)g->firststate, in regprint() 65 fprintf(d, ", USEBOL"); in regprint() 67 fprintf(d, ", USEEOL"); in regprint() 69 fprintf(d, ", BAD"); in regprint() 71 fprintf(d, ", nsub=%ld", (long)g->nsub); in regprint() 73 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen, in regprint() 76 fprintf(d, ", backrefs"); in regprint() 78 fprintf(d, ", nplus %ld", (long)g->nplus); in regprint() 79 fprintf(d, "\n"); in regprint() [all …]
|
| /freebsd/contrib/netbsd-tests/include/ |
| H A D | t_bitstring.c | 54 (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 …]
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | config_file.c | 420 fprintf(f, "\t%s=%s\n", field, value); in write_str() 429 fprintf(f, "\t%s=%d\n", field, value); in write_int() 438 fprintf(f, "\tbssid=%s\n", value); in write_bssid() 449 fprintf(f, "\tbssid_hint=%s\n", value); in write_bssid_hint() 464 fprintf(f, "\tpsk=%s\n", value); in write_psk() 480 fprintf(f, "\tproto=%s\n", value); in write_proto() 496 fprintf(f, "\tkey_mgmt=%s\n", value); in write_key_mgmt() 512 fprintf(f, "\tpairwise=%s\n", value); in write_pairwise() 528 fprintf(f, "\tgroup=%s\n", value); in write_group() 544 fprintf(f, "\tgroup_mgmt=%s\n", value); in write_group_mgmt() [all …]
|
| /freebsd/usr.sbin/mptutil/ |
| H A D | mptutil.c | 50 fprintf(stderr, "usage: mptutil [-u unit] <command> ...\n\n"); in usage() 51 fprintf(stderr, "Commands include:\n"); in usage() 52 fprintf(stderr, " version\n"); in usage() 53 fprintf(stderr, " show adapter - display controller information\n"); in usage() 54 fprintf(stderr, " show config - display RAID configuration\n"); in usage() 55 fprintf(stderr, " show drives - list physical drives\n"); in usage() 56 fprintf(stderr, " show events - display event log\n"); in usage() 57 fprintf(stderr, " show volumes - list logical volumes\n"); in usage() 58 fprintf(stderr, " fail <drive> - fail a physical drive\n"); in usage() 59 fprintf(stderr, " online <drive> - bring an offline physical drive online\n"); in usage() [all …]
|
| /freebsd/crypto/openssl/demos/pkey/ |
| H A D | EVP_PKEY_RSA_keygen.c | 44 fprintf(stderr, "EVP_PKEY_CTX_new_from_name() failed\n"); in generate_rsa_key_long() 50 fprintf(stderr, "EVP_PKEY_keygen_init() failed\n"); in generate_rsa_key_long() 59 fprintf(stderr, "EVP_PKEY_CTX_set_rsa_keygen_bits() failed\n"); in generate_rsa_key_long() 72 fprintf(stderr, "EVP_PKEY_CTX_set_rsa_keygen_primes() failed\n"); in generate_rsa_key_long() 86 fprintf(stdout, "Generating RSA key, this may take some time...\n"); in generate_rsa_key_long() 88 fprintf(stderr, "EVP_PKEY_generate() failed\n"); in generate_rsa_key_long() 112 fprintf(stdout, "Generating RSA key, this may take some time...\n"); in generate_rsa_key_short() 116 fprintf(stderr, "EVP_PKEY_Q_keygen() failed\n"); in generate_rsa_key_short() 138 fprintf(stderr, "Failed to retrieve n\n"); in dump_key() 147 fprintf(stderr, "Failed to retrieve e\n"); in dump_key() [all …]
|
| /freebsd/sbin/ipf/ipf/ |
| H A D | ipfcomp.c | 82 fprintf(fp, "/*\n"); in printc() 83 fprintf(fp, "* Copyright (C) 2012 by Darren Reed.\n"); in printc() 84 fprintf(fp, "*\n"); in printc() 85 fprintf(fp, "* Redistribution and use in source and binary forms are permitted\n"); in printc() 86 fprintf(fp, "* provided that this notice is preserved and due credit is given\n"); in printc() 87 fprintf(fp, "* to the original author and the contributors.\n"); in printc() 88 fprintf(fp, "*/\n\n"); in printc() 90 fprintf(fp, "#include <sys/param.h>\n"); in printc() 91 fprintf(fp, "#include <sys/types.h>\n"); in printc() 92 fprintf(f in printc() [all...] |
| /freebsd/contrib/byacc/ |
| H A D | error.c | 10 fprintf(stderr, "%s: f - %s\n", myname, msg); in fatal() 27 fprintf(stderr, "%s: f - cannot open \"%s\"\n", myname, filename); in open_error() 34 fprintf(stderr, "%s: e - line %d of \"%s\", missing '}'\n", in missing_brace() 42 fprintf(stderr, "%s: e - line %d of \"%s\", unexpected end-of-file\n", in unexpected_EOF() 76 fprintf(stderr, "%s: e - line %d of \"%s\", syntax error\n", in syntax_error() 85 fprintf(stderr, "%s: e - line %d of \"%s\", unexpected value\n", in unexpected_value() 94 fprintf(stderr, "%s: e - line %d of \"%s\", unmatched /*\n", in unterminated_comment() 103 fprintf(stderr, "%s: e - line %d of \"%s\", unterminated string\n", in unterminated_string() 112 fprintf(stderr, "%s: e - line %d of \"%s\", unmatched %%{\n", in unterminated_text() 121 fprintf(stderr, "%s: e - line %d of \"%s\", unterminated %%union \ in unterminated_union() [all …]
|
| /freebsd/tools/tools/ath/athprom/ |
| H A D | athprom.c | 68 fprintf(stderr, "usage: %s [-i ifname] [-t pathname] [offset | offset=value]\n", progname); in usage() 380 fprintf(fd, "0x%02X", eeprom.ee_antennaControl[ant][curmode]); in printAntennaControl() 390 fprintf(fd, " -- "); in printEdge() 392 fprintf(fd, "%04d", pRdEdgePwrInfo[edge].rdEdge); in printEdge() 402 fprintf(fd, " -- "); in printEdgePower() 404 fprintf(fd, "%2d.%d", in printEdgePower() 416 fprintf(fd, "--"); in printEdgeFlag() 418 fprintf(fd, " %1d", pRdEdgePwrInfo[edge].flag); in printEdgeFlag() 438 fprintf(fd, "%2d.%02d", power25dBm / 4, (power25dBm % 4) * 25); in printQuarterDbmPower() 444 fprintf(fd, "%2d.%d", power5dBm / 2, (power5dBm % 2) * 5); in printHalfDbmPower() [all …]
|
| /freebsd/tests/sys/capsicum/ |
| H A D | smoketest.c | 25 fprintf(stderr, "[%d] received SIGCHLD\n", getpid_()); in handle_signal() 41 fprintf(stderr, "[%d] cap_fd=%d\n", getpid_(), cap_fd); in main() 42 …if (rc < 0) fprintf(stderr, "*** cap_rights_limit() failed: errno=%d %s\n", errno, strerror(errno)… in main() 50 …fprintf(stderr, "[%d] cap_rights_get(cap_fd=%d) rc=%d rights=%s\n", getpid_(), cap_fd, rc, buffer); in main() 51 if (rc < 0) fprintf(stderr, "*** cap_rights_get() failed: errno=%d %s\n", errno, strerror(errno)); in main() 56 fprintf(stderr, "[%d] fstat(cap_fd=%d) rc=%d errno=%d\n", getpid_(), cap_fd, rc, errno); in main() 57 if (rc != -1) fprintf(stderr, "*** fstat() unexpectedly succeeded\n"); in main() 62 if (rc < 0) fprintf(stderr, "*** pdfork() failed: errno=%d %s\n", errno, strerror(errno)); in main() 67 fprintf(stderr, " [%d] child alive, parent is ppid=%d\n", getpid_(), getppid()); in main() 70 fprintf(stderr, " [%d] child exit(0)\n", getpid_()); in main() [all …]
|
| /freebsd/contrib/ntp/ntpdc/ |
| H A D | ntpdc_ops.c | 296 (void) fprintf(fp, "No data returned in response to query\n"); in checkitems() 313 (void) fprintf(stderr, in checkitemsize() 332 (void) fprintf(fp, "No data returned in response to query\n"); in check1item() 336 (void) fprintf(fp, "Expected one item in response, got %lu\n", in check1item() 388 (void) fprintf(fp, "%-12s %s", in peerlist() 391 (void) fprintf(fp, " (%s)\n", straddr); in peerlist() 393 (void) fprintf(fp, "\n"); in peerlist() 467 (void) fprintf(fp, in dopeers() 469 (void) fprintf(fp, in dopeers() 504 (void) fprintf(fp, in dopeers() [all …]
|
| /freebsd/contrib/bearssl/tools/ |
| H A D | sslio.c | 57 fprintf(stderr, "%s (len = %lu)", name, (unsigned long)len); in dump_blob() 60 fprintf(stderr, "\n%08lX ", (unsigned long)u); in dump_blob() 62 fprintf(stderr, " "); in dump_blob() 64 fprintf(stderr, " %02x", buf[u]); in dump_blob() 66 fprintf(stderr, "\n"); in dump_blob() 96 fprintf(stderr, "closing...\n"); in run_command() 101 fprintf(stderr, "renegotiating...\n"); in run_command() 103 fprintf(stderr, "not renegotiating.\n"); in run_command() 114 fprintf(stderr, "forgetting session...\n"); in run_command() 118 fprintf(stderr, "saving session parameters...\n"); in run_command() [all …]
|
| H A D | client.c | 62 fprintf(stderr, "ERROR: getaddrinfo(): %s\n", in host_connect() 93 fprintf(stderr, "connecting to: %s\n", tmp); in host_connect() 117 fprintf(stderr, "ERROR: failed to connect\n"); in host_connect() 122 fprintf(stderr, "connected.\n"); in host_connect() 158 fprintf(stderr, "Server requests a client certificate.\n"); in cc_start_name_list() 159 fprintf(stderr, "--- anchor DN list start ---\n"); in cc_start_name_list() 170 fprintf(stderr, "new anchor name, length = %u\n", in cc_start_name() 187 fprintf(stderr, " "); in cc_append_name() 189 fprintf(stderr, "\n "); in cc_append_name() 191 fprintf(stderr, " %02x", data[u]); in cc_append_name() [all …]
|
| /freebsd/usr.sbin/bluetooth/sdpcontrol/ |
| H A D | search.c | 82 fprintf(stderr, "Invalid Service Class ID List. " \ in print_service_class_id_list() 102 fprintf(stderr, "Invalid Service Class ID List. " \ in print_service_class_id_list() 109 fprintf(stderr, "Invalid Service Class ID List. " \ in print_service_class_id_list() 119 fprintf(stdout, "\t%s (%#4.4x)\n", in print_service_class_id_list() 125 fprintf(stdout, "\t%#8.8x\n", value); in print_service_class_id_list() 132 fprintf(stdout, "\t%#8.8x-%4.4x-%4.4x-%4.4x-%4.4x%8.8x\n", in print_service_class_id_list() 142 fprintf(stderr, "Invalid Service Class ID List. " \ in print_service_class_id_list() 182 fprintf(stdout, "\t%s (%#4.4x)\n", sdp_uuid2desc(value.uint16), in print_protocol_descriptor() 188 fprintf(stdout, "\t%#8.8x\n", value.uint32); in print_protocol_descriptor() 193 fprintf(stdou in print_protocol_descriptor() [all...] |