/openbmc/u-boot/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 86 file.write(arc_id.to_bytes(2, byteorder='little')) 87 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 88 file.write(check_sum.to_bytes(1, byteorder='little')) 89 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 90 file.write(magic1.to_bytes(5, byteorder='big')) 91 file.write(jump_address.to_bytes(4, byteorder='little')) 92 for i in range(12): file.write(0xFF.to_bytes(1, byteorder='little')) 93 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big')) 95 file.write(0xFF.to_bytes(1, byteorder='little')) 96 file.write(flash_address.to_bytes(4, byteorder='little')) [all …]
|
/openbmc/u-boot/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 98 jmpchk_sum = sum(jump_address.to_bytes(4, byteorder='big')) 106 file.write(arc_id.to_bytes(2, byteorder='little')) 107 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 108 file.write(check_sum.to_bytes(1, byteorder='little')) 109 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 110 file.write(magic1.to_bytes(5, byteorder='big')) 111 for i in range(16): file.write(0x00.to_bytes(1, byteorder='little')) 112 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big')) 114 file.write(0x00.to_bytes(1, byteorder='little')) 116 file.write(jump_address.to_bytes(4, byteorder='little'))
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | fat16.py | 165 + self.attributes.to_bytes(1, "little") 166 + self.reserved.to_bytes(1, "little") 167 + self.create_time_tenth.to_bytes(1, "little") 168 + self.create_time.to_bytes(2, "little") 169 + self.create_date.to_bytes(2, "little") 170 + self.last_access_date.to_bytes(2, "little") 171 + (self.cluster >> 16).to_bytes(2, "little") 172 + self.last_mod_time.to_bytes(2, "little") 173 + self.last_mod_date.to_bytes(2, "little") 174 + (self.cluster & 0xFFFF).to_bytes(2, "little") [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/tc/ |
H A D | generate_metadata.py | 14 fp.write(value.to_bytes(4, byteorder='little')) 43 fp.write(crc.to_bytes(4, byteorder='little') + content)
|
/openbmc/linux/drivers/md/ |
H A D | dm-ebs-target.c | 72 unsigned int buf_off = to_bytes(__block_mod(iter->bi_sector, ec->u_bs)); in __ebs_rw_bvec() 277 to_bytes(tmp1) > PAGE_SIZE) { in ebs_ctr() 317 ec->bufio = dm_bufio_client_create(ec->dev->bdev, to_bytes(ec->u_bs), 1, in ebs_ctr() 428 limits->logical_block_size = to_bytes(ec->e_bs); in ebs_io_hints() 429 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()
|
H A D | dm-stripe.c | 262 bio->bi_iter.bi_size = to_bytes(end - begin); in stripe_map_range()
|
H A D | dm-io.c | 370 len = min(len, to_bytes(remaining)); in do_region()
|
H A D | dm-raid.c | 988 rs->md.bitmap_info.chunksize = to_bytes(region_size); in validate_region_size() 3781 unsigned int chunk_size_bytes = to_bytes(rs->md.chunk_sectors); in raid_io_hints() 4001 mddev->bitmap_info.chunksize != to_bytes(rs->requested_bitmap_chunk_sectors)))) { in raid_preresume() 4002 int chunksize = to_bytes(rs->requested_bitmap_chunk_sectors) ?: mddev->bitmap_info.chunksize; in raid_preresume()
|
H A D | dm-clone-target.c | 452 bio->bi_iter.bi_size = to_bytes(len); in trim_bio()
|
H A D | dm.c | 650 clone->bi_iter.bi_size = to_bytes(*len); in alloc_tio()
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | ip_utils.hpp | 59 boost::asio::ip::address_v4::bytes_type maskBytes = addr.to_bytes(); in ipv4VerifyIpAndGetBitcount()
|
/openbmc/qemu/scripts/ |
H A D | feature_to_c.py | 26 sys.stdout.write(c.to_bytes(1, 'big').decode())
|
/openbmc/pldm/platform-mc/ |
H A D | terminus.cpp | 335 .to_bytes(u16NameString); in parseSensorAuxiliaryNamesPDR() 395 .to_bytes(u16NameString); in parseEntityAuxiliaryNamesPDR()
|
/openbmc/pldm/tools/fw-update/ |
H A D | pldm_fwup_pkg_creator.py | 78 us_bytes = time.microsecond.to_bytes(3, byteorder="little")
|
/openbmc/linux/include/linux/ |
H A D | device-mapper.h | 716 static inline unsigned long to_bytes(sector_t n) in to_bytes() function
|
/openbmc/linux/tools/testing/selftests/net/openvswitch/ |
H A D | ovs-dpctl.py | 175 def to_bytes(mac): function 187 return to_bytes(mac_str), to_bytes(mask_str)
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | intel-pt-events.py | 144 s = payload.to_bytes(8, "little").decode("ascii").rstrip("\x00")
|
/openbmc/linux/fs/reiserfs/ |
H A D | fix_node.c | 376 int to, int to_bytes, short *snum012, int flow) in get_num_ver() argument 449 end_bytes = (to_bytes != -1) ? to_bytes : 0; in get_num_ver()
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/ |
H A D | direct.py | 531 img.write(identifier.to_bytes(4, 'little'))
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 979 .to_bytes(u16NameString); in printAuxNamePDR()
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | runqueue.py | 1359 msg.extend(len(pickled_data).to_bytes(4, 'big'))
|