| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
On LP64 this brings us on par with the other libcs where wctype_t is 8
bytes.
Bug: 12875898
Change-Id: Ice4f538ccf0634ef6667a8d90d0f7f09cec9e1b0
|
|
|
|
|
|
|
|
| |
This increases bionic source compatibility with other libcs where
"wctype_t foo = 0;" is valid without -fpermissive.
Bug: 14646243
Change-Id: Ia9bd0785bc42c7b46e2bb6c3d9b9a9d3f769d983
|
|
|
|
|
| |
Bug: 13077905
Change-Id: I5abdc7cc3c27c109b7900c94b112f18a95c35763
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 14382788
Change-Id: If023ac9bb65f95135cae7ebe89147e3985a69a96
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This also gets us the C99 wcstoimax and wcstoumax, and a working fgetwc and
ungetwc, all of which are needed in the implementation.
This also brings several other files closer to upstream.
Change-Id: I23b025a8237a6dbb9aa50d2a96765ea729a85579
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces a partial set of non-functional functions with a complete
set of functions, all of which actually work.
This requires us to implement mbsnrtowcs and wcsnrtombs which completes
the set of what we need for libc++.
The mbsnrtowcs is basically a copy & paste of wcsnrtombs, but I'm going
to go straight to looking at using the OpenBSD UTF-8 implementation rather
than keep polishing our home-grown turd.
(This patch also opportunistically switches us over to upstream btowc,
mbrlen, and wctob, since they're all trivially expressed in terms of
other functions.)
Change-Id: I0f81443840de0f1aa73b96f0b51988976793a323
|
|
|
|
|
|
| |
GCC tells us everything we need to know. clang does its usual half-assed job.
Change-Id: Id4d664529b10345274602768cd564d3df717e931
|
|
|
|
|
|
|
| |
We have similar degenerate implementations for all the other isw* functions,
so it's weird to exclude just one.
Change-Id: I659b97930e68598826c4882bb59f4146870fb6a0
|
|
|
|
|
|
|
|
|
| |
This is an implementation in the style of the rest: char == byte.
We might want to come back and implement UTF-8, but this is enough for ltrace.
Bug: 13747066
Change-Id: Ib2b63609c9014fdef9a8491e067467c4fc5ae3cc
|
|
|
|
|
|
| |
This patch removes the string/ and wchar/ directories.
Change-Id: Ia489904bc67047e4bc79acb1f3eec21aa3fe5f0d
|
|
|
|
|
|
|
| |
We were missing SIG_ATOMIC_MAX, SIG_ATOMIC_MIN, SIZE_MAX,
WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN.
Change-Id: I2535f36bc220fbaea009b483599b7af811c4cb5c
|
|
|
|
| |
Change-Id: I87b4d76ff8da04109ae53638eec4f11629798960
|
|
|
|
|
|
|
|
|
| |
__WINT_TYPE__ type provided by gcc. It references to unsigned int
type for android and linux. Patch corrects wint_t typedef to
__WINT_TYPE__.
Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com>
Change-Id: Iabeb9fcb0b7bb303a8b220043e339126f125dd68
|
|
|
|
|
|
| |
The various __need_* macros were write-only.
Change-Id: Id3cca34188e0801fdf93a038b22f2817226ad9c2
|
|
|
|
|
|
|
|
| |
The above prototypes are missing from libc/include/wchar.h but
the functions are present (although with a limited implementation)
in libc.
Change-Id: I1b7c6accfc59ff0f56f3f41a9d3c075e935ac54a
|
|
|
|
|
|
|
|
| |
Also add missing declarations to misc. functions.
Fix clearerr() implementation (previous was broken).
Handle feature test macros like _POSIX_C_SOURCE properly.
Change-Id: Icdc973a6b9d550a166fc2545f727ea837fe800c4
|
|
|
|
| |
Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
|
|
|
|
|
|
|
| |
As with the other wchar functions in Bionic, these are really
minimally functional stubs.
Change-Id: I805bc5642e7bc22d9d730cfc18f9fb4a5f164416
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|