| /mirbsd/src/gnu/usr.bin/perl/t/op/ |
| D | sort.t | 419 my @output = sort @input; 420 ok join(" ", map {0+$_} @output), "0 1 2 3 4 5 6 7 8", "Simple stable sort"; 429 @output = sort {$a <=> $b} @input; 433 @output = sort {$a cmp $b} @input; 434 ok join(" ", map {0+$_} @output), "0 1 2 3 4 5 6 7 8", 'stable $a cmp $b sort'; 442 @output = sort {$b cmp $a} @input; 443 ok join(" ", map {0+$_} @output), "6 7 8 3 4 5 0 1 2", 'stable $b cmp $a sort'; 451 @output = reverse sort @input; 452 ok join(" ", map {0+$_} @output), "8 7 6 5 4 3 2 1 0", "Reversed stable sort"; 460 my $output = reverse sort @input; [all …]
|
| /mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/ |
| D | dtd_util.c | 30 #define NOTE(message) fprintf(output, message "\n"); 182 static void PrintF(FILE *output, int width, const char *fmt,...) in PrintF() argument 191 fprintf(output, "%-*s", width, buffer); in PrintF() 479 static void dump_src_HTTag_Defines(FILE *output, const SGML_dtd * dtd, int which) in dump_src_HTTag_Defines() argument 484 fprintf(output, in dump_src_HTTag_Defines() 498 static void dump_AttrItem(FILE *output, const attr * data) in dump_AttrItem() argument 523 fprintf(output, "\t{ %-15s T(%c) },\n", buffer, pretty); in dump_AttrItem() 526 static void dump_AttrItem0(FILE *output) in dump_AttrItem0() argument 528 fprintf(output, "\t{ 0 T(N) }\t/* Terminate list */\n"); in dump_AttrItem0() 531 static void dump_src_AttrType(FILE *output, const char *name, AttrList data, const char **from) in dump_src_AttrType() argument [all …]
|
| /mirbsd/src/lib/libdes/ |
| D | cbc3_enc.c | 62 void des_3cbc_encrypt(input, output, length, ks1, ks2, iv1, iv2, encrypt) 64 des_cblock (*output); 78 des_cbc_encrypt(input,output,length,ks1,iv1,encrypt); 80 memcpy(niv1,output[off],sizeof(des_cblock)); 81 des_cbc_encrypt(output,output,l8,ks2,iv1,!encrypt); 82 des_cbc_encrypt(output,output,l8,ks1,iv2, encrypt); 84 memcpy(niv2,output[off],sizeof(des_cblock)); 90 des_cbc_encrypt(input,output,l8,ks1,iv2,encrypt); 91 des_cbc_encrypt(output,output,l8,ks2,iv1,!encrypt); 93 memcpy(niv1,output[off],sizeof(des_cblock)); [all …]
|
| /mirbsd/src/sys/uvm/ |
| D | uvm_loan.c | 130 uvm_loanentry(ufi, output, flags) in uvm_loanentry() argument 132 void ***output; 166 rv = uvm_loananon(ufi, output, flags, anon); 168 rv = uvm_loanuobj(ufi, output, flags, curaddr); 170 rv = uvm_loanzero(ufi, output, flags); 222 void **output; local 244 output = &result[0]; /* start at the beginning ... */ 271 rv = uvm_loanentry(&ufi, &output, flags); 299 if (output - result) { 302 output - result); [all …]
|
| /mirbsd/src/lib/libssl/src/crypto/des/ |
| D | cbc3_enc.c | 62 void DES_3cbc_encrypt(DES_cblock *input, DES_cblock *output, long length, in DES_3cbc_encrypt() argument 73 (unsigned char*)output,length,&ks1,iv1,enc); in DES_3cbc_encrypt() 75 memcpy(niv1,output[off],sizeof(DES_cblock)); in DES_3cbc_encrypt() 76 DES_cbc_encrypt((unsigned char*)output, in DES_3cbc_encrypt() 77 (unsigned char*)output,l8,&ks2,iv1,!enc); in DES_3cbc_encrypt() 78 DES_cbc_encrypt((unsigned char*)output, in DES_3cbc_encrypt() 79 (unsigned char*)output,l8,&ks1,iv2,enc); in DES_3cbc_encrypt() 81 memcpy(niv2,output[off],sizeof(DES_cblock)); in DES_3cbc_encrypt() 88 (unsigned char*)output,l8,&ks1,iv2,enc); in DES_3cbc_encrypt() 89 DES_cbc_encrypt((unsigned char*)output, in DES_3cbc_encrypt() [all …]
|
| D | des_old.c | 83 void _ossl_old_des_ecb3_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output, in _ossl_old_des_ecb3_encrypt() argument 87 DES_ecb3_encrypt((const unsigned char *)input, (unsigned char *)output, in _ossl_old_des_ecb3_encrypt() 91 DES_LONG _ossl_old_des_cbc_cksum(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output, in _ossl_old_des_cbc_cksum() argument 94 return DES_cbc_cksum((unsigned char *)input, output, length, in _ossl_old_des_cbc_cksum() 97 void _ossl_old_des_cbc_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output,long length, in _ossl_old_des_cbc_encrypt() argument 100 DES_cbc_encrypt((unsigned char *)input, (unsigned char *)output, in _ossl_old_des_cbc_encrypt() 103 void _ossl_old_des_ncbc_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output,long lengt… in _ossl_old_des_ncbc_encrypt() argument 106 DES_ncbc_encrypt((unsigned char *)input, (unsigned char *)output, in _ossl_old_des_ncbc_encrypt() 109 void _ossl_old_des_xcbc_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output,long lengt… in _ossl_old_des_xcbc_encrypt() argument 113 DES_xcbc_encrypt((unsigned char *)input, (unsigned char *)output, in _ossl_old_des_xcbc_encrypt() [all …]
|
| /mirbsd/src/usr.bin/uuencode/ |
| D | uuencode.c | 63 FILE *output; variable 127 output = fopen(outfile, "w+"); in main() 128 if (output == NULL) in main() 131 output = stdout; in main() 136 if (ferror(output)) in main() 162 fprintf(output, "begin-base64 %o %s\n", mode, *av); in base64_encode() 168 fprintf(output, "%s%s", buf2, (sequence % GROUPS) ? "" : "\n"); in base64_encode() 171 fprintf(output, "\n"); in base64_encode() 173 fprintf(output, "====\n"); in base64_encode() 187 (void)fprintf(output, "begin %o %s\n", mode, *av); in encode() [all …]
|
| /mirbsd/src/lib/libc/net/ |
| D | base64.c | 132 u_char output[4]; in b64_ntop() local 141 output[0] = input[0] >> 2; in b64_ntop() 142 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop() 143 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop() 144 output[3] = input[2] & 0x3f; in b64_ntop() 148 target[datalength++] = mbsd_digits_base64[output[0]]; in b64_ntop() 149 target[datalength++] = mbsd_digits_base64[output[1]]; in b64_ntop() 150 target[datalength++] = mbsd_digits_base64[output[2]]; in b64_ntop() 151 target[datalength++] = mbsd_digits_base64[output[3]]; in b64_ntop() 161 output[0] = input[0] >> 2; in b64_ntop() [all …]
|
| /mirbsd/src/usr.bin/indent/ |
| D | io.c | 64 fprintf(output, ".*/\n"); in dump_line() 66 fprintf(output, ".Pr \"%s\"\n", ps.procname); in dump_line() 92 putc('\n', output); in dump_line() 106 fprintf(output, ".*/\n"); in dump_line() 117 putc(*s++, output); in dump_line() 122 fprintf(output, s[0]=='/' && s[1]=='*' ? "\t%.*s" : "\t/* %.*s */", in dump_line() 125 else fprintf(output, "%.*s", (int)(e_lab - s_lab), s_lab); in dump_line() 138 fprintf(output, ".*/\n"); in dump_line() 152 fprintf(output, "%d", target_col * 7); in dump_line() 155 putc(*p, output); in dump_line() [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/lib/Pod/ |
| D | PlainText.pm | 165 $self->output ($_); 173 $self->output ($_[0]), return if $$self{VERBATIM}; 222 $self->output ($self->reformat ($_ . "\n")); 286 $self->output ("\n==== $_ ====\n\n"); 289 $self->output ($_ . "\n"); 300 $self->output ("\n== $_ ==\n\n"); 302 $self->output (' ' x ($$self{indent} / 2) . $_ . "\n\n"); 455 my $output = $self->reformat ($tag); 456 $output =~ s/\n*$/\n/; 457 $self->output ($output); [all …]
|
| D | Text.pm | 249 $self->output ($_); 257 $self->output ($_[0]), return if $$self{VERBATIM}; 267 $self->output ($self->reformat ($_ . "\n")); 504 $self->output ("\n" . "$margin$marker $text $closemark" . "\n\n"); 508 $self->output ($margin . $text . "\n"); 539 my $output = $self->reformat ($tag); 540 $output =~ s/^$margin /$margin:/ if ($$self{alt} && $indent > 0); 541 $output =~ s/\n*$/\n/; 547 $output .= "\n" if $_ && $_ =~ /^\s*$/; 549 $self->output ($output); [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/pod/ |
| D | buildtoc | 321 ($_= <<"EOPOD2B") =~ s/^\t//gm && output($_); 331 ($_= <<"EOPOD2B") =~ s/^\t//gm && output($_); 367 output $_; 368 output "\n"; # flush $LINE 384 output "\n \n\n=head2 "; 388 output $_; 391 output $_; 397 output "=over 4\n\n" unless $inhead1; 399 output $_; nl(); next; 403 output "=over 4\n\n" unless $inhead2; [all …]
|
| D | pod2latex.PL | 154 my $output = $pod; 155 $output = basename($output, '.pm', '.pod','.pl') . '.tex'; 175 $parser->parse_from_file($pod, $output); 177 print "Written output to $output\n" if $options{'verbose'}; 189 my $output = $options{'out'}; 190 $output .= '.tex' unless $output =~ /\.tex$/; 194 open ($outfh, ">$output") || die "Could not open output file: $!\n"; 263 unlink "$output" unless $converted;
|
| /mirbsd/src/usr.bin/vi/ex/ |
| D | ex_filter.c | 52 int input[2], output[2], fd, rval; local 84 input[0] = input[1] = output[0] = output[1] = -1; 129 if (pipe(output) < 0) { 133 if ((ofp = fdopen(output[0], "r")) == NULL) { 148 else if (output[0] != -1) 149 (void)close(output[0]); 150 if (output[1] != -1) 151 (void)close(output[1]); 166 (void)dup2(output[1], STDOUT_FILENO); 167 (void)dup2(output[1], STDERR_FILENO); [all …]
|
| /mirbsd/src/usr.bin/vi/common/ |
| D | seq.c | 35 seq_set(sp, name, nlen, input, ilen, output, olen, stype, flags) in seq_set() argument 37 CHAR_T *name, *input, *output; 57 if (output == NULL || olen == 0) { 60 } else if ((p = v_strdup(sp, output, olen)) == NULL) { 64 if (qp->output != NULL) 65 free(qp->output); 67 qp->output = p; 95 if (output == NULL) { 96 qp->output = NULL; 98 } else if ((qp->output = v_strdup(sp, output, olen)) == NULL) { [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/ext/XS/APItest/t/ |
| D | printf.t | 41 #print "# Test output by reading from file\n"; 42 # now test the output 43 my @output = map { chomp; $_ } <$foo>; 45 ok @output >= 4, "captured at least four output lines"; 47 is($output[0], "5.000", "print_double"); 48 is($output[1], "3", "print_int"); 49 is($output[2], "4", "print_long"); 50 is($output[3], "4.000", "print_float"); 54 is($output[4], "7.000", "print_long_double");
|
| /mirbsd/src/usr.sbin/httpd/src/support/ |
| D | logresolve.c | 55 static void stats(FILE *output); 229 static void stats (FILE *output) in stats() argument 246 fprintf(output, "logresolve Statistics:\n"); in stats() 248 fprintf(output, "Entries: %d\n", entries); in stats() 249 fprintf(output, " With name : %d\n", withname); in stats() 250 fprintf(output, " Resolves : %d\n", resolves); in stats() 252 fprintf(output, " - Not found : %d\n", errors[HOST_NOT_FOUND]); in stats() 254 fprintf(output, " - Try again : %d\n", errors[TRY_AGAIN]); in stats() 256 fprintf(output, " - No data : %d\n", errors[NO_DATA]); in stats() 258 fprintf(output, " - No address: %d\n", errors[NO_ADDRESS]); in stats() [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/ |
| D | perly.fixer | 25 output=$2 40 cp $input $output 43 $gnupatch -F3 $output <perly_c.diff 56 < $output > $tmp && mv -f $tmp $output || exit 1 64 $gnupatch -F3 $output <perly.c.dif9 77 < $output > $tmp && mv -f $tmp $output || exit 1 85 echo "cp $input $output" 188 if sed -f $tmp <$input >$output 240 if sed -f $tmp < $input > $output 251 sed -e 's/Received token/ *** Received token/' $input >$output
|
| /mirbsd/src/usr.bin/oldroff/hunt/ |
| D | hunt6.c | 70 char res[100], *ar[50], output[TXTLEN]; local 101 if (!auxil(res,output)) 116 corout (res, output, rprog, 0, TXTLEN) : 117 findline (res, output, TXTLEN, indexdate); 122 i, nf, res, len, output); 133 ar[na++] = output; 152 fputs(output, stdout); 154 strcpy (soutput, output); 163 auxil( res, output) in auxil() argument 164 char *res, *output; in auxil() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gas/config/ |
| D | tc-mcore.c | 177 char * output; in dump_literals() local 186 output = frag_var (rs_machine_dependent, in dump_literals() 190 output[0] = INST_BYTE0 (MCORE_INST_BR); /* br .+xxx */ in dump_literals() 191 output[1] = INST_BYTE1 (MCORE_INST_BR); in dump_literals() 860 char * output; in md_assemble() local 903 output = frag_more (2); in md_assemble() 909 output = frag_more (2); in md_assemble() 915 output = frag_more (2); in md_assemble() 921 output = frag_more (2); in md_assemble() 926 output[0] = INST_BYTE0 (inst); in md_assemble() [all …]
|
| D | tc-h8500.c | 822 insert (char *output, int index, expressionS *exp, int reloc, int pcrel) in insert() argument 825 output - frag_now->fr_literal + index, in insert() 876 char *output = frag_more (opcode->length); in build_bytes() local 878 memset (output, 0, opcode->length); in build_bytes() 881 output[index] = opcode->bytes[index].contents; in build_bytes() 891 output[index] |= rn; in build_bytes() 895 output[index] |= rd; in build_bytes() 898 output[index] |= rs; in build_bytes() 901 insert (output, index, &displacement, R_H8500_IMM16, 0); in build_bytes() 906 insert (output, index, &displacement, R_H8500_IMM8, 0); in build_bytes() [all …]
|
| /mirbsd/src/usr.sbin/mtree/ |
| D | create.c | 69 static void output(int, int *, const char *, ...); 159 output(indent, &offset, "type=%s", inotype(p->fts_statp->st_mode)); in statf() 163 output(indent, &offset, "uname=%s", pw->pw_name); in statf() 170 output(indent, &offset, "uid=%u", p->fts_statp->st_uid); in statf() 175 output(indent, &offset, "gname=%s", gr->gr_name); in statf() 182 output(indent, &offset, "gid=%u", p->fts_statp->st_gid); in statf() 185 output(indent, &offset, "mode=%#o", p->fts_statp->st_mode & MBITS); in statf() 187 output(indent, &offset, "nlink=%u", p->fts_statp->st_nlink); in statf() 189 output(indent, &offset, "size=%qd", p->fts_statp->st_size); in statf() 192 output(indent, &offset, "time=%ld.0", in statf() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gdb/cli/ |
| D | cli-logging.c | 90 struct ui_file *output; in handle_redirections() local 99 output = gdb_fopen (logging_filename, logging_overwrite ? "w" : "a"); in handle_redirections() 100 if (output == NULL) in handle_redirections() 106 output = tee_file_new (gdb_stdout, 0, output, 1); in handle_redirections() 107 if (output == NULL) in handle_redirections() 123 gdb_stdout = output; in handle_redirections() 124 gdb_stderr = output; in handle_redirections() 125 gdb_stdlog = output; in handle_redirections() 126 gdb_stdtarg = output; in handle_redirections()
|
| /mirbsd/src/bin/systrace/ |
| D | systrace.c | 120 make_output(char *output, size_t outlen, const char *binname, in make_output() argument 130 snprintf(output, outlen, in make_output() 135 p = output + strlen(output); in make_output() 136 size = outlen - strlen(output); in make_output() 149 p = output + strlen(output); in make_output() 150 size = outlen - strlen(output); in make_output() 174 char output[_POSIX2_LINE_MAX]; in trans_cb() local 194 make_output(output, sizeof(output), binname, pid, ppid, in trans_cb() 238 make_output(output, sizeof(output), binname, pid, ppid, in trans_cb() 258 output, &future, ipid); in trans_cb() [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/lib/Pod/Text/ |
| D | Color.pm | 64 $self->output ($code); 72 my $output = ''; 78 $output .= $spaces . $1 . "\n"; 83 $output .= $spaces . $_; 84 $output =~ s/\s+$/\n\n/; 85 $output;
|