| /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox/ |
| H A D | CVE-2021-40426.patch | 24 + bytes_read = strlen(buf); 25 + header_size -= bytes_read >= header_size ? header_size : bytes_read + 1; 34 + bytes_read = strlen(buf); 35 + header_size -= bytes_read >= header_size ? header_size : bytes_read + 1;
|
| /openbmc/qemu/net/ |
| H A D | eth.c | 383 size_t bytes_read; in _eth_get_rss_ex_dst_addr() local 389 bytes_read = iov_to_buf(pkt, pkt_frags, ext_hdr_offset, in _eth_get_rss_ex_dst_addr() 391 assert(bytes_read == sizeof(rt_hdr)); in _eth_get_rss_ex_dst_addr() 395 bytes_read = iov_to_buf(pkt, pkt_frags, ext_hdr_offset + sizeof(rt_hdr), in _eth_get_rss_ex_dst_addr() 397 assert(bytes_read == sizeof(*dst_addr)); in _eth_get_rss_ex_dst_addr() 414 size_t bytes_read, optlen; in _eth_get_rss_ex_src_addr() local 420 bytes_read = iov_to_buf(pkt, pkt_frags, opt_offset, in _eth_get_rss_ex_src_addr() 423 if (bytes_read != sizeof(opthdr)) { in _eth_get_rss_ex_src_addr() 439 bytes_read = iov_to_buf(pkt, pkt_frags, in _eth_get_rss_ex_src_addr() 443 return bytes_read == sizeof(*src_addr); in _eth_get_rss_ex_src_addr() [all …]
|
| /openbmc/u-boot/cmd/ |
| H A D | avb.c | 47 size_t bytes, bytes_read = 0; in do_avb_read_part() local 64 buffer, &bytes_read) == in do_avb_read_part() 66 printf("Read %zu bytes\n", bytes_read); in do_avb_read_part() 80 size_t bytes, bytes_read = 0; in do_avb_read_part_hex() local 103 &bytes_read) == AVB_IO_RESULT_OK) { in do_avb_read_part_hex() 104 printf("Requested %zu, read %zu bytes\n", bytes, bytes_read); in do_avb_read_part_hex() 106 for (int i = 0; i < bytes_read; i++) in do_avb_read_part_hex()
|
| /openbmc/qemu/hw/net/ |
| H A D | net_tx_pkt.c | 165 size_t bytes_read; in net_tx_pkt_parse_headers() local 174 bytes_read = iov_to_buf(pkt->raw, pkt->raw_frags, 0, l2_hdr->iov_base, in net_tx_pkt_parse_headers() 176 if (bytes_read < sizeof(struct eth_header)) { in net_tx_pkt_parse_headers() 191 if (bytes_read < l2_hdr->iov_len) { in net_tx_pkt_parse_headers() 206 bytes_read = iov_to_buf(pkt->raw, pkt->raw_frags, l2_hdr->iov_len, in net_tx_pkt_parse_headers() 209 if (bytes_read < sizeof(struct ip_header)) { in net_tx_pkt_parse_headers() 225 bytes_read = iov_to_buf(pkt->raw, pkt->raw_frags, in net_tx_pkt_parse_headers() 229 if (bytes_read < l3_hdr->iov_len - sizeof(struct ip_header)) { in net_tx_pkt_parse_headers() 255 bytes_read = iov_to_buf(pkt->raw, pkt->raw_frags, l2_hdr->iov_len, in net_tx_pkt_parse_headers() 258 if (bytes_read < full_ip6hdr_len) { in net_tx_pkt_parse_headers() [all …]
|
| /openbmc/u-boot/fs/jffs2/ |
| H A D | jffs2_1pass.c | 179 u32 bytes_read = 0; in read_nand_cached() local 187 while (bytes_read < size) { in read_nand_cached() 188 if ((off + bytes_read < nand_cache_off) || in read_nand_cached() 189 (off + bytes_read >= nand_cache_off+NAND_CACHE_SIZE)) { in read_nand_cached() 190 nand_cache_off = (off + bytes_read) & NAND_PAGE_MASK; in read_nand_cached() 211 cpy_bytes = nand_cache_off + NAND_CACHE_SIZE - (off + bytes_read); in read_nand_cached() 212 if (cpy_bytes > size - bytes_read) in read_nand_cached() 213 cpy_bytes = size - bytes_read; in read_nand_cached() 214 memcpy(buf + bytes_read, in read_nand_cached() 215 nand_cache + off + bytes_read - nand_cache_off, in read_nand_cached() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/ |
| H A D | CVE-2021-4217.patch | 37 + unsigned bytes_read = readbuf(__G__ (char *)G.extra_field, length); 38 + if (bytes_read == 0) 40 + if (bytes_read != length)
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | sdhci-cmd.c | 93 ssize_t bytes_read = read_fifo(qts, base_addr + SDHC_BDATA, msg, count); in sdhci_read_cmd() local 99 return bytes_read; in sdhci_read_cmd()
|
| /openbmc/libcper/ |
| H A D | cper-parse.c | 191 int bytes_read = fread(cper_buf, 1, header.RecordLength, cper_file); in cper_to_ir() local 192 if (bytes_read < 0) { in cper_to_ir() 193 cper_print_log("File read failed with code %u\n", bytes_read); in cper_to_ir() 197 if ((UINT32)bytes_read != header.RecordLength) { in cper_to_ir() 206 json_object *ir = cper_buf_to_ir(cper_buf, bytes_read); in cper_to_ir()
|
| /openbmc/u-boot/drivers/i2c/ |
| H A D | kona_i2c.c | 306 unsigned int bytes_read = 0; in bcm_kona_i2c_read_fifo() local 311 while (bytes_read < msg->len) { in bcm_kona_i2c_read_fifo() 312 if (msg->len - bytes_read <= MAX_RX_FIFO_SIZE) { in bcm_kona_i2c_read_fifo() 314 bytes_to_read = msg->len - bytes_read; in bcm_kona_i2c_read_fifo() 322 bytes_read += bytes_to_read; in bcm_kona_i2c_read_fifo()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge/ |
| H A D | CVE-2024-25081_CVE-2024-25082.patch | 130 + gssize bytes_read; 168 + while ((bytes_read = read(stdout_pipe, buffer, sizeof(buffer))) > 0) { 169 + g_byte_array_append(binary_data, (guint8 *)buffer, bytes_read);
|
| /openbmc/u-boot/drivers/usb/emul/ |
| H A D | sandbox_flash.c | 336 ulong bytes_read; in sandbox_flash_bulk() local 338 bytes_read = os_read(priv->fd, buff, len); in sandbox_flash_bulk() 339 if (bytes_read != len) in sandbox_flash_bulk()
|
| /openbmc/qemu/qga/ |
| H A D | commands.c | 349 gsize bytes_read; in guest_exec_output_watch() local 367 &bytes_read, NULL); in guest_exec_output_watch() 381 p->size - p->length, &bytes_read, NULL); in guest_exec_output_watch() 386 p->length += bytes_read; in guest_exec_output_watch()
|
| /openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/ |
| H A D | 0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch | 284 fprintf(stderr, "size = %ld\n" , (long) bytes_read); 289 bytes_read = read(fd, read_buffer, w->size); 290 if (bytes_read != w->size) { 294 fprintf(stderr, "bytes_read = %ld\n" , (long) bytes_read); 302 fprintf(stderr, "size = %ld\n" , (long) bytes_read);
|
| /openbmc/qemu/backends/ |
| H A D | dbus-vmstate.c | 223 gsize bytes_read, avail; in dbus_vmstate_post_load() local 236 &bytes_read, NULL, &err)) { in dbus_vmstate_post_load() 239 if (bytes_read != len) { in dbus_vmstate_post_load()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/bubblewrap/bubblewrap/ |
| H A D | 0001-Use-stdbool.h-for-booleans.patch | 604 ssize_t bytes_read; 609 bytes_read = read (sfd, buffer, BUFSIZE); 610 if (bytes_read == -1)
|
| /openbmc/openbmc-test-automation/ipmi/ |
| H A D | test_ipmi_fru_device.robot | 66 ${bytes_read}= Set Variable ${resp.split()[0]} 72 Should Be Equal ${bytes_inventory} ${bytes_read}
|
| /openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
| H A D | 0003-wayland-Add-Wayland-example.patch | 748 + int bytes_read, image_sz = IMAGE_SIZE*IMAGE_SIZE*3; 757 + bytes_read=fread(state->tex_buf1, 1, image_sz, tex_file1); 758 + assert(bytes_read == image_sz); // some problem with file? 765 + bytes_read=fread(state->tex_buf2, 1, image_sz, tex_file2); 766 + assert(bytes_read == image_sz); // some problem with file? 773 + bytes_read=fread(state->tex_buf3, 1, image_sz, tex_file3); 774 + assert(bytes_read == image_sz); // some problem with file?
|