platform_bionic/libc/stdio
Elliott Hughes 531199c56c printf unification: floating point.
The only remaining differences between vfprintf.cpp and vfwprintf.cpp
after this are the wide/narrow conversions for %c, %m, and %s. I've used
"chars" and "bytes" for the named constants for the directions because
(a) I find -1 and 1 pretty confusing and (b) although "narrow" is the
obvious opposite of "wide", only Windows actually moved to wide
characters, so "narrow" (aka "multibyte", and probably "utf8") is the
default/normal case. Even though C confuses bytes and characters via its
`char` type, "bytes" versus "chars" seems like the appropriate
terminology (and it's what Java/Python use).

Also improve the swprintf tests assertion so failures are readable.

Test: treehugger
Change-Id: Ife8f70f65ec28d96058a7d68df353945524835d2
2023-05-11 16:51:13 -07:00
..
fmemopen.cpp Avoid writing to a zero-capacity buffer. 2019-02-05 15:00:13 -08:00
glue.h Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC. 2015-10-23 12:32:52 -07:00
local.h printf unification: floating point. 2023-05-11 16:51:13 -07:00
parsefloat.c Start de-duplicating the regular and wide printf implementations. 2017-11-01 18:13:36 -07:00
printf_common.h Implement C23 printf 'wf' length modifiers 2023-05-02 21:06:09 +00:00
refill.c Revert fwalk/sfp locking to fix concurrent reads 2019-05-04 00:28:00 -07:00
stdio.cpp printf unification: floating point. 2023-05-11 16:51:13 -07:00
stdio_ext.cpp Add __freadahead. 2022-09-22 23:47:42 +00:00
vfprintf.cpp printf unification: floating point. 2023-05-11 16:51:13 -07:00
vfscanf.cpp printf unification: floating point. 2023-05-11 16:51:13 -07:00
vfwprintf.cpp printf unification: floating point. 2023-05-11 16:51:13 -07:00
vfwscanf.cpp printf unification: floating point. 2023-05-11 16:51:13 -07:00