coreboot/payloads/libpayload/libc
Dan Ehrenberg 1104db8328 libpayload: UTF-16LE to ASCII conversion
This patch adds a simple function to convert a string in UTF-16LE
to ASCII.

TEST=Ran against a string found in a GPT with the intended outcome
BRANCH=none
BUG=none

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Change-Id: I50ca5bfdfbef9e084321b2beb1b8d4194ca5af9c
Reviewed-on: https://chromium-review.googlesource.com/231456
Reviewed-by: Julius Werner <jwerner@chromium.org>
2014-11-25 03:47:18 +00:00
..
args.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
console.c libpayload console: Add check for already existing driver 2014-08-26 05:08:26 +00:00
coreboot.c libpayload: Add RAM code to sysinfo_t 2014-11-22 01:44:15 +00:00
ctype.c fix typo in ctype.c 2008-08-19 16:53:47 +00:00
die.c libpayload: Fix the license in some files which were accidentally made GPL. 2014-01-11 01:36:57 +00:00
exec.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2013-08-14 17:05:33 -07:00
getopt_long.c Reduce warnings/errors in libpayload when using picky compiler options 2011-06-30 20:41:23 +02:00
hexdump.c libpayload: Fix the license header on hexdump. 2014-01-15 23:36:36 +00:00
ipchecksum.c trivial fix: ipchksum takes an unspecified input blob, not explicitly a number of shorts. 2008-08-16 15:16:36 +00:00
lar.c Refactor the endianness conversion functions and header files. 2012-11-08 19:49:51 +01:00
lib.c libpayload: Provide dummy getenv() 2011-07-20 10:02:19 +02:00
Makefile.inc Consolidate coreboot table parsing 2014-08-06 08:01:28 +00:00
malloc.c libpayload: Fix pointer related casts 2014-05-14 00:25:48 +00:00
memory.c libpayload: Reorder default memcpy, speed up memset and memcmp 2014-06-23 19:31:18 +00:00
printf.c libpayload: console: Allow output drivers to print whole strings at once 2014-04-30 10:00:35 +00:00
qsort.c libpayload: remove trailing whitespace and run dos2unix 2011-11-01 19:08:23 +01:00
rand.c Add rand/rand_r/srand functions for generating pseudo-random bytes. 2008-04-07 23:33:50 +00:00
readline.c Catch various cases in libpayload where malloc() or memalign() return NULL 2009-07-31 11:39:55 +00:00
string.c libpayload: UTF-16LE to ASCII conversion 2014-11-25 03:47:18 +00:00
strings.c Reduce warnings/errors in libpayload when using picky compiler options 2011-06-30 20:41:23 +02:00
strlcpy.c libpayload: Implement strlcpy 2011-07-07 22:29:35 +02:00
sysinfo.c Reduce warnings/errors in libpayload when using picky compiler options 2011-06-30 20:41:23 +02:00
time.c libpayload: improve us timer accuracy 2014-07-11 01:55:41 +00:00