#include "pcl/surface/3rdparty/opennurbs/opennurbs.h"
Go to the source code of this file.
Defines | |
#define | INPUT_BUFFER_TOO_SHORT 16 |
#define | INVALID_CONTINUATION_VALUE 16 |
#define | OVERLONG_ENCODING 8 |
Functions | |
int | ON_ConvertUTF16ToUTF32 (int bTestByteOrder, const ON__UINT16 *sUTF16, int sUTF16_count, unsigned int *sUTF32, int sUTF32_count, unsigned int *error_status, unsigned int error_mask, ON__UINT32 error_code_point, const ON__UINT16 **sNextUTF16) |
int | ON_ConvertUTF16ToUTF8 (int bTestByteOrder, const ON__UINT16 *sUTF16, int sUTF16_count, ON__UINT8 *sUTF8, int sUTF8_count, unsigned int *error_status, unsigned int error_mask, ON__UINT32 error_code_point, const ON__UINT16 **sNextUTF16) |
int | ON_ConvertUTF32ToUTF16 (int bTestByteOrder, const ON__UINT32 *sUTF32, int sUTF32_count, ON__UINT16 *sUTF16, int sUTF16_count, unsigned int *error_status, unsigned int error_mask, ON__UINT32 error_code_point, const ON__UINT32 **sNextUTF32) |
int | ON_ConvertUTF32ToUTF8 (int bTestByteOrder, const ON__UINT32 *sUTF32, int sUTF32_count, ON__UINT8 *sUTF8, int sUTF8_count, unsigned int *error_status, unsigned int error_mask, ON__UINT32 error_code_point, const ON__UINT32 **sNextUTF32) |
int | ON_ConvertUTF8ToUTF16 (const ON__UINT8 *sUTF8, int sUTF8_count, ON__UINT16 *sUTF16, int sUTF16_count, unsigned int *error_status, unsigned int error_mask, ON__UINT32 error_code_point, const ON__UINT8 **sNextUTF8) |
int | ON_ConvertUTF8ToUTF32 (const ON__UINT8 *sUTF8, int sUTF8_count, ON__UINT32 *sUTF32, int sUTF32_count, unsigned int *error_status, unsigned int error_mask, ON__UINT32 error_code_point, const ON__UINT8 **sNextUTF8) |
ON_DECL int | ON_ConvertUTF8ToWideChar (const char *sUTF8, int sUTF8_count, wchar_t *sWideChar, int sWideChar_count, unsigned int *error_status, unsigned int error_mask, ON__UINT32 error_code_point, const char **sNextUTF8) |
ON_DECL int | ON_ConvertWideCharToUTF8 (int bTestByteOrder, const wchar_t *sWideChar, int sWideChar_count, char *sUTF8, int sUTF8_count, unsigned int *error_status, unsigned int error_mask, ON__UINT32 error_code_point, const wchar_t **sNextWideChar) |
int | ON_DecodeSwapByteUTF16 (const ON__UINT16 *sUTF16, int sUTF16_count, struct ON_UnicodeErrorParameters *e, ON__UINT32 *unicode_code_point) |
int | ON_DecodeUTF16 (const ON__UINT16 *sUTF16, int sUTF16_count, struct ON_UnicodeErrorParameters *e, ON__UINT32 *unicode_code_point) |
int | ON_DecodeUTF8 (const ON__UINT8 *sUTF8, int sUTF8_count, struct ON_UnicodeErrorParameters *e, ON__UINT32 *unicode_code_point) |
static int | ON_DecodeUTF8Helper (const ON__UINT8 *sUTF8, int sUTF8_count, ON__UINT32 *value, unsigned int *error_status) |
int | ON_EncodeUTF16 (ON__UINT32 unicode_code_point, ON__UINT16 sUTF16[2]) |
int | ON_EncodeUTF8 (ON__UINT32 u, ON__UINT8 sUTF8[6]) |
int | ON_IsValidUnicodeCodePoint (ON__UINT32 u) |
static ON__UINT32 | SwapBytes32 (ON__UINT32 u) |
#define INPUT_BUFFER_TOO_SHORT 16 |
#define INVALID_CONTINUATION_VALUE 16 |
#define OVERLONG_ENCODING 8 |
int ON_ConvertUTF16ToUTF32 | ( | int | bTestByteOrder, |
const ON__UINT16 * | sUTF16, | ||
int | sUTF16_count, | ||
unsigned int * | sUTF32, | ||
int | sUTF32_count, | ||
unsigned int * | error_status, | ||
unsigned int | error_mask, | ||
ON__UINT32 | error_code_point, | ||
const ON__UINT16 ** | sNextUTF16 | ||
) |
Definition at line 1054 of file opennurbs_unicode.cpp.
int ON_ConvertUTF16ToUTF8 | ( | int | bTestByteOrder, |
const ON__UINT16 * | sUTF16, | ||
int | sUTF16_count, | ||
ON__UINT8 * | sUTF8, | ||
int | sUTF8_count, | ||
unsigned int * | error_status, | ||
unsigned int | error_mask, | ||
ON__UINT32 | error_code_point, | ||
const ON__UINT16 ** | sNextUTF16 | ||
) |
Definition at line 929 of file opennurbs_unicode.cpp.
int ON_ConvertUTF32ToUTF16 | ( | int | bTestByteOrder, |
const ON__UINT32 * | sUTF32, | ||
int | sUTF32_count, | ||
ON__UINT16 * | sUTF16, | ||
int | sUTF16_count, | ||
unsigned int * | error_status, | ||
unsigned int | error_mask, | ||
ON__UINT32 | error_code_point, | ||
const ON__UINT32 ** | sNextUTF32 | ||
) |
Definition at line 1296 of file opennurbs_unicode.cpp.
int ON_ConvertUTF32ToUTF8 | ( | int | bTestByteOrder, |
const ON__UINT32 * | sUTF32, | ||
int | sUTF32_count, | ||
ON__UINT8 * | sUTF8, | ||
int | sUTF8_count, | ||
unsigned int * | error_status, | ||
unsigned int | error_mask, | ||
ON__UINT32 | error_code_point, | ||
const ON__UINT32 ** | sNextUTF32 | ||
) |
Definition at line 1186 of file opennurbs_unicode.cpp.
int ON_ConvertUTF8ToUTF16 | ( | const ON__UINT8 * | sUTF8, |
int | sUTF8_count, | ||
ON__UINT16 * | sUTF16, | ||
int | sUTF16_count, | ||
unsigned int * | error_status, | ||
unsigned int | error_mask, | ||
ON__UINT32 | error_code_point, | ||
const ON__UINT8 ** | sNextUTF8 | ||
) |
Definition at line 761 of file opennurbs_unicode.cpp.
int ON_ConvertUTF8ToUTF32 | ( | const ON__UINT8 * | sUTF8, |
int | sUTF8_count, | ||
ON__UINT32 * | sUTF32, | ||
int | sUTF32_count, | ||
unsigned int * | error_status, | ||
unsigned int | error_mask, | ||
ON__UINT32 | error_code_point, | ||
const ON__UINT8 ** | sNextUTF8 | ||
) |
Definition at line 847 of file opennurbs_unicode.cpp.
ON_DECL int ON_ConvertUTF8ToWideChar | ( | const char * | sUTF8, |
int | sUTF8_count, | ||
wchar_t * | sWideChar, | ||
int | sWideChar_count, | ||
unsigned int * | error_status, | ||
unsigned int | error_mask, | ||
ON__UINT32 | error_code_point, | ||
const char ** | sNextUTF8 | ||
) |
Definition at line 1455 of file opennurbs_unicode.cpp.
ON_DECL int ON_ConvertWideCharToUTF8 | ( | int | bTestByteOrder, |
const wchar_t * | sWideChar, | ||
int | sWideChar_count, | ||
char * | sUTF8, | ||
int | sUTF8_count, | ||
unsigned int * | error_status, | ||
unsigned int | error_mask, | ||
ON__UINT32 | error_code_point, | ||
const wchar_t ** | sNextWideChar | ||
) |
Definition at line 1409 of file opennurbs_unicode.cpp.
int ON_DecodeSwapByteUTF16 | ( | const ON__UINT16 * | sUTF16, |
int | sUTF16_count, | ||
struct ON_UnicodeErrorParameters * | e, | ||
ON__UINT32 * | unicode_code_point | ||
) |
Definition at line 667 of file opennurbs_unicode.cpp.
int ON_DecodeUTF16 | ( | const ON__UINT16 * | sUTF16, |
int | sUTF16_count, | ||
struct ON_UnicodeErrorParameters * | e, | ||
ON__UINT32 * | unicode_code_point | ||
) |
Definition at line 598 of file opennurbs_unicode.cpp.
int ON_DecodeUTF8 | ( | const ON__UINT8 * | sUTF8, |
int | sUTF8_count, | ||
struct ON_UnicodeErrorParameters * | e, | ||
ON__UINT32 * | unicode_code_point | ||
) |
Definition at line 367 of file opennurbs_unicode.cpp.
static int ON_DecodeUTF8Helper | ( | const ON__UINT8 * | sUTF8, |
int | sUTF8_count, | ||
ON__UINT32 * | value, | ||
unsigned int * | error_status | ||
) | [static] |
Definition at line 128 of file opennurbs_unicode.cpp.
int ON_EncodeUTF16 | ( | ON__UINT32 | unicode_code_point, |
ON__UINT16 | sUTF16[2] | ||
) |
Definition at line 559 of file opennurbs_unicode.cpp.
int ON_EncodeUTF8 | ( | ON__UINT32 | u, |
ON__UINT8 | sUTF8[6] | ||
) |
Definition at line 24 of file opennurbs_unicode.cpp.
int ON_IsValidUnicodeCodePoint | ( | ON__UINT32 | u | ) |
Definition at line 19 of file opennurbs_unicode.cpp.
static ON__UINT32 SwapBytes32 | ( | ON__UINT32 | u | ) | [static] |
Definition at line 1177 of file opennurbs_unicode.cpp.