Main Page   Class Hierarchy   Compound List   File List   Header Files   Sources   Compound Members   File Members  

utf8.h File Reference


Defines

#define UTF8_COUNT_TRAIL_BYTES (leadByte)
#define UTF8_MASK_LEAD_BYTE (leadByte, countTrailBytes)
#define UTF8_IS_SINGLE (uchar)
#define UTF8_IS_LEAD (uchar)
#define UTF8_IS_TRAIL (uchar)
#define UTF8_NEED_MULTIPLE_UCHAR (c)
#define UTF8_CHAR_LENGTH (c)
#define UTF8_MAX_CHAR_LENGTH
#define UTF8_ARRAY_SIZE (size)
#define UTF8_GET_CHAR_UNSAFE (s, i, c)
#define UTF8_GET_CHAR_SAFE (s, start, i, length, c, strict)
#define UTF8_NEXT_CHAR_UNSAFE (s, i, c)
#define UTF8_APPEND_CHAR_UNSAFE (s, i, c)
#define UTF8_FWD_1_UNSAFE (s, i)
#define UTF8_FWD_N_UNSAFE (s, i, n)
#define UTF8_SET_CHAR_START_UNSAFE (s, i)
#define UTF8_NEXT_CHAR_SAFE (s, i, length, c, strict)
#define UTF8_APPEND_CHAR_SAFE (s, i, length, c)
#define UTF8_FWD_1_SAFE (s, i, length)
#define UTF8_FWD_N_SAFE (s, i, length, n)
#define UTF8_SET_CHAR_START_SAFE (s, start, i)
#define UTF8_PREV_CHAR_UNSAFE (s, i, c)
#define UTF8_BACK_1_UNSAFE (s, i)
#define UTF8_BACK_N_UNSAFE (s, i, n)
#define UTF8_SET_CHAR_LIMIT_UNSAFE (s, i)
#define UTF8_PREV_CHAR_SAFE (s, start, i, c, strict)
#define UTF8_BACK_1_SAFE (s, start, i)
#define UTF8_BACK_N_SAFE (s, start, i, n)
#define UTF8_SET_CHAR_LIMIT_SAFE (s, start, i, length)

Functions

U_CAPI UChar32 U_EXPORT2 utf8_nextCharSafeBody (const uint8_t *s, UTextOffset *pi, UTextOffset length, UChar32 c, UBool strict)
U_CAPI UTextOffset U_EXPORT2 utf8_appendCharSafeBody (uint8_t *s, UTextOffset i, UTextOffset length, UChar32 c)
U_CAPI UChar32 U_EXPORT2 utf8_prevCharSafeBody (const uint8_t *s, UTextOffset start, UTextOffset *pi, UChar32 c, UBool strict)
U_CAPI UTextOffset U_EXPORT2 utf8_back1SafeBody (const uint8_t *s, UTextOffset start, UTextOffset i)

Variables

U_CAPI uint8_t U_EXPORT2 utf8_countTrailBytes [256]


Define Documentation

#define UTF8_COUNT_TRAIL_BYTES (leadByte)

Definition at line 42 of file utf8.h.

#define UTF8_MASK_LEAD_BYTE (leadByte, countTrailBytes)

Definition at line 45 of file utf8.h.

#define UTF8_IS_SINGLE (uchar)

Definition at line 69 of file utf8.h.

#define UTF8_IS_LEAD (uchar)

Definition at line 70 of file utf8.h.

#define UTF8_IS_TRAIL (uchar)

Definition at line 71 of file utf8.h.

#define UTF8_NEED_MULTIPLE_UCHAR (c)

Definition at line 74 of file utf8.h.

#define UTF8_CHAR_LENGTH (c)

Definition at line 87 of file utf8.h.

#define UTF8_MAX_CHAR_LENGTH ()

Definition at line 108 of file utf8.h.

#define UTF8_ARRAY_SIZE (size)

Definition at line 111 of file utf8.h.

#define UTF8_GET_CHAR_UNSAFE (s, i, c)

Definition at line 113 of file utf8.h.

#define UTF8_GET_CHAR_SAFE (s, start, i, length, c, strict)

Definition at line 119 of file utf8.h.

#define UTF8_NEXT_CHAR_UNSAFE (s, i, c)

Definition at line 138 of file utf8.h.

#define UTF8_APPEND_CHAR_UNSAFE (s, i, c)

Definition at line 157 of file utf8.h.

#define UTF8_FWD_1_UNSAFE (s, i)

Definition at line 176 of file utf8.h.

#define UTF8_FWD_N_UNSAFE (s, i, n)

Definition at line 180 of file utf8.h.

#define UTF8_SET_CHAR_START_UNSAFE (s, i)

Definition at line 188 of file utf8.h.

#define UTF8_NEXT_CHAR_SAFE (s, i, length, c, strict)

Definition at line 192 of file utf8.h.

#define UTF8_APPEND_CHAR_SAFE (s, i, length, c)

Definition at line 199 of file utf8.h.

#define UTF8_FWD_1_SAFE (s, i, length)

Definition at line 207 of file utf8.h.

#define UTF8_FWD_N_SAFE (s, i, length, n)

Definition at line 221 of file utf8.h.

#define UTF8_SET_CHAR_START_SAFE (s, start, i)

Definition at line 229 of file utf8.h.

#define UTF8_PREV_CHAR_UNSAFE (s, i, c)

Definition at line 237 of file utf8.h.

#define UTF8_BACK_1_UNSAFE (s, i)

Definition at line 259 of file utf8.h.

#define UTF8_BACK_N_UNSAFE (s, i, n)

Definition at line 263 of file utf8.h.

#define UTF8_SET_CHAR_LIMIT_UNSAFE (s, i)

Definition at line 271 of file utf8.h.

#define UTF8_PREV_CHAR_SAFE (s, start, i, c, strict)

Definition at line 276 of file utf8.h.

#define UTF8_BACK_1_SAFE (s, start, i)

Definition at line 283 of file utf8.h.

#define UTF8_BACK_N_SAFE (s, start, i, n)

Definition at line 289 of file utf8.h.

#define UTF8_SET_CHAR_LIMIT_SAFE (s, start, i, length)

Definition at line 297 of file utf8.h.


Function Documentation

U_CAPI UChar32 U_EXPORT2 utf8_nextCharSafeBody (const uint8_t * s, UTextOffset * pi, UTextOffset length, UChar32 c, UBool strict)

U_CAPI UTextOffset U_EXPORT2 utf8_appendCharSafeBody (uint8_t * s, UTextOffset i, UTextOffset length, UChar32 c)

U_CAPI UChar32 U_EXPORT2 utf8_prevCharSafeBody (const uint8_t * s, UTextOffset start, UTextOffset * pi, UChar32 c, UBool strict)

U_CAPI UTextOffset U_EXPORT2 utf8_back1SafeBody (const uint8_t * s, UTextOffset start, UTextOffset i)


Variable Documentation

U_CAPI uint8_t U_EXPORT2 utf8_countTrailBytes[256]

Definition at line 35 of file utf8.h.


Generated at Mon Jun 5 12:53:01 2000 for ICU1.5 by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999