summaryrefslogtreecommitdiffstats
path: root/libc/string
Commit message (Collapse)AuthorAgeFilesLines
* libc: optimize memmove() with memcpy() if possible.David 'Digit' Turner2010-10-071-1/+4
| | | | Change-Id: I90e578fdc82e427caee8fa4157ce3f8c6c99926d
* Revert "libc: memmove(): non-overlapping block optim."Marco Nelissen2010-09-281-5/+1
| | | | | | | | This reverts commit 80fba9a2fe4eacaabee99cf0bbead872c2792231, which caused the system to not boot anymore, aborting with: "java.lang.RuntimeException: Missing static main on com.android.server.SystemServer". Change-Id: I745e0a23c728cccf5f95a3c7642d544478a4e57e
* libc: memmove(): non-overlapping block optim.David 'Digit' Turner2010-09-271-1/+5
| | | | Change-Id: I5652f4f97ca59d95176443fc27c737ef76258183
* Fix return value.rich cannings2010-08-311-10/+1
| | | | | | | | Return a valid pointer (not NULL) when the character "c" is at the end of "src". Change-Id: Iab0b677943f2c8a9fbb255c44689f5d6dc3535d7 Example: memccpy(dest, "xzy", 'y', 3) should return dest+3 rather than null.
* Merge "string: tidy up strndup()"David Turner2010-05-101-4/+6
|\
| * string: tidy up strndup()André Goddard Rosa2010-01-301-4/+6
| | | | | | | | | | | | | | | | | | It decreases code size: text data bss dec hex filename 161 0 0 161 a1 strndup-BEFORE.o 153 0 0 153 99 strndup-AFTER.o Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* | Merge changes Ibdc6e3c8,I9bcb91a2David Turner2010-03-292-5/+5
|\ \ | |/ |/| | | | | | | * changes: Correct generic memset implementation Generic memcpy should define MEMCOPY before including bcopy.c
| * Correct generic memset implementationChris Dearman2010-02-051-4/+4
| | | | | | | | Signed-off-by: Chris Dearman <chris@mips.com>
| * Generic memcpy should define MEMCOPY before including bcopy.cChris Dearman2010-02-051-1/+1
| | | | | | | | Signed-off-by: Chris Dearman <chris@mips.com>
* | improve readability of string: fix indentation and remove trailing spacesAndré Goddard Rosa2010-01-3013-18/+17
|/ | | | Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0338-0/+2195
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0338-2195/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-102-0/+87
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-2136-0/+2108