Back to index

glibc  2.9
dat_towupper.c
Go to the documentation of this file.
00001 /*
00002  *  TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
00003  *
00004  *      FILE: dat_towupper.c
00005  *
00006  *      ISW*: int towupper (wint_t wc);
00007  */
00008 
00009 
00010 #include "dat_tow-funcs.h"
00011 
00012 
00013 TST_TOW_LOC (UPPER, upper) = {
00014 
00015   {   TST_TOW_REC (de, upper)
00016       {
00017        {  { WEOF   }, { 0,  1, (wint_t)-1 }      },
00018        {  { 0x0080 }, { 0,  1, 0x0080     }      },
00019        {  { 0x00EC }, { 0,  1, 0x00CC     }      },
00020        {  { 0x00CC }, { 0,  1, 0x00CC     }      },
00021        { .is_last = 1 } /* Last element.   */
00022       }
00023   },
00024   {   TST_TOW_REC (enUS, upper)
00025       {
00026        {  { WEOF   }, { 0,  1, (wint_t)-1 }      },
00027        {  { 0x0080 }, { 0,  1, 0x0080     }      },
00028        {  { 0x0041 }, { 0,  1, 0x0041     }      },
00029        {  { 0x0061 }, { 0,  1, 0x0041     }      },
00030        { .is_last = 1 } /* Last element.   */
00031       }
00032   },
00033   {   TST_TOW_REC (eucJP, upper)
00034       {
00035        {  { WEOF   }, { 0,  1, (wint_t)-1 }      },
00036        {  { 0x007F }, { 0,  1, 0x007F     }      },
00037        {  { 0xFF41 }, { 0,  1, 0xFF21     }      },
00038        {  { 0xFF21 }, { 0,  1, 0xFF21     }      },
00039        { .is_last = 1 } /* Last element.   */
00040       }
00041   },
00042   {   TST_TOW_REC (end, upper) }
00043 };