/kernel/linux/linux-6.6/fs/unicode/ |
H A D | utf8-norm.c | 413 * u8c : pointer to cursor. 420 int utf8ncursor(struct utf8cursor *u8c, const struct unicode_map *um, in utf8ncursor() argument 425 u8c->um = um; in utf8ncursor() 426 u8c->n = n; in utf8ncursor() 427 u8c->s = s; in utf8ncursor() 428 u8c->p = NULL; in utf8ncursor() 429 u8c->ss = NULL; in utf8ncursor() 430 u8c->sp = NULL; in utf8ncursor() 431 u8c->len = len; in utf8ncursor() 432 u8c in utf8ncursor() 471 utf8byte(struct utf8cursor *u8c) utf8byte() argument [all...] |
H A D | mkutf8data.c | 2985 * u8c : pointer to cursor. 2990 int utf8ncursor(struct utf8cursor *u8c, struct tree *tree, const char *s, in utf8ncursor() argument 2997 u8c->tree = tree; in utf8ncursor() 2998 u8c->s = s; in utf8ncursor() 2999 u8c->p = NULL; in utf8ncursor() 3000 u8c->ss = NULL; in utf8ncursor() 3001 u8c->sp = NULL; in utf8ncursor() 3002 u8c->len = len; in utf8ncursor() 3003 u8c->slen = 0; in utf8ncursor() 3004 u8c in utf8ncursor() 3025 utf8cursor(struct utf8cursor *u8c, struct tree *tree, const char *s) utf8cursor() argument 3057 utf8byte(struct utf8cursor *u8c) utf8byte() argument 3179 struct utf8cursor u8c; normalize_line() local [all...] |
H A D | utf8-selftest.c | 167 static int utf8cursor(struct utf8cursor *u8c, const struct unicode_map *um, in utf8cursor() argument 170 return utf8ncursor(u8c, um, n, s, (unsigned int)-1); in utf8cursor() 176 struct utf8cursor u8c; in check_utf8_nfdi() local 188 if (utf8cursor(&u8c, um, UTF8_NFDI, nfdi_test_data[i].str) < 0) in check_utf8_nfdi() 191 while ((c = utf8byte(&u8c)) > 0) { in check_utf8_nfdi() 205 struct utf8cursor u8c; in check_utf8_nfdicf() local 218 if (utf8cursor(&u8c, um, UTF8_NFDICF, in check_utf8_nfdicf() 222 while ((c = utf8byte(&u8c)) > 0) { in check_utf8_nfdicf()
|
H A D | utf8n.h | 52 int utf8ncursor(struct utf8cursor *u8c, const struct unicode_map *um, 61 extern int utf8byte(struct utf8cursor *u8c);
|
/kernel/linux/linux-5.10/fs/unicode/ |
H A D | utf8-norm.c | 576 * u8c : pointer to cursor. 583 int utf8ncursor(struct utf8cursor *u8c, const struct utf8data *data, in utf8ncursor() argument 590 u8c->data = data; in utf8ncursor() 591 u8c->s = s; in utf8ncursor() 592 u8c->p = NULL; in utf8ncursor() 593 u8c->ss = NULL; in utf8ncursor() 594 u8c->sp = NULL; in utf8ncursor() 595 u8c->len = len; in utf8ncursor() 596 u8c->slen = 0; in utf8ncursor() 597 u8c in utf8ncursor() 618 utf8cursor(struct utf8cursor *u8c, const struct utf8data *data, const char *s) utf8cursor() argument 652 utf8byte(struct utf8cursor *u8c) utf8byte() argument [all...] |
H A D | mkutf8data.c | 2985 * u8c : pointer to cursor. 2990 int utf8ncursor(struct utf8cursor *u8c, struct tree *tree, const char *s, in utf8ncursor() argument 2997 u8c->tree = tree; in utf8ncursor() 2998 u8c->s = s; in utf8ncursor() 2999 u8c->p = NULL; in utf8ncursor() 3000 u8c->ss = NULL; in utf8ncursor() 3001 u8c->sp = NULL; in utf8ncursor() 3002 u8c->len = len; in utf8ncursor() 3003 u8c->slen = 0; in utf8ncursor() 3004 u8c in utf8ncursor() 3025 utf8cursor(struct utf8cursor *u8c, struct tree *tree, const char *s) utf8cursor() argument 3057 utf8byte(struct utf8cursor *u8c) utf8byte() argument 3179 struct utf8cursor u8c; normalize_line() local [all...] |
H A D | utf8n.h | 95 extern int utf8cursor(struct utf8cursor *u8c, const struct utf8data *data, 97 extern int utf8ncursor(struct utf8cursor *u8c, const struct utf8data *data, 106 extern int utf8byte(struct utf8cursor *u8c);
|
H A D | utf8-selftest.c | 166 struct utf8cursor u8c; in check_utf8_nfdi() local 185 if (utf8cursor(&u8c, data, nfdi_test_data[i].str) < 0) in check_utf8_nfdi() 188 while ((c = utf8byte(&u8c)) > 0) { in check_utf8_nfdi() 202 struct utf8cursor u8c; in check_utf8_nfdicf() local 221 if (utf8cursor(&u8c, data, nfdicf_test_data[i].str) < 0) in check_utf8_nfdicf() 224 while ((c = utf8byte(&u8c)) > 0) { in check_utf8_nfdicf()
|