safec
3.6.0
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safe_str_lib.h"
Macros | |
#define | CASEMAP(u1, u2, l) { (u1), (l) - (u1), (u2) - (u1) + 1 } |
#define | CASELACE(u1, u2) CASEMAP((u1), (u2), (u1) + 1) |
Functions | |
EXPORT uint32_t | _towcase (uint32_t wc, int lower) |
EXPORT uint32_t | _towupper (uint32_t wc) |
EXPORT uint32_t | towupper (uint32_t wc) |
EXPORT uint32_t | towlower (uint32_t wc) |
Variables | |
struct { | |
unsigned short upper | |
signed char lower | |
unsigned char len | |
} | casemaps [] |
struct { | |
unsigned int upper | |
int lower | |
unsigned short len | |
} | casemapsl [] |
static const unsigned short | pairs [][2] |
#define CASEMAP | ( | u1, | |
u2, | |||
l | |||
) | { (u1), (l) - (u1), (u2) - (u1) + 1 } |
#define CASELACE | ( | u1, | |
u2 | |||
) | CASEMAP((u1), (u2), (u1) + 1) |
EXPORT uint32_t _towcase | ( | uint32_t | wc, |
int | lower | ||
) |
EXPORT uint32_t _towupper | ( | uint32_t | wc | ) |
EXPORT uint32_t towupper | ( | uint32_t | wc | ) |
EXPORT uint32_t towlower | ( | uint32_t | wc | ) |
unsigned int upper |
int lower |
unsigned short len |
const { ... } casemaps[] |
const { ... } casemapsl[] |
|
static |