/external/curl/src/ |
tool_binmode.c | 40 #ifdef O_BINARY 42 _setmode(stream, O_BINARY); 44 (void)setmode(fileno(stream), O_BINARY);
|
/toolchain/binutils/binutils-2.25/include/ |
binary-io.h | 22 define O_BINARY in <fcntl.h>, and the MSVC7 <stdio.h> doesn't 28 #if !defined O_BINARY && defined _O_BINARY 30 # define O_BINARY _O_BINARY 34 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ 35 # undef O_BINARY 38 #if O_BINARY 51 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0) 53 # define SET_BINARY(fd) setmode (fd, O_BINARY) 57 # undef O_BINARY 58 # define O_BINARY [all...] |
/external/bison/lib/ |
binary-io.h | 21 O_BINARY is guaranteed by the gnulib <fcntl.h>. */ 35 (must be O_BINARY or O_TEXT) and returns the previous mode. */ 36 #if O_BINARY 54 return O_BINARY; 65 # define SET_BINARY(fd) ((void) (!isatty (fd) ? (set_binary_mode (fd, O_BINARY), 0) : 0)) 67 # define SET_BINARY(fd) ((void) set_binary_mode (fd, O_BINARY))
|
pipe2.c | 70 if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0) 138 # if O_BINARY 139 if (flags & O_BINARY) 141 setmode (fd[1], O_BINARY); 142 setmode (fd[0], O_BINARY);
|
fcntl.in.h | 290 O_BINARY is usually declared in fcntl.h */ 291 #if !defined O_BINARY && defined _O_BINARY 293 # define O_BINARY _O_BINARY 298 /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */ 299 # undef O_BINARY 303 #ifndef O_BINARY 304 # define O_BINARY 0
|
/external/nanopb-c/tests/common/ |
test_helpers.h | 9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/system/core/libsparse/ |
img2simg.c | 32 #ifndef O_BINARY 33 #define O_BINARY 0 72 in = open(argv[1], O_RDONLY | O_BINARY); 82 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
|
simg2img.c | 29 #ifndef O_BINARY 30 #define O_BINARY 0 50 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 60 in = open(argv[i], O_RDONLY | O_BINARY);
|
simg2simg.c | 33 #ifndef O_BINARY 34 #define O_BINARY 0 61 in = open(argv[1], O_RDONLY | O_BINARY); 98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
|
append2simg.c | 32 #ifndef O_BINARY 33 #define O_BINARY 0 79 output = open(output_path, O_RDWR | O_BINARY); 91 input = open(input_path, O_RDONLY | O_BINARY); 114 tmp_fd = open(tmp_path, O_WRONLY | O_CREAT | O_BINARY, 0664);
|
/external/libcups/cups/ |
file-private.h | 53 * Some operating systems don't define O_BINARY, which is used by Microsoft 57 # ifndef O_BINARY 58 # define O_BINARY 0 59 # endif /* !O_BINARY */
|
/toolchain/binutils/binutils-2.25/libiberty/ |
mkstemps.c | 52 #ifndef O_BINARY 53 # define O_BINARY 0 126 fd = open (pattern, O_BINARY|O_RDWR|O_CREAT|O_EXCL, 0600);
|
/dalvik/libdex/ |
CmdUtils.cpp | 29 #ifndef O_BINARY 30 #define O_BINARY 0 57 fd = open(outFileName, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600); 176 fd = open(fileName, O_RDONLY | O_BINARY);
|
/external/lzma/CPP/Common/ |
C_FileIO.cpp | 18 #ifdef O_BINARY
19 flags |= O_BINARY;
|
/system/core/base/include/android-base/ |
file.h | 23 #if !defined(_WIN32) && !defined(O_BINARY) 24 #define O_BINARY 0
|
/system/extras/f2fs_utils/ |
make_f2fs_main.c | 32 #ifndef _WIN32 /* O_BINARY is windows-specific flag */ 33 #define O_BINARY 0 76 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
|
/toolchain/binutils/binutils-2.25/ld/ |
sysdep.h | 96 #ifndef O_BINARY 97 #define O_BINARY 0
|
/external/protobuf/src/google/protobuf/testing/ |
googletest.cc | 59 #ifndef O_BINARY 61 #define O_BINARY _O_BINARY 63 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it. 171 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); 186 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777);
|
/external/curl/tests/libtest/ |
first.c | 137 #ifdef O_BINARY 139 _setmode(stdout, O_BINARY); 141 setmode(fileno(stdout), O_BINARY);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
fcntl.h | 44 #define O_BINARY _O_BINARY
|
/external/libjpeg-turbo/ |
cdjpeg.c | 117 setmode(fileno(stdin), O_BINARY); 135 setmode(fileno(stdout), O_BINARY);
|
/frameworks/compile/libbcc/lib/ |
FileBase.cpp | 51 #ifdef O_BINARY 53 mOpenFlags |= O_BINARY;
|
/toolchain/binutils/binutils-2.25/binutils/ |
rename.c | 49 fromfd = open (from, O_RDONLY | O_BINARY); 53 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777);
|
/external/openssh/openbsd-compat/ |
bsd-cygwin_util.c | 51 return (open(filename, flags | O_BINARY, mode));
|
/external/bison/darwin-lib/ |
fcntl.h | 602 O_BINARY is usually declared in fcntl.h */ 603 #if !defined O_BINARY && defined _O_BINARY 605 # define O_BINARY _O_BINARY 610 /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */ 611 # undef O_BINARY 615 #ifndef O_BINARY 616 # define O_BINARY 0
|