diff options
Diffstat (limited to 'localedata/tests-mbwc/dat_mblen.c')
-rw-r--r-- | localedata/tests-mbwc/dat_mblen.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/localedata/tests-mbwc/dat_mblen.c b/localedata/tests-mbwc/dat_mblen.c index 7e9ba747fb..ce47c2e402 100644 --- a/localedata/tests-mbwc/dat_mblen.c +++ b/localedata/tests-mbwc/dat_mblen.c @@ -56,17 +56,17 @@ TST_MBLEN tst_mblen_loc [] = { { Tmblen, TST_LOC_de }, { /* 01: a character. */ - { { 1, "\300", USE_MBCURMAX }, { 0, 0, 1, 1 } }, + { { 1, "\300", USE_MBCURMAX }, { 0, 1, 1 } }, /* 02: a character. */ - { { 1, "\309", USE_MBCURMAX }, { 0, 0, 1, 1 } }, + { { 1, "\309", USE_MBCURMAX }, { 0, 1, 1 } }, /* 03: a character + an invalid byte. */ - { { 1, "Z\204", USE_MBCURMAX }, { 0, 0, 1, +1 } }, + { { 1, "Z\204", USE_MBCURMAX }, { 0, 1, +1 } }, /* 04: control/invalid characters. */ - { { 1, "\177\000", USE_MBCURMAX }, { 0, 0, 1, +1 } }, + { { 1, "\177\000", USE_MBCURMAX }, { 0, 1, +1 } }, /* 05: a null string. */ - { { 1, "", USE_MBCURMAX }, { 0, 0, 1, 0 } }, + { { 1, "", USE_MBCURMAX }, { 0, 1, 0 } }, /* 06: a null pointer. */ - { { 0, "", USE_MBCURMAX }, { 0, 0, 0, 0 } }, + { { 0, "", USE_MBCURMAX }, { 0, 0, 0 } }, /* Last element. */ { is_last: 1 } } @@ -75,17 +75,17 @@ TST_MBLEN tst_mblen_loc [] = { { Tmblen, TST_LOC_enUS }, { /* 01: a character. */ - { { 1, "A", USE_MBCURMAX }, { 0, 0, 1, 1 } }, + { { 1, "A", USE_MBCURMAX }, { 0, 1, 1 } }, /* 02: a character. */ - { { 1, "a", USE_MBCURMAX }, { 0, 0, 1, 1 } }, + { { 1, "a", USE_MBCURMAX }, { 0, 1, 1 } }, /* 03: a character + an invalid byte. */ - { { 1, "Z\204", USE_MBCURMAX }, { 0, 0, 1, +1 } }, - /* 04: control/invalid characters. */ - { { 1, "\177\000", USE_MBCURMAX }, { 0, 0, 1, +1 } }, - /* 05: a null string. */ - { { 1, "", USE_MBCURMAX }, { 0, 0, 1, 0 } }, - /* 06: a null pointer. */ - { { 0, "", USE_MBCURMAX }, { 0, 0, 0, 0 } }, + { { 1, "Z\204", USE_MBCURMAX }, { 0, 1, +1 } }, + /* 04: control/invalid characters. */ + { { 1, "\177\000", USE_MBCURMAX }, { 0, 1, +1 } }, + /* 05: a null string. */ + { { 1, "", USE_MBCURMAX }, { 0, 1, 0 } }, + /* 06: a null pointer. */ + { { 0, "", USE_MBCURMAX }, { 0, 0, 0 } }, /* Last element. */ { is_last: 1 } } @@ -94,17 +94,17 @@ TST_MBLEN tst_mblen_loc [] = { { Tmblen, TST_LOC_eucJP }, { /* 01: a character. */ - { { 1, "\264\301", USE_MBCURMAX }, { 0, 0, 1, 2 } }, - /* 02: a character. */ - { { 1, "\216\261", USE_MBCURMAX }, { 0, 0, 1, 2 } }, - /* 03: a character + an invalid byte. */ - { { 1, "\260\241\200", USE_MBCURMAX }, { 0, 0, 1, 2 } }, + { { 1, "\264\301", USE_MBCURMAX }, { 0, 1, 2 } }, + /* 02: a character. */ + { { 1, "\216\261", USE_MBCURMAX }, { 0, 1, 2 } }, + /* 03: a character + an invalid byte. */ + { { 1, "\260\241\200", USE_MBCURMAX }, { 0, 1, 2 } }, /* 04: control/invalid characters. */ - { { 1, "\377\202", USE_MBCURMAX }, { 1, EILSEQ, 1, -1 } }, - /* 05: a null string. */ - { { 1, "", USE_MBCURMAX }, { 0, 0, 1, 0 } }, - /* 06: a null pointer. */ - { { 0, "", USE_MBCURMAX }, { 0, 0, 0, 0 } }, + { { 1, "\377\202", USE_MBCURMAX }, { EILSEQ, 1, -1 } }, + /* 05: a null string. */ + { { 1, "", USE_MBCURMAX }, { 0, 1, 0 } }, + /* 06: a null pointer. */ + { { 0, "", USE_MBCURMAX }, { 0, 0, 0 } }, /* Last element. */ { is_last: 1 } } |