Searched defs:O_BINARY (Results 1 - 8 of 8) sorted by relevance

/system/core/libsparse/
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 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 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);
H A Doutput_file.c37 #define O_BINARY 0 macro
760 int file_fd = open(file, O_RDONLY | O_BINARY);
/system/extras/ext4_utils/
H A Dmake_ext4fs_main.c43 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */
44 #define O_BINARY 0 macro
194 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
H A Dext2simg.c38 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */
39 #define O_BINARY 0 macro
240 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
H A Dmake_ext4fs.c66 #define O_BINARY 0 macro
389 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
/system/core/fastboot/
H A Dfastboot.c54 #ifndef O_BINARY
55 #define O_BINARY 0 macro
206 fd = open(fn, O_RDONLY | O_BINARY);
660 fd = open(fname, O_RDONLY | O_BINARY);

Completed in 90 milliseconds