#include <stdint.h>
Go to the source code of this file.
|
int | runetochar (char *s, const Rune *r) |
|
int | chartorune (Rune *r, const char *s) |
|
int | charntorune (Rune *r, const char *s, int n) |
|
int | isvalidcharntorune (const char *str, int n, Rune *r, int *consumed) |
|
int | runelen (Rune r) |
|
int | runenlen (const Rune *r, int n) |
|
int | fullrune (const char *s, int n) |
|
int | utflen (const char *s) |
|
int | utfnlen (const char *s, long n) |
|
const char * | utfrune (const char *s, Rune r) |
|
const char * | utfrrune (const char *s, Rune r) |
|
const char * | utfutf (const char *s1, const char *s2) |
|
char * | utfecpy (char *s1, char *es1, const char *s2) |
|
Rune * | runestrcat (Rune *s1, const Rune *s2) |
|
Rune * | runestrncat (Rune *s1, const Rune *s2, long n) |
|
const Rune * | runestrchr (const Rune *s, Rune c) |
|
int | runestrcmp (const Rune *s1, const Rune *s2) |
|
int | runestrncmp (const Rune *s1, const Rune *s2, long n) |
|
Rune * | runestrcpy (Rune *s1, const Rune *s2) |
|
Rune * | runestrncpy (Rune *s1, const Rune *s2, long n) |
|
Rune * | runestrecpy (Rune *s1, Rune *es1, const Rune *s2) |
|
Rune * | runestrdup (const Rune *s) |
|
const Rune * | runestrrchr (const Rune *s, Rune c) |
|
long | runestrlen (const Rune *s) |
|
const Rune * | runestrstr (const Rune *s1, const Rune *s2) |
|
Rune | toupperrune (Rune r) |
|
Rune | tolowerrune (Rune r) |
|
Rune | totitlerune (Rune r) |
|
int | isupperrune (Rune r) |
|
int | islowerrune (Rune r) |
|
int | istitlerune (Rune r) |
|
int | isalpharune (Rune r) |
|
int | isdigitrune (Rune r) |
|
int | isideographicrune (Rune r) |
|
int | isspacerune (Rune r) |
|
◆ Rune
Definition at line 19 of file utf.h.
◆ anonymous enum
Enumerator |
---|
UTFmax | |
Runesync | |
Runeself | |
Runeerror | |
Runemax | |
Definition at line 21 of file utf.h.
◆ charntorune()
int charntorune |
( |
Rune * |
r, |
|
|
const char * |
s, |
|
|
int |
n |
|
) |
| |
◆ chartorune()
int chartorune |
( |
Rune * |
r, |
|
|
const char * |
s |
|
) |
| |
◆ fullrune()
int fullrune |
( |
const char * |
s, |
|
|
int |
n |
|
) |
| |
◆ isalpharune()
int isalpharune |
( |
Rune |
r | ) |
|
◆ isdigitrune()
int isdigitrune |
( |
Rune |
r | ) |
|
◆ isideographicrune()
int isideographicrune |
( |
Rune |
r | ) |
|
◆ islowerrune()
int islowerrune |
( |
Rune |
r | ) |
|
◆ isspacerune()
int isspacerune |
( |
Rune |
r | ) |
|
◆ istitlerune()
int istitlerune |
( |
Rune |
r | ) |
|
◆ isupperrune()
int isupperrune |
( |
Rune |
r | ) |
|
◆ isvalidcharntorune()
int isvalidcharntorune |
( |
const char * |
str, |
|
|
int |
n, |
|
|
Rune * |
r, |
|
|
int * |
consumed |
|
) |
| |
◆ runelen()
◆ runenlen()
int runenlen |
( |
const Rune * |
r, |
|
|
int |
n |
|
) |
| |
◆ runestrcat()
◆ runestrchr()
◆ runestrcmp()
int runestrcmp |
( |
const Rune * |
s1, |
|
|
const Rune * |
s2 |
|
) |
| |
◆ runestrcpy()
◆ runestrdup()
◆ runestrecpy()
◆ runestrlen()
long runestrlen |
( |
const Rune * |
s | ) |
|
◆ runestrncat()
◆ runestrncmp()
int runestrncmp |
( |
const Rune * |
s1, |
|
|
const Rune * |
s2, |
|
|
long |
n |
|
) |
| |
◆ runestrncpy()
◆ runestrrchr()
◆ runestrstr()
◆ runetochar()
int runetochar |
( |
char * |
s, |
|
|
const Rune * |
r |
|
) |
| |
Definition at line 253 of file rune.c.
273 str[0] =
T2 | (c >> 1*
Bitx);
292 str[0] =
T3 | (c >> 2*
Bitx);
302 str[0] =
T4 | (c >> 3*
Bitx);
◆ tolowerrune()
◆ totitlerune()
◆ toupperrune()
◆ utfecpy()
char* utfecpy |
( |
char * |
s1, |
|
|
char * |
es1, |
|
|
const char * |
s2 |
|
) |
| |
◆ utflen()
int utflen |
( |
const char * |
s | ) |
|
◆ utfnlen()
int utfnlen |
( |
const char * |
s, |
|
|
long |
n |
|
) |
| |
◆ utfrrune()
const char* utfrrune |
( |
const char * |
s, |
|
|
Rune |
r |
|
) |
| |
◆ utfrune()
const char* utfrune |
( |
const char * |
s, |
|
|
Rune |
r |
|
) |
| |
◆ utfutf()
const char* utfutf |
( |
const char * |
s1, |
|
|
const char * |
s2 |
|
) |
| |