Back to index

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