/openbmc/linux/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixmap.c | 20 #ifndef O_BINARY 21 #define O_BINARY 0 macro 70 fd = open(SYSTEM_MEMORY, O_RDONLY | O_BINARY); in acpi_os_map_memory()
|
/openbmc/qemu/tests/unit/ |
H A D | test-io-channel-file.c | 56 O_RDONLY | O_BINARY, 0, in test_io_channel_file_helper() 78 test_io_channel_file_helper(O_WRONLY | O_CREAT | O_TRUNC | O_BINARY); in test_io_channel_file() 83 test_io_channel_file_helper(O_RDWR | O_CREAT | O_TRUNC | O_BINARY); in test_io_channel_file_rdwr()
|
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/ |
H A D | CVE-2019-13636.patch | 77 + 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 D | 0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch | 61 - 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 D | 0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch | 54 + tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch | 81 - in = open(argv[1], O_RDONLY | O_BINARY); 82 + in = open(arg_in, O_RDONLY | O_BINARY); 95 - out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 96 + out = open(arg_out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
|
/openbmc/qemu/chardev/ |
H A D | char-pipe.c | 134 fd_in = RETRY_ON_EINTR(qemu_open_old(filename_in, O_RDWR | O_BINARY)); in qemu_chr_open_pipe() 135 fd_out = RETRY_ON_EINTR(qemu_open_old(filename_out, O_RDWR | O_BINARY)); in qemu_chr_open_pipe() 146 qemu_open_old(filename, O_RDWR | O_BINARY) in qemu_chr_open_pipe()
|
H A D | char-file.c | 74 flags = O_WRONLY | O_CREAT | O_BINARY; in qmp_chardev_open_file()
|
/openbmc/u-boot/include/ |
H A D | compiler.h | 40 #ifndef O_BINARY /* should be define'd on __WIN32__ */ 41 #define O_BINARY 0 macro
|
/openbmc/u-boot/tools/ |
H A D | imagetool.c | 107 dfd = open(file_name, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, in imagetool_save_subimage() 132 fd = open(fname, O_RDONLY | O_BINARY); in imagetool_get_filesize()
|
H A D | imx8mimage.c | 236 dfd = open(datafile, O_RDONLY | O_BINARY); in copy_file() 413 hdmi_fd = open(signed_hdmi, O_RDONLY | O_BINARY); in build_image() 437 ap_fd = open(ap_img, O_RDONLY | O_BINARY); in build_image() 493 sld_fd = open(sld_img, O_RDONLY | O_BINARY); in build_image()
|
H A D | mkimage.c | 367 ifd = open (params.imagefile, O_RDONLY|O_BINARY); in main() 370 O_RDWR|O_CREAT|O_TRUNC|O_BINARY, 0666); in main() 422 dfd = open(params.datafile, O_RDONLY | O_BINARY); in main() 660 if ((dfd = open(datafile, O_RDONLY|O_BINARY)) < 0) { in copy_file()
|
H A D | ubsha1.c | 33 ifd = open (imagefile, O_RDWR|O_BINARY); in main()
|
H A D | fit_common.c | 50 fd = open(fname, O_RDWR | O_BINARY); in mmap_fdt()
|
H A D | aisimage.c | 185 dfd = open(datafile, O_RDONLY|O_BINARY); in ais_alloc_buffer() 227 dfd = open(datafile, O_RDONLY|O_BINARY); in ais_copy_image()
|
H A D | imx8image.c | 279 int tmp_fd = open(filename, O_RDONLY | O_BINARY); in check_file() 313 dfd = open(datafile, O_RDONLY | O_BINARY); in copy_file_aligned() 373 dfd = open(datafile, O_RDONLY | O_BINARY); in copy_file() 445 dfd = open(filename, O_RDONLY | O_BINARY); in read_dcd_offset()
|
H A D | dumpimage.c | 141 ifd = open(params.imagefile, O_RDONLY|O_BINARY); in main()
|
H A D | fit_image.c | 122 fd = open(fname, O_RDWR | O_BINARY); in fdt_property_file() 377 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0666); in fit_build() 595 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0666); in fit_import_data()
|
/openbmc/qemu/qga/ |
H A D | commands-posix.c | 365 #ifndef O_BINARY 366 #define O_BINARY 0 macro 375 { (ccpc[]){ "rb", NULL }, O_RDONLY | O_BINARY }, 377 { (ccpc[]){ "wb", NULL }, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY }, 379 { (ccpc[]){ "ab", NULL }, O_WRONLY | O_CREAT | O_APPEND | O_BINARY }, 381 { (ccpc[]){ "rb+", "r+b", NULL }, O_RDWR | O_BINARY }, 383 { (ccpc[]){ "wb+", "w+b", NULL }, O_RDWR | O_CREAT | O_TRUNC | O_BINARY }, 385 { (ccpc[]){ "ab+", "a+b", NULL }, O_RDWR | O_CREAT | O_APPEND | O_BINARY }
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/extras/ |
H A D | 0001-ext4_utils-remove-selinux-extensions.patch | 26 #define O_BINARY 0
|
/openbmc/qemu/include/qemu/ |
H A D | osdep.h | 307 #ifndef O_BINARY 308 #define O_BINARY 0 macro
|
/openbmc/qemu/hw/core/ |
H A D | loader.c | 76 fd = open(filename, O_RDONLY | O_BINARY); in get_image_size() 90 fd = open(filename, O_RDONLY | O_BINARY); in load_image_size() 235 fd = open(filename, O_RDONLY | O_BINARY); in load_aout() 365 fd = open(filename, O_RDONLY | O_BINARY); in load_elf_hdr() 464 fd = open(filename, O_RDONLY | O_BINARY); in load_elf_ram_sym() 642 fd = open(filename, O_RDONLY | O_BINARY); in load_uboot_image()
|
/openbmc/qemu/semihosting/ |
H A D | arm-compat-semi.c | 84 #ifndef O_BINARY 85 #define O_BINARY 0 macro
|
/openbmc/qemu/net/ |
H A D | dump.c | 112 fd = open(filename, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); in net_dump_state_init()
|
/openbmc/qemu/ui/ |
H A D | ui-qmp-cmds.c | 372 fd = qemu_open_old(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); in qmp_screendump()
|