File Coverage

fdio.c
Criterion Covered Total %
statement 60 60 100.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 60 60 100.0


line stmt bran cond sub pod time code
1             /* Generated */
2              
3 7           missing_is_sorted = 0;
4              
5             #ifdef AT_EACCESS
6 7           (void)hv_store(fdio_table, "AT_EACCESS", 10, newSViv(AT_EACCESS), 0);
7             #else
8             missing[nr_missing++] = "AT_EACCESS";
9             #endif
10             #ifdef AT_EMPTY_PATH
11 7           (void)hv_store(fdio_table, "AT_EMPTY_PATH", 13, newSViv(AT_EMPTY_PATH), 0);
12             #else
13             missing[nr_missing++] = "AT_EMPTY_PATH";
14             #endif
15             #ifdef AT_FDCWD
16 7           (void)hv_store(fdio_table, "AT_FDCWD", 8, newSViv(AT_FDCWD), 0);
17             #else
18             missing[nr_missing++] = "AT_FDCWD";
19             #endif
20             #ifdef AT_NO_AUTOMOUNT
21 7           (void)hv_store(fdio_table, "AT_NO_AUTOMOUNT", 15, newSViv(AT_NO_AUTOMOUNT), 0);
22             #else
23             missing[nr_missing++] = "AT_NO_AUTOMOUNT";
24             #endif
25             #ifdef AT_REMOVEDIR
26 7           (void)hv_store(fdio_table, "AT_REMOVEDIR", 12, newSViv(AT_REMOVEDIR), 0);
27             #else
28             missing[nr_missing++] = "AT_REMOVEDIR";
29             #endif
30             #ifdef AT_SYMLINK_FOLLOW
31 7           (void)hv_store(fdio_table, "AT_SYMLINK_FOLLOW", 17, newSViv(AT_SYMLINK_FOLLOW), 0);
32             #else
33             missing[nr_missing++] = "AT_SYMLINK_FOLLOW";
34             #endif
35             #ifdef AT_SYMLINK_NOFOLLOW
36 7           (void)hv_store(fdio_table, "AT_SYMLINK_NOFOLLOW", 19, newSViv(AT_SYMLINK_NOFOLLOW), 0);
37             #else
38             missing[nr_missing++] = "AT_SYMLINK_NOFOLLOW";
39             #endif
40             #ifdef BUFSIZ
41 7           (void)hv_store(fdio_table, "BUFSIZ", 6, newSViv(BUFSIZ), 0);
42             #else
43             missing[nr_missing++] = "BUFSIZ";
44             #endif
45             #ifdef EOF
46 7           (void)hv_store(fdio_table, "EOF", 3, newSViv(EOF), 0);
47             #else
48             missing[nr_missing++] = "EOF";
49             #endif
50             #ifdef MAX_INPUT
51 7           (void)hv_store(fdio_table, "MAX_INPUT", 9, newSViv(MAX_INPUT), 0);
52             #else
53             missing[nr_missing++] = "MAX_INPUT";
54             #endif
55             #ifdef O_ACCMODE
56 7           (void)hv_store(fdio_table, "O_ACCMODE", 9, newSViv(O_ACCMODE), 0);
57             #else
58             missing[nr_missing++] = "O_ACCMODE";
59             #endif
60             #ifdef O_APPEND
61 7           (void)hv_store(fdio_table, "O_APPEND", 8, newSViv(O_APPEND), 0);
62             #else
63             missing[nr_missing++] = "O_APPEND";
64             #endif
65             #ifdef O_ASYNC
66 7           (void)hv_store(fdio_table, "O_ASYNC", 7, newSViv(O_ASYNC), 0);
67             #else
68             missing[nr_missing++] = "O_ASYNC";
69             #endif
70             #ifdef O_CIO
71             (void)hv_store(fdio_table, "O_CIO", 5, newSViv(O_CIO), 0);
72             #else
73 7           missing[nr_missing++] = "O_CIO";
74             #endif
75             #ifdef O_CIOR
76             (void)hv_store(fdio_table, "O_CIOR", 6, newSViv(O_CIOR), 0);
77             #else
78 7           missing[nr_missing++] = "O_CIOR";
79             #endif
80             #ifdef O_CLOEXEC
81 7           (void)hv_store(fdio_table, "O_CLOEXEC", 9, newSViv(O_CLOEXEC), 0);
82             #else
83             missing[nr_missing++] = "O_CLOEXEC";
84             #endif
85             #ifdef O_CREAT
86 7           (void)hv_store(fdio_table, "O_CREAT", 7, newSViv(O_CREAT), 0);
87             #else
88             missing[nr_missing++] = "O_CREAT";
89             #endif
90             #ifdef O_DEFER
91             (void)hv_store(fdio_table, "O_DEFER", 7, newSViv(O_DEFER), 0);
92             #else
93 7           missing[nr_missing++] = "O_DEFER";
94             #endif
95             #ifdef O_DELAY
96             (void)hv_store(fdio_table, "O_DELAY", 7, newSViv(O_DELAY), 0);
97             #else
98 7           missing[nr_missing++] = "O_DELAY";
99             #endif
100             #ifdef O_DIRECT
101 7           (void)hv_store(fdio_table, "O_DIRECT", 8, newSViv(O_DIRECT), 0);
102             #else
103             missing[nr_missing++] = "O_DIRECT";
104             #endif
105             #ifdef O_DIRECTORY
106 7           (void)hv_store(fdio_table, "O_DIRECTORY", 11, newSViv(O_DIRECTORY), 0);
107             #else
108             missing[nr_missing++] = "O_DIRECTORY";
109             #endif
110             #ifdef O_DSYNC
111 7           (void)hv_store(fdio_table, "O_DSYNC", 7, newSViv(O_DSYNC), 0);
112             #else
113             missing[nr_missing++] = "O_DSYNC";
114             #endif
115             #ifdef O_EFSOFF
116             (void)hv_store(fdio_table, "O_EFSOFF", 8, newSViv(O_EFSOFF), 0);
117             #else
118 7           missing[nr_missing++] = "O_EFSOFF";
119             #endif
120             #ifdef O_EFSON
121             (void)hv_store(fdio_table, "O_EFSON", 7, newSViv(O_EFSON), 0);
122             #else
123 7           missing[nr_missing++] = "O_EFSON";
124             #endif
125             #ifdef O_EXCL
126 7           (void)hv_store(fdio_table, "O_EXCL", 6, newSViv(O_EXCL), 0);
127             #else
128             missing[nr_missing++] = "O_EXCL";
129             #endif
130             #ifdef O_EXLOCK
131             (void)hv_store(fdio_table, "O_EXLOCK", 8, newSViv(O_EXLOCK), 0);
132             #else
133 7           missing[nr_missing++] = "O_EXLOCK";
134             #endif
135             #ifdef O_FSYNC
136 7           (void)hv_store(fdio_table, "O_FSYNC", 7, newSViv(O_FSYNC), 0);
137             #else
138             missing[nr_missing++] = "O_FSYNC";
139             #endif
140             #ifdef O_LARGE
141             (void)hv_store(fdio_table, "O_LARGE", 7, newSViv(O_LARGE), 0);
142             #else
143 7           missing[nr_missing++] = "O_LARGE";
144             #endif
145             #ifdef O_LARGEFILE
146 7           (void)hv_store(fdio_table, "O_LARGEFILE", 11, newSViv(O_LARGEFILE), 0);
147             #else
148             missing[nr_missing++] = "O_LARGEFILE";
149             #endif
150             #ifdef O_LCFLUSH
151             (void)hv_store(fdio_table, "O_LCFLUSH", 9, newSViv(O_LCFLUSH), 0);
152             #else
153 7           missing[nr_missing++] = "O_LCFLUSH";
154             #endif
155             #ifdef O_LCINVAL
156             (void)hv_store(fdio_table, "O_LCINVAL", 9, newSViv(O_LCINVAL), 0);
157             #else
158 7           missing[nr_missing++] = "O_LCINVAL";
159             #endif
160             #ifdef O_NDELAY
161 7           (void)hv_store(fdio_table, "O_NDELAY", 8, newSViv(O_NDELAY), 0);
162             #else
163             missing[nr_missing++] = "O_NDELAY";
164             #endif
165             #ifdef O_NOATIME
166 7           (void)hv_store(fdio_table, "O_NOATIME", 9, newSViv(O_NOATIME), 0);
167             #else
168             missing[nr_missing++] = "O_NOATIME";
169             #endif
170             #ifdef O_NOCTTY
171 7           (void)hv_store(fdio_table, "O_NOCTTY", 8, newSViv(O_NOCTTY), 0);
172             #else
173             missing[nr_missing++] = "O_NOCTTY";
174             #endif
175             #ifdef O_NOFOLLOW
176 7           (void)hv_store(fdio_table, "O_NOFOLLOW", 10, newSViv(O_NOFOLLOW), 0);
177             #else
178             missing[nr_missing++] = "O_NOFOLLOW";
179             #endif
180             #ifdef O_NONBLOCK
181 7           (void)hv_store(fdio_table, "O_NONBLOCK", 10, newSViv(O_NONBLOCK), 0);
182             #else
183             missing[nr_missing++] = "O_NONBLOCK";
184             #endif
185             #ifdef O_NSHARE
186             (void)hv_store(fdio_table, "O_NSHARE", 8, newSViv(O_NSHARE), 0);
187             #else
188 7           missing[nr_missing++] = "O_NSHARE";
189             #endif
190             #ifdef O_RAW
191             (void)hv_store(fdio_table, "O_RAW", 5, newSViv(O_RAW), 0);
192             #else
193 7           missing[nr_missing++] = "O_RAW";
194             #endif
195             #ifdef O_RDONLY
196 7           (void)hv_store(fdio_table, "O_RDONLY", 8, newSViv(O_RDONLY), 0);
197             #else
198             missing[nr_missing++] = "O_RDONLY";
199             #endif
200             #ifdef O_RDWR
201 7           (void)hv_store(fdio_table, "O_RDWR", 6, newSViv(O_RDWR), 0);
202             #else
203             missing[nr_missing++] = "O_RDWR";
204             #endif
205             #ifdef O_RSHARE
206             (void)hv_store(fdio_table, "O_RSHARE", 8, newSViv(O_RSHARE), 0);
207             #else
208 7           missing[nr_missing++] = "O_RSHARE";
209             #endif
210             #ifdef O_RSYNC
211 7           (void)hv_store(fdio_table, "O_RSYNC", 7, newSViv(O_RSYNC), 0);
212             #else
213             missing[nr_missing++] = "O_RSYNC";
214             #endif
215             #ifdef O_SHLOCK
216             (void)hv_store(fdio_table, "O_SHLOCK", 8, newSViv(O_SHLOCK), 0);
217             #else
218 7           missing[nr_missing++] = "O_SHLOCK";
219             #endif
220             #ifdef O_SNAPSHOT
221             (void)hv_store(fdio_table, "O_SNAPSHOT", 10, newSViv(O_SNAPSHOT), 0);
222             #else
223 7           missing[nr_missing++] = "O_SNAPSHOT";
224             #endif
225             #ifdef O_SYNC
226 7           (void)hv_store(fdio_table, "O_SYNC", 6, newSViv(O_SYNC), 0);
227             #else
228             missing[nr_missing++] = "O_SYNC";
229             #endif
230             #ifdef O_TMPFILE
231 7           (void)hv_store(fdio_table, "O_TMPFILE", 9, newSViv(O_TMPFILE), 0);
232             #else
233             missing[nr_missing++] = "O_TMPFILE";
234             #endif
235             #ifdef O_TRUNC
236 7           (void)hv_store(fdio_table, "O_TRUNC", 7, newSViv(O_TRUNC), 0);
237             #else
238             missing[nr_missing++] = "O_TRUNC";
239             #endif
240             #ifdef O_WRONLY
241 7           (void)hv_store(fdio_table, "O_WRONLY", 8, newSViv(O_WRONLY), 0);
242             #else
243             missing[nr_missing++] = "O_WRONLY";
244             #endif
245             #ifdef PIPE_BUF
246 7           (void)hv_store(fdio_table, "PIPE_BUF", 8, newSViv(PIPE_BUF), 0);
247             #else
248             missing[nr_missing++] = "PIPE_BUF";
249             #endif
250             #ifdef SEEK_CUR
251 7           (void)hv_store(fdio_table, "SEEK_CUR", 8, newSViv(SEEK_CUR), 0);
252             #else
253             missing[nr_missing++] = "SEEK_CUR";
254             #endif
255             #ifdef SEEK_DATA
256 7           (void)hv_store(fdio_table, "SEEK_DATA", 9, newSViv(SEEK_DATA), 0);
257             #else
258             missing[nr_missing++] = "SEEK_DATA";
259             #endif
260             #ifdef SEEK_END
261 7           (void)hv_store(fdio_table, "SEEK_END", 8, newSViv(SEEK_END), 0);
262             #else
263             missing[nr_missing++] = "SEEK_END";
264             #endif
265             #ifdef SEEK_HOLE
266 7           (void)hv_store(fdio_table, "SEEK_HOLE", 9, newSViv(SEEK_HOLE), 0);
267             #else
268             missing[nr_missing++] = "SEEK_HOLE";
269             #endif
270             #ifdef SEEK_SET
271 7           (void)hv_store(fdio_table, "SEEK_SET", 8, newSViv(SEEK_SET), 0);
272             #else
273             missing[nr_missing++] = "SEEK_SET";
274             #endif
275             #ifdef SSIZE_MAX
276 7           (void)hv_store(fdio_table, "SSIZE_MAX", 9, newSViv(SSIZE_MAX), 0);
277             #else
278             missing[nr_missing++] = "SSIZE_MAX";
279             #endif
280             #ifdef STDERR_FILENO
281 7           (void)hv_store(fdio_table, "STDERR_FILENO", 13, newSViv(STDERR_FILENO), 0);
282             #else
283             missing[nr_missing++] = "STDERR_FILENO";
284             #endif
285             #ifdef STDIN_FILENO
286 7           (void)hv_store(fdio_table, "STDIN_FILENO", 12, newSViv(STDIN_FILENO), 0);
287             #else
288             missing[nr_missing++] = "STDIN_FILENO";
289             #endif
290             #ifdef STDOUT_FILENO
291 7           (void)hv_store(fdio_table, "STDOUT_FILENO", 13, newSViv(STDOUT_FILENO), 0);
292             #else
293             missing[nr_missing++] = "STDOUT_FILENO";
294             #endif
295             #ifdef STREAM_MAX
296             (void)hv_store(fdio_table, "STREAM_MAX", 10, newSViv(STREAM_MAX), 0);
297             #else
298 7           missing[nr_missing++] = "STREAM_MAX";
299             #endif