]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/uclibc/lib/contrib/uclibc/test/locale-mbwc/tgn_funcdef.h
Update
[l4.git] / l4 / pkg / l4re-core / uclibc / lib / contrib / uclibc / test / locale-mbwc / tgn_funcdef.h
1 #ifndef TGN_FUNCDEF_H
2 #define TGN_FUNCDEF_H
3
4 /* Unique number for each test.  */
5 #define  Tiswalnum              1
6 #define  Tiswalpha              2
7 #define  Tiswcntrl              3
8 #define  Tiswctype              4
9 #define  Tiswdigit              5
10 #define  Tiswgraph              6
11 #define  Tiswlower              7
12 #define  Tiswprint              8
13 #define  Tiswpunct              9
14 #define  Tiswspace              10
15 #define  Tiswupper              11
16 #define  Tiswxdigit             12
17 #define  Tmblen                 13
18 #define  Tmbrlen                14
19 #define  Tmbrtowc               15
20 #define  Tmbsrtowcs             16
21 #define  Tmbstowcs              17
22 #define  Tmbtowc                18
23 #define  Tstrcoll               19
24 #define  Tstrfmon               20
25 #define  Tstrxfrm               21
26 #define  Tswscanf               22
27 #define  Ttowctrans             23
28 #define  Ttowlower              24
29 #define  Ttowupper              25
30 #define  Twcrtomb               26
31 #define  Twcscat                27
32 #define  Twcschr                28
33 #define  Twcscmp                29
34 #define  Twcscoll               30
35 #define  Twcscpy                31
36 #define  Twcscspn               32
37 #define  Twcslen                33
38 #define  Twcsncat               34
39 #define  Twcsncmp               35
40 #define  Twcsncpy               36
41 #define  Twcspbrk               37
42 #define  Twcsrtombs             38
43 #define  Twcsspn                39
44 #define  Twcsstr                40
45 #define  Twcstod                41
46 #define  Twcstok                42
47 #define  Twcstombs              43
48 #define  Twcswidth              44
49 #define  Twcsxfrm               45
50 #define  Twctob                 46
51 #define  Twctomb                47
52 #define  Twctrans               48
53 #define  Twctype                49
54 #define  Twcwidth               50
55
56 /* Name of each test.  */
57 #define  S_ISWALNUM     "iswalnum"
58 #define  S_ISWALPHA     "iswalpha"
59 #define  S_ISWCNTRL     "iswcntrl"
60 #define  S_ISWCTYPE     "iswctype"
61 #define  S_ISWDIGIT     "iswdigit"
62 #define  S_ISWGRAPH     "iswgraph"
63 #define  S_ISWLOWER     "iswlower"
64 #define  S_ISWPRINT     "iswprint"
65 #define  S_ISWPUNCT     "iswpunct"
66 #define  S_ISWSPACE     "iswspace"
67 #define  S_ISWUPPER     "iswupper"
68 #define  S_ISWXDIGIT    "iswxdigit"
69 #define  S_MBLEN        "mblen"
70 #define  S_MBRLEN       "mbrlen"
71 #define  S_MBRTOWC      "mbrtowc"
72 #define  S_MBSRTOWCS    "mbsrtowcs"
73 #define  S_MBSTOWCS     "mbstowcs"
74 #define  S_MBTOWC       "mbtowc"
75 #define  S_STRCOLL      "strcoll"
76 #define  S_STRFMON      "strfmon"
77 #define  S_STRXFRM      "strxfrm"
78 #define  S_SWSCANF      "swscanf"
79 #define  S_TOWCTRANS    "towctrans"
80 #define  S_TOWLOWER     "towlower"
81 #define  S_TOWUPPER     "towupper"
82 #define  S_WCRTOMB      "wcrtomb"
83 #define  S_WCSCAT       "wcscat"
84 #define  S_WCSCHR       "wcschr"
85 #define  S_WCSCMP       "wcscmp"
86 #define  S_WCSCOLL      "wcscoll"
87 #define  S_WCSCPY       "wcscpy"
88 #define  S_WCSCSPN      "wcscspn"
89 #define  S_WCSLEN       "wcslen"
90 #define  S_WCSNCAT      "wcsncat"
91 #define  S_WCSNCMP      "wcsncmp"
92 #define  S_WCSNCPY      "wcsncpy"
93 #define  S_WCSPBRK      "wcspbrk"
94 #define  S_WCSRTOMBS    "wcsrtombs"
95 #define  S_WCSSPN       "wcsspn"
96 #define  S_WCSSTR       "wcsstr"
97 #define  S_WCSTOD       "wcstod"
98 #define  S_WCSTOK       "wcstok"
99 #define  S_WCSTOMBS     "wcstombs"
100 #define  S_WCSWIDTH     "wcswidth"
101 #define  S_WCSXFRM      "wcsxfrm"
102 #define  S_WCTOB        "wctob"
103 #define  S_WCTOMB       "wctomb"
104 #define  S_WCTRANS      "wctrans"
105 #define  S_WCTYPE       "wctype"
106 #define  S_WCWIDTH      "wcwidth"
107
108 /* Prototypes for test functions.  */
109 extern int tst_iswalnum (FILE *, int);
110 extern int tst_iswalpha (FILE *, int);
111 extern int tst_iswcntrl (FILE *, int);
112 extern int tst_iswctype (FILE *, int);
113 extern int tst_iswdigit (FILE *, int);
114 extern int tst_iswgraph (FILE *, int);
115 extern int tst_iswlower (FILE *, int);
116 extern int tst_iswprint (FILE *, int);
117 extern int tst_iswpunct (FILE *, int);
118 extern int tst_iswspace (FILE *, int);
119 extern int tst_iswupper (FILE *, int);
120 extern int tst_iswxdigit (FILE *, int);
121 extern int tst_mblen (FILE *, int);
122 extern int tst_mbrlen (FILE *, int);
123 extern int tst_mbrtowc (FILE *, int);
124 extern int tst_mbsrtowcs (FILE *, int);
125 extern int tst_mbstowcs (FILE *, int);
126 extern int tst_mbtowc (FILE *, int);
127 extern int tst_strcoll (FILE *, int);
128 extern int tst_strfmon (FILE *, int);
129 extern int tst_strxfrm (FILE *, int);
130 extern int tst_swscanf (FILE *, int);
131 extern int tst_towctrans (FILE *, int);
132 extern int tst_towlower (FILE *, int);
133 extern int tst_towupper (FILE *, int);
134 extern int tst_wcrtomb (FILE *, int);
135 extern int tst_wcscat (FILE *, int);
136 extern int tst_wcschr (FILE *, int);
137 extern int tst_wcscmp (FILE *, int);
138 extern int tst_wcscoll (FILE *, int);
139 extern int tst_wcscpy (FILE *, int);
140 extern int tst_wcscspn (FILE *, int);
141 extern int tst_wcslen (FILE *, int);
142 extern int tst_wcsncat (FILE *, int);
143 extern int tst_wcsncmp (FILE *, int);
144 extern int tst_wcsncpy (FILE *, int);
145 extern int tst_wcspbrk (FILE *, int);
146 extern int tst_wcsrtombs (FILE *, int);
147 extern int tst_wcsspn (FILE *, int);
148 extern int tst_wcsstr (FILE *, int);
149 extern int tst_wcstod (FILE *, int);
150 extern int tst_wcstok (FILE *, int);
151 extern int tst_wcstombs (FILE *, int);
152 extern int tst_wcswidth (FILE *, int);
153 extern int tst_wcsxfrm (FILE *, int);
154 extern int tst_wctob (FILE *, int);
155 extern int tst_wctomb (FILE *, int);
156 extern int tst_wctrans (FILE *, int);
157 extern int tst_wctype (FILE *, int);
158 extern int tst_wcwidth (FILE *, int);
159
160 #endif /* TGN_FUNCDEF_H */