File Coverage

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


line stmt bran cond sub pod time code
1             /* Generated */
2              
3 5           missing_is_sorted = 0;
4              
5             #ifdef DN_ACCESS
6 5           (void)hv_store(fcntl_table, "DN_ACCESS", 9, newSViv(DN_ACCESS), 0);
7             #else
8             missing[nr_missing++] = "DN_ACCESS";
9             #endif
10             #ifdef DN_ATTRIB
11 5           (void)hv_store(fcntl_table, "DN_ATTRIB", 9, newSViv(DN_ATTRIB), 0);
12             #else
13             missing[nr_missing++] = "DN_ATTRIB";
14             #endif
15             #ifdef DN_CREATE
16 5           (void)hv_store(fcntl_table, "DN_CREATE", 9, newSViv(DN_CREATE), 0);
17             #else
18             missing[nr_missing++] = "DN_CREATE";
19             #endif
20             #ifdef DN_DELETE
21 5           (void)hv_store(fcntl_table, "DN_DELETE", 9, newSViv(DN_DELETE), 0);
22             #else
23             missing[nr_missing++] = "DN_DELETE";
24             #endif
25             #ifdef DN_MODIFY
26 5           (void)hv_store(fcntl_table, "DN_MODIFY", 9, newSViv(DN_MODIFY), 0);
27             #else
28             missing[nr_missing++] = "DN_MODIFY";
29             #endif
30             #ifdef DN_MULTISHOT
31 5           (void)hv_store(fcntl_table, "DN_MULTISHOT", 12, newSViv(DN_MULTISHOT), 0);
32             #else
33             missing[nr_missing++] = "DN_MULTISHOT";
34             #endif
35             #ifdef DN_RENAME
36 5           (void)hv_store(fcntl_table, "DN_RENAME", 9, newSViv(DN_RENAME), 0);
37             #else
38             missing[nr_missing++] = "DN_RENAME";
39             #endif
40             #ifdef FAPPEND
41 5           (void)hv_store(fcntl_table, "FAPPEND", 7, newSViv(FAPPEND), 0);
42             #else
43             missing[nr_missing++] = "FAPPEND";
44             #endif
45             #ifdef FASYNC
46 5           (void)hv_store(fcntl_table, "FASYNC", 6, newSViv(FASYNC), 0);
47             #else
48             missing[nr_missing++] = "FASYNC";
49             #endif
50             #ifdef FCREAT
51             (void)hv_store(fcntl_table, "FCREAT", 6, newSViv(FCREAT), 0);
52             #else
53 5           missing[nr_missing++] = "FCREAT";
54             #endif
55             #ifdef FCTLCLOEXEC
56             (void)hv_store(fcntl_table, "FCTLCLOEXEC", 11, newSViv(FCTLCLOEXEC), 0);
57             #else
58 5           missing[nr_missing++] = "FCTLCLOEXEC";
59             #endif
60             #ifdef FDEFER
61             (void)hv_store(fcntl_table, "FDEFER", 6, newSViv(FDEFER), 0);
62             #else
63 5           missing[nr_missing++] = "FDEFER";
64             #endif
65             #ifdef FD_CLOEXEC
66 5           (void)hv_store(fcntl_table, "FD_CLOEXEC", 10, newSViv(FD_CLOEXEC), 0);
67             #else
68             missing[nr_missing++] = "FD_CLOEXEC";
69             #endif
70             #ifdef FEXCL
71             (void)hv_store(fcntl_table, "FEXCL", 5, newSViv(FEXCL), 0);
72             #else
73 5           missing[nr_missing++] = "FEXCL";
74             #endif
75             #ifdef FNDELAY
76 5           (void)hv_store(fcntl_table, "FNDELAY", 7, newSViv(FNDELAY), 0);
77             #else
78             missing[nr_missing++] = "FNDELAY";
79             #endif
80             #ifdef FNONBLOCK
81 5           (void)hv_store(fcntl_table, "FNONBLOCK", 9, newSViv(FNONBLOCK), 0);
82             #else
83             missing[nr_missing++] = "FNONBLOCK";
84             #endif
85             #ifdef FSYNC
86             (void)hv_store(fcntl_table, "FSYNC", 5, newSViv(FSYNC), 0);
87             #else
88 5           missing[nr_missing++] = "FSYNC";
89             #endif
90             #ifdef FTRUNC
91             (void)hv_store(fcntl_table, "FTRUNC", 6, newSViv(FTRUNC), 0);
92             #else
93 5           missing[nr_missing++] = "FTRUNC";
94             #endif
95             #ifdef F_DUPFD
96 5           (void)hv_store(fcntl_table, "F_DUPFD", 7, newSViv(F_DUPFD), 0);
97             #else
98             missing[nr_missing++] = "F_DUPFD";
99             #endif
100             #ifdef F_DUPFD_CLOEXEC
101 5           (void)hv_store(fcntl_table, "F_DUPFD_CLOEXEC", 15, newSViv(F_DUPFD_CLOEXEC), 0);
102             #else
103             missing[nr_missing++] = "F_DUPFD_CLOEXEC";
104             #endif
105             #ifdef F_FREESP
106             (void)hv_store(fcntl_table, "F_FREESP", 8, newSViv(F_FREESP), 0);
107             #else
108 5           missing[nr_missing++] = "F_FREESP";
109             #endif
110             #ifdef F_GETFD
111 5           (void)hv_store(fcntl_table, "F_GETFD", 7, newSViv(F_GETFD), 0);
112             #else
113             missing[nr_missing++] = "F_GETFD";
114             #endif
115             #ifdef F_GETFL
116 5           (void)hv_store(fcntl_table, "F_GETFL", 7, newSViv(F_GETFL), 0);
117             #else
118             missing[nr_missing++] = "F_GETFL";
119             #endif
120             #ifdef F_GETLEASE
121 5           (void)hv_store(fcntl_table, "F_GETLEASE", 10, newSViv(F_GETLEASE), 0);
122             #else
123             missing[nr_missing++] = "F_GETLEASE";
124             #endif
125             #ifdef F_GETLK
126 5           (void)hv_store(fcntl_table, "F_GETLK", 7, newSViv(F_GETLK), 0);
127             #else
128             missing[nr_missing++] = "F_GETLK";
129             #endif
130             #ifdef F_GETLKP
131             (void)hv_store(fcntl_table, "F_GETLKP", 8, newSViv(F_GETLKP), 0);
132             #else
133 5           missing[nr_missing++] = "F_GETLKP";
134             #endif
135             #ifdef F_GETOWN
136 5           (void)hv_store(fcntl_table, "F_GETOWN", 8, newSViv(F_GETOWN), 0);
137             #else
138             missing[nr_missing++] = "F_GETOWN";
139             #endif
140             #ifdef F_GETOWN_EX
141 5           (void)hv_store(fcntl_table, "F_GETOWN_EX", 11, newSViv(F_GETOWN_EX), 0);
142             #else
143             missing[nr_missing++] = "F_GETOWN_EX";
144             #endif
145             #ifdef F_GETPIPE_SZ
146 5           (void)hv_store(fcntl_table, "F_GETPIPE_SZ", 12, newSViv(F_GETPIPE_SZ), 0);
147             #else
148             missing[nr_missing++] = "F_GETPIPE_SZ";
149             #endif
150             #ifdef F_GETSIG
151 5           (void)hv_store(fcntl_table, "F_GETSIG", 8, newSViv(F_GETSIG), 0);
152             #else
153             missing[nr_missing++] = "F_GETSIG";
154             #endif
155             #ifdef F_LOCK
156 5           (void)hv_store(fcntl_table, "F_LOCK", 6, newSViv(F_LOCK), 0);
157             #else
158             missing[nr_missing++] = "F_LOCK";
159             #endif
160             #ifdef F_NOTIFY
161 5           (void)hv_store(fcntl_table, "F_NOTIFY", 8, newSViv(F_NOTIFY), 0);
162             #else
163             missing[nr_missing++] = "F_NOTIFY";
164             #endif
165             #ifdef F_OWNER_PGRP
166             (void)hv_store(fcntl_table, "F_OWNER_PGRP", 12, newSViv(F_OWNER_PGRP), 0);
167             #else
168 5           missing[nr_missing++] = "F_OWNER_PGRP";
169             #endif
170             #ifdef F_OWNER_PID
171             (void)hv_store(fcntl_table, "F_OWNER_PID", 11, newSViv(F_OWNER_PID), 0);
172             #else
173 5           missing[nr_missing++] = "F_OWNER_PID";
174             #endif
175             #ifdef F_RDLCK
176 5           (void)hv_store(fcntl_table, "F_RDLCK", 7, newSViv(F_RDLCK), 0);
177             #else
178             missing[nr_missing++] = "F_RDLCK";
179             #endif
180             #ifdef F_SETFD
181 5           (void)hv_store(fcntl_table, "F_SETFD", 7, newSViv(F_SETFD), 0);
182             #else
183             missing[nr_missing++] = "F_SETFD";
184             #endif
185             #ifdef F_SETFL
186 5           (void)hv_store(fcntl_table, "F_SETFL", 7, newSViv(F_SETFL), 0);
187             #else
188             missing[nr_missing++] = "F_SETFL";
189             #endif
190             #ifdef F_SETLEASE
191 5           (void)hv_store(fcntl_table, "F_SETLEASE", 10, newSViv(F_SETLEASE), 0);
192             #else
193             missing[nr_missing++] = "F_SETLEASE";
194             #endif
195             #ifdef F_SETLK
196 5           (void)hv_store(fcntl_table, "F_SETLK", 7, newSViv(F_SETLK), 0);
197             #else
198             missing[nr_missing++] = "F_SETLK";
199             #endif
200             #ifdef F_SETLKP
201             (void)hv_store(fcntl_table, "F_SETLKP", 8, newSViv(F_SETLKP), 0);
202             #else
203 5           missing[nr_missing++] = "F_SETLKP";
204             #endif
205             #ifdef F_SETLKPW
206             (void)hv_store(fcntl_table, "F_SETLKPW", 9, newSViv(F_SETLKPW), 0);
207             #else
208 5           missing[nr_missing++] = "F_SETLKPW";
209             #endif
210             #ifdef F_SETLKW
211 5           (void)hv_store(fcntl_table, "F_SETLKW", 8, newSViv(F_SETLKW), 0);
212             #else
213             missing[nr_missing++] = "F_SETLKW";
214             #endif
215             #ifdef F_SETLKWP
216             (void)hv_store(fcntl_table, "F_SETLKWP", 9, newSViv(F_SETLKWP), 0);
217             #else
218 5           missing[nr_missing++] = "F_SETLKWP";
219             #endif
220             #ifdef F_SETOWN
221 5           (void)hv_store(fcntl_table, "F_SETOWN", 8, newSViv(F_SETOWN), 0);
222             #else
223             missing[nr_missing++] = "F_SETOWN";
224             #endif
225             #ifdef F_SETOWN_EX
226 5           (void)hv_store(fcntl_table, "F_SETOWN_EX", 11, newSViv(F_SETOWN_EX), 0);
227             #else
228             missing[nr_missing++] = "F_SETOWN_EX";
229             #endif
230             #ifdef F_SETPIPE_SZ
231 5           (void)hv_store(fcntl_table, "F_SETPIPE_SZ", 12, newSViv(F_SETPIPE_SZ), 0);
232             #else
233             missing[nr_missing++] = "F_SETPIPE_SZ";
234             #endif
235             #ifdef F_SETSIG
236 5           (void)hv_store(fcntl_table, "F_SETSIG", 8, newSViv(F_SETSIG), 0);
237             #else
238             missing[nr_missing++] = "F_SETSIG";
239             #endif
240             #ifdef F_TEST
241 5           (void)hv_store(fcntl_table, "F_TEST", 6, newSViv(F_TEST), 0);
242             #else
243             missing[nr_missing++] = "F_TEST";
244             #endif
245             #ifdef F_TLOCK
246 5           (void)hv_store(fcntl_table, "F_TLOCK", 7, newSViv(F_TLOCK), 0);
247             #else
248             missing[nr_missing++] = "F_TLOCK";
249             #endif
250             #ifdef F_ULOCK
251 5           (void)hv_store(fcntl_table, "F_ULOCK", 7, newSViv(F_ULOCK), 0);
252             #else
253             missing[nr_missing++] = "F_ULOCK";
254             #endif
255             #ifdef F_UNLCK
256 5           (void)hv_store(fcntl_table, "F_UNLCK", 7, newSViv(F_UNLCK), 0);
257             #else
258             missing[nr_missing++] = "F_UNLCK";
259             #endif
260             #ifdef F_WRLCK
261 5           (void)hv_store(fcntl_table, "F_WRLCK", 7, newSViv(F_WRLCK), 0);
262             #else
263             missing[nr_missing++] = "F_WRLCK";
264             #endif
265             #ifdef LOCK_EX
266 5           (void)hv_store(fcntl_table, "LOCK_EX", 7, newSViv(LOCK_EX), 0);
267             #else
268             missing[nr_missing++] = "LOCK_EX";
269             #endif
270             #ifdef LOCK_NB
271 5           (void)hv_store(fcntl_table, "LOCK_NB", 7, newSViv(LOCK_NB), 0);
272             #else
273             missing[nr_missing++] = "LOCK_NB";
274             #endif
275             #ifdef LOCK_SH
276 5           (void)hv_store(fcntl_table, "LOCK_SH", 7, newSViv(LOCK_SH), 0);
277             #else
278             missing[nr_missing++] = "LOCK_SH";
279             #endif
280             #ifdef LOCK_UN
281 5           (void)hv_store(fcntl_table, "LOCK_UN", 7, newSViv(LOCK_UN), 0);
282             #else
283             missing[nr_missing++] = "LOCK_UN";
284             #endif