Home
last modified time | relevance | path

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

12345678910>>...122

/openbsd-src/usr.bin/rpcgen/
H A Drpc_svcout.c71 fprintf(fout, "\t\txdr_%s = (xdrproc_t) xdr_%s;\n", in p_xdrfunc()
74 fprintf(fout, "\t\txdr_%s = xdr_%s;\n", rname, in p_xdrfunc()
82 fprintf(fout, "static ");
84 fprintf(fout, "*");
99 fprintf(fout, "%s int _rpcpmstart;", var_type);
100 fprintf(fout, "\t\t/* Started by a port monitor ? */\n");
101 fprintf(fout, "%s int _rpcfdtype;", var_type);
102 fprintf(fout, "\t\t/* Whether Stream or Datagram ? */\n");
104 fprintf(fout, "%s int _rpcsvcdirty;", var_type);
105 fprintf(fout, "\t/* Still serving ? */\n");
[all …]
H A Drpc_sample.c88 fprintf(fout, "\n\nvoid\n");
91 fprintf(fout,"(char *host)\n{\n");
93 fprintf(fout, "(host)\nchar *host;\n{\n");
94 fprintf(fout, "\tCLIENT *clnt;\n");
98 fprintf(fout, "\t");
100 fprintf(fout, " *result_%d;\n",++i);
103 fprintf(fout, "\t");
108 fprintf(fout, "char *"); /* cannot have "void" type */
109 fprintf(fout, " ");
111 fprintf(fout, "_arg;\n");
[all …]
H A Drpc_hout.c72 fprintf(fout, "\n");
109 fprintf(fout, "\n");
123 fprintf(fout,"#ifdef __cplusplus\n");
124 fprintf(fout, "extern \"C\" bool_t xdr_%s(XDR *, %s %s);\n",
126 fprintf(fout,"#elif defined(__STDC__)\n");
127 fprintf(fout, "extern bool_t xdr_%s(XDR *, %s %s);\n",
129 fprintf(fout,"#else /* Old Style C */\n");
130 fprintf(fout, "bool_t xdr_%s();\n", name);
131 fprintf(fout,"#endif /* Old Style C */\n\n");
162 fprintf(fout, "struct %s {\n", name);
[all …]
/openbsd-src/usr.sbin/mopd/common/
H A Dprint.c42 fprintf(fd, "%x:%x:%x:%x:%x:%x", ap[0], ap[1], ap[2], ap[3], ap[4], in mopPrintHWA()
44 if (ap[0] < 16) fprintf(fd, " "); in mopPrintHWA()
45 if (ap[1] < 16) fprintf(fd, " "); in mopPrintHWA()
46 if (ap[2] < 16) fprintf(fd, " "); in mopPrintHWA()
47 if (ap[3] < 16) fprintf(fd, " "); in mopPrintHWA()
48 if (ap[4] < 16) fprintf(fd, " "); in mopPrintHWA()
49 if (ap[5] < 16) fprintf(fd, " "); in mopPrintHWA()
57 fprintf(fd, "System Processor"); in mopPrintBPTY()
60 fprintf(fd, "Communication Processor"); in mopPrintBPTY()
63 fprintf(f in mopPrintBPTY()
[all...]
H A Drc.c57 fprintf(fd, "Reserved : %02x\n", tmpc); in mopDumpRC()
60 fprintf(fd, "Receipt Nbr : %04x\n", tmps); in mopDumpRC()
67 fprintf(fd, "Verification : %04x\n", tmps); in mopDumpRC()
71 fprintf(fd, "Verification : %08lx\n", tmpl); in mopDumpRC()
74 fprintf(fd, "Processor : %02x ", tmpc); in mopDumpRC()
75 mopPrintBPTY(fd, tmpc); fprintf(fd, "\n"); in mopDumpRC()
78 fprintf(fd, "Control : %02x ", control); in mopDumpRC()
80 fprintf(fd, "Bootserver Requesting system "); in mopDumpRC()
82 fprintf(fd, "Bootserver System default "); in mopDumpRC()
84 fprintf(fd, "Bootdevice Specified device"); in mopDumpRC()
[all …]
H A Ddl.c56 fprintf(fd, "Load Number : %02x\n", tmpc); in mopDumpDL()
60 fprintf(fd, "Load Address : %08lx\n", tmpl); in mopDumpDL()
67 fprintf(fd, in mopDumpDL()
71 fprintf(fd, in mopDumpDL()
75 fprintf(fd, "%02x ", mopGetChar(pkt, &idx)); in mopDumpDL()
77 fprintf(fd, "\n"); in mopDumpDL()
81 fprintf(fd, "\n"); in mopDumpDL()
85 fprintf(fd, "Xfer Address : %08lx\n", tmpl); in mopDumpDL()
92 fprintf(fd, "Load Number : %02x\n", tmpc); in mopDumpDL()
95 fprintf(fd, "Load Address : %08lx\n", tmpl); in mopDumpDL()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.base-hp/
H A Dgenso-thresh.c78 fprintf (link_file, "# Linker options for %s test\n", testcase_name);
89 fprintf (make_file, "# Generated automatically by %s\n", argv[0]);
90 fprintf (make_file, "# Make file for %s test\n", testcase_name);
91 fprintf (make_file, "\n");
92 fprintf (make_file, "CFLAGS = +DA1.1 -g\n");
93 fprintf (make_file, "\n");
94 fprintf (make_file, "# This is how to build this generator.\n");
95 fprintf (make_file, "%s.o: %s.c\n", argv[0], argv[0]);
96 fprintf (make_file, "\t$(CC) $(CFLAGS) -o %s.o -c %s.c\n", argv[0], argv[0]);
97 fprintf (make_file, "%s: %s.o\n", argv[0], argv[0]);
[all …]
/openbsd-src/usr.sbin/ldapd/
H A Dlogmsg.c76 fprintf(stderr, "%s%04lx:", ofs == 0 ? "" : "\n", ofs); in hexdump()
78 fprintf(stderr, " "); in hexdump()
79 fprintf(stderr, " %02x", *p++); in hexdump()
81 fprintf(stderr, "\n"); in hexdump()
123 fprintf(stderr, "%*slen %lu ", indent, "", root->be_len); in ldap_debug_elements()
126 fprintf(stderr, "class: universal(%u) type: ", root->be_class); in ldap_debug_elements()
129 fprintf(stderr, "end-of-content"); in ldap_debug_elements()
132 fprintf(stderr, "boolean"); in ldap_debug_elements()
135 fprintf(stderr, "integer"); in ldap_debug_elements()
138 fprintf(stderr, "bit-string"); in ldap_debug_elements()
[all …]
/openbsd-src/usr.bin/telnet/
H A Dutilities.c82 fprintf(stderr, "Cannot open %s.\n", file); in SetNetTrace()
100 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump()
105 fprintf(NetTrace, "%c%.2x", in Dump()
115 fprintf(NetTrace, "%.2x", (*pThis)&0xff); in Dump()
122 fprintf(NetTrace, "\r\n"); in Dump()
124 fprintf(NetTrace, "\n"); in Dump()
142 fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option)); in printoption()
144 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption()
150 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption()
152 fprintf(NetTrace, "%s", TELOPT(option)); in printoption()
[all …]
/openbsd-src/regress/lib/libc/regex/
H A Ddebug.c30 fprintf(d, "%ld states", (long)g->nstates);
31 fprintf(d, ", first %ld last %ld", (long)g->firststate,
34 fprintf(d, ", USEBOL");
36 fprintf(d, ", USEEOL");
38 fprintf(d, ", BAD");
40 fprintf(d, ", nsub=%ld", (long)g->nsub);
42 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen,
45 fprintf(d, ", backrefs");
47 fprintf(d, ", nplus %ld", (long)g->nplus);
48 fprintf(d, "\n");
[all …]
/openbsd-src/gnu/gcc/gcc/config/sh/
H A Dlinux.h70 fprintf (STREAM, "\tpt\t1f,tr1\n"); \
71 fprintf (STREAM, "\taddi.l\tr15,-8,r15\n"); \
72 fprintf (STREAM, "\tst.l\tr15,0,r18\n"); \
76 fprintf (STREAM, "\tmovi\t((%s>>16)&0xffff),r21\n", gofs); \
77 fprintf (STREAM, "\tshori\t(%s & 0xffff),r21\n", gofs); \
78 fprintf (STREAM, "0:\tptrel/u\tr21,tr0\n"); \
79 fprintf (STREAM, "\tmovi\t((mcount@GOTPLT)&0xffff),r22\n"); \
80 fprintf (STREAM, "\tgettr\ttr0,r21\n"); \
81 fprintf (STREAM, "\tadd.l\tr21,r22,r21\n"); \
82 fprintf (STREAM, "\tld.l\tr21,0,r21\n"); \
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/i370/
H A Di370.c338 fprintf (stderr, "mvs_map_char: TE & !HE: c = %02x\n", c);
342 fprintf (stderr, "mvs_map_char: !TE & HE: c = %02x\n", c);
345 fprintf (stderr, "mvs_map_char: !TE & !HE: c = %02x\n", c);
614 fprintf (assembler_source, "\tL\t%d,%d(,%d)\n", in check_label_emit()
789 fprintf (assembler_source, "\tB\tPGE%d\n", mvs_page_num);
790 fprintf (assembler_source, "\tDS\t0F\n");
791 fprintf (assembler_source, "\tLTORG\n");
792 fprintf (assembler_source, "\tDS\t0F\n");
793 fprintf (assembler_source, "PGE%d\tEQU\t*\n", mvs_page_num);
794 fprintf (assembler_source, "\tDROP\t%d\n", BASE_REGISTER);
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/
H A Dmain.c19 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 …]
/openbsd-src/gnu/usr.bin/binutils/gdb/rdi-share/
H A Ddevsw.c48 fprintf (stderr,"Error opening log file '%s'\n",angelDebugFilename); in openLogFile()
62 fprintf (angelDebugLogFile,"ADP log file opened at %s\n",asctime(localtime(&t))); in openLogFile()
74 fprintf (angelDebugLogFile,"ADP log file closed at %s\n",asctime(localtime(&t))); in closeLogFile()
121 fprintf(fp,"%s [T=%d L=%d] ",label,p->type,p->len); in dumpPacket()
123 fprintf(fp,"%02x ",p->data[i]); in dumpPacket()
124 fprintf(fp,"\n"); in dumpPacket()
130 fprintf(fp,"R=%08x ",r); in dumpPacket()
131 fprintf(fp,"%s ", r&0x80000000 ? "H<-T" : "H->T"); in dumpPacket()
135 case CI_PRIVATE: fprintf(fp,"CI_PRIVATE: "); break; in dumpPacket()
136 case CI_HADP: fprintf(fp,"CI_HADP: "); break; in dumpPacket()
[all …]
/openbsd-src/lib/libkeynote/
H A Dsample-app.c127 fprintf(stderr, "Failed to create a new session.\n"); in main()
141 fprintf(stderr, "Failed to allocate memory for policy assertions.\n"); in main()
153 fprintf(stderr, "No policy assertions provided.\n"); in main()
177 fprintf(stderr, "Out of memory, trying to add policy " in main()
182 fprintf(stderr, "Syntax error parsing policy " in main()
187 fprintf(stderr, "Session %d not found while adding " in main()
190 fprintf(stderr, "Unspecified error %d (shouldn't happen) " in main()
220 fprintf(stderr, "Failed to allocate memory for credential " in main()
233 fprintf(stderr, "No credential assertions provided.\n"); in main()
273 fprintf(stderr, "Out of memory, trying to add credential " in main()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/arm/
H A Daof.h72 fprintf (asm_out_file, "\tAREA |C$$zidata%d|,NOINIT\n", \
136 fprintf ((STREAM), "%s Generated by gcc %s for ARM/%s\n", \
138 fprintf ((STREAM), "__r0\tRN\t0\n"); \
139 fprintf ((STREAM), "__a1\tRN\t0\n"); \
140 fprintf ((STREAM), "__a2\tRN\t1\n"); \
141 fprintf ((STREAM), "__a3\tRN\t2\n"); \
142 fprintf ((STREAM), "__a4\tRN\t3\n"); \
143 fprintf ((STREAM), "__v1\tRN\t4\n"); \
144 fprintf ((STREAM), "__v2\tRN\t5\n"); \
145 fprintf ((STREAM), "__v3\tRN\t6\n"); \
[all …]
/openbsd-src/regress/lib/libcrypto/evp/
H A Devp_ecx_test.c130 fprintf(stderr, " 0x%02hhx,%s", buf[i - 1], i % 8 ? "" : "\n"); in hexdump()
132 fprintf(stderr, "\n"); in hexdump()
144 fprintf(stderr, "FAIL: failed to create ED25519 context\n"); in ecx_ed25519_keygen_test()
149 fprintf(stderr, "FAIL: failed to init keygen for ED25519\n"); in ecx_ed25519_keygen_test()
153 fprintf(stderr, "FAIL: failed to generate ED25519 key\n"); in ecx_ed25519_keygen_test()
160 fprintf(stderr, "FAIL: failed to write ED25519 to PEM\n"); in ecx_ed25519_keygen_test()
193 fprintf(stderr, "FAIL: failed to read private key\n"); in ecx_ed25519_raw_key_test()
199 fprintf(stderr, "FAIL: failed to get raw private key len\n"); in ecx_ed25519_raw_key_test()
203 fprintf(stderr, "FAIL: raw private key length differs " in ecx_ed25519_raw_key_test()
211 fprintf(stderr, "FAIL: failed to get raw private key len\n"); in ecx_ed25519_raw_key_test()
[all …]
H A Devp_pkey_check.c
/openbsd-src/gnu/usr.bin/gcc/gcc/config/m68k/
H A Dtower-as.h77 fprintf (FILE, "\tfile\t"); \
79 fprintf (FILE, "\n"); \
80 fprintf (FILE, "section ~init,\"x\"\n"); \
81 fprintf (FILE, "section ~fini,\"x\"\n"); \
82 fprintf (FILE, "section ~rodata,\"x\"\n"); \
83 fprintf (FILE, "text\n"); \
87 fprintf (FILE, "\tln\t%d\n", \
93 fprintf (FILE, "\tident\t\"%s\" \n", NAME)
97 fprintf ((FILE), "\tbyte\t"); \
101 fprintf ((FILE), "'%c", (PTR)[sp]); } \
[all …]
H A Dsgs.h109 fprintf ((FILE), "%s%u\n", ALIGN_ASM_OP, 1 << (LOG)); \
129 fprintf ((FILE), "'%c", ch); \
133 fprintf ((FILE), "0x%x", ch); \
139 fprintf ((FILE), "\n%s", integer_asm_op (1, TRUE)); \
164 #define TARGET_VERSION fprintf (stderr, " (68k, SGS/AT&T syntax)");
197 fprintf (FILE, "%s%u\n", SPACE_ASM_OP, (SIZE))
216 fprintf ((FILE), "bsr"); \
218 fprintf ((FILE), "jsr"); \
224 fprintf ((FILE), ".w"); } \
228 { fprintf ((FILE), "swap.w"); (PTR) += 4; } \
[all …]
/openbsd-src/regress/lib/libcrypto/bio/
H A Dbio_mem.c49 fprintf(stderr, "FAIL: BIO_new() returned NULL\n"); in bio_mem_test()
53 fprintf(stderr, "FAIL: BIO_write() = %d, want %zu\n", ret, in bio_mem_test()
58 fprintf(stderr, "FAIL: BIO_get_mem_data() = %ld, want %zu\n", in bio_mem_test()
63 fprintf(stderr, "FAIL: got 0x%x, want 0x%x\n", rodata[0], 0x01); in bio_mem_test()
67 fprintf(stderr, "FAIL: got 0x%x, want 0x%x\n", in bio_mem_test()
73 fprintf(stderr, "FAIL: BIO_get_mem_ptr() failed\n"); in bio_mem_test()
77 fprintf(stderr, "FAIL: Got buffer with length %zu, want %zu\n", in bio_mem_test()
82 fprintf(stderr, "FAIL: Got buffer with differing data\n"); in bio_mem_test()
88 fprintf(stderr, "FAIL: BUF_MEM_new() returned NULL\n"); in bio_mem_test()
92 fprintf(stderr, "FAIL: BUF_set_mem_buf() failed\n"); in bio_mem_test()
[all …]
/openbsd-src/usr.bin/yacc/
H A Derror.c45 fprintf(stderr, "%s: %s\n", input_file_name, msg); in fatal()
53 fprintf(stderr, "%s: yacc is out of space\n", input_file_name); in no_space()
61 fprintf(stderr, "%s: cannot open source file %s: %s\n", in open_error()
69 fprintf(stderr, "%s: cannot create temporary file: %s\n", in tempfile_error()
77 fprintf(stderr, "%s: cannot open target file %s for writing: %s\n", in open_write_error()
85 fprintf(stderr, "%s:%d: unexpected end-of-file\n", in unexpected_EOF()
118 fprintf(stderr, "%s:%d: syntax error\n", in syntax_error()
127 fprintf(stderr, "%s:%d: unmatched /*\n", in unterminated_comment()
136 fprintf(stderr, "%s:%d:, unterminated string\n", in unterminated_string()
145 fprintf(stderr, "%s:%d: unmatched %%{\n", in unterminated_text()
[all …]
/openbsd-src/regress/lib/libcrypto/asn1/
H A Dasn1basic.c34 fprintf(stderr, " 0x%02hhx,%s", buf[i - 1], i % 8 ? "" : "\n"); in hexdump()
36 fprintf(stderr, "\n"); in hexdump()
44 fprintf(stderr, "FAIL: %s - byte lengths differ " in asn1_compare_bytes()
46 fprintf(stderr, "Got:\n"); in asn1_compare_bytes()
48 fprintf(stderr, "Want:\n"); in asn1_compare_bytes()
53 fprintf(stderr, "FAIL: %s - bytes differ\n", label); in asn1_compare_bytes()
54 fprintf(stderr, "Got:\n"); in asn1_compare_bytes()
56 fprintf(stderr, "Want:\n"); in asn1_compare_bytes()
79 fprintf(stderr, "FAIL: ASN1_BIT_STRING_new() == NULL\n"); in asn1_bit_string_test()
83 fprintf(stderr, "FAIL: failed to set bit string\n"); in asn1_bit_string_test()
[all …]
/openbsd-src/regress/lib/libcrypto/x509/
H A Dx509_extensions_test.c69 fprintf(stderr, "%s: FAIL: need empty stack\n", __func__); in test_x509v3_add1_i2d_empty_stack()
78 fprintf(stderr, "%s: FAIL: X509V3_ADD_REPLACE_EXISTING " in test_x509v3_add1_i2d_empty_stack()
85 fprintf(stderr, "%s: FAIL: X509V3_ADD_REPLACE_EXISTING " in test_x509v3_add1_i2d_empty_stack()
91 fprintf(stderr, "%s: FAIL: X509V3_ADD_REPLACE_EXISTING " in test_x509v3_add1_i2d_empty_stack()
99 fprintf(stderr, "%s: FAIL: silent X509V3_ADD_REPLACE_EXISTING " in test_x509v3_add1_i2d_empty_stack()
104 fprintf(stderr, "%s: FAIL: silent X509V3_ADD_REPLACE_EXISTING " in test_x509v3_add1_i2d_empty_stack()
112 fprintf(stderr, "%s: FAIL: X509V3_ADD_DELETE " in test_x509v3_add1_i2d_empty_stack()
119 fprintf(stderr, "%s: FAIL: X509V3_ADD_DELETE " in test_x509v3_add1_i2d_empty_stack()
126 fprintf(stderr, "%s: FAIL: X509V3_ADD_DELETE " in test_x509v3_add1_i2d_empty_stack()
147 fprintf(stderr, "%s: FAIL: need an empty stack.\n", __func__); in test_x509v3_add1_i2d_single_nid()
[all …]
/openbsd-src/usr.sbin/crunchgen/
H A Dcrunchgen.c222 fprintf(stderr, in usage()
225 fprintf(stderr, in usage()
246 fprintf(stderr, "%s: fatal: input file \"%s\" not found.\n", in parse_conf_file()
291 fprintf(stderr, "%s:%d: skipping unknown command `%s'.\n", in parse_one_file()
297 fprintf(stderr, in parse_one_file()
363 fprintf(stderr, "%s:%d: `%.40s...' is too long, skipping it.\n", in add_srcdirs()
370 fprintf(stderr, "%s:%d: `%s' is not a directory, skipping it.\n", in add_srcdirs()
402 fprintf(stderr, "%s:%d: `%.40s...' is too long, skipping it.\n", in add_libdirs()
421 fprintf(stderr, "%s:%d: `%s' is not a directory, skipping it.\n", in add_libdirs()
473 fprintf(stderr, in add_link()
[all …]

12345678910>>...122