Home
last modified time | relevance | path

Searched hist:"93337 abbfe2951c63a4e7b450da1848c6c69217f" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/linux/
H A Dctype.h93337abbfe2951c63a4e7b450da1848c6c69217f Tue Aug 23 11:06:52 UTC 2011 Jason Hobbs <jason.hobbs@calxeda.com> Add isblank

Existing ctype checks are implemented using a 256 byte lookup table,
allowing each character to be in any of 8 character classes. Since there
are 8 existing character classes without the blank class, I implemented
isblank without using the lookup table. Since there are only two blank
characters - tab and space - this is a more reasonable approach than
doubling the size of the lookup table to accommodate one more class.

Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>