/openbmc/qemu/tcg/ |
H A D | perf.c | 233 fwrite(&header, sizeof(header), 1, jitdump); in perf_enable_jitdump() 266 fwrite(&rec, sizeof(rec), 1, jitdump); in write_jr_code_debug_info() 275 fwrite(&ent, sizeof(ent), 1, jitdump); in write_jr_code_debug_info() 276 fwrite(q[insn].file, strlen(q[insn].file) + 1, 1, jitdump); in write_jr_code_debug_info() 284 fwrite(&ent, sizeof(ent), 1, jitdump); in write_jr_code_debug_info() 285 fwrite("", 1, 1, jitdump); in write_jr_code_debug_info() 307 fwrite(&rec, sizeof(rec), 1, jitdump); in write_jr_code_load() 308 fwrite(symbol, symbol_size, 1, jitdump); in write_jr_code_load() 309 fwrite(start, host_size, 1, jitdump); in write_jr_code_load()
|
/openbmc/qemu/trace/ |
H A D | simple.c | 182 unused = fwrite(&type, sizeof(type), 1, trace_fp); in writeout_thread() 183 unused = fwrite(&dropped.rec, dropped.rec.length, 1, trace_fp); in writeout_thread() 187 unused = fwrite(&type, sizeof(type), 1, trace_fp); in writeout_thread() 188 unused = fwrite(recordptr, recordptr->length, 1, trace_fp); in writeout_thread() 292 if (fwrite(&type, sizeof(type), 1, trace_fp) != 1 || in st_write_event_mapping() 293 fwrite(&id, sizeof(id), 1, trace_fp) != 1 || in st_write_event_mapping() 294 fwrite(&len, sizeof(len), 1, trace_fp) != 1 || in st_write_event_mapping() 295 fwrite(name, len, 1, trace_fp) != 1) { in st_write_event_mapping() 336 if (fwrite(&header, sizeof header, 1, trace_fp) != 1 || in st_set_trace_file_enabled()
|
/openbmc/libcper/generator/ |
H A D | cper-generate.c | 79 fwrite(header, sizeof(EFI_COMMON_ERROR_RECORD_HEADER), 1, out); in generate_cper_record() 83 fwrite(section_descriptors[i], in generate_cper_record() 89 fwrite(sections[i], section_lengths[i], 1, out); in generate_cper_record() 110 fwrite(section_descriptor, sizeof(EFI_ERROR_SECTION_DESCRIPTOR), 1, in generate_single_section_record() 112 fwrite(section, section_len, 1, out); in generate_single_section_record()
|
/openbmc/qemu/hw/usb/ |
H A D | pcap.c | 116 fwrite(&header, sizeof(header), 1, fp); in do_usb_pcap_header() 117 fwrite(packet, sizeof(*packet), 1, fp); in do_usb_pcap_header() 159 fwrite(dev->data_buf, data_len, 1, fp); in do_usb_pcap_ctrl() 213 fwrite(buf, data_len, 1, fp); in do_usb_pcap_data() 230 fwrite(&header, sizeof(header), 1, fp); in usb_pcap_init()
|
/openbmc/qemu/audio/ |
H A D | wavcapture.c | 50 if (fwrite (rlen, 4, 1, wav->f) != 1) { in wav_destroy() 60 if (fwrite (dlen, 1, 4, wav->f) != 4) { in wav_destroy() 78 if (fwrite (buf, size, 1, wav->f) != 1) { in wav_capture() 168 if (fwrite (hdr, sizeof (hdr), 1, wav->f) != 1) { in wav_start_capture()
|
H A D | wavaudio.c | 48 if (bytes && fwrite(buf, bytes, 1, wav->f) != 1) { in wav_write_out() 126 if (fwrite (hdr, sizeof (hdr), 1, wav->f) != 1) { in wav_init_out() 156 if (fwrite (rlen, 4, 1, wav->f) != 1) { in wav_fini_out() 166 if (fwrite (dlen, 4, 1, wav->f) != 1) { in wav_fini_out()
|
/openbmc/libcper/sections/ |
H A D | cper-section-arm.c | 812 fwrite(§ion_cper, sizeof(section_cper), 1, out); in ir_section_arm_to_cper() 844 fwrite(decoded, decoded_len, 1, out); in ir_section_arm_to_cper() 945 fwrite(&error_info_cper, sizeof(EFI_ARM_ERROR_INFORMATION_ENTRY), 1, 1107 fwrite(&info_header, sizeof(EFI_ARM_CONTEXT_INFORMATION_HEADER), 1, in ir_arm_context_info_to_cper() 1158 fwrite(®_array, sizeof(reg_array), 1, out); 1173 fwrite(®_array, sizeof(reg_array), 1, out); 1188 fwrite(®_array, sizeof(reg_array), 1, out); 1203 fwrite(®_array, sizeof(reg_array), 1, out); 1217 fwrite(®_array, sizeof(reg_array), 1, out); 1232 fwrite( in ir_arm_aarch64_el1_to_cper() [all...] |
H A D | cper-section-ccix-per.c | 113 fwrite(section_cper, sizeof(EFI_CCIX_PER_LOG_DATA), 1, out); in ir_section_ccix_per_to_cper() 128 fwrite(decoded, decoded_len, 1, out); in ir_section_ccix_per_to_cper()
|
H A D | cper-section-cxl-protocol.c | 336 fwrite(section_cper, sizeof(EFI_CXL_PROTOCOL_ERROR_DATA), 1, out); in ir_section_cxl_protocol_to_cper() 349 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper() 365 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper()
|
H A D | cper-section-cxl-component.c | 157 fwrite(section_cper, sizeof(EFI_CXL_COMPONENT_EVENT_HEADER), 1, out); in ir_section_cxl_component_to_cper() 174 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_component_to_cper()
|
H A D | cper-section-pci-dev.c | 172 fwrite(section_cper, sizeof(EFI_PCI_PCIX_DEVICE_ERROR_DATA), 1, out); in ir_section_pci_dev_to_cper() 192 fwrite(pair, sizeof(UINT64), 2, out); in ir_section_pci_dev_to_cper()
|
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/ |
H A D | 0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch | 85 - if (! fwrite (buf, sizeof *buf, chars_read, pipefp)) 87 + if (! fwrite (buf, sizeof *buf, chars_read, tmpfp)) 93 - if (! fwrite (buf, sizeof *buf, chars_read, pipefp)) 95 + if (! fwrite (buf, sizeof *buf, chars_read, tmpfp)) 106 - if (fwrite ("w\nq\n", sizeof (char), (size_t) 4, pipefp) == 0 108 + if (fwrite ("w\nq\n", sizeof (char), (size_t) 4, tmpfp) == 0
|
/openbmc/linux/arch/x86/boot/tools/ |
H A D | build.c | 226 if (fwrite(buf, 1, i, dest) != i) in main() 231 if (fwrite(kernel, 1, sz, dest) != sz) in main() 236 if (fwrite(buf, 1, 4, dest) != 4) in main()
|
/openbmc/u-boot/tools/ |
H A D | sunxi-spl-image-builder.c | 138 fwrite(buffer, info->page_size + info->oob_size, 1, dst); in write_page() 174 fwrite(buffer + offs, cnt, 1, dst); in write_page() 222 fwrite(buffer, info->ecc_step_size, 1, dst); in write_page() 224 fwrite(ecc - 4, eccbytes + 4, 1, dst); in write_page() 230 fwrite(buffer, 2, 1, dst); in write_page()
|
/openbmc/libcper/ |
H A D | ir-parse.c | 35 fwrite(header, sizeof(EFI_COMMON_ERROR_RECORD_HEADER), 1, out); in ir_to_cper() 53 fwrite(descriptors[i], sizeof(EFI_ERROR_SECTION_DESCRIPTOR), 1, in ir_to_cper() 200 fwrite(decoded, decoded_len, 1, out); in ir_section_to_cper() 282 fwrite(§ion_descriptor, sizeof(section_descriptor), 1, out); in ir_single_section_to_cper()
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_load_rom.c | 51 if (fwrite(&val, 1, 1, fp) != 1) { in pci_assign_dev_load_option_rom() 86 if (!fwrite(&val, 1, 1, fp)) { in pci_assign_dev_load_option_rom()
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | util.c | 196 fwrite(buf, len, 1, stderr); in os_info() 208 fwrite(buf, len, 1, stderr); in os_warn()
|
/openbmc/pam-ipmi/src/pam_ipmisave/ |
H A D | pam_ipmisave.c | 552 if (fwrite(&pwmp, 1, sizeof(pwmp), pwfile) != sizeof(pwmp)) { in update_pass_special_file() 556 if (fwrite(hash, 1, pwmp.hashsize, pwfile) != pwmp.hashsize) { in update_pass_special_file() 560 if (fwrite(iv, 1, pwmp.ivsize, pwfile) != pwmp.ivsize) { in update_pass_special_file() 564 if (fwrite(pwctext, 1, pwctextlen, pwfile) != pwctextlen) { in update_pass_special_file() 568 if (fwrite(mac, 1, maclen, pwfile) != maclen) { in update_pass_special_file()
|
/openbmc/phosphor-host-ipmid/user_channel/ |
H A D | passwd_mgr.cpp | 544 if (fwrite(&metaData, 1, sizeof(metaData), (temp)()) != sizeof(metaData)) in updatePasswdSpecialFile() 550 if (fwrite(&hash[0], 1, hashLen, (temp)()) != hashLen) in updatePasswdSpecialFile() 556 if (fwrite(&iv[0], 1, ivLen, (temp)()) != ivLen) in updatePasswdSpecialFile() 562 if (fwrite(&outBytes[0], 1, outBytesLen, (temp)()) != outBytesLen) in updatePasswdSpecialFile() 568 if (fwrite(&mac[0], 1, macLen, (temp)()) != macLen) in updatePasswdSpecialFile()
|
/openbmc/qemu/contrib/plugins/ |
H A D | drcov.c | 59 fwrite(bytes, sizeof(char), sizeof(data), fp); in printf_char_array32() 65 fwrite(bytes, sizeof(char), sizeof(data), fp); in printf_char_array16()
|
/openbmc/linux/tools/perf/util/ |
H A D | color.c | 105 return fwrite(buf, count, 1, fp) != 1; in color_fwrite_lines() 111 fwrite(buf, p ? (size_t)(p - buf) : count, 1, fp) != 1 || in color_fwrite_lines()
|
/openbmc/linux/tools/perf/ |
H A D | perf-read-vdso.c | 24 written = fwrite(start, 1, size, stdout); in main()
|
/openbmc/linux/tools/testing/selftests/arm64/pauth/ |
H A D | exec_target.c | 31 fwrite(&signed_vals, sizeof(struct signatures), 1, stdout); in main()
|
/openbmc/qemu/linux-user/ |
H A D | semihost.c | 49 return fwrite(buf, 1, len, stderr); in qemu_semihosting_console_write()
|
/openbmc/linux/samples/vfs/ |
H A D | test-statx.c | 66 fwrite(buffer, 1, len, stdout); in print_time() 73 fwrite(buffer, 1, len, stdout); in print_time()
|