#include "serd/serd.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
| static bool | in_range (const int c, const int min, const int max) |
| static bool | is_alpha (const int c) |
| static bool | is_digit (const int c) |
| static bool | is_hexdig (const int c) |
| static bool | is_xdigit (const int c) |
| static bool | is_space (const char c) |
| static bool | is_print (const int c) |
| static bool | is_base64 (const uint8_t c) |
| static bool | is_windows_path (const uint8_t *path) |
| size_t | serd_substrlen (const uint8_t *str, size_t len, size_t *n_bytes, SerdNodeFlags *flags) |
| static char | serd_to_upper (const char c) |
| static int | serd_strncasecmp (const char *s1, const char *s2, size_t n) |
| static uint32_t | utf8_num_bytes (const uint8_t c) |
| static uint32_t | parse_counted_utf8_char (const uint8_t *utf8, size_t size) |
| | Return the code point of a UTF-8 character with known length.
|
| static uint32_t | parse_utf8_char (const uint8_t *utf8, size_t *size) |
| | Parse a UTF-8 character, set *size to the length, and return the code point.
|
◆ in_range()
Return true if c lies within [min...max] (inclusive)
◆ is_alpha()
RFC2234: ALPHA ::= x41-5A / x61-7A ; A-Z / a-z
◆ is_base64()
◆ is_digit()
RFC2234: DIGIT ::= x30-39 ; 0-9
◆ is_hexdig()
◆ is_print()
◆ is_space()
| bool is_space |
( |
const char | c | ) |
|
|
inlinestatic |
◆ is_windows_path()
◆ is_xdigit()
◆ parse_counted_utf8_char()
Return the code point of a UTF-8 character with known length.
◆ parse_utf8_char()
Parse a UTF-8 character, set *size to the length, and return the code point.
◆ serd_strncasecmp()
| int serd_strncasecmp |
( |
const char * | s1, |
|
|
const char * | s2, |
|
|
size_t | n ) |
|
inlinestatic |
◆ serd_substrlen()
◆ serd_to_upper()
| char serd_to_upper |
( |
const char | c | ) |
|
|
inlinestatic |
◆ utf8_num_bytes()
◆ replacement_char
Unicode replacement character in UTF-8