/netbsd-src/usr.sbin/mopd/common/ |
H A D | print.c | 48 (void)fprintf(fd, "%x:%x:%x:%x:%x:%x", in mopPrintHWA() 50 if (ap[0] < 10) (void)fprintf(fd, " "); in mopPrintHWA() 51 if (ap[1] < 10) (void)fprintf(fd, " "); in mopPrintHWA() 52 if (ap[2] < 10) (void)fprintf(fd, " "); in mopPrintHWA() 53 if (ap[3] < 10) (void)fprintf(fd, " "); in mopPrintHWA() 54 if (ap[4] < 10) (void)fprintf(fd, " "); in mopPrintHWA() 55 if (ap[5] < 10) (void)fprintf(fd, " "); in mopPrintHWA() 63 (void)fprintf(fd, "System Processor"); in mopPrintBPTY() 66 (void)fprintf(fd, "Communication Processor"); in mopPrintBPTY() 69 (void)fprintf(fd, "Unknown"); in mopPrintBPTY() [all …]
|
H A D | rc.c | 63 (void)fprintf(fd,"Reserved : %02x\n",tmpc); in mopDumpRC() 66 (void)fprintf(fd,"Receipt Nbr : %04x\n",tmps); in mopDumpRC() 73 (void)fprintf(fd,"Verification : %04x\n",tmps); in mopDumpRC() 77 (void)fprintf(fd,"Verification : %08x\n",tmpl); in mopDumpRC() 80 (void)fprintf(fd,"Processor : %02x ",tmpc); in mopDumpRC() 81 mopPrintBPTY(fd, tmpc); (void)fprintf(fd, "\n"); in mopDumpRC() 84 (void)fprintf(fd,"Control : %02x ",control); in mopDumpRC() 86 (void)fprintf(fd, in mopDumpRC() 89 (void)fprintf(fd, in mopDumpRC() 93 (void)fprintf(fd, in mopDumpRC() [all …]
|
H A D | dl.c | 64 (void)fprintf(fd,"Load Number : %02x\n",tmpc); in mopDumpDL() 68 (void)fprintf(fd,"Load Address : %08x\n", tmpl); in mopDumpDL() 76 (void)fprintf(fd, in mopDumpDL() 80 (void)fprintf(fd, in mopDumpDL() 85 (void)fprintf(fd, "%02x ", in mopDumpDL() 88 (void)fprintf(fd,"\n"); in mopDumpDL() 92 (void)fprintf(fd,"\n"); in mopDumpDL() 99 (void)fprintf(fd,"Xfer Address : %08x\n", tmpl); in mopDumpDL() 110 (void)fprintf(fd,"Load Number : %02x\n",tmpc); in mopDumpDL() 113 (void)fprintf(fd,"Load Address : %08x\n", tmpl); in mopDumpDL() [all …]
|
/netbsd-src/crypto/external/bsd/heimdal/dist/include/ |
H A D | bits.c | 61 fprintf(f, "%s", tmp2); \ 62 while(tabs-- > 0) fprintf(f, "\t"); \ 63 fprintf(f, "/* %2d bits */\n", b); \ 91 fprintf(f, "/* There is no %d bit type */\n", len); in try_signed() 104 fprintf(f, "/* There is no %d bit type */\n", len); in try_unsigned() 111 fprintf(f, "/* For compatibility with various type definitions */\n"); in print_bt() 112 fprintf(f, "#ifndef __BIT_TYPES_DEFINED__\n"); in print_bt() 113 fprintf(f, "#define __BIT_TYPES_DEFINED__\n"); in print_bt() 114 fprintf(f, "\n"); in print_bt() 144 fprintf(f, "#ifndef %s\n", hb); in main() [all …]
|
/netbsd-src/usr.bin/telnet/ |
H A D | utilities.c | 119 fprintf(stderr, "Cannot open %s.\n", file); in SetNetTrace() 137 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump() 142 fprintf(NetTrace, "%c%.2x", in Dump() 152 fprintf(NetTrace, "%.2x", (*pThis)&0xff); in Dump() 159 fprintf(NetTrace, "\r\n"); in Dump() 161 fprintf(NetTrace, "\n"); in Dump() 180 fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option)); in printoption() 182 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption() 188 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption() 190 fprintf(NetTrace, "%s", TELOPT(option)); in printoption() [all …]
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | write-java.c | 341 fprintf (stream, "\""); in write_java_string() 350 fprintf (stream, "\\n"); in write_java_string() 352 fprintf (stream, "\\r"); in write_java_string() 354 fprintf (stream, "\\\""); in write_java_string() 356 fprintf (stream, "\\\\"); in write_java_string() 358 fprintf (stream, "%c", uc); in write_java_string() 360 fprintf (stream, "\\u%c%c%c%c", in write_java_string() 369 fprintf (stream, "\\u%c%c%c%c", in write_java_string() 372 fprintf (stream, "\\u%c%c%c%c", in write_java_string() 377 fprintf (stream, "\""); in write_java_string() [all …]
|
H A D | write-csharp.c | 184 fprintf (stream, "\""); in write_csharp_string() 190 fprintf (stream, "\\0"); in write_csharp_string() 192 fprintf (stream, "\\a"); in write_csharp_string() 194 fprintf (stream, "\\b"); in write_csharp_string() 196 fprintf (stream, "\\t"); in write_csharp_string() 198 fprintf (stream, "\\n"); in write_csharp_string() 200 fprintf (stream, "\\v"); in write_csharp_string() 202 fprintf (stream, "\\f"); in write_csharp_string() 204 fprintf (stream, "\\r"); in write_csharp_string() 206 fprintf (stream, "\\\""); in write_csharp_string() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/avr/ |
H A D | gen-avr-mmcu-specs.c | 169 fprintf (f, "#\n" in print_mcu() 172 fprintf (f, "core architecture %s\n", arch->name); in print_mcu() 174 fprintf (f, "device %s (core %s, %d-bit SP%s)\n", mcu->name, in print_mcu() 176 fprintf (f, "%s\n", header); in print_mcu() 179 fprintf (f, "%s\n", help_copy_paste); in print_mcu() 186 fprintf (f, "*avrlibc_startfile:\n"); in print_mcu() 187 fprintf (f, "\tcrt%s.o%%s", mcu->name); in print_mcu() 188 fprintf (f, "\n\n"); in print_mcu() 190 fprintf (f, "*avrlibc_devicelib:\n"); in print_mcu() 191 fprintf (f, "\t%%{!nodevicelib:-l%s}", mcu->name); in print_mcu() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/avr/ |
H A D | gen-avr-mmcu-specs.cc | 169 fprintf (f, "#\n" in print_mcu() 172 fprintf (f, "core architecture %s\n", arch->name); in print_mcu() 174 fprintf (f, "device %s (core %s, %d-bit SP%s)\n", mcu->name, in print_mcu() 176 fprintf (f, "%s\n", header); in print_mcu() 179 fprintf (f, "%s\n", help_copy_paste); in print_mcu() 186 fprintf (f, "*avrlibc_startfile:\n"); in print_mcu() 187 fprintf (f, "\tcrt%s.o%%s", mcu->name); in print_mcu() 188 fprintf (f, "\n\n"); in print_mcu() 190 fprintf (f, "*avrlibc_devicelib:\n"); in print_mcu() 191 fprintf (f, "\t%%{!nodevicelib:-l%s}", mcu->name); in print_mcu() [all …]
|
/netbsd-src/usr.bin/menuc/ |
H A D | mdb.c | 85 (void)fprintf(stderr, "Too many menus. " in get_menu() 122 (void)fprintf(stderr, "%s: name `%s` too long.\n", in write_menu_file() 135 (void)fprintf(stderr, "%s: could not open %s.\n", in write_menu_file() 143 (void)fprintf(stderr, "%s: could not open %s.\n", in write_menu_file() 149 (void)fprintf(out_file, "%s", in write_menu_file() 161 (void)fprintf(out_file, "#define MSG_XLAT(x) msg_string(x)\n"); in write_menu_file() 163 (void)fprintf(out_file, "#define MSG_XLAT(x) (x)\n"); in write_menu_file() 165 (void)fprintf(out_file, "#define DYNAMIC_MENUS\n"); in write_menu_file() 167 (void)fprintf(out_file, "#define MENU_EXPANDS\n"); in write_menu_file() 169 (void)fprintf(out_file, "\n"); in write_menu_file() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
H A D | rs6000-gen-builtins.cc | 621 fprintf (stderr, "%s:%d:%d: ", bif_path, real_line, real_pos); in bif_diag() 633 fprintf (stderr, "%s:%d:%d: ", ovld_path, real_line, real_pos); in ovld_diag() 643 fprintf (stderr, "FATAL: %s\n", msg); in fatal() 2201 fprintf (file, "/* Automatically generated by the program '%s'\n", in write_autogenerated_header() 2203 fprintf (file, " from the files '%s' and '%s'. */\n\n", in write_autogenerated_header() 2211 fprintf (header_file, "enum rs6000_gen_builtins\n{\n RS6000_BIF_NONE,\n"); in write_decls() 2213 fprintf (header_file, " RS6000_BIF_%s,\n", bifs[bif_order[i]].idname); in write_decls() 2214 fprintf (header_file, " RS6000_BIF_MAX,\n"); in write_decls() 2215 fprintf (header_file, " RS6000_OVLD_NONE,\n"); in write_decls() 2217 fprintf (header_file, " RS6000_OVLD_%s,\n", ovld_stanzas[i].stanza_id); in write_decls() [all …]
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/ |
H A D | gen.c | 71 fprintf (headerfile, "#include <%s_asn1.h>\n", module); in add_import() 158 fprintf (headerfile, in init_generate() 162 fprintf (headerfile, in init_generate() 165 fprintf (headerfile, in init_generate() 168 fprintf (headerfile, in init_generate() 171 fprintf (headerfile, in init_generate() 180 fprintf (headerfile, in init_generate() 186 fprintf (headerfile, in init_generate() 189 fprintf (headerfile, in init_generate() 192 fprintf (headerfile, in init_generate() [all …]
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/com_err/ |
H A D | compile_et.c | 82 fprintf(c_file, "/* Generated from %s */\n", basename(filename)); in generate_c() 84 fprintf(c_file, "/* %s */\n", id_str); in generate_c() 85 fprintf(c_file, "\n"); in generate_c() 86 fprintf(c_file, "#include <stddef.h>\n"); in generate_c() 87 fprintf(c_file, "#include <krb5/com_err.h>\n"); in generate_c() 88 fprintf(c_file, "#include \"%s\"\n", hfn); in generate_c() 89 fprintf(c_file, "\n"); in generate_c() 90 fprintf(c_file, "#define N_(x) (x)\n"); in generate_c() 91 fprintf(c_file, "\n"); in generate_c() 93 fprintf(c_file, "static const char *%s_error_strings[] = {\n", name); in generate_c() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | genopinit.cc | 101 fprintf (f, in open_outfile() 113 fprintf (file, "\nextern insn_code maybe_code_for_%s (", oname->name); in handle_overloaded_code_for() 115 fprintf (file, "%s%s", i == 0 ? "" : ", ", oname->arg_types[i]); in handle_overloaded_code_for() 116 fprintf (file, ");\n"); in handle_overloaded_code_for() 118 fprintf (file, "inline insn_code\ncode_for_%s (", oname->name); in handle_overloaded_code_for() 120 fprintf (file, "%s%s arg%d", i == 0 ? "" : ", ", oname->arg_types[i], i); in handle_overloaded_code_for() 121 fprintf (file, ")\n{\n insn_code code = maybe_code_for_%s (", oname->name); in handle_overloaded_code_for() 123 fprintf (file, "%sarg%d", i == 0 ? "" : ", ", i); in handle_overloaded_code_for() 124 fprintf (file, in handle_overloaded_code_for() 150 fprintf (file, "\nextern rtx maybe_gen_%s (", oname->name); in handle_overloaded_gen() [all …]
|
/netbsd-src/usr.sbin/bootp/common/ |
H A D | dumptab.c | 103 fprintf(fp, "\n# %s %s.%d\n", progname, VERSION, PATCHLEVEL); in dumptab() 104 fprintf(fp, "# %s: dump of bootp server database.\n", filename); in dumptab() 105 fprintf(fp, "# Dump taken %s", ctime(&t)); in dumptab() 112 fprintf(fp, "\n"); in dumptab() 132 fprintf(fp, "%s:", (hp->hostname ? in dump_host() 135 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string); in dump_host() 138 fprintf(fp, "\\\n\t:bs="); in dump_host() 140 fprintf(fp, "auto:"); in dump_host() 142 fprintf(fp, "%d:", hp->bootsize); in dump_host() 146 fprintf(fp, "\\\n\t:cs="); in dump_host() [all …]
|
/netbsd-src/tests/lib/libc/regex/ |
H A D | debug.c | 65 fprintf(d, ", first %u last %u", g->firststate, g->laststate); in regprint() 67 fprintf(d, ", USEBOL"); in regprint() 69 fprintf(d, ", USEEOL"); in regprint() 71 fprintf(d, ", BAD"); in regprint() 73 fprintf(d, ", nsub=%zu", g->nsub); in regprint() 75 fprintf(d, ", must(%zu) `%*s'", g->mlen, (int)g->mlen, g->must); in regprint() 77 fprintf(d, ", backrefs"); in regprint() 79 fprintf(d, ", nplus %u", g->nplus); in regprint() 80 fprintf(d, "\n"); in regprint() 82 fprintf(d, "\n"); in regprint() [all …]
|
/netbsd-src/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 …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | genopinit.c | 101 fprintf (f, in open_outfile() 113 fprintf (file, "\nextern insn_code maybe_code_for_%s (", oname->name); in handle_overloaded_code_for() 115 fprintf (file, "%s%s", i == 0 ? "" : ", ", oname->arg_types[i]); in handle_overloaded_code_for() 116 fprintf (file, ");\n"); in handle_overloaded_code_for() 118 fprintf (file, "inline insn_code\ncode_for_%s (", oname->name); in handle_overloaded_code_for() 120 fprintf (file, "%s%s arg%d", i == 0 ? "" : ", ", oname->arg_types[i], i); in handle_overloaded_code_for() 121 fprintf (file, ")\n{\n insn_code code = maybe_code_for_%s (", oname->name); in handle_overloaded_code_for() 123 fprintf (file, "%sarg%d", i == 0 ? "" : ", ", i); in handle_overloaded_code_for() 124 fprintf (file, in handle_overloaded_code_for() 150 fprintf (file, "\nextern rtx maybe_gen_%s (", oname->name); in handle_overloaded_gen() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/ |
H A D | main.c | 19 fprintf(stderr, "llvm-c-test command\n\n"); in print_usage() 20 fprintf(stderr, " Commands:\n"); in print_usage() 21 fprintf(stderr, " * --module-dump\n"); in print_usage() 22 fprintf(stderr, " Read bitcode from stdin - print disassembly\n\n"); in print_usage() 23 fprintf(stderr, " * --lazy-module-dump\n"); in print_usage() 24 fprintf(stderr, in print_usage() 26 fprintf(stderr, " * --new-module-dump\n"); in print_usage() 27 fprintf(stderr, " Read bitcode from stdin - print disassembly\n\n"); in print_usage() 28 fprintf(stderr, " * --lazy-new-module-dump\n"); in print_usage() 29 fprintf(stderr, in print_usage() [all …]
|
/netbsd-src/usr.sbin/rtadvd/ |
H A D | dump.c | 108 fprintf(fp, "%s:\n", rai->ifname); in if_dump() 110 fprintf(fp, " Status: %s\n", in if_dump() 116 fprintf(fp, " Last RA sent: %s", in if_dump() 120 fprintf(fp, " Next RA will be sent: %s", in if_dump() 124 fprintf(fp, " RA timer is stopped"); in if_dump() 125 fprintf(fp, " waits: %d, initcount: %d\n", in if_dump() 129 fprintf(fp, " statistics: RA(out/in/inconsistent): " in if_dump() 134 fprintf(fp, "RS(input): %llu\n", in if_dump() 139 fprintf(fp, " Link-layer address: %s\n", in if_dump() 141 fprintf(fp, " MTU: %u\n", rai->phymtu); in if_dump() [all …]
|
/netbsd-src/sys/dev/hpc/ |
H A D | fontconv.c | 46 fprintf(ofp, "static u_char %s%dx%d_data[] = {\n", in fc_rasops() 64 fprintf(ofp, " /* code %d */\n", code); in fc_rasops() 67 fprintf(ofp, " "); in fc_rasops() 70 fprintf(ofp, "0x%02x,", (buf[k] & 0xff)); in fc_rasops() 73 fprintf(ofp, " /* "); in fc_rasops() 77 fprintf(ofp, " */\n"); in fc_rasops() 79 fprintf(ofp, "\n"); in fc_rasops() 88 fprintf(ofp, "};\n"); in fc_rasops() 90 fprintf(ofp, "struct wsdisplay_font %s%dx%d = {\n", in fc_rasops() 92 fprintf(ofp, " \"%s\",\t\t\t/* typeface name */\n", fontname); in fc_rasops() [all …]
|
/netbsd-src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
H A D | t-str.c | 104 fprintf (stderr, "mpz_set_str returned -1, input: %s\n", in test_small() 110 fprintf (stderr, "mpz_set_str returned -1, decimal input: %s\n", in test_small() 116 fprintf (stderr, "mpz_set_str failed for input: %s\n", in test_small() 126 fprintf (stderr, "mpz_set_str returned %d, invalid input: %s\n", in test_small() 156 fprintf (stderr, in testmain() 179 fprintf (stderr, "mpz_set_str failed on input %s\n", ap); in testmain() 189 fprintf (stderr, "mpz_sizeinbase failed:\n"); in testmain() 191 fprintf (stderr, "r = %s\n", rp); in testmain() 192 fprintf (stderr, " base %d, correct size %u, got %u\n", in testmain() 199 fprintf (stderr, "mpz_get_str failed:\n"); in testmain() [all …]
|
/netbsd-src/sbin/disklabel/ |
H A D | printlabel.c | 64 (void)fprintf(f, "# %s:\n", specialname); in showinfo() 66 (void)fprintf(f, "type: %s\n", dktypenames[lp->d_type]); in showinfo() 68 (void)fprintf(f, "type: %" PRIu16 "\n", lp->d_type); in showinfo() 69 (void)fprintf(f, "disk: %.*s\n", (int) sizeof(lp->d_typename), in showinfo() 71 (void)fprintf(f, "label: %.*s\n", (int) sizeof(lp->d_packname), in showinfo() 73 (void)fprintf(f, "flags:"); in showinfo() 75 (void)fprintf(f, " removable"); in showinfo() 77 (void)fprintf(f, " ecc"); in showinfo() 79 (void)fprintf(f, " badsect"); in showinfo() 80 (void)fprintf(f, "\n"); in showinfo() [all …]
|
/netbsd-src/external/bsd/ipf/dist/tools/ |
H A D | ipfcomp.c | 87 fprintf(fp, "/*\n"); 88 fprintf(fp, "* Copyright (C) 2012 by Darren Reed.\n"); 89 fprintf(fp, "*\n"); 90 fprintf(fp, "* Redistribution and use in source and binary forms are permitted\n"); 91 fprintf(fp, "* provided that this notice is preserved and due credit is given\n"); 92 fprintf(fp, "* to the original author and the contributors.\n"); 93 fprintf(fp, "*/\n\n"); 95 fprintf(fp, "#include <sys/param.h>\n"); 96 fprintf(fp, "#include <sys/types.h>\n"); 97 fprintf(fp, "#include <sys/time.h>\n"); [all …]
|
/netbsd-src/crypto/external/bsd/openssl/dist/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(stderr, "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(stderr, "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 …]
|