| /netbsd/src/external/bsd/byacc/dist/ |
| D | MANIFEST | 35 output.c original version of byacc - 1993 70 test/btyacc/big_b.output exercise -L/-B options 72 test/btyacc/big_l.output exercise -L/-B options 73 test/btyacc/btyacc_calc1.error reference output for testing 74 test/btyacc/btyacc_calc1.output reference output for testing 75 test/btyacc/btyacc_calc1.tab.c reference output for testing 76 test/btyacc/btyacc_calc1.tab.h reference output for testing 77 test/btyacc/btyacc_demo.error reference output for testing 78 test/btyacc/btyacc_demo.output reference output for testing 79 test/btyacc/btyacc_demo.tab.c reference output for testing [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | mkconfig.sh | 32 output=$1 33 rm -f ${output}T 37 header_guard=GCC_`echo ${output} | sed -e ${hg_sed_expr}` 40 echo "#ifndef ${header_guard}" >> ${output}T 41 echo "#define ${header_guard}" >> ${output}T 45 if test x"$output" = x"config.h"; then 46 echo "#ifdef GENERATOR_FILE" >> ${output}T 47 echo "#error config.h is for the host, not build, machine." >> ${output}T 48 echo "#endif" >> ${output}T 54 echo "#define TARGET_CPU_DEFAULT ($TARGET_CPU_DEFAULT)" >> ${output}T [all …]
|
| /netbsd/src/crypto/external/bsd/netpgp/dist/src/lib/ |
| D | create.c | 100 pgp_write_ss_header(pgp_output_t *output, in pgp_write_ss_header() argument 104 return pgp_write_length(output, length) && in pgp_write_ss_header() 105 pgp_write_scalar(output, (unsigned)(type - in pgp_write_ss_header() 138 pgp_write_struct_userid(pgp_output_t *output, const uint8_t *id) in pgp_write_struct_userid() argument 140 return pgp_write_ptag(output, PGP_PTAG_CT_USER_ID) && in pgp_write_struct_userid() 141 pgp_write_length(output, (unsigned)strlen((const char *) id)) && in pgp_write_struct_userid() 142 pgp_write(output, id, (unsigned)strlen((const char *) id)); in pgp_write_struct_userid() 154 pgp_write_userid(const uint8_t *userid, pgp_output_t *output) in pgp_write_userid() argument 156 return pgp_write_struct_userid(output, userid); in pgp_write_userid() 230 write_pubkey_body(const pgp_pubkey_t *key, pgp_output_t *output) in write_pubkey_body() argument [all …]
|
| D | writer.c | 109 pgp_write(pgp_output_t *output, const void *src, unsigned len) in pgp_write() argument 111 return base_write(output, src, len); in pgp_write() 123 pgp_write_scalar(pgp_output_t *output, unsigned n, unsigned len) in pgp_write_scalar() argument 129 if (!base_write(output, &c, 1)) { in pgp_write_scalar() 144 pgp_write_mpi(pgp_output_t *output, const BIGNUM *bn) in pgp_write_mpi() argument 155 return pgp_write_scalar(output, bits, 2) && in pgp_write_mpi() 156 pgp_write(output, buf, (bits + 7) / 8); in pgp_write_mpi() 167 pgp_write_ptag(pgp_output_t *output, pgp_content_enum tag) in pgp_write_ptag() argument 172 return base_write(output, &c, 1); in pgp_write_ptag() 183 pgp_write_length(pgp_output_t *output, unsigned len) in pgp_write_length() argument [all …]
|
| D | signature.c | 97 pgp_output_t *output; /* how to do the writing */ member 125 pgp_output_delete(sig->output); in pgp_create_sig_delete() 126 sig->output = NULL; in pgp_create_sig_delete() 229 pgp_output_t *output) in dsa_sign() argument 250 pgp_write(output, &hashbuf[0], 2); in dsa_sign() 262 pgp_write_mpi(output, r); in dsa_sign() 263 pgp_write_mpi(output, s); in dsa_sign() 272 pgp_output_t *output) in ecdsa_sign() argument 293 pgp_write(output, &hashbuf[0], 2); in ecdsa_sign() 310 pgp_write_mpi(output, r); in ecdsa_sign() [all …]
|
| /netbsd/src/external/bsd/kyua-testers/dist/ |
| D | atf_result.c | 230 read_reason(FILE* input, const char* first_line, char* output, in read_reason() argument 237 snprintf(output, output_size, "%s", first_line); in read_reason() 238 advance(&output, &output_size); in read_reason() 243 snprintf(output, output_size, "<<NEWLINE>>"); in read_reason() 244 advance(&output, &output_size); in read_reason() 247 if (fgets(output, output_size, input) == NULL) { in read_reason() 252 had_newline = trim_newline(output); in read_reason() 253 advance(&output, &output_size); in read_reason() 339 convert_broken(const char* reason, int status, const char* output, in convert_broken() argument 345 output, KYUA_RESULT_BROKEN, "%s; test case exited with code %d", in convert_broken() [all …]
|
| D | atf_list.c | 141 print_quoted(char* line, FILE* output, const bool surrounding) in print_quoted() argument 144 fprintf(output, "'"); in print_quoted() 150 fprintf(output, "%s\\%c", line, quote); in print_quoted() 155 fprintf(output, "%s'", line); in print_quoted() 157 fprintf(output, "%s", line); in print_quoted() 247 parse_test_case(FILE* input, FILE* output, char* name) in parse_test_case() argument 252 fprintf(output, "test_case{name="); in parse_test_case() 253 print_quoted(name, output, true); in parse_test_case() 266 fprintf(output, ", ['custom."); in parse_test_case() 267 print_quoted(key, output, false); in parse_test_case() [all …]
|
| /netbsd/src/external/bsd/openldap/dist/libraries/liblutil/ |
| D | base64.c | 131 u_char output[4]; in lutil_b64_ntop() local 140 output[0] = input[0] >> 2; in lutil_b64_ntop() 141 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in lutil_b64_ntop() 142 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in lutil_b64_ntop() 143 output[3] = input[2] & 0x3f; in lutil_b64_ntop() 144 assert(output[0] < 64); in lutil_b64_ntop() 145 assert(output[1] < 64); in lutil_b64_ntop() 146 assert(output[2] < 64); in lutil_b64_ntop() 147 assert(output[3] < 64); in lutil_b64_ntop() 151 target[datalength++] = Base64[output[0]]; in lutil_b64_ntop() [all …]
|
| /netbsd/src/external/bsd/libbind/dist/isc/ |
| D | base64.c | 140 u_char output[4]; in b64_ntop() local 149 output[0] = input[0] >> 2; in b64_ntop() 150 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop() 151 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop() 152 output[3] = input[2] & 0x3f; in b64_ntop() 153 Assert(output[0] < 64); in b64_ntop() 154 Assert(output[1] < 64); in b64_ntop() 155 Assert(output[2] < 64); in b64_ntop() 156 Assert(output[3] < 64); in b64_ntop() 160 target[datalength++] = Base64[output[0]]; in b64_ntop() [all …]
|
| /netbsd/src/tests/libexec/ld.elf_so/data/ |
| D | Makefile | 7 FILES= symver-output-ref-stderr.v0-v0 8 FILES+= symver-output-ref-stderr.v0-v1 9 FILES+= symver-output-ref-stderr.v0-v2 10 FILES+= symver-output-ref-stderr.v1-v0 11 FILES+= symver-output-ref-stderr.v1-v1 12 FILES+= symver-output-ref-stderr.v1-v2 13 FILES+= symver-output-ref-stderr.v2-v0 14 FILES+= symver-output-ref-stderr.v2-v1 15 FILES+= symver-output-ref-stderr.v2-v2 16 FILES+= symver-output-ref-stdout.v0-v0 [all …]
|
| /netbsd/src/usr.bin/nbperf/ |
| D | nbperf-bdz.c | 143 fprintf(nbperf->output, "#include <stdlib.h>\n"); in print_hash() 144 fprintf(nbperf->output, "#include <strings.h>\n\n"); in print_hash() 146 fprintf(nbperf->output, "%suint32_t\n", in print_hash() 148 fprintf(nbperf->output, in print_hash() 151 fprintf(nbperf->output, "{\n"); in print_hash() 153 fprintf(nbperf->output, in print_hash() 160 fprintf(nbperf->output, "%s0x%016" PRIx64 "ULL,%s", in print_hash() 168 fprintf(nbperf->output, "%s0x%016" PRIx64 "ULL,%s", in print_hash() 173 fprintf(nbperf->output, "%s\t};\n", (i % 2 ? "\n" : "")); in print_hash() 175 fprintf(nbperf->output, in print_hash() [all …]
|
| /netbsd/src/external/bsd/ntp/dist/sntp/ |
| D | utilities.c | 14 FILE *output in pkt_output() argument 22 fprintf(output, HLINE); in pkt_output() 26 fprintf(output, "\n"); in pkt_output() 28 fprintf(output, "%3d: %02x ", a, pkt[a]); in pkt_output() 31 fprintf(output, "\n"); in pkt_output() 32 fprintf(output, HLINE); in pkt_output() 40 FILE * output in l_fp_output() argument 43 fprintf(output, "%s\n", prettydate(ts)); in l_fp_output() 51 FILE *output in l_fp_output_bin() argument 56 fprintf(output, HLINE); in l_fp_output_bin() [all …]
|
| /netbsd/src/lib/libc/net/ |
| D | base64.c | 146 u_char output[4]; in b64_ntop() local 158 output[0] = (uint32_t)input[0] >> 2; in b64_ntop() 159 output[1] = ((uint32_t)(input[0] & 0x03) << 4) + in b64_ntop() 161 output[2] = ((uint32_t)(input[1] & 0x0f) << 2) + in b64_ntop() 163 output[3] = input[2] & 0x3f; in b64_ntop() 164 Assert(output[0] < 64); in b64_ntop() 165 Assert(output[1] < 64); in b64_ntop() 166 Assert(output[2] < 64); in b64_ntop() 167 Assert(output[3] < 64); in b64_ntop() 171 target[datalength++] = Base64[output[0]]; in b64_ntop() [all …]
|
| /netbsd/src/bin/sh/ |
| D | output.h | 41 struct output { struct 49 struct output *chain; argument 57 extern struct output output; 58 extern struct output errout; 59 extern struct output memout; 60 extern struct output *out1; 61 extern struct output *out2; 65 extern struct output *outx; 68 void open_mem(char *, int, struct output *); 71 void outstr(const char *, struct output *); [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/lib/ |
| D | prelink-support.exp | 27 set result [catch $command output] 29 verbose -log "output is $output" 135 set result [catch "exec $command" output] 137 verbose -log "output of $command is $output" 138 if {$result != 0 || $output == ""} { 146 set libs [regexp -all -inline -line {^.* => (/[^ ]+).*$} $output] 209 set result [catch $command output] 211 verbose -log "output is $output" 212 …egexp {^(couldn't execute "/usr/sbin/prelink[^\r\n]*": no such file or directory\n?)*$} $output]} { 225 set result [catch $command output] [all …]
|
| /netbsd/src/tests/usr.sbin/mtree/ |
| D | t_mtree.sh | 88 ( cd create && mtree -F ${FLAVOR} -c -k type,nlink,link,size,sha256 ) >output.raw \ 90 h_postprocess <output.raw >output 91 h_check "$(atf_get_srcdir)/${FLAVOR}_d_create.out" output 126 ( cd create && mtree -F ${FLAVOR} ) <"$(atf_get_srcdir)/${FLAVOR}_d_create.out" >output \ 128 h_check /dev/null output 159 mtree -F ${FLAVOR} -C -K all <"$(atf_get_srcdir)/d_convert.in" >output 160 h_check "$(atf_get_srcdir)/d_convert_C.out" output 191 mtree -F ${FLAVOR} -C -S -K all <"$(atf_get_srcdir)/d_convert.in" >output 192 h_check "$(atf_get_srcdir)/d_convert_C_S.out" output 223 mtree -F ${FLAVOR} -D -K all <"$(atf_get_srcdir)/d_convert.in" >output [all …]
|
| /netbsd/src/external/bsd/tmux/dist/compat/ |
| D | base64.c | 134 u_char output[4]; local 143 output[0] = input[0] >> 2; 144 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); 145 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); 146 output[3] = input[2] & 0x3f; 150 target[datalength++] = Base64[output[0]]; 151 target[datalength++] = Base64[output[1]]; 152 target[datalength++] = Base64[output[2]]; 153 target[datalength++] = Base64[output[3]]; 163 output[0] = input[0] >> 2; [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/features/ |
| D | feature_to_c.sh | 27 output=$1 30 if test -e "$output"; then 31 echo "Output file \"$output\" already exists; refusing to overwrite." 35 echo '#include "xml-builtin.h"' >> $output 64 }' < $input >> $output 67 echo >> $output 69 echo "extern const char *const xml_builtin[][2] = {" >> $output 74 echo " { \"$basename\", $arrayname }," >> $output 77 echo " { 0, 0 }" >> $output 78 echo "};" >> $output
|
| /netbsd/src/external/bsd/nvi/dist/ex/ |
| D | ex_filter.c | 39 runcmd(SCR *sp, const char *np, int* input, int *output) in runcmd() argument 60 (void)dup2(output[1], STDOUT_FILENO); in runcmd() 61 (void)dup2(output[1], STDERR_FILENO); in runcmd() 68 (void)close(output[0]); in runcmd() 69 (void)close(output[1]); in runcmd() 84 (void)close(output[1]); in runcmd() 104 int input[2], output[2], rval; in ex_filter() local 137 input[0] = input[1] = output[0] = output[1] = -1; in ex_filter() 144 if (pipe(output) < 0) { in ex_filter() 148 if ((ofp = fdopen(output[0], "r")) == NULL) { in ex_filter() [all …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/gssapi/ |
| D | test_ntlm.c | 56 gss_buffer_desc input, output; in test_libntlm_v1() local 81 output.length = 0; in test_libntlm_v1() 82 output.value = NULL; in test_libntlm_v1() 91 &output, in test_libntlm_v1() 100 if (output.length == 0) in test_libntlm_v1() 103 data.data = output.value; in test_libntlm_v1() 104 data.length = output.length; in test_libntlm_v1() 110 gss_release_buffer(&min_stat, &output); in test_libntlm_v1() 150 &output, in test_libntlm_v1() 159 gss_release_buffer(&min_stat, &output); in test_libntlm_v1() [all …]
|
| /netbsd/src/crypto/external/bsd/netpgp/dist/bindings/lua/ |
| D | glue.c | 149 const char *output; in l_encrypt_file() local 158 output = luaL_checkstring(L, 3); in l_encrypt_file() 159 if (*output == 0x0) { in l_encrypt_file() 160 output = NULL; in l_encrypt_file() 164 f, __UNCONST(output), armour); in l_encrypt_file() 173 const char *output; in l_decrypt_file() local 181 output = luaL_checkstring(L, 3); in l_decrypt_file() 182 if (*output == 0x0) { in l_decrypt_file() 183 output = NULL; in l_decrypt_file() 186 ret = netpgp_decrypt_file(netpgp, f, __UNCONST(output), armour); in l_decrypt_file() [all …]
|
| /netbsd/src/external/bsd/tcpdump/dist/tests/ |
| D | smb.tests | 13 output => 'eapon1.out', 20 output => 'eapon1-nosmb.out', 27 output => 'eapon1-v.out', 35 output => 'eapon1-v-nosmb.out', 44 output => 'ipx.out', 51 output => 'ipx-nosmb.out', 59 output => 'nbns-valgrind.out', 67 output => 'nbns-valgrind-nosmb.out', 76 output => 'smb_print_trans-oobr1.out', 84 output => 'smb_print_trans-oobr1-nosmb.out', [all …]
|
| /netbsd/src/tests/net/route/ |
| D | t_change.sh | 138 rump.route -n get 192.168.0.1 > ./output 139 $DEBUG && cat ./expect ./output 140 sed -i '$d' ./output 141 atf_check -s exit:0 diff ./expect ./output 157 rump.route -n get 192.168.0.1 > ./output 158 $DEBUG && cat ./expect ./output 159 sed -i '$d' ./output 160 atf_check -s exit:0 diff ./expect ./output 205 rump.route -n get 192.168.0.1 > ./output 206 $DEBUG && cat ./expect ./output [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| D | t-import.c | 48 unsigned char output[MAX_WORDS * MAX_WORD_SIZE + 2]; in testmain() local 74 output[0] = 17; in testmain() 75 output[1+in_count*size] = 17; in testmain() 77 mpz_export (output+1, &out_count, order, size, endian, 0, a); in testmain() 79 || memcmp (output+1, input, in_count * size) in testmain() 80 || output[0] != 17 in testmain() 81 || output[1+in_count*size] != 17) in testmain() 87 dump_bytes ("output", output+1, out_count * size); in testmain() 88 if (output[0] != 17) in testmain() 89 fprintf (stderr, "Overwrite at -1, value %02x\n", output[0]); in testmain() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/sim/ppc/ |
| D | hw_com.c | 198 com_port output; member 211 if (com->output.file != NULL) in hw_com_device_init_data() 212 fclose(com->output.file); in hw_com_device_init_data() 218 com->output.delay = (device_find_property(me, "output-delay") != NULL in hw_com_device_init_data() 239 com->output.file = fopen(output_file, "w"); in hw_com_device_init_data() 240 if (com->output.file == NULL) in hw_com_device_init_data() 245 setbuf(com->output.file, NULL); in hw_com_device_init_data() 252 com->output.ready = 1; in hw_com_device_init_data() 263 com->output.interrupting = (com->output.ready && (com->reg[1] & 0x2)); in update_com_interrupts() 265 || com->output.interrupting in update_com_interrupts() [all …]
|