iPXE
|
Character types. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | isascii (int character) |
Check if character is ASCII. More... | |
static int | isdigit (int character) |
Check if character is a decimal digit. More... | |
static int | isxdigit (int character) |
Check if character is a hexadecimal digit. More... | |
static int | isupper (int character) |
Check if character is an upper-case letter. More... | |
static int | islower (int character) |
Check if character is a lower-case letter. More... | |
static int | isalpha (int character) |
Check if character is alphabetic. More... | |
static int | isalnum (int character) |
Check if character is alphanumeric. More... | |
static int | isprint (int character) |
Check if character is printable. More... | |
static int | tolower (int character) |
Convert character to lower case. More... | |
static int | toupper (int character) |
Convert character to upper case. More... | |
int | isspace (int character) |
Check to see if character is a space. More... | |
Character types.
Definition in file ctype.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Check if character is ASCII.
character | Character |
is_ascii | Character is an ASCII character |
Definition at line 18 of file ctype.h.
Referenced by parse_key().
|
inlinestatic |
Check if character is a decimal digit.
character | ASCII character |
is_digit | Character is a decimal digit |
Definition at line 29 of file ctype.h.
Referenced by asn1_generalized_time(), gdbstub_from_hex_digit(), getkey(), isalnum(), and pnm_probe().
|
inlinestatic |
Check if character is a hexadecimal digit.
character | ASCII character |
is_xdigit | Character is a hexadecimal digit |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Check if character is alphabetic.
character | ASCII character |
is_alpha | Character is alphabetic |
Definition at line 75 of file ctype.h.
References islower(), and isupper().
Referenced by getkey(), isalnum(), key_remap(), and parse_uri().
|
inlinestatic |
Check if character is alphanumeric.
character | ASCII character |
is_alnum | Character is alphanumeric |
Definition at line 86 of file ctype.h.
|
inlinestatic |
Check if character is printable.
character | ASCII character |
is_print | Character is printable |
Definition at line 97 of file ctype.h.
Referenced by dbg_hex_dump_da_row(), deflate_inflate(), editstring_okx(), efifb_glyphs(), ftp_check_string(), syslog_fix_name(), and uri_character_escaped().
|
inlinestatic |
Convert character to lower case.
character | Character |
character | Lower-case character |
Definition at line 108 of file ctype.h.
References isupper().
Referenced by dns_compare(), gdbstub_from_hex_digit(), and iscsi_large_binary_decode().
|
inlinestatic |
Convert character to upper case.
character | Character |
character | Upper-case character |
Definition at line 120 of file ctype.h.
References islower().
Referenced by getkey(), ntlm_key(), peerdisc_open(), pxe_menu_select(), and strncasecmp().
int isspace | ( | int | character | ) |
Check to see if character is a space.
character | Character |
isspace | Character is a space |
Definition at line 41 of file ctype.c.
Referenced by base64_decode(), cmdline_init(), efi_cmdline_init(), http_parse_header(), http_token(), image_argument(), peerdist_discovery_reply_values(), pnm_ascii(), pnm_probe(), previous_word(), process_script(), script_probe(), split_command(), strtoul_pre(), and syslog_fix_name().