aboutsummaryrefslogtreecommitdiff
path: root/util/cutils.c
AgeCommit message (Expand)AuthorFilesLines
2023-01-06util: remove support for hex numbers with a scaling suffixPaolo Bonzini1-11/+3
2022-08-12cutils: Add missing dyld(3) include on macOSPhilippe Mathieu-Daudé1-0/+4
2022-07-18util: Fix broken build on HaikuThomas Huth1-0/+4
2022-07-13cutils: Introduce bundle mechanismAkihiko Odaki1-21/+47
2022-06-14cutils: add functions for IEC and SI prefixesPaolo Bonzini1-9/+25
2022-05-28include: move qemu_*_exec_dir() to cutilsMarc-André Lureau1-0/+117
2022-04-21include: move qemu_fdatasync() to osdepMarc-André Lureau1-16/+0
2022-04-21include: move qemu_msync() to osdepMarc-André Lureau1-38/+0
2022-04-06Remove qemu-common.h include from most unitsMarc-André Lureau1-1/+0
2022-04-06Move fcntl_setfl() to oslib-posixMarc-André Lureau1-17/+0
2022-04-06Replace qemu_real_host_page variables with inlined functionsMarc-André Lureau1-2/+2
2022-03-22util: remove the net/net.h dependencyMarc-André Lureau1-14/+0
2022-03-22util: remove needless includesMarc-André Lureau1-2/+0
2021-05-13cutils: fix memory leak in get_relocated_path()Stefano Garzarella1-1/+1
2021-03-24utils: Work around mingw strto*l bug with 0xEric Blake1-8/+21
2021-03-24utils: Tighter tests for qemu_strtoszEric Blake1-1/+3
2021-03-15utils: Use fixed-point arithmetic in qemu_strtoszRichard Henderson1-15/+35
2021-03-08utils: Deprecate hex-with-suffix sizesEric Blake1-1/+9
2021-03-08utils: Improve qemu_strtosz() to have 64 bits of precisionEric Blake1-21/+69
2021-02-16util/cutils: Skip "." when looking for next directory componentStefan Weil1-1/+2
2020-11-17util/cutils: Fix Coverity array overrun in freq_to_str()Philippe Mathieu-Daudé1-1/+2
2020-11-03cutils: replace strdup with g_strdupPaolo Bonzini1-1/+1
2020-10-26win32: boot broken when bind & data dir are the sameSunil Muthuswamy1-1/+1
2020-10-16util/cutils: Introduce freq_to_str() to display Hertz unitsPhilippe Mathieu-Daudé1-0/+14
2020-09-30cutils: introduce get_relocated_pathPaolo Bonzini1-0/+61
2019-12-18util/cutils: Turn FIXME comment into QEMU_BUILD_BUG_ON()Markus Armbruster1-3/+5
2019-12-16Memory: Enable writeback for given memory regionBeata Michalska1-0/+38
2019-11-25util/cutils: Fix incorrect integer->float conversion caught by clangFangrui Song1-3/+5
2019-07-15cutils: remove one unnecessary pointer operationWei Yang1-4/+4
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster1-0/+1
2019-06-11qemu-common: Move qemu_isalnum() etc. to qemu/ctype.hMarkus Armbruster1-1/+2
2019-05-22cutils: Simplify how parse_uint() checks for whitespaceMarkus Armbruster1-1/+1
2019-04-30cutils: Fix size_to_str() on 32-bit platformsEric Blake1-1/+1
2018-12-13cutils: Fix qemu_strtosz() & friends to reject non-finite sizesDavid Hildenbrand1-10/+8
2018-12-13cutils: Add qemu_strtod() and qemu_strtod_finite()David Hildenbrand1-0/+65
2018-12-11cutils: Assert in-range base for string-to-integer conversionsEric Blake1-0/+8
2018-10-05cutils: add qemu_pstrcmp0()Marc-André Lureau1-0/+5
2018-06-29cutils: Provide strchrnulKeno Fischer1-0/+15
2018-03-13cutils: add qemu_strtoi & qemu_strtoui parsers for int/unsigned int typesDaniel P. Berrange1-0/+109
2017-09-19Convert remaining single line fprintf() to warn_report()Alistair Francis1-1/+2
2017-05-17utils: provide size_to_str()Peter Xu1-0/+25
2017-02-23util/cutils: Change qemu_strtosz*() from int64_t to uint64_tMarkus Armbruster1-5/+9
2017-02-23util/cutils: Return qemu_strtosz*() error and value separatelyMarkus Armbruster1-10/+12
2017-02-23util/cutils: Let qemu_strtosz*() optionally reject trailing crapMarkus Armbruster1-5/+9
2017-02-23util/cutils: Drop QEMU_STRTOSZ_DEFSUFFIX_* macrosMarkus Armbruster1-18/+10
2017-02-23util/cutils: New qemu_strtosz()Markus Armbruster1-4/+11
2017-02-23util/cutils: Rename qemu_strtosz() to qemu_strtosz_MiB()Markus Armbruster1-1/+1
2017-02-23util/cutils: New qemu_strtosz_metric()Markus Armbruster1-3/+8
2017-02-23util/cutils: Clean up control flow around qemu_strtol() a bitMarkus Armbruster1-42/+43
2017-02-23util/cutils: Clean up variable names around qemu_strtol()Markus Armbruster1-21/+21