|
Android-cuttlefish cvd tool
|
#include <stdint.h>#include <unistd.h>#include <string.h>#include <limits.h>#include <errno.h>#include <f2fs_fs.h>#include "utf8data.h"
Classes | |
| struct | utf8cursor |
| struct | utf8data |
Macros | |
| #define | UNICODE_MAJ_SHIFT (16) |
| #define | UNICODE_MIN_SHIFT (8) |
| #define | UNICODE_AGE(MAJ, MIN, REV) |
| #define | UTF8HANGULLEAF (12) |
| #define | __INCLUDED_FROM_UTF8NORM_C__ |
| #define | ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0])) |
| #define | BITNUM 0x07 |
| #define | NEXTBYTE 0x08 |
| #define | OFFLEN 0x30 |
| #define | OFFLEN_SHIFT 4 |
| #define | RIGHTPATH 0x40 |
| #define | TRIENODE 0x80 |
| #define | RIGHTNODE 0x40 |
| #define | LEFTNODE 0x80 |
| #define | LEAF_GEN(LEAF) ((LEAF)[0]) |
| #define | LEAF_CCC(LEAF) ((LEAF)[1]) |
| #define | LEAF_STR(LEAF) ((const char *)((LEAF) + 2)) |
| #define | MINCCC (0) |
| #define | MAXCCC (254) |
| #define | STOPPER (0) |
| #define | DECOMPOSE (255) |
| #define | HANGUL ((char)(255)) |
| #define | UTF8HANGULLEAF (12) |
| #define | SB (0xAC00) |
| #define | LB (0x1100) |
| #define | VB (0x1161) |
| #define | TB (0x11A7) |
| #define | LC (19) |
| #define | VC (21) |
| #define | TC (28) |
| #define | NC (VC * TC) |
| #define | SC (LC * NC) |
Typedefs | |
| typedef const unsigned char | utf8trie_t |
| typedef const unsigned char | utf8leaf_t |
Functions | |
| static int | utf8clen (const char *s) |
| static unsigned int | utf8decode3 (const char *str) |
| static int | utf8encode3 (char *str, unsigned int val) |
| static utf8leaf_t * | utf8hangul (const char *str, unsigned char *hangul) |
| static utf8leaf_t * | utf8nlookup (const struct utf8data *data, unsigned char *hangul, const char *s, size_t len) |
| static utf8leaf_t * | utf8lookup (const struct utf8data *data, unsigned char *hangul, const char *s) |
| static int | utf8ncursor (struct utf8cursor *u8c, const struct utf8data *data, const char *s, size_t len) |
| static int | utf8byte (struct utf8cursor *u8c) |
| static const struct utf8data * | utf8nfdicf (unsigned int maxage) |
| static int | utf8_casefold (const struct f2fs_nls_table *table, const unsigned char *str, size_t len, unsigned char *dest, size_t dlen) |
| const struct f2fs_nls_table * | f2fs_load_nls_table (int encoding) |
Variables | |
| static const struct f2fs_nls_ops | utf8_ops |
| static const struct f2fs_nls_table | nls_utf8 |
| #define __INCLUDED_FROM_UTF8NORM_C__ |
| #define ARRAY_SIZE | ( | array | ) | (sizeof(array) / sizeof(array[0])) |
| #define BITNUM 0x07 |
| #define DECOMPOSE (255) |
| #define HANGUL ((char)(255)) |
| #define LB (0x1100) |
| #define LC (19) |
| #define LEAF_CCC | ( | LEAF | ) | ((LEAF)[1]) |
| #define LEAF_GEN | ( | LEAF | ) | ((LEAF)[0]) |
| #define LEAF_STR | ( | LEAF | ) | ((const char *)((LEAF) + 2)) |
| #define LEFTNODE 0x80 |
| #define MAXCCC (254) |
| #define MINCCC (0) |
| #define NEXTBYTE 0x08 |
| #define OFFLEN 0x30 |
| #define OFFLEN_SHIFT 4 |
| #define RIGHTNODE 0x40 |
| #define RIGHTPATH 0x40 |
| #define SB (0xAC00) |
| #define STOPPER (0) |
| #define TB (0x11A7) |
| #define TC (28) |
| #define TRIENODE 0x80 |
| #define UNICODE_AGE | ( | MAJ, | |
| MIN, | |||
| REV | |||
| ) |
| #define UNICODE_MAJ_SHIFT (16) |
| #define UNICODE_MIN_SHIFT (8) |
| #define UTF8HANGULLEAF (12) |
| #define UTF8HANGULLEAF (12) |
| #define VB (0x1161) |
| #define VC (21) |
| typedef const unsigned char utf8leaf_t |
| typedef const unsigned char utf8trie_t |
| const struct f2fs_nls_table * f2fs_load_nls_table | ( | int | encoding | ) |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |