summaryrefslogtreecommitdiffstats
path: root/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* Remove compiler warnings when building Bionic.David 'Digit' Turner2010-06-221-1/+1
| | | | | | | | 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
* wchar.h: improve wchar_t support in BionicDavid 'Digit' Turner2010-06-151-124/+12
| | | | Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
* merge from open-source masterThe Android Open Source Project2010-05-0311-223/+221
|\ | | | | | | Change-Id: If02d33af51017dbd85e91c79ac2e848eda6cf253
| * improve readability of stdlib: fix indentation and remove trailing spacesAndré Goddard Rosa2010-04-2911-232/+230
| | | | | | | | | | | | Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Change-Id: I7dd90a0816b5376ffc1de4499d56935e0bd574a1
* | merge from open-source masterThe Android Open Source Project2010-03-311-2/+2
|\ \ | |/ | | | | Change-Id: I950e9aca87cbb0c35099b1d53cff6378bd0f26f4
| * stdlib: optimize bsearch()André Goddard Rosa2010-03-281-2/+2
| | | | | | | | | | | | | | ... by checking most probable condition first (elements do differ) Change-Id: I424eab9c32a6d9eb82b686ca04025ec8c9097035 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* | Fix strtod security bug.David 'Digit' Turner2010-03-091-28/+142
| | | | | | | | | | | | | | | | | | To avoid introducing NULL checks everytime a Bigint computation is performed, introduce a special value (BIGINT_INVALID) and only check for it when absolutely needed (which means when the code needs to access the Bigint's internal structure fields). Change-Id: Ie3954523b0985b6a8cb62340802d8dcf63cbf16f
* | am f197147a: am ca07064c: am 5f53a182: Revert "Add qsort_r() implementation ↵Mathias Agopian2009-12-042-74/+37
|\ \ | |/ | | | | | | | | | | | | | | to the C library." Merge commit 'f197147a787d7415e6e0a1bad15566836c55befb' * commit 'f197147a787d7415e6e0a1bad15566836c55befb': Revert "Add qsort_r() implementation to the C library."
| * Revert "Add qsort_r() implementation to the C library."android-sdk-2.1_r1android-2.1_r2.1sandroid-2.1_r2android-2.1_r1Mathias Agopian2009-12-032-74/+37
| | | | | | | | | | | | | | This reverts commit 754c178ae551aedcbbfd3bfd1c1c3b710d9ad989. Turns out we don't need it afterall (needed a stable sort anyways). So, we'll make that change in the dev branch instead.
* | am be71c814: am 20b3097d: am 754c178a: Add qsort_r() implementation to the C ↵David 'Digit' Turner2009-12-042-37/+74
|\ \ | |/ | | | | | | | | | | | | | | library. Merge commit 'be71c8142d4225dd9af4742ec050f30fcbc2aa5e' * commit 'be71c8142d4225dd9af4742ec050f30fcbc2aa5e': Add qsort_r() implementation to the C library.
| * Add qsort_r() implementation to the C library.David 'Digit' Turner2009-12-032-37/+74
| | | | | | | | | | | | NOTE: This replaces qsort.c with the FreeBSD version. While the patch changes the source, it should not alter the implementation that should use the exact same algorithm.
* | Add stdlib functions mbstowcs() and wcstombs().Dan Bornstein2009-11-101-0/+10
|/ | | | | | | As with the other wchar functions in Bionic, these are really minimally functional stubs. Change-Id: I805bc5642e7bc22d9d730cfc18f9fb4a5f164416
* Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated ↵David 'Digit' Turner2009-05-201-0/+9
| | | | | | __cxa_finalize() implementation This patch uses "#if ANDROID" instead of "#if 1" in the __cxa_finalize() fix
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0338-0/+5767
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0338-5767/+0
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-203-29/+105
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-173-0/+171
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-2135-0/+5520