12#if U_SHOW_CPLUSPLUS_API
66 const char *locale, uint32_t options,
67 const char16_t *src, int32_t srcLength,
68 char16_t *dest, int32_t destCapacity,
Edits *edits,
102 const char *locale, uint32_t options,
103 const char16_t *src, int32_t srcLength,
104 char16_t *dest, int32_t destCapacity,
Edits *edits,
107#if !UCONFIG_NO_BREAK_ITERATION
154 const char16_t *src, int32_t srcLength,
155 char16_t *dest, int32_t destCapacity,
Edits *edits,
196 const char16_t *src, int32_t srcLength,
197 char16_t *dest, int32_t destCapacity,
Edits *edits,
222 const char *locale, uint32_t options,
248 const char *locale, uint32_t options,
252#if !UCONFIG_NO_BREAK_ITERATION
354 const char *locale, uint32_t options,
355 const char *src, int32_t srcLength,
356 char *dest, int32_t destCapacity,
Edits *edits,
390 const char *locale, uint32_t options,
391 const char *src, int32_t srcLength,
392 char *dest, int32_t destCapacity,
Edits *edits,
395#if !UCONFIG_NO_BREAK_ITERATION
441 const char *src, int32_t srcLength,
442 char *dest, int32_t destCapacity,
Edits *edits,
483 const char *src, int32_t srcLength,
484 char *dest, int32_t destCapacity,
Edits *edits,
The BreakIterator class implements methods for finding the location of boundaries in text.
A ByteSink can be filled with bytes.
Low-level C++ case mapping functions.
static int32_t utf8Fold(uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Case-folds a UTF-8 string and optionally records edits.
static int32_t toTitle(const char *locale, uint32_t options, BreakIterator *iter, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Titlecases a UTF-16 string and optionally records edits.
static int32_t toLower(const char *locale, uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Lowercases a UTF-16 string and optionally records edits.
static void utf8ToUpper(const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode)
Uppercases a UTF-8 string and optionally records edits.
static int32_t utf8ToTitle(const char *locale, uint32_t options, BreakIterator *iter, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Titlecases a UTF-8 string and optionally records edits.
static void utf8ToTitle(const char *locale, uint32_t options, BreakIterator *iter, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode)
Titlecases a UTF-8 string and optionally records edits.
static int32_t fold(uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Case-folds a UTF-16 string and optionally records edits.
static int32_t utf8ToLower(const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Lowercases a UTF-8 string and optionally records edits.
static int32_t utf8ToUpper(const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Uppercases a UTF-8 string and optionally records edits.
static void utf8ToLower(const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode)
Lowercases a UTF-8 string and optionally records edits.
static int32_t toUpper(const char *locale, uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Uppercases a UTF-16 string and optionally records edits.
static void utf8Fold(uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode)
Case-folds a UTF-8 string and optionally records edits.
Records lengths of string edits but not replacement text.
A string-like object that points to a sized piece of memory.
UMemory is the common ICU base class.
C++ API: StringPiece: Read-only byte string wrapper class.
C++ API: Common ICU base class UObject.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.