summaryrefslogtreecommitdiffstats
path: root/libutils/String8.cpp
Commit message (Collapse)AuthorAgeFilesLines
* System/core: Use memmoveAndreas Gampe2014-11-131-1/+1
| | | | | | Should use memmove when you expect overlap. Change-Id: I268a173db40a4be54232958e37aa8a03c2a885ee
* Add a couple of useful string functions.Jeff Brown2014-06-091-0/+24
| | | | Change-Id: I158f69917bab5f15482dd8f2b66b36a4cc0f11ad
* libutils: turn on -WerrorMark Salyzyn2014-06-021-1/+0
| | | | | | | | | - Deal with some -Wunused issues - Override PRI macros (windows) - Revert use of PRI macros on off64_t (linux) - Deal with a gnu++11 complaince issue Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
* Fix undefined args access for x86_64.Fengwei Yin2014-02-271-2/+11
| | | | | | | | | | | | | | From libc manual for vsnprintf: The functions vprintf(), vfprintf(), vsprintf(), vsnprintf() are equivalent to the functions printf(), fprintf(), sprintf(), snprintf(), respectively, except that they are called with a va_list instead of a variable number of arguments. These functions do not call the va_end macro. Because they invoke the va_arg macro, the value of ap is undefined after the call. We need to allocate/end new va_list for each vsnprintf. Change-Id: I66ec058033be1cb918e7b2bc84ca546800da226b Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>
* move libs/utils to libutilsAlex Ray2013-08-021-0/+640
Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d