Home
last modified time | relevance | path

Searched refs:O_BINARY (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/tools/power/acpi/os_specific/service_layers/
H A Dosunixmap.c20 #ifndef O_BINARY
21 #define O_BINARY 0 macro
70 fd = open(SYSTEM_MEMORY, O_RDONLY | O_BINARY); in acpi_os_map_memory()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/
H A DCVE-2019-13636.patch77 + int from_flags = O_RDONLY | O_BINARY;
81 - if ((fromfd = safe_open (from, O_RDONLY | O_BINARY, 0)) < 0)
94 tofd = create_file (to, O_WRONLY | O_BINARY | to_flags, mode,
101 + int to_flags = O_WRONLY | O_APPEND | O_BINARY;
104 - if ((tofd = safe_open (to, O_WRONLY | O_BINARY | O_APPEND, 0)) < 0)
H A D0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch61 - tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
62 + tmpfd = make_tempfile (&TMPEDNAME, 'e', NULL, O_RDWR | O_BINARY, 0);
H A D0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch54 + tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
/OK3568_Linux_fs/buildroot/package/patch/
H A D0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch75 + int from_flags = O_RDONLY | O_BINARY;
79 - if ((fromfd = safe_open (from, O_RDONLY | O_BINARY, 0)) < 0)
92 tofd = create_file (to, O_WRONLY | O_BINARY | to_flags, mode,
99 + int to_flags = O_WRONLY | O_APPEND | O_BINARY;
102 - if ((tofd = safe_open (to, O_WRONLY | O_BINARY | O_APPEND, 0)) < 0)
H A D0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch55 + tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
/OK3568_Linux_fs/u-boot/tools/
H A Dimagetool.c76 dfd = open(file_name, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, in imagetool_save_subimage()
101 fd = open(fname, O_RDONLY | O_BINARY); in imagetool_get_filesize()
H A Dmkimage.c375 ifd = open (params.imagefile, O_RDONLY|O_BINARY); in main()
378 O_RDWR|O_CREAT|O_TRUNC|O_BINARY, 0666); in main()
431 dfd = open(params.datafile, O_RDONLY | O_BINARY); in main()
657 if ((dfd = open(datafile, O_RDONLY|O_BINARY)) < 0) { in copy_file()
H A Dubsha1.c34 ifd = open (imagefile, O_RDWR|O_BINARY); in main()
H A Dfit_common.c48 fd = open(fname, O_RDWR | O_BINARY); in mmap_fdt()
H A Daisimage.c186 dfd = open(datafile, O_RDONLY|O_BINARY); in ais_alloc_buffer()
228 dfd = open(datafile, O_RDONLY|O_BINARY); in ais_copy_image()
H A Dfit_image.c182 fd = open(fname, O_RDWR | O_BINARY); in fdt_property_file()
432 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0666); in fit_build()
649 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0666); in fit_import_data()
H A Ddumpimage.c132 ifd = open(params.imagefile, O_RDONLY|O_BINARY); in main()
H A Drkcommon.c629 dfd = open(file, O_RDONLY | O_BINARY); in copy_file()
H A Dimximage.c558 ifd = open(plugin_file, O_RDONLY|O_BINARY); in copy_plugin_code()
/OK3568_Linux_fs/u-boot/include/
H A Dcompiler.h40 #ifndef O_BINARY /* should be define'd on __WIN32__ */
41 #define O_BINARY 0 macro
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dutil.h48 #define O_BINARY _O_BINARY macro
114 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/extras/
H A D0001-ext4_utils-remove-selinux-extensions.patch26 #define O_BINARY 0
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dsystem.h373 #ifndef O_BINARY
374 # define O_BINARY 0 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dsystem.h373 #ifndef O_BINARY
374 # define O_BINARY 0 macro
/OK3568_Linux_fs/kernel/scripts/gcc-plugins/
H A Dgcc-common.h204 #ifndef O_BINARY
205 #define O_BINARY 0 macro
/OK3568_Linux_fs/buildroot/package/elf2flt/
H A D0003-elf2flt-handle-binutils-2.34.patch64 #define O_BINARY 0
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A Drtmpdump.c41 #define SET_BINMODE(f) setmode(fileno(f), O_BINARY)
/OK3568_Linux_fs/u-boot/lib/bzip2/
H A Dbzlib.c1404 # define SET_BINARY_MODE(file) setmode(fileno(file),O_BINARY)