Searched refs:SET_BINARY_MODE (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/sys/contrib/zstd/programs/
H A Dplatform.h127 # define SET_BINARY_MODE(file) { int const unused=_setmode(_fileno(file), _O_BINARY); (void)unused; } macro
130 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) macro
134 # define SET_BINARY_MODE(file) macro
H A Ddatagen.c16 #include "platform.h" /* SET_BINARY_MODE */
164 SET_BINARY_MODE(stdout);
H A Dfileio.c27 #include "platform.h" /* Large Files support, SET_BINARY_MODE */
296 SET_BINARY_MODE(stdin);
321 SET_BINARY_MODE(stdout);
/freebsd-12-stable/contrib/bzip2/
H A Dbzip2.c89 # define SET_BINARY_MODE(fd) /**/ macro
104 # undef SET_BINARY_MODE macro
105 # define SET_BINARY_MODE(fd) \ macro
116 # undef SET_BINARY_MODE macro
117 # define SET_BINARY_MODE(fd) \ macro
146 # define SET_BINARY_MODE(fd) \ macro
338 SET_BINARY_MODE(stream);
339 SET_BINARY_MODE(zStream);
446 SET_BINARY_MODE(stream);
447 SET_BINARY_MODE(zStrea
[all...]
H A Dbzlib.c1386 # define SET_BINARY_MODE(file) setmode(fileno(file),O_BINARY) macro
1388 # define SET_BINARY_MODE(file) macro
1431 SET_BINARY_MODE(fp);
/freebsd-12-stable/sys/contrib/zlib/test/
H A Dminigzip.c38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) macro
40 # define SET_BINARY_MODE(file) macro
605 SET_BINARY_MODE(stdin);
606 SET_BINARY_MODE(stdout);
618 SET_BINARY_MODE(stdout);
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/examples/
H A Dminigzip.c41 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) macro
43 # define SET_BINARY_MODE(file) macro
608 SET_BINARY_MODE(stdin);
609 SET_BINARY_MODE(stdout);
621 SET_BINARY_MODE(stdout);
/freebsd-12-stable/sys/contrib/zstd/contrib/pzstd/
H A DPzstd.cpp27 # define SET_BINARY_MODE(file) { if (_setmode(_fileno(file), _O_BINARY) == -1) perror("Cannot set _O_BINARY"); } macro
30 # define SET_BINARY_MODE(file) macro
119 SET_BINARY_MODE(stdin);
141 SET_BINARY_MODE(stdout);

Completed in 136 milliseconds