| /openbmc/qemu/crypto/ |
| H A D | der.c | 151 uint8_t byte_count = qcrypto_der_cut_byte(data, dlen); in qcrypto_der_extract_definite_data() local 154 if (!(byte_count & QCRYPTO_DER_SHORT_LEN_MASK)) { in qcrypto_der_extract_definite_data() 155 if (byte_count > *dlen) { in qcrypto_der_extract_definite_data() 156 error_setg(errp, "Invalid content length: %u", byte_count); in qcrypto_der_extract_definite_data() 161 vlen = byte_count; in qcrypto_der_extract_definite_data() 171 byte_count &= ~QCRYPTO_DER_SHORT_LEN_MASK; in qcrypto_der_extract_definite_data() 177 if (byte_count > sizeof(size_t)) { in qcrypto_der_extract_definite_data() 179 byte_count); in qcrypto_der_extract_definite_data() 183 if (byte_count > *dlen) { in qcrypto_der_extract_definite_data() 184 error_setg(errp, "Invalid content length: %u", byte_count); in qcrypto_der_extract_definite_data() [all …]
|
| /openbmc/qemu/hw/sd/ |
| H A D | allwinner-sdhost.c | 393 if (s->byte_count == 0 || s->block_size == 0 || in allwinner_sdhost_dma() 407 while (s->byte_count > 0) { in allwinner_sdhost_dma() 409 is_write, s->byte_count); in allwinner_sdhost_dma() 412 if (bytes_done <= s->byte_count) { in allwinner_sdhost_dma() 413 s->byte_count -= bytes_done; in allwinner_sdhost_dma() 415 s->byte_count = 0; in allwinner_sdhost_dma() 481 res = s->byte_count; in allwinner_sdhost_read() 640 s->byte_count = value; in allwinner_sdhost_write() 779 VMSTATE_UINT32(byte_count, AwSdHostState), 848 s->byte_count = REG_SD_BYCR_RST; in allwinner_sdhost_reset()
|
| /openbmc/openbmc/poky/meta/recipes-multimedia/libsndfile/libsndfile1/ |
| H A D | cve-2022-33065.patch | 341 possible to overflow the int-sized byte_count variable. 372 int byte_count = 0, count = 0 ; 389 - byte_count += header_read (psf, ucptr, sizeof (int)) ; 398 - byte_count += header_read (psf, sixteen_bytes, sizeof (sixteen_bytes)) ; 407 - byte_count += header_read (psf, charptr, sizeof (char)) ; 415 - byte_count += header_read (psf, ucptr, sizeof (short)) ; 424 - byte_count += header_read (psf, sixteen_bytes, 3) ; 433 - byte_count += header_read (psf, ucptr, sizeof (int)) ; 442 - byte_count += header_read (psf, sixteen_bytes, 8) ; 451 - byte_count += header_read (psf, floatptr, sizeof (float)) ; [all …]
|
| /openbmc/google-misc/subprojects/libcr51sign/src/ |
| H A D | libcr51sign.c | 281 uint32_t byte_count, region_count, image_size, hash_offset, digest_size; in validate_payload_regions() local 323 for (i = 0, byte_count = 0; i < region_count; i++) in validate_payload_regions() 336 if (region->region_offset != byte_count || in validate_payload_regions() 337 region->region_size > image_size - byte_count) in validate_payload_regions() 342 byte_count += region->region_size; in validate_payload_regions() 344 if (d_offset >= region->region_offset && d_offset < byte_count) in validate_payload_regions() 351 (byte_count - d_offset)) || in validate_payload_regions() 362 if (byte_count != image_size) in validate_payload_regions()
|
| /openbmc/qemu/include/hw/hyperv/ |
| H A D | vmbus-proto.h | 125 uint32_t byte_count; member 210 uint32_t byte_count; member
|
| /openbmc/qemu/hw/core/ |
| H A D | loader.c | 1670 uint8_t byte_count; member 1700 line->byte_count |= value; in parse_record() 1706 } else if (8 <= idx && idx < 8 + 2 * line->byte_count) { in parse_record() 1708 } else if (8 + 2 * line->byte_count <= idx && in parse_record() 1709 idx < 10 + 2 * line->byte_count) { in parse_record() 1754 line->byte_count); in handle_record_type() 1755 parser->current_rom_index += line->byte_count; in handle_record_type() 1756 parser->total_size += line->byte_count; in handle_record_type() 1759 parser->current_address + line->byte_count; in handle_record_type() 1772 if (line->byte_count != 2 && line->address != 0) { in handle_record_type() [all …]
|
| /openbmc/qemu/include/hw/sd/ |
| H A D | allwinner-sdhost.h | 94 uint32_t byte_count; /**< Byte Count */ member
|
| /openbmc/u-boot/drivers/ddr/marvell/axp/ |
| H A D | ddr3_sdram.c | 494 u32 chan, byte_count, cs_num, byte; in ddr3_dram_sram_burst() local 498 byte_count = len * 4; in ddr3_dram_sram_burst() 527 channel.desc->byte_cnt = byte_count; in ddr3_dram_sram_burst() 543 for (byte = 0; byte < byte_count; byte += 0x20) in ddr3_dram_sram_burst()
|
| /openbmc/u-boot/arch/arm/include/asm/ti-common/ |
| H A D | keystone_nav.h | 49 u32 byte_count; member
|
| /openbmc/qemu/target/xtensa/ |
| H A D | xtensa-isa.c | 132 int fence_post, start, increment, i, byte_count; in xtensa_insnbuf_to_chars() local 156 byte_count = xtensa_format_length(isa, fmt); in xtensa_insnbuf_to_chars() 157 if (byte_count == XTENSA_UNDEFINED) { in xtensa_insnbuf_to_chars() 161 if (byte_count > num_chars) { in xtensa_insnbuf_to_chars() 167 fence_post = start + (byte_count * increment); in xtensa_insnbuf_to_chars() 176 return byte_count; in xtensa_insnbuf_to_chars()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/hplip/hplip/ |
| H A D | 0001-Drop-using-register-storage-classifier.patch | 64 unsigned int offset,byte_count,rem_count; 184 unsigned int offset,byte_count,rem_count;
|
| /openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/ |
| H A D | 0002-f2fs_io-Define-_FILE_OFFSET_BITS-64.patch | 93 size_t byte_count, bool is_write)
|
| /openbmc/qemu/hw/hyperv/ |
| H A D | vmbus.c | 1046 for (; range.byte_count; range.byte_offset = 0) { in sgl_from_gpa_ranges() 1048 uint32_t plen = MIN(range.byte_count, in sgl_from_gpa_ranges() 1061 range.byte_count -= plen; in sgl_from_gpa_ranges() 1808 (msg->range[0].byte_count != (num_gfns << TARGET_PAGE_BITS))) { in handle_gpadl_header()
|