Go to the source code of this file.
|
#define | GIT_SPACE 0x01 |
|
#define | GIT_DIGIT 0x02 |
|
#define | GIT_ALPHA 0x04 |
|
#define | GIT_GLOB_SPECIAL 0x08 |
|
#define | GIT_REGEX_SPECIAL 0x10 |
|
#define | GIT_PRINT_EXTRA 0x20 |
|
#define | GIT_PRINT 0x3E |
|
#define | sane_istest(x, mask) ((sane_ctype[(unsigned char)(x)] & (mask)) != 0) |
|
#define | isascii(x) (((x) & ~0x7f) == 0) |
|
#define | isspace(x) sane_istest(x,GIT_SPACE) |
|
#define | isdigit(x) sane_istest(x,GIT_DIGIT) |
|
#define | isxdigit(x) (sane_istest(toupper(x), GIT_ALPHA | GIT_DIGIT) && toupper(x) < 'G') |
|
#define | isalpha(x) sane_istest(x,GIT_ALPHA) |
|
#define | isalnum(x) sane_istest(x,GIT_ALPHA | GIT_DIGIT) |
|
#define | isprint(x) sane_istest(x,GIT_PRINT) |
|
#define | islower(x) (sane_istest(x,GIT_ALPHA) && (x & 0x20)) |
|
#define | isupper(x) (sane_istest(x,GIT_ALPHA) && !(x & 0x20)) |
|
#define | tolower(x) sane_case((unsigned char)(x), 0x20) |
|
#define | toupper(x) sane_case((unsigned char)(x), 0) |
|
◆ GIT_ALPHA
◆ GIT_DIGIT
◆ GIT_GLOB_SPECIAL
#define GIT_GLOB_SPECIAL 0x08 |
◆ GIT_PRINT
◆ GIT_PRINT_EXTRA
#define GIT_PRINT_EXTRA 0x20 |
◆ GIT_REGEX_SPECIAL
#define GIT_REGEX_SPECIAL 0x10 |
◆ GIT_SPACE
◆ isalnum
◆ isalpha
◆ isascii
#define isascii |
( |
|
x | ) |
(((x) & ~0x7f) == 0) |
◆ isdigit
◆ islower
◆ isprint
◆ isspace
◆ isupper
◆ isxdigit
◆ sane_istest
#define sane_istest |
( |
|
x, |
|
|
|
mask |
|
) |
| ((sane_ctype[(unsigned char)(x)] & (mask)) != 0) |
◆ tolower
#define tolower |
( |
|
x | ) |
sane_case((unsigned char)(x), 0x20) |
◆ toupper
#define toupper |
( |
|
x | ) |
sane_case((unsigned char)(x), 0) |
◆ sane_case()
static int sane_case |
( |
int |
x, |
|
|
int |
high |
|
) |
| |
|
inlinestatic |
◆ dots
◆ graph_dotted_line
const char* graph_dotted_line |
◆ graph_line
◆ sane_ctype
unsigned char sane_ctype[256] |
◆ spaces