summaryrefslogtreecommitdiff
path: root/test/locale-mbwc/tgn_funcdef.h
blob: ec247926f1ac25b7ba2dd231f33b10d1f73f4835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
#ifndef TGN_FUNCDEF_H
#define TGN_FUNCDEF_H

/* Unique number for each test.  */
#define	 Tiswalnum		1
#define	 Tiswalpha		2
#define	 Tiswcntrl		3
#define	 Tiswctype		4
#define	 Tiswdigit		5
#define	 Tiswgraph		6
#define	 Tiswlower		7
#define	 Tiswprint		8
#define	 Tiswpunct		9
#define	 Tiswspace		10
#define	 Tiswupper		11
#define	 Tiswxdigit		12
#define	 Tmblen			13
#define	 Tmbrlen		14
#define	 Tmbrtowc		15
#define	 Tmbsrtowcs		16
#define	 Tmbstowcs		17
#define	 Tmbtowc		18
#define	 Tstrcoll		19
#define	 Tstrfmon		20
#define	 Tstrxfrm		21
#define	 Tswscanf		22
#define	 Ttowctrans		23
#define	 Ttowlower		24
#define	 Ttowupper		25
#define	 Twcrtomb		26
#define	 Twcscat		27
#define	 Twcschr		28
#define	 Twcscmp		29
#define	 Twcscoll		30
#define	 Twcscpy		31
#define	 Twcscspn		32
#define	 Twcslen		33
#define	 Twcsncat		34
#define	 Twcsncmp		35
#define	 Twcsncpy		36
#define	 Twcspbrk		37
#define	 Twcsrtombs		38
#define	 Twcsspn		39
#define	 Twcsstr		40
#define	 Twcstod		41
#define	 Twcstok		42
#define	 Twcstombs		43
#define	 Twcswidth		44
#define	 Twcsxfrm		45
#define	 Twctob			46
#define	 Twctomb		47
#define	 Twctrans		48
#define	 Twctype		49
#define	 Twcwidth		50

/* Name of each test.  */
#define	 S_ISWALNUM	"iswalnum"
#define	 S_ISWALPHA	"iswalpha"
#define	 S_ISWCNTRL	"iswcntrl"
#define	 S_ISWCTYPE	"iswctype"
#define	 S_ISWDIGIT	"iswdigit"
#define	 S_ISWGRAPH	"iswgraph"
#define	 S_ISWLOWER	"iswlower"
#define	 S_ISWPRINT	"iswprint"
#define	 S_ISWPUNCT	"iswpunct"
#define	 S_ISWSPACE	"iswspace"
#define	 S_ISWUPPER	"iswupper"
#define	 S_ISWXDIGIT	"iswxdigit"
#define	 S_MBLEN	"mblen"
#define	 S_MBRLEN	"mbrlen"
#define	 S_MBRTOWC	"mbrtowc"
#define	 S_MBSRTOWCS	"mbsrtowcs"
#define	 S_MBSTOWCS	"mbstowcs"
#define	 S_MBTOWC	"mbtowc"
#define	 S_STRCOLL	"strcoll"
#define	 S_STRFMON	"strfmon"
#define	 S_STRXFRM	"strxfrm"
#define	 S_SWSCANF	"swscanf"
#define	 S_TOWCTRANS	"towctrans"
#define	 S_TOWLOWER	"towlower"
#define	 S_TOWUPPER	"towupper"
#define	 S_WCRTOMB	"wcrtomb"
#define	 S_WCSCAT	"wcscat"
#define	 S_WCSCHR	"wcschr"
#define	 S_WCSCMP	"wcscmp"
#define	 S_WCSCOLL	"wcscoll"
#define	 S_WCSCPY	"wcscpy"
#define	 S_WCSCSPN	"wcscspn"
#define	 S_WCSLEN	"wcslen"
#define	 S_WCSNCAT	"wcsncat"
#define	 S_WCSNCMP	"wcsncmp"
#define	 S_WCSNCPY	"wcsncpy"
#define	 S_WCSPBRK	"wcspbrk"
#define	 S_WCSRTOMBS	"wcsrtombs"
#define	 S_WCSSPN	"wcsspn"
#define	 S_WCSSTR	"wcsstr"
#define	 S_WCSTOD	"wcstod"
#define	 S_WCSTOK	"wcstok"
#define	 S_WCSTOMBS	"wcstombs"
#define	 S_WCSWIDTH	"wcswidth"
#define	 S_WCSXFRM	"wcsxfrm"
#define	 S_WCTOB	"wctob"
#define	 S_WCTOMB	"wctomb"
#define	 S_WCTRANS	"wctrans"
#define	 S_WCTYPE	"wctype"
#define	 S_WCWIDTH	"wcwidth"

/* Prototypes for test functions.  */
extern int tst_iswalnum (FILE *, int);
extern int tst_iswalpha (FILE *, int);
extern int tst_iswcntrl (FILE *, int);
extern int tst_iswctype (FILE *, int);
extern int tst_iswdigit (FILE *, int);
extern int tst_iswgraph (FILE *, int);
extern int tst_iswlower (FILE *, int);
extern int tst_iswprint (FILE *, int);
extern int tst_iswpunct (FILE *, int);
extern int tst_iswspace (FILE *, int);
extern int tst_iswupper (FILE *, int);
extern int tst_iswxdigit (FILE *, int);
extern int tst_mblen (FILE *, int);
extern int tst_mbrlen (FILE *, int);
extern int tst_mbrtowc (FILE *, int);
extern int tst_mbsrtowcs (FILE *, int);
extern int tst_mbstowcs (FILE *, int);
extern int tst_mbtowc (FILE *, int);
extern int tst_strcoll (FILE *, int);
extern int tst_strfmon (FILE *, int);
extern int tst_strxfrm (FILE *, int);
extern int tst_swscanf (FILE *, int);
extern int tst_towctrans (FILE *, int);
extern int tst_towlower (FILE *, int);
extern int tst_towupper (FILE *, int);
extern int tst_wcrtomb (FILE *, int);
extern int tst_wcscat (FILE *, int);
extern int tst_wcschr (FILE *, int);
extern int tst_wcscmp (FILE *, int);
extern int tst_wcscoll (FILE *, int);
extern int tst_wcscpy (FILE *, int);
extern int tst_wcscspn (FILE *, int);
extern int tst_wcslen (FILE *, int);
extern int tst_wcsncat (FILE *, int);
extern int tst_wcsncmp (FILE *, int);
extern int tst_wcsncpy (FILE *, int);
extern int tst_wcspbrk (FILE *, int);
extern int tst_wcsrtombs (FILE *, int);
extern int tst_wcsspn (FILE *, int);
extern int tst_wcsstr (FILE *, int);
extern int tst_wcstod (FILE *, int);
extern int tst_wcstok (FILE *, int);
extern int tst_wcstombs (FILE *, int);
extern int tst_wcswidth (FILE *, int);
extern int tst_wcsxfrm (FILE *, int);
extern int tst_wctob (FILE *, int);
extern int tst_wctomb (FILE *, int);
extern int tst_wctrans (FILE *, int);
extern int tst_wctype (FILE *, int);
extern int tst_wcwidth (FILE *, int);

#endif /* TGN_FUNCDEF_H */