Searched refs:O_BINARY (Results 1 - 10 of 10) sorted by last modified time

/system/core/fastboot/
H A Dengine.c300 fd = open(filename, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0644);
H A Dfastboot.c53 #ifndef O_BINARY
54 #define O_BINARY 0 macro
497 fd = open(fname, O_RDONLY | O_BINARY);
/system/core/libcutils/
H A Dtztime.c46 ** SunOS 4.1.1 headers lack O_BINARY.
49 #ifdef O_BINARY
50 #define OPEN_MODE (O_RDONLY | O_BINARY)
51 #endif /* defined O_BINARY */
52 #ifndef O_BINARY
54 #endif /* !defined O_BINARY */
/system/core/libsparse/
H A Dimg2simg.c32 #ifndef O_BINARY
33 #define O_BINARY 0 macro
73 in = open(argv[1], O_RDONLY | O_BINARY);
83 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
H A Doutput_file.c37 #define O_BINARY 0 macro
757 int file_fd = open(file, O_RDONLY | O_BINARY);
H A Dsimg2img.c29 #ifndef O_BINARY
30 #define O_BINARY 0 macro
51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
61 in = open(argv[i], O_RDONLY | O_BINARY);
H A Dsimg2simg.c33 #ifndef O_BINARY
34 #define O_BINARY 0 macro
61 in = open(argv[1], O_RDONLY | O_BINARY);
98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
/system/extras/ext4_utils/
H A Dext2simg.c38 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */
39 #define O_BINARY 0 macro
241 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
H A Dmake_ext4fs.c62 #define O_BINARY 0 macro
313 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
H A Dmake_ext4fs_main.c33 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */
34 #define O_BINARY 0 macro
169 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);

Completed in 74 milliseconds