1 /* 2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY 3 * 4 * FILE: dat_wcscpy.c 5 * 6 * WCSCPY: wchar_t *wcscpy (wchar_t *ws1, const wchar_t *ws2); 7 */ 8 9 TST_WCSCPY tst_wcscpy_loc [] = { 10 11 { { Twcscpy, TST_LOC_de }, 12 { 13 { { { 0x00F1,0x00F2,0x00F3,0x0000 }, }, /* 1 */ 14 { 0,0,0, { 0x00F1,0x00F2,0x00F3,0x0000, } }, }, 15 { { { 0x0000,0x00F2,0x00F3,0x0000 }, }, /* 2 */ 16 { 0,0,0, { 0x0000, } }, }, 17 { .is_last = 1 } 18 } 19 }, 20 { { Twcscpy, TST_LOC_enUS }, 21 { 22 { { { 0x0041,0x0082,0x0043,0x0000 }, }, /* 1 */ 23 { 0,0,0, { 0x0041,0x0082,0x0043,0x0000, } }, }, 24 { { { 0x0000,0x0082,0x0043,0x0000 }, }, /* 2 */ 25 { 0,0,0, { 0x0000, } }, }, 26 { .is_last = 1 } 27 } 28 }, 29 { { Twcscpy, TST_LOC_eucJP }, 30 { 31 { { { 0x3041,0x0092,0x3043,0x0000 }, }, /* 1 */ 32 { 0,0,0, { 0x3041,0x0092,0x3043,0x0000, } }, }, 33 { { { 0x0000,0x0092,0x3043,0x0000 }, }, /* 2 */ 34 { 0,0,0, { 0x0000, } }, }, 35 { .is_last = 1 } 36 } 37 }, 38 { { Twcscpy, TST_LOC_end }} 39 40 }; 41