/dports/devel/SpecTcl/SpecTcl/SpecTcl/ |
H A D | compile_java.tk | 162 if {$out_fd == ""} { 255 puts $out_fd "" 365 puts $out_fd "\}\n" 400 puts $out_fd "" 724 puts $out_fd "" 766 puts $out_fd "\t);" 876 puts $out_fd "\}" 885 puts $out_fd $code 892 puts $out_fd \} 896 close $out_fd [all …]
|
H A D | compile_html.tk | 40 set out_fd stdout 96 puts $out_fd <form> 98 puts $out_fd </form> 99 close $out_fd 120 puts $out_fd <tr> 127 puts $out_fd </tr> 128 puts $out_fd <tr> 205 puts $out_fd "" 207 puts $out_fd "" 210 puts $out_fd "</td>" [all …]
|
H A D | python_init.tk | 116 set out_fd [Pyopen_out $out] 117 if {$out_fd == ""} { 305 puts $out_fd $scrollCommands 339 puts $out_fd " ## ~~~~~~" 352 puts $out_fd " ## ~~~~~~" 387 puts $out_fd " root = Tk()" 388 puts $out_fd " o = $prefix\(root)" 390 puts $out_fd " root.mainloop()" 393 if {$out_fd != "stdout"} { 394 close $out_fd [all …]
|
H A D | compile_jdk11.tk | 149 set out_fd [Jopen_out $out] 150 if {$out_fd == ""} { 240 puts $out_fd "" 251 puts $out_fd $code 349 puts $out_fd "\t\}\}\n" 385 puts $out_fd "" 489 puts $out_fd "" 519 puts $out_fd $code 526 puts $out_fd \} 530 close $out_fd [all …]
|
H A D | perl_init.tk | 289 set out_fd stdout 295 set out_fd [open "$out" w] 342 puts $out_fd "use Tk;" 349 puts $out_fd "# from $file" 390 puts $out_fd "\n\t);" 427 puts $out_fd "" 479 puts $out_fd "}" 483 puts $out_fd "Tk::MainLoop;" 484 puts $out_fd "\n1;" 487 if {$out_fd != "stdout"} { [all …]
|
/dports/devel/tla/tla-1.3.5/src/tla/libarch/ |
H A D | changeset-report.c | 519 arch_print_file_diffs (int out_fd, in arch_print_file_diffs() argument 532 copy_fd (in_fd, out_fd); in arch_print_file_diffs() 560 safe_printfmt (out_fd, "\n"); in print_file_metadata() 573 safe_printfmt (out_fd, "\n"); in print_dir_metadata() 583 safe_printfmt (out_fd, "\n"); in print_diffs_new() 589 safe_printfmt (out_fd, "\n"); in print_diffs_new() 724 safe_printfmt (out_fd, "\n"); in arch_print_changeset_diffs() 731 safe_printfmt (out_fd, "\n"); in arch_print_changeset_diffs() 738 safe_printfmt (out_fd, "\n"); in arch_print_changeset_diffs() 744 safe_printfmt (out_fd, "\n"); in arch_print_changeset_diffs() [all …]
|
H A D | changelogs.c | 62 arch_generate_changelog (int out_fd, in arch_generate_changelog() argument 194 safe_printfmt (out_fd, "\n"); in generate_changelog_entry() 205 safe_printfmt (out_fd, " Summary:\n %s\n", summary); in generate_changelog_entry() 219 safe_printfmt (out_fd, "\n"); in generate_changelog_entry() 238 safe_printfmt (out_fd, " %s\n", pos); in generate_changelog_entry() 244 safe_printfmt (out_fd, "\n"); in generate_changelog_entry() 260 changelog_file_list (out_fd, headers, "removed-files", 0); in generate_changelog_entry() 274 safe_printfmt (out_fd, "\n"); in generate_changelog_entry() 348 safe_printfmt (out_fd, "\n\n"); in changelog_file_list() 403 safe_printfmt (out_fd, " %s:\n", fixed_header); in changelog_file_pair_list() [all …]
|
H A D | pfs-ftp.c | 43 int out_fd; member 360 if (answer->out_fd < 0) in arch_pfs_ftp_connect() 963 int out_fd) in ftp_client_greet() argument 1377 int out_fd, 1548 int out_fd) in ftp_client_pasv() argument 1972 int out_fd, in ftp_client_mkd() argument 2095 int out_fd, in ftp_client_dele() argument 2118 int out_fd, in ftp_client_rmd() argument 2140 int out_fd, in ftp_client_cwd() argument 2165 int out_fd) in ftp_client_pwd() argument [all …]
|
H A D | replay.c | 86 int out_fd; in arch_replay_list() local 90 out_fd = safe_open (conflicts_in_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in arch_replay_list() 91 safe_printfmt (out_fd, "%s/%s\n", arch->name, rel_peek_str (revisions, x, 0)); in arch_replay_list() 92 safe_close (out_fd); in arch_replay_list() 100 safe_close (out_fd); in arch_replay_list() 147 int out_fd; in arch_replay_fqlist() local 151 out_fd = safe_open (conflicts_in_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in arch_replay_fqlist() 152 safe_printfmt (out_fd, "%s\n", rel_peek_str (revisions, x, 0)); in arch_replay_fqlist() 153 safe_close (out_fd); in arch_replay_fqlist() 159 safe_printfmt (out_fd, "%s\n", rel_peek_str (revisions, y, 0)); in arch_replay_fqlist() [all …]
|
H A D | project-tree.c | 50 int out_fd; in arch_init_tree() local 59 safe_close (out_fd); in arch_init_tree() 63 safe_printfmt (out_fd, "%s", id_tagging_method_defaults); in arch_init_tree() 64 safe_close (out_fd); in arch_init_tree() 234 int out_fd; in arch_set_tree_version() local 245 safe_ftruncate (out_fd, (long)0); in arch_set_tree_version() 246 safe_printfmt (out_fd, "%s\n", fqversion); in arch_set_tree_version() 248 safe_close (out_fd); in arch_set_tree_version() 332 int out_fd; in arch_start_tree_commit() local 341 safe_printfmt (out_fd, "%s", log); in arch_start_tree_commit() [all …]
|
/dports/mail/emil/emil-2.1.0-beta9/ |
H A D | out.c | 34 extern FILE *out_fd; 108 fflush(out_fd); in out_message() 166 fprintf(out_fd, "."); in print_body() 170 fprintf(out_fd, ">"); in print_body() 202 fflush(out_fd); in print_body() 206 fflush(out_fd); in print_body() 267 fprintf(out_fd, "["); in print_hvalue() 270 fprintf(out_fd, "("); in print_hvalue() 276 fprintf(out_fd, "<"); in print_hvalue() 286 fprintf(out_fd, "]"); in print_hvalue() [all …]
|
/dports/textproc/the_silver_searcher/the_silver_searcher-2.2.0/src/ |
H A D | print.c | 93 fwrite(buf, 1, n, out_fd); in print_trailing_context() 94 fputc('\n', out_fd); in print_trailing_context() 110 fprintf(out_fd, ":%s%c", path, sep); in print_path() 112 fprintf(out_fd, "%s%c", path, sep); in print_path() 117 fprintf(out_fd, "%s%c", path, sep); in print_path() 180 fprintf(out_fd, "--\n"); in print_file_matches() 232 … print_context.last_printed_match == cur_match - 1 ? fputc(':', out_fd) : fputc(',', out_fd); in print_file_matches() 271 fputc('\n', out_fd); in print_file_matches() 324 fputc('\n', out_fd); in print_file_matches() 330 fflush(out_fd); in print_file_matches() [all …]
|
/dports/converters/drg2sbg/drg2sbg-2.2/src/ |
H A D | drgbuilder.c | 52 FILE *out_fd = NULL; in main() local 115 if (!out_fd) { in main() 116 out_fd = stdout; in main() 140 fprintf(out_fd, "\r\n"); in main() 142 fprintf(out_fd, "@"); in main() 144 fprintf(out_fd, "@"); in main() 146 fprintf(out_fd, "@"); in main() 148 fprintf(out_fd, "@@"); in main() 149 fprintf(out_fd, "\r\n"); in main() 151 if (out_fd != stdout) { in main() [all …]
|
/dports/net/tacacs/PROJECTS/misc/ |
H A D | mysendfile.c | 21 ssize_t mysendfile(int out_fd, int in_fd, off_t * offset, size_t count) in mysendfile() argument 23 return sendfile(out_fd, in_fd, offset, count); in mysendfile() 38 ssize_t mysendfile(int out_fd, int in_fd, off_t * offset, size_t count) in mysendfile() argument 45 res = syscall(__NR_sendfile64, out_fd, in_fd, offset, count); in mysendfile() 60 res = syscall(__NR_sendfile, out_fd, in_fd, &offset32, count); in mysendfile() 80 ssize_t mysendfile(int out_fd, int in_fd, off_t * offset, size_t count) in mysendfile() argument 98 ssize_t mysendfile(int out_fd, int in_fd, off_t * offset, size_t count) in mysendfile() argument 101 int result = sendfile(in_fd, out_fd, *offset, &sbytes, NULL, 0); in mysendfile() 130 ssize_t mysendfile(int out_fd, int in_fd, off_t * offset, size_t count) in mysendfile() argument 141 result = sendfilev(out_fd, &vec, 1, &xfer); in mysendfile() [all …]
|
/dports/devel/tla/tla-1.3.5/src/tla/libfsutils/ |
H A D | copy-file.c | 20 copy_fd (int in_fd, int out_fd) in copy_fd() argument 30 safe_write_retry (out_fd, buf, amt); in copy_fd() 38 int out_fd; in copy_file() local 41 out_fd = safe_open (to, O_WRONLY | O_EXCL | O_CREAT, 0666); in copy_file() 43 copy_fd (in_fd, out_fd); in copy_file() 46 safe_close (out_fd); in copy_file() 146 int out_fd; in copy_file_list() local 150 safe_fchmod (out_fd, src_mode); in copy_file_list() 152 safe_fchown (out_fd, stat_buf.st_uid, stat_buf.st_gid); in copy_file_list() 154 copy_fd (in_fd, out_fd); in copy_file_list() [all …]
|
/dports/audio/musicpd/mpd-0.23.6/src/ |
H A D | LogInit.cxx | 53 static int out_fd = -1; variable 78 out_fd = open_log_file(); in log_init_file() 79 if (out_fd < 0) { in log_init_file() 150 out_fd = STDOUT_FILENO; in log_init() 162 out_fd = STDOUT_FILENO; in log_init() 205 if (out_fd == STDOUT_FILENO) in setup_log_output() 210 if (out_fd < 0) { in setup_log_output() 215 if (out_fd < 0) in setup_log_output() 220 redirect_logs(out_fd); in setup_log_output() 221 close(out_fd); in setup_log_output() [all …]
|
/dports/multimedia/transcode/transcode-1.1.7/tools/ |
H A D | aviindex.c | 191 fclose(out_fd); in aviidx1_to_mpidx1() 222 fprintf(out_fd, in mpidx1_to_aviidx1() 238 fclose(out_fd); in mpidx1_to_aviidx1() 460 FILE *out_fd = NULL; in main() local 549 if (!out_fd) { in main() 716 fgets(data, 100, out_fd); in main() 721 posn = ftell(out_fd); in main() 722 fgets(data, 100, out_fd); in main() 787 fprintf(out_fd, "%c%c%c%c", in main() 826 fprintf(out_fd, "\n"); in main() [all …]
|
/dports/sysutils/wimlib/wimlib-1.13.0/examples/ |
H A D | compressfile.c | 114 int out_fd, const tchar *out_filename, in do_compress() argument 158 if (write(out_fd, &usize, sizeof(uint32_t)) != sizeof(uint32_t) || in do_compress() 159 write(out_fd, &out_size, sizeof(uint32_t)) != sizeof(uint32_t) || in do_compress() 160 write(out_fd, out_buf, out_size) != (int32_t)out_size) in do_compress() 175 int out_fd; in main() local 212 out_fd = topen(out_filename, O_WRONLY | O_TRUNC | O_CREAT | O_BINARY, in main() 214 if (out_fd < 0) in main() 226 if (write(out_fd, &ctype32, sizeof(uint32_t)) != sizeof(uint32_t) || in main() 227 write(out_fd, &chunk_size, sizeof(uint32_t)) != sizeof(uint32_t)) in main() 234 out_fd, out_filename, in main() [all …]
|
/dports/net/nbdkit/nbdkit-1.20.4/plugins/eval/ |
H A D | call.c | 196 if (pipe (out_fd) == -1) { in call3() 211 out_fd[0] > STDERR_FILENO && out_fd[1] > STDERR_FILENO && in call3() 222 close (out_fd[0]); in call3() 225 dup2 (out_fd[1], 1); in call3() 228 close (out_fd[1]); in call3() 246 close (out_fd[1]); out_fd[1] = -1; in call3() 293 close (out_fd[0]); in call3() 360 if (out_fd[0] >= 0) in call3() 361 close (out_fd[0]); in call3() 362 if (out_fd[1] >= 0) in call3() [all …]
|
/dports/net/nbdkit/nbdkit-1.20.4/plugins/sh/ |
H A D | call.c | 196 if (pipe (out_fd) == -1) { in call3() 211 out_fd[0] > STDERR_FILENO && out_fd[1] > STDERR_FILENO && in call3() 222 close (out_fd[0]); in call3() 225 dup2 (out_fd[1], 1); in call3() 228 close (out_fd[1]); in call3() 246 close (out_fd[1]); out_fd[1] = -1; in call3() 293 close (out_fd[0]); in call3() 360 if (out_fd[0] >= 0) in call3() 361 close (out_fd[0]); in call3() 362 if (out_fd[1] >= 0) in call3() [all …]
|
/dports/devel/libzim/libzim-6.3.2/src/writer/ |
H A D | creator.cpp | 235 ::close(data->out_fd); in finishZimCreation() 286 int out_fd = data->out_fd; in write() local 295 _write(out_fd, "", 1); in write() 300 lseek(out_fd, 0, SEEK_END); in write() 304 dirent->write(out_fd); in write() 337 lseek(out_fd, 0, SEEK_SET); in write() 338 header.write(out_fd); in write() 343 lseek(out_fd, 0, SEEK_SET); in write() 346 auto r = read(out_fd, batch_read, 1024); in write() 394 if (out_fd == -1){ in CreatorData() [all …]
|
H A D | dirent.cpp | 37 void zim::writer::Dirent::write(int out_fd) const in write() 55 _write(out_fd, header.d, 12); in write() 59 _write(out_fd, header.d, 8); in write() 65 _write(out_fd, header.d, 16); in write() 69 _write(out_fd, url.c_str(), url.size()+1); in write() 73 _write(out_fd, t.c_str(), t.size()); in write() 75 _write(out_fd, &c, 1); in write()
|
/dports/sysutils/toybox/toybox-0.8.5/toys/lsb/ |
H A D | gzip.c | 69 static int do_deflate(int in_fd, int out_fd, int dd, int level) 77 if (out_fd == 1) out_fd = xdup(out_fd); 79 if (!(gz = gzdopen(dd ? in_fd : out_fd, b))) perror_exit("gzdopen"); 83 if (len != writeall(out_fd, toybuf, len)) break; 103 static int do_deflate(int in_fd, int out_fd, int dd, int level) 107 if (dd) WOULD_EXIT(x, gunzip_fd(in_fd, out_fd)); 108 else WOULD_EXIT(x, gzip_fd(in_fd, out_fd));
|
/dports/databases/grass7/grass-7.8.6/raster/r.recode/ |
H A D | recode.c | 45 out_fd = Rast_open_new(result, out_type); in do_recode() 56 Rast_close(out_fd); in do_recode() 83 Rast_put_row(out_fd, (CELL *) out_rast, CELL_TYPE); in process_row_ii() 94 Rast_put_f_row(out_fd, (FCELL *) out_rast); in process_row_if() 105 Rast_put_row(out_fd, (DCELL *) out_rast, DCELL_TYPE); in process_row_id() 116 Rast_put_row(out_fd, (CELL *) out_rast, CELL_TYPE); in process_row_fi() 127 Rast_put_f_row(out_fd, (FCELL *) out_rast); in process_row_ff() 138 Rast_put_row(out_fd, (DCELL *) out_rast, DCELL_TYPE); in process_row_fd() 149 Rast_put_row(out_fd, (CELL *) out_rast, CELL_TYPE); in process_row_di() 160 Rast_put_f_row(out_fd, (FCELL *) out_rast); in process_row_df() [all …]
|
/dports/www/py-bjoern/bjoern-3.1.0/bjoern/ |
H A D | portable_sendfile.c | 14 Py_ssize_t portable_sendfile(int out_fd, int in_fd, off_t offset) { in portable_sendfile() argument 16 if(sendfile(in_fd, out_fd, offset, &len, NULL, 0) == -1) { in portable_sendfile() 30 Py_ssize_t portable_sendfile(int out_fd, int in_fd, off_t offset) { in portable_sendfile() argument 32 if(sendfile(in_fd, out_fd, offset, SENDFILE_CHUNK_SIZE, NULL, &len, 0) == -1) { in portable_sendfile() 47 Py_ssize_t portable_sendfile(int out_fd, int in_fd, off_t offset) { in portable_sendfile() argument 48 return sendfile(out_fd, in_fd, &offset, SENDFILE_CHUNK_SIZE); in portable_sendfile()
|