/openbmc/qemu/tests/qemu-iotests/ |
H A D | 255 | 42 size_str = str(size) variable 45 iotests.qemu_img_create('-f', iotests.imgfmt, mid_path, size_str) 46 iotests.qemu_img_create('-f', iotests.imgfmt, disk_path, size_str) 93 size_str = str(size) variable 95 iotests.qemu_img_create('-f', iotests.imgfmt, src_path, size_str) 96 iotests.qemu_img_create('-f', iotests.imgfmt, dst_path, size_str)
|
/openbmc/linux/tools/perf/bench/ |
H A D | mem-functions.c | 31 static const char *size_str = "1MB"; variable 38 OPT_STRING('s', "size", &size_str, "1MB", 137 printf("# Copying %s bytes ...\n\n", size_str); in __bench_mem_function() 172 printf("# Memory allocation failed - maybe size (%s) is too large?\n", size_str); in __bench_mem_function() 192 size = (size_t)perf_atoll((char *)size_str); in bench_mem_common() 196 fprintf(stderr, "Invalid size:%s\n", size_str); in bench_mem_common()
|
/openbmc/obmc-console/ |
H A D | config.c | 226 int config_parse_bytesize(const char *size_str, size_t *size) in config_parse_bytesize() argument 245 if (!size_str) { in config_parse_bytesize() 249 logsize = strtoul(size_str, &suffix, 0); in config_parse_bytesize() 250 if (logsize == 0 || logsize >= UINT32_MAX || suffix == size_str) { in config_parse_bytesize()
|
H A D | config.h | 37 int config_parse_bytesize(const char *size_str, size_t *size);
|
/openbmc/qemu/hw/arm/ |
H A D | raspi.c | 260 char *size_str = size_to_str(ram_size); in raspi_base_machine_init() local 261 error_report("Invalid RAM size, should be %s", size_str); in raspi_base_machine_init() 262 g_free(size_str); in raspi_base_machine_init()
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | partition.py | 391 size_str = "" 396 (label_str, self.fsuuid, size_str, extraopts, rootfs, 488 size_str = "" 493 (label_str, self.fsuuid, extraopts, size_str, rootfs,
|
/openbmc/qemu/scripts/tracetool/backend/ |
H A D | simple.py | 92 size_str=sizestr)
|
/openbmc/linux/scripts/dtc/ |
H A D | flattree.c | 884 uint32_t size_str = fdt32_to_cpu(fdt->size_dt_strings); in dt_from_blob() local 885 if ((off_str+size_str < off_str) || (off_str+size_str > totalsize)) in dt_from_blob() 887 inbuf_init(&strbuf, blob + off_str, blob + off_str + size_str); in dt_from_blob()
|
/openbmc/u-boot/scripts/dtc/ |
H A D | flattree.c | 898 uint32_t size_str = fdt32_to_cpu(fdt->size_dt_strings); in dt_from_blob() local 899 if ((off_str+size_str < off_str) || (off_str+size_str > totalsize)) in dt_from_blob() 901 inbuf_init(&strbuf, blob + off_str, blob + off_str + size_str); in dt_from_blob()
|
/openbmc/linux/tools/mm/ |
H A D | slabinfo.c | 597 char size_str[20]; in slabcache() local 620 store_size(size_str, slab_size(s)); in slabcache() 622 store_size(size_str, slab_waste(s)); in slabcache() 665 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache()
|
/openbmc/qemu/system/ |
H A D | physmem.c | 1260 g_autofree char *size_str = NULL; in get_file_size() local 1265 if (g_file_get_contents(size_path, &size_str, NULL, NULL)) { in get_file_size() 1266 return g_ascii_strtoll(size_str, NULL, 0); in get_file_size()
|