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. */
109extern int tst_iswalnum (FILE *, int);
110extern int tst_iswalpha (FILE *, int);
111extern int tst_iswcntrl (FILE *, int);
112extern int tst_iswctype (FILE *, int);
113extern int tst_iswdigit (FILE *, int);
114extern int tst_iswgraph (FILE *, int);
115extern int tst_iswlower (FILE *, int);
116extern int tst_iswprint (FILE *, int);
117extern int tst_iswpunct (FILE *, int);
118extern int tst_iswspace (FILE *, int);
119extern int tst_iswupper (FILE *, int);
120extern int tst_iswxdigit (FILE *, int);
121extern int tst_mblen (FILE *, int);
122extern int tst_mbrlen (FILE *, int);
123extern int tst_mbrtowc (FILE *, int);
124extern int tst_mbsrtowcs (FILE *, int);
125extern int tst_mbstowcs (FILE *, int);
126extern int tst_mbtowc (FILE *, int);
127extern int tst_strcoll (FILE *, int);
128extern int tst_strfmon (FILE *, int);
129extern int tst_strxfrm (FILE *, int);
130extern int tst_swscanf (FILE *, int);
131extern int tst_towctrans (FILE *, int);
132extern int tst_towlower (FILE *, int);
133extern int tst_towupper (FILE *, int);
134extern int tst_wcrtomb (FILE *, int);
135extern int tst_wcscat (FILE *, int);
136extern int tst_wcschr (FILE *, int);
137extern int tst_wcscmp (FILE *, int);
138extern int tst_wcscoll (FILE *, int);
139extern int tst_wcscpy (FILE *, int);
140extern int tst_wcscspn (FILE *, int);
141extern int tst_wcslen (FILE *, int);
142extern int tst_wcsncat (FILE *, int);
143extern int tst_wcsncmp (FILE *, int);
144extern int tst_wcsncpy (FILE *, int);
145extern int tst_wcspbrk (FILE *, int);
146extern int tst_wcsrtombs (FILE *, int);
147extern int tst_wcsspn (FILE *, int);
148extern int tst_wcsstr (FILE *, int);
149extern int tst_wcstod (FILE *, int);
150extern int tst_wcstok (FILE *, int);
151extern int tst_wcstombs (FILE *, int);
152extern int tst_wcswidth (FILE *, int);
153extern int tst_wcsxfrm (FILE *, int);
154extern int tst_wctob (FILE *, int);
155extern int tst_wctomb (FILE *, int);
156extern int tst_wctrans (FILE *, int);
157extern int tst_wctype (FILE *, int);
158extern int tst_wcwidth (FILE *, int);
159
160#endif /* TGN_FUNCDEF_H */
161

source code of glibc/localedata/tests-mbwc/tgn_funcdef.h