/dports/comms/mgetty+sendfax/mgetty-1.1.37/voice/pvftools/ |
H A D | pvftormd.c | 72 FILE *fd_out = stdout; in main() local 202 fclose(fd_out); in main() 212 fclose(fd_out); in main() 409 fclose(fd_out); in main() 411 if (fd_out != stdout) in main() 419 fclose(fd_out); in main() 421 if (fd_out != stdout) in main() 815 fclose(fd_out); in main() 834 fclose(fd_out); in main() 1065 fclose(fd_out); in main() [all …]
|
H A D | rmdtopvf.c | 63 FILE *fd_out = stdout; in main() local 149 if ((fd_out = fopen(name_out, "w")) == NULL) in main() 158 if (write_pvf_header(fd_out, &header_out) != OK) in main() 160 fclose(fd_out); in main() 162 if (fd_out != stdout) in main() 171 if (ulawtopvf(fd_in, fd_out, &header_out) == OK) in main() 179 if (alawtopvf(fd_in, fd_out, &header_out) == OK) in main() 205 if (alawtopvf(fd_in, fd_out, &header_out) == OK) in main() 237 if (alawtopvf(fd_in, fd_out, &header_out) == OK) in main() 386 fclose(fd_out); in main() [all …]
|
H A D | basictopvf.c | 36 FILE *fd_out = stdout; in main() local 90 if ((fd_out = fopen(name_out, "w")) == NULL) in main() 101 if (write_pvf_header(fd_out, &header_out) != OK) in main() 103 fclose(fd_out); in main() 105 if (fd_out != stdout) in main() 111 if (basictopvf(fd_in, fd_out, &header_out) != OK) in main() 113 fclose(fd_out); in main() 115 if (fd_out != stdout) in main() 121 fclose(fd_out); in main()
|
H A D | lintopvf.c | 42 FILE *fd_out = stdout; in main() local 120 if ((fd_out = fopen(name_out, "w")) == NULL) in main() 129 if (write_pvf_header(fd_out, &header_out) != OK) in main() 131 fclose(fd_out); in main() 133 if (fd_out != stdout) in main() 139 if (lintopvf(fd_in, fd_out, &header_out, is_signed, bits16, intel) != OK) in main() 141 fclose(fd_out); in main() 143 if (fd_out != stdout) in main() 149 fclose(fd_out); in main()
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/voice/include/ |
H A D | pvf.h | 40 void (*write_pvf_data) (FILE *fd_out, int data); 66 extern int write_rmd_header (FILE *fd_out, rmd_header *header_out); 69 extern int write_pvf_header (FILE *fd_out, pvf_header *header_out); 77 extern int pvftorockwell (FILE *fd_in, FILE *fd_out, int nbits, 79 extern int rockwelltopvf (FILE *fd_in, FILE *fd_out, int nbits, 82 extern int pvftorockwellpcm (FILE *fd_in, FILE *fd_out, int nbits, 84 extern int rockwellpcmtopvf (FILE *fd_in, FILE *fd_out, int nbits, 88 extern int pvftozyxel (FILE *fd_in, FILE *fd_out, int nbits, 90 extern int zyxeltopvf (FILE *fd_in, FILE *fd_out, int nbits, 96 extern int pvftousr (FILE *fd_in, FILE *fd_out, int compression, [all …]
|
/dports/graphics/xpaint/xpaint-2.9.10.3/ |
H A D | substads.c | 11 FILE *fd_in, *fd_out; in main() local 21 fd_out = fopen(argv[3], "w"); in main() 22 if (fd_in && fd_out) { in main() 32 fprintf(fd_out, "\\\n"); in main() 36 fprintf(fd_out, "\\\\"); in main() 39 fprintf(fd_out, "\\\""); in main() 50 if (fd_out) fclose(fd_out); in main() 56 fd_out = fopen(argv[3], "w"); in main() 57 if (fd_in && fd_out) { in main() 72 if (fd_out) fclose(fd_out); in main() [all …]
|
/dports/security/samhain/samhain-4.4.3/src/ |
H A D | exepack_mkdata.c | 72 FILE * fd_out; in main() local 106 if (NULL == (fd_out = fopen(argv[2], "w")) ) in main() 218 fprintf(fd_out, "0x00,"); in main() 220 fprintf(fd_out, "\n"); in main() 223 fprintf(fd_out, "\n"); in main() 227 fprintf(fd_out, "0x00,"); in main() 229 fprintf(fd_out, "\n"); in main() 232 fprintf (fd_out, "0x00 };\n\n"); in main() 235 fclose (fd_out); in main() 242 fprintf(fd_out, "\"%s\",", argv[len-4]); in main() [all …]
|
/dports/security/samhain-server/samhain-4.4.3/src/ |
H A D | exepack_mkdata.c | 72 FILE * fd_out; in main() local 106 if (NULL == (fd_out = fopen(argv[2], "w")) ) in main() 218 fprintf(fd_out, "0x00,"); in main() 220 fprintf(fd_out, "\n"); in main() 223 fprintf(fd_out, "\n"); in main() 227 fprintf(fd_out, "0x00,"); in main() 229 fprintf(fd_out, "\n"); in main() 232 fprintf (fd_out, "0x00 };\n\n"); in main() 235 fclose (fd_out); in main() 242 fprintf(fd_out, "\"%s\",", argv[len-4]); in main() [all …]
|
/dports/security/samhain-client/samhain-4.4.3/src/ |
H A D | exepack_mkdata.c | 72 FILE * fd_out; in main() local 106 if (NULL == (fd_out = fopen(argv[2], "w")) ) in main() 218 fprintf(fd_out, "0x00,"); in main() 220 fprintf(fd_out, "\n"); in main() 223 fprintf(fd_out, "\n"); in main() 227 fprintf(fd_out, "0x00,"); in main() 229 fprintf(fd_out, "\n"); in main() 232 fprintf (fd_out, "0x00 };\n\n"); in main() 235 fclose (fd_out); in main() 242 fprintf(fd_out, "\"%s\",", argv[len-4]); in main() [all …]
|
/dports/games/kevedit/kevedit-0.5.1/src/zlaunch/ |
H A D | dosbox.c | 55 write(fd_out, buffer, size); in _dosbox_copy_file() 83 int fd_in, fd_out; in _dosbox_prep_tempdir() local 90 fd_out = creat(config_out, 0600); in _dosbox_prep_tempdir() 91 if(fd_out < 0) { in _dosbox_prep_tempdir() 95 return fd_out; in _dosbox_prep_tempdir() 99 close(fd_out); in _dosbox_prep_tempdir() 136 close(fd_out); in _dosbox_prep_tempdir() 166 if(fd_out < 0) { in _dosbox_prep_tempdir() 170 return fd_out; in _dosbox_prep_tempdir() 174 close(fd_out); in _dosbox_prep_tempdir() [all …]
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/voice/libpvf/ |
H A D | au.c | 281 write_word(hdr.magic, fd_out); in pvftoau() 282 write_word(hdr.dataLocation, fd_out); in pvftoau() 283 write_word(hdr.dataSize, fd_out); in pvftoau() 284 write_word(hdr.dataFormat, fd_out); in pvftoau() 285 write_word(hdr.samplingRate, fd_out); in pvftoau() 286 write_word(hdr.channelCount, fd_out); in pvftoau() 287 write_word(hdr.info, fd_out); in pvftoau() 341 putc(sample & 0xff, fd_out); in pvftoau() 360 putc(sample & 0xff, fd_out); in pvftoau() 421 if (write_pvf_header(fd_out, header_out) != OK) [all …]
|
H A D | lib.c | 79 putc(state->data & 0xff, fd_out); in write_bits_reverse() 106 int write_rmd_header(FILE *fd_out, rmd_header *header_out) in write_rmd_header() argument 201 fprintf(fd_out, "%d\n", data); in write_pvf_data_8_ascii() 214 fprintf(fd_out, "%d\n", data); in write_pvf_data_16_ascii() 219 fprintf(fd_out, "%d\n", data); in write_pvf_data_32_ascii() 222 static void write_pvf_data_8(FILE *fd_out, int data) in write_pvf_data_8() argument 232 putc(data, fd_out); in write_pvf_data_8() 235 static void write_pvf_data_16(FILE *fd_out, int data) in write_pvf_data_16() argument 248 fwrite(&out, 2, 1, fd_out); in write_pvf_data_16() 251 static void write_pvf_data_32(FILE *fd_out, int data) in write_pvf_data_32() argument [all …]
|
H A D | voc.c | 35 int pvftovoc (FILE *fd_in, FILE *fd_out, pvf_header *header_in) in pvftovoc() argument 44 fwrite(voc_hdr, 1, sizeof(voc_hdr), fd_out); in pvftovoc() 58 putc(data + 0x80, fd_out); in pvftovoc() 64 fwrite(voc_blk, 1, 4, fd_out); in pvftovoc() 70 putc(0x7f, fd_out); in pvftovoc() 72 putc(0x00, fd_out); in pvftovoc() 76 int voctopvf (FILE *fd_in, FILE *fd_out, pvf_header *header_out) in voctopvf() argument 144 write_pvf_header(fd_out, header_out); in voctopvf() 174 header_out->write_pvf_data(fd_out, (d - 0x80) << 16); in voctopvf()
|
/dports/archivers/dpkg/dpkg-1.19.7/lib/dpkg/ |
H A D | compress.c | 68 if (fd_out != 1) { in fd_fd_filter() 69 m_dup2(fd_out, 1); in fd_fd_filter() 70 close(fd_out); in fd_fd_filter() 179 if (close(fd_out)) in decompress_gzip() 204 gzfile = gzdopen(fd_out, combuf); in compress_gzip() 312 if (close(fd_out)) in decompress_bzip2() 362 if (close(fd_out)) in compress_bzip2() 502 if (close(fd_out)) in filter_lzma() 613 filter_lzma(&io, fd_in, fd_out); in decompress_xz() 627 filter_lzma(&io, fd_in, fd_out); in compress_xz() [all …]
|
/dports/audio/alsa-lib/alsa-lib-1.2.2/test/ |
H A D | rawmidi.c | 41 int fd_in = -1,fd_out = -1; in main() local 124 if (fd_out<0) { in main() 131 if (fd_out<0) { in main() 179 if (fd_out!=-1) { in main() 181 ch=0x90; write(fd_out,&ch,1); in main() 182 ch=60; write(fd_out,&ch,1); in main() 183 ch=100; write(fd_out,&ch,1); in main() 211 if (fd_out!=-1) { in main() 212 write(fd_out,&ch,1); in main() 236 if (fd_out!=-1) { in main() [all …]
|
/dports/archivers/rzip/rzip-2.1/ |
H A D | main.c | 107 int fd_in, int fd_out) in preserve_perms() argument 119 fchown(fd_out, st.st_uid, st.st_gid); in preserve_perms() 129 int fd_in, fd_out = -1, fd_hist = -1; in decompress_file() local 159 if (fd_out == -1) { in decompress_file() 179 close(fd_out) != 0) { in decompress_file() 201 int fd_in, fd_out; in compress_file() local 231 if (fd_out == -1) { in compress_file() 235 preserve_perms(control, fd_in, fd_out); in compress_file() 237 write_magic(fd_in, fd_out); in compress_file() 238 rzip_fd(control, fd_in, fd_out); in compress_file() [all …]
|
/dports/sysutils/freedt/freedt-23/ |
H A D | test-iolib.c | 33 writeba(fd_out, &b); in main() 35 format(fd_out, "And that's that.\n", 0); in main() 41 format(fd_out, "@b", &b4, 0); in main() 44 format(fd_out, "before: '@b'\n", &b5); in main() 46 format(fd_out, "replaced: '@b'\n", &b5); in main() 48 format(fd_out, "replaced: '@b'\n", &b5); in main() 53 format(fd_out, "initially: '@b' '@b'\n", &b, &b2); in main() 55 format(fd_out, "after bpopl: '@b' '@b'\n", &b, &b2); in main() 57 format(fd_out, "after bpopl again: '@b' '@b'\n", &b, &b2); in main() 59 format(fd_out, "int: @i\nuint: @I\nhex: @x\nuhex: @X\n" in main()
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/common/ |
H A D | half_duplex.c | 58 int *fd_out = (int *) obj->arg; in _half_duplex_readable() local 59 if (fd_out) { in _half_duplex_readable() 60 shutdown(*fd_out, SHUT_WR); in _half_duplex_readable() 73 int *fd_out = (int *) obj->arg; in _half_duplex() local 75 if (obj->shutdown || !fd_out) in _half_duplex() 81 __func__, obj->fd, *fd_out); in _half_duplex() 89 out = write(*fd_out, buf, in - wr); in _half_duplex() 101 if (fd_out) { in _half_duplex() 102 shutdown(*fd_out, SHUT_WR); in _half_duplex() 103 xfree(fd_out); in _half_duplex()
|
/dports/net/tacacs/PROJECTS/mavis/ |
H A D | libmavis_tee.c | 34 int fd_out; \ 67 if (mcx->fd_out < -1) in mavis_init_in() 72 mcx->fd_out = mcx->fd_in; in mavis_init_in() 146 if (mcx->fd_in == mcx->fd_out) in mavis_drop_in() 147 mcx->fd_out = -1; in mavis_drop_in() 150 if (mcx->fd_out > -1) in mavis_drop_in() 151 close(mcx->fd_out); in mavis_drop_in() 170 if (fd == mcx->fd_out) in write_av() 171 mcx->fd_out = -1; in write_av() 190 if (mcx->fd_out > -1) in mavis_recv_out() [all …]
|
/dports/emulators/vice/vice-3.5/src/mididrv/ |
H A D | midi-unix-drv.c | 75 static int fd_out = -1; variable 115 if (fd_out >= 0) { in mididrv_oss_out_open() 124 if (fd_out < 0) { in mididrv_oss_out_open() 129 return fd_out; in mididrv_oss_out_open() 152 if (fd_out < 0) { in mididrv_oss_out_close() 156 close(fd_out); in mididrv_oss_out_close() 157 fd_out = -1; in mididrv_oss_out_close() 168 if (fd_out < 0) { in mididrv_oss_out() 259 fd_out = 1; in mididrv_alsa_out_open() 260 return fd_out; in mididrv_alsa_out_open() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/mididrv/ |
H A D | midi-unix-drv.c | 77 static int fd_out = -1; variable 117 if (fd_out >= 0) { in mididrv_oss_out_open() 126 if (fd_out < 0) { in mididrv_oss_out_open() 131 return fd_out; in mididrv_oss_out_open() 154 if (fd_out < 0) { in mididrv_oss_out_close() 158 close(fd_out); in mididrv_oss_out_close() 159 fd_out = -1; in mididrv_oss_out_close() 170 if (fd_out < 0) { in mididrv_oss_out() 261 fd_out = 1; in mididrv_alsa_out_open() 262 return fd_out; in mididrv_alsa_out_open() [all …]
|
/dports/graphics/goom/goom2k4-0/xmms-goom/ |
H A D | xmms_goom.c | 19 static int fd_in, fd_out; variable 59 fd_out = fd[1]; in plug_init() 82 write (fd_out, &i, sizeof(int)); in sendIntToGoom() 104 FD_SET(fd_out, &rfds); in plug_render_pcm() 105 retval = select(fd_out+1, NULL, &rfds, NULL, &tv); in plug_render_pcm() 110 write (fd_out, &data[0][0], 512*sizeof(gint16)*2); in plug_render_pcm() 111 fsync(fd_out); in plug_render_pcm() 122 write (fd_out, &title[0], 2048); in plug_render_pcm()
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/tools/ |
H A D | cws2fws.c | 30 int fd_in, fd_out, comp_len, uncomp_len, i, last_out; in main() local 46 fd_out = open(argv[2], O_WRONLY | O_CREAT, 00644); in main() 47 if (fd_out < 0) { in main() 56 close(fd_out); in main() 77 if (write(fd_out, &buf_in, 8) < 8) { in main() 113 if (write(fd_out, &buf_out, zstream.total_out - last_out) < in main() 134 if ( lseek(fd_out, 4, SEEK_SET) < 0 in main() 135 || write(fd_out, &buf_in, 4) < 4) { in main() 143 close(fd_out); in main()
|
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/tools/ |
H A D | cws2fws.c | 24 int fd_in, fd_out, comp_len, uncomp_len, i, last_out; in main() local 42 fd_out = open(argv[2], O_WRONLY|O_CREAT, 00644); in main() 43 if (fd_out < 0) in main() 54 close(fd_out); in main() 72 write(fd_out, &buf_in, 8); in main() 104 write(fd_out, &buf_out, zstream.total_out-last_out); in main() 122 lseek(fd_out, 4, SEEK_SET); in main() 123 write(fd_out, &buf_in, 4); in main() 128 close(fd_out); in main()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/tools/ |
H A D | cws2fws.c | 30 int fd_in, fd_out, comp_len, uncomp_len, i, last_out; in main() local 46 fd_out = open(argv[2], O_WRONLY | O_CREAT, 00644); in main() 47 if (fd_out < 0) { in main() 56 close(fd_out); in main() 77 if (write(fd_out, &buf_in, 8) < 8) { in main() 113 if (write(fd_out, &buf_out, zstream.total_out - last_out) < in main() 134 if ( lseek(fd_out, 4, SEEK_SET) < 0 in main() 135 || write(fd_out, &buf_in, 4) < 4) { in main() 143 close(fd_out); in main()
|