/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.27/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/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 */
|
/external/expat/xmlwf/ |
readfilemap.c | 65 #ifndef O_BINARY 67 # define O_BINARY _O_BINARY 69 # define O_BINARY 0 87 fd = topen(name, O_RDONLY|O_BINARY);
|
/external/python/cpython3/PC/ |
generrmap.c | 12 _setmode(fileno(stdout), O_BINARY);
|
/toolchain/binutils/binutils-2.27/libiberty/ |
mkstemps.c | 54 #ifndef O_BINARY 55 # define O_BINARY 0 128 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/libgsm/inc/ |
toast.h | 49 #ifdef O_BINARY 50 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL|O_BINARY
|
/external/lzma/CPP/Common/ |
C_FileIO.cpp | 18 #ifdef O_BINARY
19 flags |= O_BINARY;
|
/external/python/cpython2/Lib/plat-os2emx/ |
_emx_link.py | 48 s = os.open(source, os.O_RDONLY | os.O_BINARY) 54 t = os.open(target, os.O_WRONLY | os.O_BINARY | os.O_CREAT | os.O_EXCL)
|
/system/core/base/include/android-base/ |
file.h | 24 #if !defined(_WIN32) && !defined(O_BINARY) 25 #define O_BINARY 0
|
/toolchain/binutils/binutils-2.27/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);
|
/external/pdfium/core/fxcrt/ |
cfx_fileaccess_posix.cpp | 13 #ifndef O_BINARY 14 #define O_BINARY 0 15 #endif // O_BINARY 28 nFlags = O_BINARY | O_LARGEFILE;
|
/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);
|
/external/python/cpython2/Launcher/ |
launcher_main.cpp | 62 _setmode(fileno(stdin), O_BINARY); 63 _setmode(fileno(stdout), O_BINARY);
|
/frameworks/compile/libbcc/lib/ |
FileBase.cpp | 51 #ifdef O_BINARY 53 mOpenFlags |= O_BINARY;
|
/toolchain/binutils/binutils-2.27/binutils/ |
rename.c | 49 fromfd = open (from, O_RDONLY | O_BINARY); 53 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777);
|