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_CFUNC uint8_t U_IMPORT utf8_countTrailBytes [256]


Define Documentation

#define UTF8_COUNT_TRAIL_BYTES (leadByte)

Definition at line 47 of file utf8.h.

#define UTF8_MASK_LEAD_BYTE (leadByte, countTrailBytes)

Definition at line 50 of file utf8.h.

#define UTF8_IS_SINGLE (uchar)

Definition at line 74 of file utf8.h.

#define UTF8_IS_LEAD (uchar)

Definition at line 75 of file utf8.h.

#define UTF8_IS_TRAIL (uchar)

Definition at line 76 of file utf8.h.

#define UTF8_NEED_MULTIPLE_UCHAR (c)

Definition at line 79 of file utf8.h.

#define UTF8_CHAR_LENGTH (c)

Definition at line 92 of file utf8.h.

#define UTF8_MAX_CHAR_LENGTH ()

Definition at line 113 of file utf8.h.

#define UTF8_ARRAY_SIZE (size)

Definition at line 116 of file utf8.h.

#define UTF8_GET_CHAR_UNSAFE (s, i, c)

Definition at line 118 of file utf8.h.

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

Definition at line 124 of file utf8.h.

#define UTF8_NEXT_CHAR_UNSAFE (s, i, c)

Definition at line 143 of file utf8.h.

#define UTF8_APPEND_CHAR_UNSAFE (s, i, c)

Definition at line 162 of file utf8.h.

#define UTF8_FWD_1_UNSAFE (s, i)

Definition at line 181 of file utf8.h.

#define UTF8_FWD_N_UNSAFE (s, i, n)

Definition at line 185 of file utf8.h.

#define UTF8_SET_CHAR_START_UNSAFE (s, i)

Definition at line 193 of file utf8.h.

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

Definition at line 197 of file utf8.h.

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

Definition at line 204 of file utf8.h.

#define UTF8_FWD_1_SAFE (s, i, length)

Definition at line 212 of file utf8.h.

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

Definition at line 226 of file utf8.h.

#define UTF8_SET_CHAR_START_SAFE (s, start, i)

Definition at line 234 of file utf8.h.

#define UTF8_PREV_CHAR_UNSAFE (s, i, c)

Definition at line 242 of file utf8.h.

#define UTF8_BACK_1_UNSAFE (s, i)

Definition at line 264 of file utf8.h.

#define UTF8_BACK_N_UNSAFE (s, i, n)

Definition at line 268 of file utf8.h.

#define UTF8_SET_CHAR_LIMIT_UNSAFE (s, i)

Definition at line 276 of file utf8.h.

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

Definition at line 281 of file utf8.h.

#define UTF8_BACK_1_SAFE (s, start, i)

Definition at line 288 of file utf8.h.

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

Definition at line 294 of file utf8.h.

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

Definition at line 302 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_CFUNC uint8_t U_IMPORT utf8_countTrailBytes[256]

Definition at line 39 of file utf8.h.


Generated at Wed Aug 16 16:05:32 2000 for ICU1.6 by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999