RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions | Variables
utf8proc.c File Reference
#include "utf8proc.h"
#include "utf8proc_data.c"
Include dependency graph for utf8proc.c:

Macros

#define UTF8PROC_HANGUL_SBASE   0xAC00
 
#define UTF8PROC_HANGUL_LBASE   0x1100
 
#define UTF8PROC_HANGUL_VBASE   0x1161
 
#define UTF8PROC_HANGUL_TBASE   0x11A7
 
#define UTF8PROC_HANGUL_LCOUNT   19
 
#define UTF8PROC_HANGUL_VCOUNT   21
 
#define UTF8PROC_HANGUL_TCOUNT   28
 
#define UTF8PROC_HANGUL_NCOUNT   588
 
#define UTF8PROC_HANGUL_SCOUNT   11172
 
#define UTF8PROC_HANGUL_L_START   0x1100
 
#define UTF8PROC_HANGUL_L_END   0x115A
 
#define UTF8PROC_HANGUL_L_FILLER   0x115F
 
#define UTF8PROC_HANGUL_V_START   0x1160
 
#define UTF8PROC_HANGUL_V_END   0x11A3
 
#define UTF8PROC_HANGUL_T_START   0x11A8
 
#define UTF8PROC_HANGUL_T_END   0x11FA
 
#define UTF8PROC_HANGUL_S_START   0xAC00
 
#define UTF8PROC_HANGUL_S_END   0xD7A4
 
#define UTF8PROC_BOUNDCLASS_START   0
 
#define UTF8PROC_BOUNDCLASS_OTHER   1
 
#define UTF8PROC_BOUNDCLASS_CR   2
 
#define UTF8PROC_BOUNDCLASS_LF   3
 
#define UTF8PROC_BOUNDCLASS_CONTROL   4
 
#define UTF8PROC_BOUNDCLASS_EXTEND   5
 
#define UTF8PROC_BOUNDCLASS_L   6
 
#define UTF8PROC_BOUNDCLASS_V   7
 
#define UTF8PROC_BOUNDCLASS_T   8
 
#define UTF8PROC_BOUNDCLASS_LV   9
 
#define UTF8PROC_BOUNDCLASS_LVT   10
 
#define utf8proc_decompose_lump(replacement_uc)
 

Functions

const char * utf8proc_version (void)
 
const char * utf8proc_errmsg (ssize_t errcode)
 
ssize_t utf8proc_iterate (const uint8_t *str, ssize_t strlen, int32_t *dst)
 
bool utf8proc_codepoint_valid (int32_t uc)
 
ssize_t utf8proc_encode_char (int32_t uc, uint8_t *dst)
 
const utf8proc_property_tutf8proc_get_property (int32_t uc)
 
ssize_t utf8proc_decompose_char (int32_t uc, int32_t *dst, ssize_t bufsize, int options, int *last_boundclass)
 
ssize_t utf8proc_decompose (const uint8_t *str, ssize_t strlen, int32_t *buffer, ssize_t bufsize, int options)
 
ssize_t utf8proc_reencode (int32_t *buffer, ssize_t length, int options)
 
ssize_t utf8proc_map (const uint8_t *str, ssize_t strlen, uint8_t **dstptr, int options)
 
uint8_t * utf8proc_NFD (const uint8_t *str)
 
uint8_t * utf8proc_NFC (const uint8_t *str)
 
uint8_t * utf8proc_NFKD (const uint8_t *str)
 
uint8_t * utf8proc_NFKC (const uint8_t *str)
 

Variables

const int8_t utf8proc_utf8class [256]
 

Macro Definition Documentation

◆ utf8proc_decompose_lump

#define utf8proc_decompose_lump (   replacement_uc)
Value:
return utf8proc_decompose_char((replacement_uc), dst, bufsize, \
options & ~UTF8PROC_LUMP, last_boundclass)

Variable Documentation

◆ utf8proc_utf8class

const int8_t utf8proc_utf8class[256]
Initial value:
= {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
4, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0 }