LLVM: lib/Support/ConvertUTF.cpp File Reference (original) (raw)
#include "[llvm/Support/ConvertUTF.h](ConvertUTF%5F8h%5Fsource.html)"
#include <assert.h>
Go to the source code of this file.
| Namespaces |
|
| namespace |
llvm |
|
This is an optimization pass for GlobalISel generic memory operations. |
| Functions |
|
| LLVM_ABI ConversionResult |
llvm::ConvertUTF32toUTF16 (const UTF32 **sourceStart, const UTF32 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, ConversionFlags flags) |
| LLVM_ABI ConversionResult |
llvm::ConvertUTF16toUTF32 (const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, ConversionFlags flags) |
| LLVM_ABI ConversionResult |
llvm::ConvertUTF16toUTF8 (const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, ConversionFlags flags) |
| LLVM_ABI ConversionResult |
llvm::ConvertUTF32toUTF8 (const UTF32 **sourceStart, const UTF32 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, ConversionFlags flags) |
| static Boolean |
llvm::isLegalUTF8 (const UTF8 *source, int length) |
| LLVM_ABI Boolean |
llvm::isLegalUTF8Sequence (const UTF8 *source, const UTF8 *sourceEnd) |
| LLVM_ABI unsigned |
llvm::getUTF8SequenceSize (const UTF8 *source, const UTF8 *sourceEnd) |
| static unsigned |
llvm::findMaximalSubpartOfIllFormedUTF8Sequence (const UTF8 *source, const UTF8 *sourceEnd) |
| LLVM_ABI unsigned |
llvm::getNumBytesForUTF8 (UTF8 firstByte) |
| LLVM_ABI Boolean |
llvm::isLegalUTF8String (const UTF8 **source, const UTF8 *sourceEnd) |
| LLVM_ABI ConversionResult |
llvm::ConvertUTF8toUTF16 (const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, ConversionFlags flags) |
| static ConversionResult |
llvm::ConvertUTF8toUTF32Impl (const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, ConversionFlags flags, Boolean InputIsPartial) |
| LLVM_ABI ConversionResult |
llvm::ConvertUTF8toUTF32Partial (const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, ConversionFlags flags) |
|
Convert a partial UTF8 sequence to UTF32. |
| LLVM_ABI ConversionResult |
llvm::ConvertUTF8toUTF32 (const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, ConversionFlags flags) |
|
Convert a partial UTF8 sequence to UTF32. |
◆ ConvertUTF_DISABLE_WARNINGS
#define ConvertUTF_DISABLE_WARNINGS
◆ ConvertUTF_RESTORE_WARNINGS
#define ConvertUTF_RESTORE_WARNINGS
◆ UNI_SUR_HIGH_END
#define UNI_SUR_HIGH_END (UTF32)0xDBFF
◆ UNI_SUR_HIGH_START
#define UNI_SUR_HIGH_START (UTF32)0xD800
◆ UNI_SUR_LOW_END
#define UNI_SUR_LOW_END (UTF32)0xDFFF
◆ UNI_SUR_LOW_START
#define UNI_SUR_LOW_START (UTF32)0xDC00