27 Commits (168558ed7b4eb215e58d1dd6dea12b53114738ff)

Author SHA1 Message Date
Peter Maydell 168558ed7b tests: Clean up includes 5 months ago
Eric Blake 42cc08d13a cutils: Improve qemu_strtosz handling of fractions 3 years ago
Eric Blake c25b168344 cutils: Improve qemu_strtod* error paths 3 years ago
Eric Blake b87ac96651 cutils: Use parse_uint in qemu_strtosz for negative rejection 3 years ago
Eric Blake 3c5f246798 cutils: Set value in all integral qemu_strto* error paths 3 years ago
Eric Blake 896fbd90aa cutils: Set value in all qemu_strtosz* error paths 3 years ago
Eric Blake e1cf34b6b3 test-cutils: Add more coverage to qemu_strtosz 3 years ago
Eric Blake f49371ecae cutils: Allow NULL str in qemu_strtosz 3 years ago
Eric Blake 157367cf21 test-cutils: Refactor qemu_strtosz tests for less boilerplate 3 years ago
Eric Blake edafce694a test-cutils: Prepare for upcoming semantic change in qemu_strtosz 3 years ago
Eric Blake 759573d05b test-cutils: Add coverage of qemu_strtod 3 years ago
Eric Blake 52d606aa5b cutils: Allow NULL endptr in parse_uint() 3 years ago
Eric Blake bd1386cce1 cutils: Adjust signature of parse_uint[_full] 3 years ago
Eric Blake 56ddafde3f cutils: Fix wraparound parsing in qemu_strtoui 3 years ago
Eric Blake 3069522bb9 test-cutils: Test more integer corner cases 3 years ago
Eric Blake d326d03bcd test-cutils: Test integral qemu_strto* value on failures 3 years ago
Eric Blake 3b4790d4ec test-cutils: Use g_assert_cmpuint where appropriate 3 years ago
Eric Blake 3a59259225 test-cutils: Avoid g_assert in unit tests 3 years ago
Markus Armbruster a67dfa660b Drop duplicate #include 3 years ago
Paolo Bonzini 8b902e3d23 util: remove support for hex numbers with a scaling suffix 3 years ago
Marc-André Lureau 9323af2e81 tests: fix test-cutils leaks 4 years ago
Paolo Bonzini cfb3448922 cutils: add functions for IEC and SI prefixes 4 years ago
Eric Blake 6162f7dafe utils: Work around mingw strto*l bug with 0x 5 years ago
Eric Blake 061d79097c utils: Tighter tests for qemu_strtosz 5 years ago
Richard Henderson 6567ba0c60 utils: Use fixed-point arithmetic in qemu_strtosz 5 years ago
Richard Henderson 7625a1ed01 utils: Use fixed-point arithmetic in qemu_strtosz 5 years ago
Thomas Huth da668aa15b tests: Move unit tests into a separate directory 5 years ago
Eric Blake cf923b783e utils: Improve qemu_strtosz() to have 64 bits of precision 5 years ago
Eric Blake 1657ba44b4 utils: Enhance testsuite for do_strtosz() 5 years ago
David Hildenbrand af02f4c517 cutils: Fix qemu_strtosz() & friends to reject non-finite sizes 7 years ago
Philippe Mathieu-Daudé d23b6caadb hw: Use IEC binary prefix definitions from "qemu/units.h" 8 years ago
Daniel P. Berrange 473a2a331e cutils: add qemu_strtoi & qemu_strtoui parsers for int/unsigned int types 8 years ago
Markus Armbruster f46bfdbfc8 util/cutils: Change qemu_strtosz*() from int64_t to uint64_t 9 years ago
Markus Armbruster f17fd4fdf0 util/cutils: Return qemu_strtosz*() error and value separately 9 years ago
Markus Armbruster 4fcdf65ae2 util/cutils: Let qemu_strtosz*() optionally reject trailing crap 9 years ago
Markus Armbruster dab9cc9237 test-cutils: Drop suffix from test_qemu_strtosz_simple() 9 years ago
Markus Armbruster 753f8da0e0 test-cutils: Use qemu_strtosz() more often 9 years ago
Markus Armbruster 466dea14e6 util/cutils: New qemu_strtosz() 9 years ago
Markus Armbruster e591591b32 util/cutils: Rename qemu_strtosz() to qemu_strtosz_MiB() 9 years ago
Markus Armbruster d2734d2629 util/cutils: New qemu_strtosz_metric() 9 years ago
Markus Armbruster 0b742797aa test-cutils: Cover qemu_strtosz() around range limits 9 years ago
Markus Armbruster a6b4373fa2 test-cutils: Cover qemu_strtosz() with trailing crap 9 years ago
Markus Armbruster 18aec47967 test-cutils: Cover qemu_strtosz() invalid input 9 years ago
Markus Armbruster 019144b286 test-cutils: Add missing qemu_strtosz()... endptr checks 9 years ago
Markus Armbruster b30d188677 util/cutils: Rename qemu_strtoll(), qemu_strtoull() 9 years ago
Markus Armbruster bc7c08a2c3 test-cutils: Clean up qemu_strtoul() result checks 9 years ago
Markus Armbruster 73245450b3 test-cutils: Add missing qemu_strtol()... endptr checks 9 years ago
Marc-André Lureau d6f723b513 tests: fix test-cutils leaks 10 years ago
Peter Maydell 79ffb277ec tests: Remove unnecessary glib.h includes 10 years ago
Veronia Bahaa f348b6d1a5 util: move declarations out of qemu-common.h 10 years ago