OpenCoverage

dd.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/dd.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7static struct option const long_options[] =-
8{-
9 {-
10 ((void *)0)-
11 , 0, -
12 ((void *)0)-
13 , 0}-
14};-
15enum-
16 {-
17 C_ASCII = 01,-
18-
19 C_EBCDIC = 02,-
20 C_IBM = 04,-
21 C_BLOCK = 010,-
22 C_UNBLOCK = 020,-
23 C_LCASE = 040,-
24 C_UCASE = 0100,-
25 C_SWAB = 0200,-
26 C_NOERROR = 0400,-
27 C_NOTRUNC = 01000,-
28 C_SYNC = 02000,-
29-
30-
31-
32 C_TWOBUFS = 04000,-
33-
34 C_NOCREAT = 010000,-
35 C_EXCL = 020000,-
36 C_FDATASYNC = 040000,-
37 C_FSYNC = 0100000,-
38-
39 C_SPARSE = 0200000-
40 };-
41-
42-
43enum-
44 {-
45 STATUS_NONE = 1,-
46 STATUS_NOXFER = 2,-
47 STATUS_DEFAULT = 3,-
48 STATUS_PROGRESS = 4-
49 };-
50-
51-
52static char const *input_file = -
53 ((void *)0)-
54 ;-
55-
56-
57static char const *output_file = -
58 ((void *)0)-
59 ;-
60-
61-
62static size_t page_size;-
63-
64-
65static size_t input_blocksize = 0;-
66-
67-
68static size_t output_blocksize = 0;-
69-
70-
71static size_t conversion_blocksize = 0;-
72-
73-
74static uintmax_t skip_records = 0;-
75-
76-
77-
78static size_t skip_bytes = 0;-
79-
80-
81static uintmax_t seek_records = 0;-
82-
83-
84-
85static uintmax_t seek_bytes = 0;-
86-
87-
88static -
89 _Bool -
90 final_op_was_seek;-
91-
92-
93static uintmax_t max_records = (uintmax_t) -1;-
94-
95-
96static size_t max_bytes = 0;-
97-
98-
99static int conversions_mask = 0;-
100-
101-
102static int input_flags = 0;-
103static int output_flags = 0;-
104-
105-
106static int status_level = STATUS_DEFAULT;-
107-
108-
109static -
110 _Bool -
111 translation_needed = -
112 0-
113 ;-
114-
115-
116static uintmax_t w_partial = 0;-
117-
118-
119static uintmax_t w_full = 0;-
120-
121-
122static uintmax_t r_partial = 0;-
123-
124-
125static uintmax_t r_full = 0;-
126-
127-
128static uintmax_t w_bytes = 0;-
129-
130-
131static xtime_t start_time;-
132-
133-
134static xtime_t next_time;-
135-
136-
137static int progress_len;-
138-
139-
140static -
141 _Bool -
142 input_seekable;-
143-
144-
145-
146static int input_seek_errno;-
147-
148-
149-
150static uintmax_t input_offset;-
151static -
152 _Bool -
153 input_offset_overflow;-
154-
155-
156static -
157 _Bool -
158 warn_partial_read;-
159-
160-
161static uintmax_t r_truncate = 0;-
162-
163-
164-
165static char newline_character = '\n';-
166static char space_character = ' ';-
167-
168-
169static char *ibuf;-
170-
171-
172static char *obuf;-
173-
174-
175static size_t oc = 0;-
176-
177-
178static size_t col = 0;-
179-
180-
181static sigset_t caught_signals;-
182-
183-
184static sig_atomic_t volatile interrupt_signal;-
185-
186-
187static sig_atomic_t volatile info_signal_count;-
188-
189-
190static -
191 _Bool -
192 i_nocache, o_nocache;-
193-
194-
195static -
196 _Bool -
197 i_nocache_eof, o_nocache_eof;-
198-
199-
200static ssize_t (*iread_fnc) (int fd, char *buf, size_t size);-
201-
202-
203-
204-
205-
206struct symbol_value-
207{-
208 char symbol[sizeof "count_bytes"];-
209 int value;-
210};-
211-
212-
213static struct symbol_value const conversions[] =-
214{-
215 {"ascii", C_ASCII | C_UNBLOCK | C_TWOBUFS},-
216 {"ebcdic", C_EBCDIC | C_BLOCK | C_TWOBUFS},-
217 {"ibm", C_IBM | C_BLOCK | C_TWOBUFS},-
218 {"block", C_BLOCK | C_TWOBUFS},-
219 {"unblock", C_UNBLOCK | C_TWOBUFS},-
220 {"lcase", C_LCASE | C_TWOBUFS},-
221 {"ucase", C_UCASE | C_TWOBUFS},-
222 {"sparse", C_SPARSE},-
223 {"swab", C_SWAB | C_TWOBUFS},-
224 {"noerror", C_NOERROR},-
225 {"nocreat", C_NOCREAT},-
226 {"excl", C_EXCL},-
227 {"notrunc", C_NOTRUNC},-
228 {"sync", C_SYNC},-
229 {"fdatasync", C_FDATASYNC},-
230 {"fsync", C_FSYNC},-
231 {"", 0}-
232};-
233-
234-
235enum-
236 {-
237-
238-
239 v = ~(0-
240 | -
241 02000-
242 -
243 | -
244 0-
245 -
246 | 0-
247 | -
248 040000-
249 -
250 | -
251 0200000-
252 -
253 | -
254 010000-
255 -
256 | -
257 01000000-
258 -
259 | -
260 0400-
261 -
262 | -
263 0400000-
264 -
265 | -
266 0-
267 -
268 | -
269 04000-
270 -
271 | -
272 04010000-
273 -
274 | -
275 0-
276 -
277 ),-
278-
279-
280 O_FULLBLOCK = ((v) ^ ((v) & ((v) - 1))),-
281 v2 = v ^ O_FULLBLOCK,-
282-
283 O_NOCACHE = ((v2) ^ ((v2) & ((v2) - 1))),-
284 v3 = v2 ^ O_NOCACHE,-
285-
286 O_COUNT_BYTES = ((v3) ^ ((v3) & ((v3) - 1))),-
287 v4 = v3 ^ O_COUNT_BYTES,-
288-
289 O_SKIP_BYTES = ((v4) ^ ((v4) & ((v4) - 1))),-
290 v5 = v4 ^ O_SKIP_BYTES,-
291-
292 O_SEEK_BYTES = ((v5) ^ ((v5) & ((v5) - 1)))-
293 };-
294-
295-
296_Static_assert (O_FULLBLOCK != 0, "verify (" "O_FULLBLOCK != 0" ")");-
297_Static_assert (O_NOCACHE != 0, "verify (" "O_NOCACHE != 0" ")");-
298_Static_assert (O_COUNT_BYTES != 0, "verify (" "O_COUNT_BYTES != 0" ")");-
299_Static_assert (O_SKIP_BYTES != 0, "verify (" "O_SKIP_BYTES != 0" ")");-
300_Static_assert (O_SEEK_BYTES != 0, "verify (" "O_SEEK_BYTES != 0" ")");-
301-
302-
303-
304-
305_Static_assert (! (((O_FULLBLOCK) & ((O_FULLBLOCK) - 1)) != 0), "verify (" "! MULTIPLE_BITS_SET (O_FULLBLOCK)" ")");-
306_Static_assert (! (((O_NOCACHE) & ((O_NOCACHE) - 1)) != 0), "verify (" "! MULTIPLE_BITS_SET (O_NOCACHE)" ")");-
307_Static_assert (! (((O_COUNT_BYTES) & ((O_COUNT_BYTES) - 1)) != 0), "verify (" "! MULTIPLE_BITS_SET (O_COUNT_BYTES)" ")");-
308_Static_assert (! (((O_SKIP_BYTES) & ((O_SKIP_BYTES) - 1)) != 0), "verify (" "! MULTIPLE_BITS_SET (O_SKIP_BYTES)" ")");-
309_Static_assert (! (((O_SEEK_BYTES) & ((O_SEEK_BYTES) - 1)) != 0), "verify (" "! MULTIPLE_BITS_SET (O_SEEK_BYTES)" ")");-
310-
311-
312static struct symbol_value const flags[] =-
313{-
314 {"append", -
315 02000-
316 },-
317 {"binary", -
318 0-
319 },-
320 {"cio", 0},-
321 {"direct", -
322 040000-
323 },-
324 {"directory", -
325 0200000-
326 },-
327 {"dsync", -
328 010000-
329 },-
330 {"noatime", -
331 01000000-
332 },-
333 {"nocache", O_NOCACHE},-
334 {"noctty", -
335 0400-
336 },-
337 {"nofollow", 1 ? -
338 0400000 -
339 : 0},-
340 {"nolinks", -
341 0-
342 },-
343 {"nonblock", -
344 04000-
345 },-
346 {"sync", -
347 04010000-
348 },-
349 {"text", -
350 0-
351 },-
352 {"fullblock", O_FULLBLOCK},-
353 {"count_bytes", O_COUNT_BYTES},-
354 {"skip_bytes", O_SKIP_BYTES},-
355 {"seek_bytes", O_SEEK_BYTES},-
356 {"", 0}-
357};-
358-
359-
360static struct symbol_value const statuses[] =-
361{-
362 {"none", STATUS_NONE},-
363 {"noxfer", STATUS_NOXFER},-
364 {"progress", STATUS_PROGRESS},-
365 {"", 0}-
366};-
367-
368-
369static unsigned char trans_table[256];-
370-
371-
372-
373-
374-
375-
376static char const ascii_to_ebcdic[] =-
377{-
378 '\000', '\001', '\002', '\003', '\067', '\055', '\056', '\057',-
379 '\026', '\005', '\045', '\013', '\014', '\015', '\016', '\017',-
380 '\020', '\021', '\022', '\023', '\074', '\075', '\062', '\046',-
381 '\030', '\031', '\077', '\047', '\034', '\035', '\036', '\037',-
382 '\100', '\132', '\177', '\173', '\133', '\154', '\120', '\175',-
383 '\115', '\135', '\134', '\116', '\153', '\140', '\113', '\141',-
384 '\360', '\361', '\362', '\363', '\364', '\365', '\366', '\367',-
385 '\370', '\371', '\172', '\136', '\114', '\176', '\156', '\157',-
386 '\174', '\301', '\302', '\303', '\304', '\305', '\306', '\307',-
387 '\310', '\311', '\321', '\322', '\323', '\324', '\325', '\326',-
388 '\327', '\330', '\331', '\342', '\343', '\344', '\345', '\346',-
389 '\347', '\350', '\351', '\255', '\340', '\275', '\232', '\155',-
390 '\171', '\201', '\202', '\203', '\204', '\205', '\206', '\207',-
391 '\210', '\211', '\221', '\222', '\223', '\224', '\225', '\226',-
392 '\227', '\230', '\231', '\242', '\243', '\244', '\245', '\246',-
393 '\247', '\250', '\251', '\300', '\117', '\320', '\137', '\007',-
394 '\040', '\041', '\042', '\043', '\044', '\025', '\006', '\027',-
395 '\050', '\051', '\052', '\053', '\054', '\011', '\012', '\033',-
396 '\060', '\061', '\032', '\063', '\064', '\065', '\066', '\010',-
397 '\070', '\071', '\072', '\073', '\004', '\024', '\076', '\341',-
398 '\101', '\102', '\103', '\104', '\105', '\106', '\107', '\110',-
399 '\111', '\121', '\122', '\123', '\124', '\125', '\126', '\127',-
400 '\130', '\131', '\142', '\143', '\144', '\145', '\146', '\147',-
401 '\150', '\151', '\160', '\161', '\162', '\163', '\164', '\165',-
402 '\166', '\167', '\170', '\200', '\212', '\213', '\214', '\215',-
403 '\216', '\217', '\220', '\152', '\233', '\234', '\235', '\236',-
404 '\237', '\240', '\252', '\253', '\254', '\112', '\256', '\257',-
405 '\260', '\261', '\262', '\263', '\264', '\265', '\266', '\267',-
406 '\270', '\271', '\272', '\273', '\274', '\241', '\276', '\277',-
407 '\312', '\313', '\314', '\315', '\316', '\317', '\332', '\333',-
408 '\334', '\335', '\336', '\337', '\352', '\353', '\354', '\355',-
409 '\356', '\357', '\372', '\373', '\374', '\375', '\376', '\377'-
410};-
411-
412static char const ascii_to_ibm[] =-
413{-
414 '\000', '\001', '\002', '\003', '\067', '\055', '\056', '\057',-
415 '\026', '\005', '\045', '\013', '\014', '\015', '\016', '\017',-
416 '\020', '\021', '\022', '\023', '\074', '\075', '\062', '\046',-
417 '\030', '\031', '\077', '\047', '\034', '\035', '\036', '\037',-
418 '\100', '\132', '\177', '\173', '\133', '\154', '\120', '\175',-
419 '\115', '\135', '\134', '\116', '\153', '\140', '\113', '\141',-
420 '\360', '\361', '\362', '\363', '\364', '\365', '\366', '\367',-
421 '\370', '\371', '\172', '\136', '\114', '\176', '\156', '\157',-
422 '\174', '\301', '\302', '\303', '\304', '\305', '\306', '\307',-
423 '\310', '\311', '\321', '\322', '\323', '\324', '\325', '\326',-
424 '\327', '\330', '\331', '\342', '\343', '\344', '\345', '\346',-
425 '\347', '\350', '\351', '\255', '\340', '\275', '\137', '\155',-
426 '\171', '\201', '\202', '\203', '\204', '\205', '\206', '\207',-
427 '\210', '\211', '\221', '\222', '\223', '\224', '\225', '\226',-
428 '\227', '\230', '\231', '\242', '\243', '\244', '\245', '\246',-
429 '\247', '\250', '\251', '\300', '\117', '\320', '\241', '\007',-
430 '\040', '\041', '\042', '\043', '\044', '\025', '\006', '\027',-
431 '\050', '\051', '\052', '\053', '\054', '\011', '\012', '\033',-
432 '\060', '\061', '\032', '\063', '\064', '\065', '\066', '\010',-
433 '\070', '\071', '\072', '\073', '\004', '\024', '\076', '\341',-
434 '\101', '\102', '\103', '\104', '\105', '\106', '\107', '\110',-
435 '\111', '\121', '\122', '\123', '\124', '\125', '\126', '\127',-
436 '\130', '\131', '\142', '\143', '\144', '\145', '\146', '\147',-
437 '\150', '\151', '\160', '\161', '\162', '\163', '\164', '\165',-
438 '\166', '\167', '\170', '\200', '\212', '\213', '\214', '\215',-
439 '\216', '\217', '\220', '\232', '\233', '\234', '\235', '\236',-
440 '\237', '\240', '\252', '\253', '\254', '\255', '\256', '\257',-
441 '\260', '\261', '\262', '\263', '\264', '\265', '\266', '\267',-
442 '\270', '\271', '\272', '\273', '\274', '\275', '\276', '\277',-
443 '\312', '\313', '\314', '\315', '\316', '\317', '\332', '\333',-
444 '\334', '\335', '\336', '\337', '\352', '\353', '\354', '\355',-
445 '\356', '\357', '\372', '\373', '\374', '\375', '\376', '\377'-
446};-
447-
448static char const ebcdic_to_ascii[] =-
449{-
450 '\000', '\001', '\002', '\003', '\234', '\011', '\206', '\177',-
451 '\227', '\215', '\216', '\013', '\014', '\015', '\016', '\017',-
452 '\020', '\021', '\022', '\023', '\235', '\205', '\010', '\207',-
453 '\030', '\031', '\222', '\217', '\034', '\035', '\036', '\037',-
454 '\200', '\201', '\202', '\203', '\204', '\012', '\027', '\033',-
455 '\210', '\211', '\212', '\213', '\214', '\005', '\006', '\007',-
456 '\220', '\221', '\026', '\223', '\224', '\225', '\226', '\004',-
457 '\230', '\231', '\232', '\233', '\024', '\025', '\236', '\032',-
458 '\040', '\240', '\241', '\242', '\243', '\244', '\245', '\246',-
459 '\247', '\250', '\325', '\056', '\074', '\050', '\053', '\174',-
460 '\046', '\251', '\252', '\253', '\254', '\255', '\256', '\257',-
461 '\260', '\261', '\041', '\044', '\052', '\051', '\073', '\176',-
462 '\055', '\057', '\262', '\263', '\264', '\265', '\266', '\267',-
463 '\270', '\271', '\313', '\054', '\045', '\137', '\076', '\077',-
464 '\272', '\273', '\274', '\275', '\276', '\277', '\300', '\301',-
465 '\302', '\140', '\072', '\043', '\100', '\047', '\075', '\042',-
466 '\303', '\141', '\142', '\143', '\144', '\145', '\146', '\147',-
467 '\150', '\151', '\304', '\305', '\306', '\307', '\310', '\311',-
468 '\312', '\152', '\153', '\154', '\155', '\156', '\157', '\160',-
469 '\161', '\162', '\136', '\314', '\315', '\316', '\317', '\320',-
470 '\321', '\345', '\163', '\164', '\165', '\166', '\167', '\170',-
471 '\171', '\172', '\322', '\323', '\324', '\133', '\326', '\327',-
472 '\330', '\331', '\332', '\333', '\334', '\335', '\336', '\337',-
473 '\340', '\341', '\342', '\343', '\344', '\135', '\346', '\347',-
474 '\173', '\101', '\102', '\103', '\104', '\105', '\106', '\107',-
475 '\110', '\111', '\350', '\351', '\352', '\353', '\354', '\355',-
476 '\175', '\112', '\113', '\114', '\115', '\116', '\117', '\120',-
477 '\121', '\122', '\356', '\357', '\360', '\361', '\362', '\363',-
478 '\134', '\237', '\123', '\124', '\125', '\126', '\127', '\130',-
479 '\131', '\132', '\364', '\365', '\366', '\367', '\370', '\371',-
480 '\060', '\061', '\062', '\063', '\064', '\065', '\066', '\067',-
481 '\070', '\071', '\372', '\373', '\374', '\375', '\376', '\377'-
482};-
483-
484-
485static -
486 _Bool -
487 close_stdout_required = -
488 1-
489 ;-
490static void-
491maybe_close_stdout (void)-
492{-
493 if (close_stdout_required
close_stdout_requiredDescription
TRUEevaluated 25 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 633 times by 1 test
Evaluated by:
  • dd
)
25-633
494 close_stdout ();
executed 25 times by 1 test: close_stdout ();
Executed by:
  • dd
25
495 else if (close_stream (
close_stream ( stderr ) != 0Description
TRUEnever evaluated
FALSEevaluated 633 times by 1 test
Evaluated by:
  • dd
0-633
496 stderr
close_stream ( stderr ) != 0Description
TRUEnever evaluated
FALSEevaluated 633 times by 1 test
Evaluated by:
  • dd
0-633
497 ) != 0
close_stream ( stderr ) != 0Description
TRUEnever evaluated
FALSEevaluated 633 times by 1 test
Evaluated by:
  • dd
)
0-633
498 _exit (
never executed: _exit ( 1 );
0
499 1
never executed: _exit ( 1 );
0
500 );
never executed: _exit ( 1 );
0
501}
executed 658 times by 1 test: end of block
Executed by:
  • dd
658
502-
503-
504-
505static void __attribute__ ((__format__ (__printf__, 3, 4)))-
506nl_error (int status, int errnum, const char *fmt, ...)-
507{-
508 if (0 < progress_len
0 < progress_lenDescription
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
)
0-20
509 {-
510 fputc_unlocked ('\n',-
511 stderr-
512 );-
513 progress_len = 0;-
514 }
never executed: end of block
0
515-
516 va_list ap;-
517 -
518 __builtin_va_start(-
519 ap-
520 ,-
521 fmt-
522 )-
523 ;-
524 verror (status, errnum, fmt, ap);-
525 -
526 __builtin_va_end(-
527 ap-
528 )-
529 ;-
530}
executed 13 times by 1 test: end of block
Executed by:
  • dd
13
531-
532-
533-
534void-
535usage (int status)-
536{-
537 if (status !=
status != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 4 times by 1 test
Evaluated by:
  • dd
4
538 0
status != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 4 times by 1 test
Evaluated by:
  • dd
4
539 )-
540 do { fprintf (-
541 stderr-
542 , -
543 dcgettext (((void *)0), -
544 "Try '%s --help' for more information.\n"-
545 , 5)-
546 , program_name); }
executed 4 times by 1 test: end of block
Executed by:
  • dd
while (0);
4
547 else-
548 {-
549 printf (-
550 dcgettext (((void *)0), -
551 "Usage: %s [OPERAND]...\n or: %s OPTION\n"-
552 , 5)-
553-
554-
555 -
556 ,-
557 program_name, program_name);-
558 fputs_unlocked (-
559 dcgettext (((void *)0), -
560 "Copy a file, converting and formatting according to the operands.\n\n bs=BYTES read and write up to BYTES bytes at a time (default: 512);\n overrides ibs and obs\n cbs=BYTES convert BYTES bytes at a time\n conv=CONVS convert the file as per the comma separated symbol list\n count=N copy only N input blocks\n ibs=BYTES read up to BYTES bytes at a time (default: 512)\n"-
561 , 5)-
562 ,-
563 stdout-
564 )-
565 ;-
566 fputs_unlocked (-
567 dcgettext (((void *)0), -
568 " if=FILE read from FILE instead of stdin\n iflag=FLAGS read as per the comma separated symbol list\n obs=BYTES write BYTES bytes at a time (default: 512)\n of=FILE write to FILE instead of stdout\n oflag=FLAGS write as per the comma separated symbol list\n seek=N skip N obs-sized blocks at start of output\n skip=N skip N ibs-sized blocks at start of input\n status=LEVEL The LEVEL of information to print to stderr;\n 'none' suppresses everything but error messages,\n 'noxfer' suppresses the final transfer statistics,\n 'progress' shows periodic transfer statistics\n"-
569 , 5)-
570 ,-
571 stdout-
572 )-
573 ;-
574 fputs_unlocked (-
575 dcgettext (((void *)0), -
576 "\nN and BYTES may be followed by the following multiplicative suffixes:\nc =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M,\nGB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.\n\nEach CONV symbol may be:\n\n"-
577 , 5)-
578 ,-
579 stdout-
580 )-
581-
582-
583-
584-
585-
586-
587-
588 ;-
589 fputs_unlocked (-
590 dcgettext (((void *)0), -
591 " ascii from EBCDIC to ASCII\n ebcdic from ASCII to EBCDIC\n ibm from ASCII to alternate EBCDIC\n block pad newline-terminated records with spaces to cbs-size\n unblock replace trailing spaces in cbs-size records with newline\n lcase change upper case to lower case\n ucase change lower case to upper case\n sparse try to seek rather than write the output for NUL input blocks\n swab swap every pair of input bytes\n sync pad every input block with NULs to ibs-size; when used\n with block or unblock, pad with spaces rather than NULs\n"-
592 , 5)-
593 ,-
594 stdout-
595 )-
596 ;-
597 fputs_unlocked (-
598 dcgettext (((void *)0), -
599 " excl fail if the output file already exists\n nocreat do not create the output file\n notrunc do not truncate the output file\n noerror continue after read errors\n fdatasync physically write output file data before finishing\n fsync likewise, but also write metadata\n"-
600 , 5)-
601 ,-
602 stdout-
603 )-
604-
605-
606-
607-
608-
609-
610 ;-
611 fputs_unlocked (-
612 dcgettext (((void *)0), -
613 "\nEach FLAG symbol may be:\n\n append append mode (makes sense only for output; conv=notrunc suggested)\n"-
614 , 5)-
615 ,-
616 stdout-
617 )-
618-
619-
620-
621-
622 ;-
623 if (0)-
624 fputs_unlocked (
dead code: fputs_unlocked ( dcgettext (((void *)0), " cio use concurrent I/O for data\n" , 5) , stdout );
-
625 dcgettext (((void *)0),
dead code: fputs_unlocked ( dcgettext (((void *)0), " cio use concurrent I/O for data\n" , 5) , stdout );
-
626 " cio use concurrent I/O for data\n"
dead code: fputs_unlocked ( dcgettext (((void *)0), " cio use concurrent I/O for data\n" , 5) , stdout );
-
627 , 5)
dead code: fputs_unlocked ( dcgettext (((void *)0), " cio use concurrent I/O for data\n" , 5) , stdout );
-
628 ,
dead code: fputs_unlocked ( dcgettext (((void *)0), " cio use concurrent I/O for data\n" , 5) , stdout );
-
629 stdout
dead code: fputs_unlocked ( dcgettext (((void *)0), " cio use concurrent I/O for data\n" , 5) , stdout );
-
630 );
dead code: fputs_unlocked ( dcgettext (((void *)0), " cio use concurrent I/O for data\n" , 5) , stdout );
-
631 if (-
632 040000-
633 )-
634 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " direct use direct I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
635 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " direct use direct I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
636 " direct use direct I/O for data\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " direct use direct I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
637 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " direct use direct I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
638 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " direct use direct I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
639 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " direct use direct I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
640 );
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " direct use direct I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
641 if (-
642 0200000-
643 )-
644 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " directory fail unless a directory\n" , 5) , stdout );
Executed by:
  • dd
4
645 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " directory fail unless a directory\n" , 5) , stdout );
Executed by:
  • dd
4
646 " directory fail unless a directory\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " directory fail unless a directory\n" , 5) , stdout );
Executed by:
  • dd
4
647 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " directory fail unless a directory\n" , 5) , stdout );
Executed by:
  • dd
4
648 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " directory fail unless a directory\n" , 5) , stdout );
Executed by:
  • dd
4
649 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " directory fail unless a directory\n" , 5) , stdout );
Executed by:
  • dd
4
650 );
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " directory fail unless a directory\n" , 5) , stdout );
Executed by:
  • dd
4
651 if (-
652 010000-
653 )-
654 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " dsync use synchronized I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
655 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " dsync use synchronized I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
656 " dsync use synchronized I/O for data\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " dsync use synchronized I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
657 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " dsync use synchronized I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
658 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " dsync use synchronized I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
659 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " dsync use synchronized I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
660 );
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " dsync use synchronized I/O for data\n" , 5) , stdout );
Executed by:
  • dd
4
661 if (-
662 04010000-
663 )-
664 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " sync likewise, but also for metadata\n" , 5) , stdout );
Executed by:
  • dd
4
665 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " sync likewise, but also for metadata\n" , 5) , stdout );
Executed by:
  • dd
4
666 " sync likewise, but also for metadata\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " sync likewise, but also for metadata\n" , 5) , stdout );
Executed by:
  • dd
4
667 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " sync likewise, but also for metadata\n" , 5) , stdout );
Executed by:
  • dd
4
668 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " sync likewise, but also for metadata\n" , 5) , stdout );
Executed by:
  • dd
4
669 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " sync likewise, but also for metadata\n" , 5) , stdout );
Executed by:
  • dd
4
670 );
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " sync likewise, but also for metadata\n" , 5) , stdout );
Executed by:
  • dd
4
671 fputs_unlocked (-
672 dcgettext (((void *)0), -
673 " fullblock accumulate full blocks of input (iflag only)\n"-
674 , 5)-
675 ,-
676 stdout-
677 )-
678 ;-
679 if (-
680 04000-
681 )-
682 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nonblock use non-blocking I/O\n" , 5) , stdout );
Executed by:
  • dd
4
683 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nonblock use non-blocking I/O\n" , 5) , stdout );
Executed by:
  • dd
4
684 " nonblock use non-blocking I/O\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nonblock use non-blocking I/O\n" , 5) , stdout );
Executed by:
  • dd
4
685 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nonblock use non-blocking I/O\n" , 5) , stdout );
Executed by:
  • dd
4
686 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nonblock use non-blocking I/O\n" , 5) , stdout );
Executed by:
  • dd
4
687 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nonblock use non-blocking I/O\n" , 5) , stdout );
Executed by:
  • dd
4
688 );
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nonblock use non-blocking I/O\n" , 5) , stdout );
Executed by:
  • dd
4
689 if (-
690 01000000-
691 )-
692 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noatime do not update access time\n" , 5) , stdout );
Executed by:
  • dd
4
693 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noatime do not update access time\n" , 5) , stdout );
Executed by:
  • dd
4
694 " noatime do not update access time\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noatime do not update access time\n" , 5) , stdout );
Executed by:
  • dd
4
695 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noatime do not update access time\n" , 5) , stdout );
Executed by:
  • dd
4
696 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noatime do not update access time\n" , 5) , stdout );
Executed by:
  • dd
4
697 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noatime do not update access time\n" , 5) , stdout );
Executed by:
  • dd
4
698 );
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noatime do not update access time\n" , 5) , stdout );
Executed by:
  • dd
4
699-
700 if (O_NOCACHE
O_NOCACHEDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-4
701 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nocache Request to drop cache. See also oflag=sync\n" , 5) , stdout ) ;
Executed by:
  • dd
4
702 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nocache Request to drop cache. See also oflag=sync\n" , 5) , stdout ) ;
Executed by:
  • dd
4
703 " nocache Request to drop cache. See also oflag=sync\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nocache Request to drop cache. See also oflag=sync\n" , 5) , stdout ) ;
Executed by:
  • dd
4
704 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nocache Request to drop cache. See also oflag=sync\n" , 5) , stdout ) ;
Executed by:
  • dd
4
705 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nocache Request to drop cache. See also oflag=sync\n" , 5) , stdout ) ;
Executed by:
  • dd
4
706 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nocache Request to drop cache. See also oflag=sync\n" , 5) , stdout ) ;
Executed by:
  • dd
4
707 )
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nocache Request to drop cache. See also oflag=sync\n" , 5) , stdout ) ;
Executed by:
  • dd
4
708 ;
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nocache Request to drop cache. See also oflag=sync\n" , 5) , stdout ) ;
Executed by:
  • dd
4
709-
710 if (-
711 0400-
712 )-
713 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noctty do not assign controlling terminal from file\n" , 5) , stdout ) ;
Executed by:
  • dd
4
714 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noctty do not assign controlling terminal from file\n" , 5) , stdout ) ;
Executed by:
  • dd
4
715 " noctty do not assign controlling terminal from file\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noctty do not assign controlling terminal from file\n" , 5) , stdout ) ;
Executed by:
  • dd
4
716 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noctty do not assign controlling terminal from file\n" , 5) , stdout ) ;
Executed by:
  • dd
4
717 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noctty do not assign controlling terminal from file\n" , 5) , stdout ) ;
Executed by:
  • dd
4
718 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noctty do not assign controlling terminal from file\n" , 5) , stdout ) ;
Executed by:
  • dd
4
719 )
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noctty do not assign controlling terminal from file\n" , 5) , stdout ) ;
Executed by:
  • dd
4
720 ;
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " noctty do not assign controlling terminal from file\n" , 5) , stdout ) ;
Executed by:
  • dd
4
721 if (1)-
722 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nofollow do not follow symlinks\n" , 5) , stdout );
Executed by:
  • dd
4
723 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nofollow do not follow symlinks\n" , 5) , stdout );
Executed by:
  • dd
4
724 " nofollow do not follow symlinks\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nofollow do not follow symlinks\n" , 5) , stdout );
Executed by:
  • dd
4
725 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nofollow do not follow symlinks\n" , 5) , stdout );
Executed by:
  • dd
4
726 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nofollow do not follow symlinks\n" , 5) , stdout );
Executed by:
  • dd
4
727 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nofollow do not follow symlinks\n" , 5) , stdout );
Executed by:
  • dd
4
728 );
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " nofollow do not follow symlinks\n" , 5) , stdout );
Executed by:
  • dd
4
729 if (-
730 0-
731 )-
732 fputs_unlocked (
dead code: fputs_unlocked ( dcgettext (((void *)0), " nolinks fail if multiply-linked\n" , 5) , stdout );
-
733 dcgettext (((void *)0),
dead code: fputs_unlocked ( dcgettext (((void *)0), " nolinks fail if multiply-linked\n" , 5) , stdout );
-
734 " nolinks fail if multiply-linked\n"
dead code: fputs_unlocked ( dcgettext (((void *)0), " nolinks fail if multiply-linked\n" , 5) , stdout );
-
735 , 5)
dead code: fputs_unlocked ( dcgettext (((void *)0), " nolinks fail if multiply-linked\n" , 5) , stdout );
-
736 ,
dead code: fputs_unlocked ( dcgettext (((void *)0), " nolinks fail if multiply-linked\n" , 5) , stdout );
-
737 stdout
dead code: fputs_unlocked ( dcgettext (((void *)0), " nolinks fail if multiply-linked\n" , 5) , stdout );
-
738 );
dead code: fputs_unlocked ( dcgettext (((void *)0), " nolinks fail if multiply-linked\n" , 5) , stdout );
-
739 if (-
740 0-
741 )-
742 fputs_unlocked (
dead code: fputs_unlocked ( dcgettext (((void *)0), " binary use binary I/O for data\n" , 5) , stdout );
-
743 dcgettext (((void *)0),
dead code: fputs_unlocked ( dcgettext (((void *)0), " binary use binary I/O for data\n" , 5) , stdout );
-
744 " binary use binary I/O for data\n"
dead code: fputs_unlocked ( dcgettext (((void *)0), " binary use binary I/O for data\n" , 5) , stdout );
-
745 , 5)
dead code: fputs_unlocked ( dcgettext (((void *)0), " binary use binary I/O for data\n" , 5) , stdout );
-
746 ,
dead code: fputs_unlocked ( dcgettext (((void *)0), " binary use binary I/O for data\n" , 5) , stdout );
-
747 stdout
dead code: fputs_unlocked ( dcgettext (((void *)0), " binary use binary I/O for data\n" , 5) , stdout );
-
748 );
dead code: fputs_unlocked ( dcgettext (((void *)0), " binary use binary I/O for data\n" , 5) , stdout );
-
749 if (-
750 0-
751 )-
752 fputs_unlocked (
dead code: fputs_unlocked ( dcgettext (((void *)0), " text use text I/O for data\n" , 5) , stdout );
-
753 dcgettext (((void *)0),
dead code: fputs_unlocked ( dcgettext (((void *)0), " text use text I/O for data\n" , 5) , stdout );
-
754 " text use text I/O for data\n"
dead code: fputs_unlocked ( dcgettext (((void *)0), " text use text I/O for data\n" , 5) , stdout );
-
755 , 5)
dead code: fputs_unlocked ( dcgettext (((void *)0), " text use text I/O for data\n" , 5) , stdout );
-
756 ,
dead code: fputs_unlocked ( dcgettext (((void *)0), " text use text I/O for data\n" , 5) , stdout );
-
757 stdout
dead code: fputs_unlocked ( dcgettext (((void *)0), " text use text I/O for data\n" , 5) , stdout );
-
758 );
dead code: fputs_unlocked ( dcgettext (((void *)0), " text use text I/O for data\n" , 5) , stdout );
-
759 if (O_COUNT_BYTES
O_COUNT_BYTESDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-4
760 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " count_bytes treat 'count=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
761 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " count_bytes treat 'count=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
762 " count_bytes treat 'count=N' as a byte count (iflag only)\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " count_bytes treat 'count=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
763 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " count_bytes treat 'count=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
764 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " count_bytes treat 'count=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
765 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " count_bytes treat 'count=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
766 )
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " count_bytes treat 'count=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
767 ;
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " count_bytes treat 'count=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
768 if (O_SKIP_BYTES
O_SKIP_BYTESDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-4
769 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " skip_bytes treat 'skip=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
770 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " skip_bytes treat 'skip=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
771 " skip_bytes treat 'skip=N' as a byte count (iflag only)\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " skip_bytes treat 'skip=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
772 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " skip_bytes treat 'skip=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
773 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " skip_bytes treat 'skip=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
774 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " skip_bytes treat 'skip=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
775 )
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " skip_bytes treat 'skip=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
776 ;
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " skip_bytes treat 'skip=N' as a byte count (iflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
777 if (O_SEEK_BYTES
O_SEEK_BYTESDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-4
778 fputs_unlocked (
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " seek_bytes treat 'seek=N' as a byte count (oflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
779 dcgettext (((void *)0),
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " seek_bytes treat 'seek=N' as a byte count (oflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
780 " seek_bytes treat 'seek=N' as a byte count (oflag only)\n"
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " seek_bytes treat 'seek=N' as a byte count (oflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
781 , 5)
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " seek_bytes treat 'seek=N' as a byte count (oflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
782 ,
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " seek_bytes treat 'seek=N' as a byte count (oflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
783 stdout
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " seek_bytes treat 'seek=N' as a byte count (oflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
784 )
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " seek_bytes treat 'seek=N' as a byte count (oflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
785 ;
executed 4 times by 1 test: fputs_unlocked ( dcgettext (((void *)0), " seek_bytes treat 'seek=N' as a byte count (oflag only)\n" , 5) , stdout ) ;
Executed by:
  • dd
4
786-
787 {-
788 printf (-
789 dcgettext (((void *)0), -
790 "\nSending a %s signal to a running 'dd' process makes it\nprint I/O statistics to standard error and then resume copying.\n\nOptions are:\n\n"-
791 , 5)-
792-
793-
794-
795-
796-
797-
798 -
799 , -
800 10 -
801 == -
802 10 -
803 ? "USR1" : "INFO");-
804 }-
805-
806 fputs_unlocked (-
807 dcgettext (((void *)0), -
808 " --help display this help and exit\n"-
809 , 5)-
810 ,-
811 stdout-
812 );-
813 fputs_unlocked (-
814 dcgettext (((void *)0), -
815 " --version output version information and exit\n"-
816 , 5)-
817 ,-
818 stdout-
819 );-
820 emit_ancillary_info ("dd");-
821 }
executed 4 times by 1 test: end of block
Executed by:
  • dd
4
822 exit (status);
executed 8 times by 1 test: exit (status);
Executed by:
  • dd
8
823}-
824-
825-
826-
827enum { human_opts = (human_autoscale | human_round_to_nearest-
828 | human_space_before_unit | human_SI | human_B) };-
829-
830-
831-
832static void-
833alloc_ibuf (void)-
834{-
835 if (ibuf
ibufDescription
TRUEevaluated 531 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 600 times by 1 test
Evaluated by:
  • dd
)
531-600
836 return;
executed 531 times by 1 test: return;
Executed by:
  • dd
531
837-
838 char *real_buf = malloc (input_blocksize + (2 * 2 + 2 * page_size - 1));-
839 if (!real_buf
!real_bufDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 597 times by 1 test
Evaluated by:
  • dd
)
3-597
840 {-
841 uintmax_t ibs = input_blocksize;-
842 char hbuf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
843 16 -
844 + 1) - -
845 16 -
846 + 1 + 3) + 1];-
847 ((!!sizeof (struct { _Static_assert (-
848 1-
849 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"memory exhausted by input buffer of size %\"\"l\" \"u\"\" bytes (%s)\", 5), ibs, human_readable (input_blocksize, hbuf, human_opts | human_base_1024, 1, 1)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (-
850 1-
851 , 0, -
852 dcgettext (((void *)0), -
853 "memory exhausted by input buffer of size %"-
854 "l" "u"-
855 " bytes (%s)"-
856 , 5)-
857 , ibs, human_readable (input_blocksize, hbuf, human_opts | human_base_1024, 1, 1)), ((-
858 0-
859 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (-
860 1-
861 , 0, -
862 dcgettext (((void *)0), -
863 "memory exhausted by input buffer of size %"-
864 "l" "u"-
865 " bytes (%s)"-
866 , 5)-
867 , ibs, human_readable (input_blocksize, hbuf, human_opts | human_base_1024, 1, 1)), ((-
868 0-
869 ) ? (void) 0 : __builtin_unreachable ()))))-
870-
871-
872-
873 ;-
874 }
never executed: end of block
0
875-
876 real_buf += 2;-
877-
878 ibuf = ptr_align (real_buf, page_size);-
879}
executed 597 times by 1 test: end of block
Executed by:
  • dd
597
880-
881-
882-
883static void-
884alloc_obuf (void)-
885{-
886 if (obuf
obufDescription
TRUEnever evaluated
FALSEevaluated 597 times by 1 test
Evaluated by:
  • dd
)
0-597
887 return;
never executed: return;
0
888-
889 if (conversions_mask & C_TWOBUFS
conversions_mask & C_TWOBUFSDescription
TRUEevaluated 67 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 530 times by 1 test
Evaluated by:
  • dd
)
67-530
890 {-
891-
892 char *real_obuf = malloc (output_blocksize + (page_size - 1));-
893 if (!real_obuf
!real_obufDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 66 times by 1 test
Evaluated by:
  • dd
)
1-66
894 {-
895 uintmax_t obs = output_blocksize;-
896 char hbuf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
897 16 -
898 + 1) - -
899 16 -
900 + 1 + 3) + 1];-
901 ((!!sizeof (struct { _Static_assert (-
902 1-
903 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"memory exhausted by output buffer of size %\"\"l\" \"u\" \" bytes (%s)\", 5), obs, human_readable (output_blocksize, hbuf, human_opts | human_base_1024, 1, 1)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (-
904 1-
905 , 0, -
906 dcgettext (((void *)0), -
907 "memory exhausted by output buffer of size %"-
908 "l" "u" -
909 " bytes (%s)"-
910 , 5)-
911 , obs, human_readable (output_blocksize, hbuf, human_opts | human_base_1024, 1, 1)), ((-
912 0-
913 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (-
914 1-
915 , 0, -
916 dcgettext (((void *)0), -
917 "memory exhausted by output buffer of size %"-
918 "l" "u" -
919 " bytes (%s)"-
920 , 5)-
921 , obs, human_readable (output_blocksize, hbuf, human_opts | human_base_1024, 1, 1)), ((-
922 0-
923 ) ? (void) 0 : __builtin_unreachable ()))))-
924-
925-
926-
927-
928 ;-
929 }
never executed: end of block
0
930 obuf = ptr_align (real_obuf, page_size);-
931 }
executed 66 times by 1 test: end of block
Executed by:
  • dd
66
932 else-
933 {-
934 alloc_ibuf ();-
935 obuf = ibuf;-
936 }
executed 529 times by 1 test: end of block
Executed by:
  • dd
529
937}-
938-
939static void-
940translate_charset (char const *new_trans)-
941{-
942 for (int i = 0; i < 256
i < 256Description
TRUEevaluated 256 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
; i++)
1-256
943 trans_table[i] = new_trans[trans_table[i]];
executed 256 times by 1 test: trans_table[i] = new_trans[trans_table[i]];
Executed by:
  • dd
256
944 translation_needed = -
945 1-
946 ;-
947}
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
948-
949-
950-
951static inline -
952 _Bool-
953-
954multiple_bits_set (int i)-
955{-
956 return
executed 3773 times by 1 test: return (((i) & ((i) - 1)) != 0);
Executed by:
  • dd
(((i) & ((i) - 1)) != 0);
executed 3773 times by 1 test: return (((i) & ((i) - 1)) != 0);
Executed by:
  • dd
3773
957}-
958-
959static -
960 _Bool-
961-
962abbreviation_lacks_prefix (char const *message)-
963{-
964 return
executed 233 times by 1 test: return message[strlen (message) - 2] == ' ';
Executed by:
  • dd
message[strlen (message) - 2] == ' ';
executed 233 times by 1 test: return message[strlen (message) - 2] == ' ';
Executed by:
  • dd
233
965}-
966-
967-
968-
969static void-
970print_xfer_stats (xtime_t progress_time)-
971{-
972 xtime_t now = progress_time
progress_timeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 149 times by 1 test
Evaluated by:
  • dd
? progress_time : gethrxtime ();
1-149
973 static char const slash_s[] = "/s";-
974 char hbuf[3][((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
975 16 -
976 + 1) - -
977 16 -
978 + 1 + 3) + sizeof slash_s];-
979 double delta_s;-
980 char const *bytes_per_second;-
981 char const *si = human_readable (w_bytes, hbuf[0], human_opts, 1, 1);-
982 char const *iec = human_readable (w_bytes, hbuf[1],-
983 human_opts | human_base_1024, 1, 1);-
984-
985-
986-
987 char *bpsbuf = hbuf[2];-
988 int bpsbufsize = sizeof hbuf[2];-
989 if (start_time < now
start_time < nowDescription
TRUEevaluated 150 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-150
990 {-
991 double XTIME_PRECISIONe0 = 1000000000;-
992 uintmax_t delta_xtime = now;-
993 delta_xtime -= start_time;-
994 delta_s = delta_xtime / XTIME_PRECISIONe0;-
995 bytes_per_second = human_readable (w_bytes, bpsbuf, human_opts,-
996 1000000000, delta_xtime);-
997 strcat (bytes_per_second - bpsbuf + bpsbuf, slash_s);-
998 }
executed 150 times by 1 test: end of block
Executed by:
  • dd
150
999 else-
1000 {-
1001 delta_s = 0;-
1002 snprintf (bpsbuf, bpsbufsize, "%s B/s", -
1003 dcgettext (((void *)0), -
1004 "Infinity"-
1005 , 5)-
1006 );-
1007 bytes_per_second = bpsbuf;-
1008 }
never executed: end of block
0
1009-
1010 if (progress_time
progress_timeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 149 times by 1 test
Evaluated by:
  • dd
)
1-149
1011 fputc_unlocked ('\r',
executed 1 time by 1 test: fputc_unlocked ('\r', stderr );
Executed by:
  • dd
1
1012 stderr
executed 1 time by 1 test: fputc_unlocked ('\r', stderr );
Executed by:
  • dd
1
1013 );
executed 1 time by 1 test: fputc_unlocked ('\r', stderr );
Executed by:
  • dd
1
1014-
1015-
1016-
1017-
1018-
1019-
1020 char delta_s_buf[24];-
1021 snprintf (delta_s_buf, sizeof delta_s_buf,-
1022 progress_time ? "%.0f s" : "%g s", delta_s);-
1023-
1024 int stats_len-
1025 = (abbreviation_lacks_prefix (si)
abbreviation_lacks_prefix (si)Description
TRUEevaluated 67 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 83 times by 1 test
Evaluated by:
  • dd
67-83
1026 ? fprintf (-
1027 stderr-
1028 ,-
1029 -
1030 dcngettext (((void *)0), -
1031 "%"-
1032 "l" "u"-
1033 " byte copied, %s, %s"-
1034 , -
1035 "%"-
1036 "l" "u"-
1037 " bytes copied, %s, %s"-
1038 , -
1039 select_plural (w_bytes)-
1040 , 5)-
1041-
1042 -
1043 ,-
1044 w_bytes, delta_s_buf, bytes_per_second)-
1045 : abbreviation_lacks_prefix (iec)
abbreviation_l...s_prefix (iec)Description
TRUEnever evaluated
FALSEevaluated 83 times by 1 test
Evaluated by:
  • dd
0-83
1046 ? fprintf (-
1047 stderr-
1048 ,-
1049 -
1050 dcgettext (((void *)0), -
1051 "%"-
1052 "l" "u"-
1053 " bytes (%s) copied, %s, %s"-
1054 , 5)-
1055 ,-
1056 w_bytes, si, delta_s_buf, bytes_per_second)-
1057 : fprintf (-
1058 stderr-
1059 ,-
1060 -
1061 dcgettext (((void *)0), -
1062 "%"-
1063 "l" "u"-
1064 " bytes (%s, %s) copied, %s, %s"-
1065 , 5)-
1066 ,-
1067 w_bytes, si, iec, delta_s_buf, bytes_per_second));-
1068-
1069 if (progress_time
progress_timeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 149 times by 1 test
Evaluated by:
  • dd
)
1-149
1070 {-
1071-
1072-
1073-
1074-
1075-
1076-
1077 if (0 <= stats_len
0 <= stats_lenDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& stats_len < progress_len
stats_len < progress_lenDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
0-1
1078 fprintf (
never executed: fprintf ( stderr , "%*s", progress_len - stats_len, "");
0
1079 stderr
never executed: fprintf ( stderr , "%*s", progress_len - stats_len, "");
0
1080 , "%*s", progress_len - stats_len, "");
never executed: fprintf ( stderr , "%*s", progress_len - stats_len, "");
0
1081 progress_len = stats_len;-
1082 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
1083 else-
1084 fputc_unlocked ('\n',
executed 149 times by 1 test: fputc_unlocked ('\n', stderr );
Executed by:
  • dd
149
1085 stderr
executed 149 times by 1 test: fputc_unlocked ('\n', stderr );
Executed by:
  • dd
149
1086 );
executed 149 times by 1 test: fputc_unlocked ('\n', stderr );
Executed by:
  • dd
149
1087}-
1088-
1089static void-
1090print_stats (void)-
1091{-
1092 if (status_level == STATUS_NONE
status_level == STATUS_NONEDescription
TRUEevaluated 505 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 174 times by 1 test
Evaluated by:
  • dd
)
174-505
1093 return;
executed 505 times by 1 test: return;
Executed by:
  • dd
505
1094-
1095 if (0 < progress_len
0 < progress_lenDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 173 times by 1 test
Evaluated by:
  • dd
)
1-173
1096 {-
1097 fputc_unlocked ('\n',-
1098 stderr-
1099 );-
1100 progress_len = 0;-
1101 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
1102-
1103 fprintf (-
1104 stderr-
1105 ,-
1106 -
1107 dcgettext (((void *)0), -
1108 "%"-
1109 "l" "u"-
1110 "+%"-
1111 "l" "u"-
1112 " records in\n" "%"-
1113 "l" "u"-
1114 "+%"-
1115 "l" "u"-
1116 " records out\n"-
1117 , 5)-
1118 -
1119 ,-
1120 r_full, r_partial, w_full, w_partial);-
1121-
1122 if (r_truncate != 0
r_truncate != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 173 times by 1 test
Evaluated by:
  • dd
)
1-173
1123 fprintf (
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1124 stderr
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1125 ,
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1126
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1127 dcngettext (((void *)0),
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1128 "%"
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1129 "l" "u"
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1130 " truncated record\n"
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1131 ,
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1132 "%"
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1133 "l" "u"
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1134 " truncated records\n"
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1135 ,
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1136 select_plural (r_truncate)
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1137 , 5)
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
11381
1139
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1140 ,
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1141 r_truncate);
executed 1 time by 1 test: fprintf ( stderr , dcngettext (((void *)0), "%" "l" "u" " truncated record\n" , "%" "l" "u" " truncated records\n" , select_plural (r_truncate) , 5) , r_truncate);
Executed by:
  • dd
1
1142-
1143 if (status_level == STATUS_NOXFER
status_level == STATUS_NOXFERDescription
TRUEevaluated 25 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 149 times by 1 test
Evaluated by:
  • dd
)
25-149
1144 return;
executed 25 times by 1 test: return;
Executed by:
  • dd
25
1145-
1146 print_xfer_stats (0);-
1147}
executed 149 times by 1 test: end of block
Executed by:
  • dd
149
1148-
1149-
1150-
1151static void-
1152interrupt_handler (int sig)-
1153{-
1154 if (!
! 0x80000000Description
TRUEnever evaluated
FALSEnever evaluated
0
1155 0x80000000
! 0x80000000Description
TRUEnever evaluated
FALSEnever evaluated
0
1156 )-
1157 signal (sig,
dead code: signal (sig, ((__sighandler_t) 0) );
-
1158 ((__sighandler_t) 0)
dead code: signal (sig, ((__sighandler_t) 0) );
-
1159 );
dead code: signal (sig, ((__sighandler_t) 0) );
-
1160 interrupt_signal = sig;-
1161}
never executed: end of block
0
1162-
1163-
1164-
1165static void-
1166siginfo_handler (int sig)-
1167{-
1168 if (!
! 1Description
TRUEnever evaluated
FALSEevaluated 59 times by 1 test
Evaluated by:
  • dd
0-59
1169 1
! 1Description
TRUEnever evaluated
FALSEevaluated 59 times by 1 test
Evaluated by:
  • dd
0-59
1170 )-
1171 signal (sig, siginfo_handler);
dead code: signal (sig, siginfo_handler);
-
1172 info_signal_count++;-
1173}
executed 59 times by 1 test: end of block
Executed by:
  • dd
59
1174-
1175-
1176-
1177static void-
1178install_signal_handlers (void)-
1179{-
1180 -
1181 _Bool -
1182 catch_siginfo = ! (-
1183 10
10 == 10Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1184 ==
10 == 10Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1185 10
10 == 10Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1186 && getenv ("POSIXLY_CORRECT")
getenv ("POSIXLY_CORRECT")Description
TRUEnever evaluated
FALSEevaluated 658 times by 1 test
Evaluated by:
  • dd
);
0-658
1187-
1188-
1189-
1190 struct sigaction act;-
1191 sigemptyset (&caught_signals);-
1192 if (catch_siginfo
catch_siginfoDescription
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-658
1193 sigaddset (&caught_signals,
executed 658 times by 1 test: sigaddset (&caught_signals, 10 );
Executed by:
  • dd
658
1194 10
executed 658 times by 1 test: sigaddset (&caught_signals, 10 );
Executed by:
  • dd
658
1195 );
executed 658 times by 1 test: sigaddset (&caught_signals, 10 );
Executed by:
  • dd
658
1196 sigaction (-
1197 2-
1198 , -
1199 ((void *)0)-
1200 , &act);-
1201 if (act.
act. __sigacti...ghandler_t) 1)Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1202 __sigaction_handler.sa_handler
act. __sigacti...ghandler_t) 1)Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1203 !=
act. __sigacti...ghandler_t) 1)Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1204 ((__sighandler_t) 1)
act. __sigacti...ghandler_t) 1)Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1205 )-
1206 sigaddset (&caught_signals,
executed 658 times by 1 test: sigaddset (&caught_signals, 2 );
Executed by:
  • dd
658
1207 2
executed 658 times by 1 test: sigaddset (&caught_signals, 2 );
Executed by:
  • dd
658
1208 );
executed 658 times by 1 test: sigaddset (&caught_signals, 2 );
Executed by:
  • dd
658
1209 act.sa_mask = caught_signals;-
1210-
1211 if (sigismember (&caught_signals,
sigismember (&..._signals, 10 )Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1212 10
sigismember (&..._signals, 10 )Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1213 )
sigismember (&..._signals, 10 )Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-658
1214 {-
1215 act.-
1216 __sigaction_handler.sa_handler -
1217 = siginfo_handler;-
1218-
1219-
1220-
1221 act.sa_flags = 0;-
1222 sigaction (-
1223 10-
1224 , &act, -
1225 ((void *)0)-
1226 );-
1227 }
executed 658 times by 1 test: end of block
Executed by:
  • dd
658
1228-
1229 if (sigismember (&caught_signals,
sigismember (&...t_signals, 2 )Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1230 2
sigismember (&...t_signals, 2 )Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-658
1231 )
sigismember (&...t_signals, 2 )Description
TRUEevaluated 658 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-658
1232 {-
1233 act.-
1234 __sigaction_handler.sa_handler -
1235 = interrupt_handler;-
1236 act.sa_flags = -
1237 0x40000000 -
1238 | -
1239 0x80000000-
1240 ;-
1241 sigaction (-
1242 2-
1243 , &act, -
1244 ((void *)0)-
1245 );-
1246 }
executed 658 times by 1 test: end of block
Executed by:
  • dd
658
1247}
executed 658 times by 1 test: end of block
Executed by:
  • dd
658
1248-
1249static void-
1250cleanup (void)-
1251{-
1252 if (close (
close ( 0 ) < 0Description
TRUEnever evaluated
FALSEevaluated 622 times by 1 test
Evaluated by:
  • dd
0-622
1253 0
close ( 0 ) < 0Description
TRUEnever evaluated
FALSEevaluated 622 times by 1 test
Evaluated by:
  • dd
0-622
1254 ) < 0
close ( 0 ) < 0Description
TRUEnever evaluated
FALSEevaluated 622 times by 1 test
Evaluated by:
  • dd
)
0-622
1255 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1256 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1257 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1258 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1259 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1260 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1261 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1262 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1263 "closing input file %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1264 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1265 , quotearg_style (shell_escape_always_quoting_style, input_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1266 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1267 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1268 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1269 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1270 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1271 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1272 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1273 "closing input file %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1274 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1275 , quotearg_style (shell_escape_always_quoting_style, input_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1276 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1277 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing input file %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_d... ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing input file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1278-
1279-
1280-
1281-
1282 if (close (
close ( 1 ) < 0Description
TRUEnever evaluated
FALSEevaluated 622 times by 1 test
Evaluated by:
  • dd
0-622
1283 1
close ( 1 ) < 0Description
TRUEnever evaluated
FALSEevaluated 622 times by 1 test
Evaluated by:
  • dd
0-622
1284 ) < 0
close ( 1 ) < 0Description
TRUEnever evaluated
FALSEevaluated 622 times by 1 test
Evaluated by:
  • dd
)
0-622
1285 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1286 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1287 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1288 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1289 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1290 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1291 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1292 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1293 "closing output file %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1294 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1295 , quotearg_style (shell_escape_always_quoting_style, output_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1296 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1297 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1298 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1299 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1300 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1301 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1302 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1303 "closing output file %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1304 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1305 , quotearg_style (shell_escape_always_quoting_style, output_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1306 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1307 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1308 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing output file %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing output file %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1309}
executed 622 times by 1 test: end of block
Executed by:
  • dd
622
1310-
1311-
1312-
1313-
1314-
1315static void-
1316process_signals (void)-
1317{-
1318 while (interrupt_signal
interrupt_signalDescription
TRUEnever evaluated
FALSEevaluated 7843 times by 1 test
Evaluated by:
  • dd
|| info_signal_count
info_signal_countDescription
TRUEevaluated 57 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 7786 times by 1 test
Evaluated by:
  • dd
)
0-7843
1319 {-
1320 int interrupt;-
1321 int infos;-
1322 sigset_t oldset;-
1323-
1324 sigprocmask (-
1325 0-
1326 , &caught_signals, &oldset);-
1327-
1328-
1329-
1330 interrupt = interrupt_signal;-
1331 infos = info_signal_count;-
1332-
1333 if (infos
infosDescription
TRUEevaluated 57 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-57
1334 info_signal_count = infos - 1;
executed 57 times by 1 test: info_signal_count = infos - 1;
Executed by:
  • dd
57
1335-
1336 sigprocmask (-
1337 2-
1338 , &oldset, -
1339 ((void *)0)-
1340 );-
1341-
1342 if (interrupt
interruptDescription
TRUEnever evaluated
FALSEevaluated 57 times by 1 test
Evaluated by:
  • dd
)
0-57
1343 cleanup ();
never executed: cleanup ();
0
1344 print_stats ();-
1345 if (interrupt
interruptDescription
TRUEnever evaluated
FALSEevaluated 57 times by 1 test
Evaluated by:
  • dd
)
0-57
1346 raise (interrupt);
never executed: raise (interrupt);
0
1347 }
executed 57 times by 1 test: end of block
Executed by:
  • dd
57
1348}
executed 7786 times by 1 test: end of block
Executed by:
  • dd
7786
1349-
1350static void-
1351finish_up (void)-
1352{-
1353 cleanup ();-
1354 print_stats ();-
1355 process_signals ();-
1356}
executed 622 times by 1 test: end of block
Executed by:
  • dd
622
1357-
1358static void __attribute__ ((__noreturn__))-
1359quit (int code)-
1360{-
1361 finish_up ();-
1362 exit (code);
executed 2 times by 1 test: exit (code);
Executed by:
  • dd
2
1363}-
1364-
1365-
1366-
1367-
1368-
1369-
1370static off_t-
1371cache_round (int fd, off_t len)-
1372{-
1373 static off_t i_pending, o_pending;-
1374 off_t *pending = (fd ==
fd == 0Description
TRUEevaluated 432 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 123 times by 1 test
Evaluated by:
  • dd
123-432
1375 0
fd == 0Description
TRUEevaluated 432 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 123 times by 1 test
Evaluated by:
  • dd
123-432
1376 ? &i_pending : &o_pending);-
1377-
1378 if (len
lenDescription
TRUEevaluated 519 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 36 times by 1 test
Evaluated by:
  • dd
)
36-519
1379 {-
1380 uintmax_t c_pending = *pending + len;-
1381 *pending = c_pending % IO_BUFSIZE;-
1382 if (c_pending > *pending
c_pending > *pendingDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 509 times by 1 test
Evaluated by:
  • dd
)
10-509
1383 len = c_pending - *pending;
executed 10 times by 1 test: len = c_pending - *pending;
Executed by:
  • dd
10
1384 else-
1385 len = 0;
executed 509 times by 1 test: len = 0;
Executed by:
  • dd
509
1386 }-
1387 else-
1388 len = *pending;
executed 36 times by 1 test: len = *pending;
Executed by:
  • dd
36
1389-
1390 return
executed 555 times by 1 test: return len;
Executed by:
  • dd
len;
executed 555 times by 1 test: return len;
Executed by:
  • dd
555
1391}-
1392-
1393-
1394-
1395-
1396-
1397static -
1398 _Bool-
1399-
1400invalidate_cache (int fd, off_t len)-
1401{-
1402 int adv_ret = -1;-
1403 off_t offset;-
1404 -
1405 _Bool -
1406 nocache_eof = (fd ==
fd == 0Description
TRUEevaluated 426 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 119 times by 1 test
Evaluated by:
  • dd
119-426
1407 0
fd == 0Description
TRUEevaluated 426 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 119 times by 1 test
Evaluated by:
  • dd
119-426
1408 ? i_nocache_eof : o_nocache_eof);-
1409-
1410-
1411 off_t clen = cache_round (fd, len);-
1412 if (len
lenDescription
TRUEevaluated 519 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 26 times by 1 test
Evaluated by:
  • dd
&& !clen
!clenDescription
TRUEevaluated 509 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 10 times by 1 test
Evaluated by:
  • dd
)
10-519
1413 return
executed 509 times by 1 test: return 1 ;
Executed by:
  • dd
executed 509 times by 1 test: return 1 ;
Executed by:
  • dd
509
1414 1
executed 509 times by 1 test: return 1 ;
Executed by:
  • dd
509
1415 ;
executed 509 times by 1 test: return 1 ;
Executed by:
  • dd
509
1416 else if (! len
! lenDescription
TRUEevaluated 26 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 10 times by 1 test
Evaluated by:
  • dd
&& ! clen
! clenDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
&& ! nocache_eof
! nocache_eofDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 17 times by 1 test
Evaluated by:
  • dd
)
1-26
1417 return
executed 1 time by 1 test: return 1 ;
Executed by:
  • dd
executed 1 time by 1 test: return 1 ;
Executed by:
  • dd
1
1418 1
executed 1 time by 1 test: return 1 ;
Executed by:
  • dd
1
1419 ;
executed 1 time by 1 test: return 1 ;
Executed by:
  • dd
1
1420 off_t pending = len
lenDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 25 times by 1 test
Evaluated by:
  • dd
? cache_round (fd, 0) : 0;
10-25
1421-
1422 if (fd ==
fd == 0Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 19 times by 1 test
Evaluated by:
  • dd
16-19
1423 0
fd == 0Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 19 times by 1 test
Evaluated by:
  • dd
16-19
1424 )-
1425 {-
1426 if (input_seekable
input_seekableDescription
TRUEevaluated 15 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1-15
1427 offset = input_offset;
executed 15 times by 1 test: offset = input_offset;
Executed by:
  • dd
15
1428 else-
1429 {-
1430 offset = -1;-
1431 -
1432 (*__errno_location ()) -
1433 = -
1434 29-
1435 ;-
1436 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
1437 }-
1438 else-
1439 {-
1440 static off_t output_offset = -2;-
1441-
1442 if (output_offset != -1
output_offset != -1Description
TRUEevaluated 19 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-19
1443 {-
1444 if (output_offset < 0
output_offset < 0Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 9 times by 1 test
Evaluated by:
  • dd
)
9-10
1445 output_offset = lseek (fd, 0,
executed 10 times by 1 test: output_offset = lseek (fd, 0, 1 );
Executed by:
  • dd
10
1446 1
executed 10 times by 1 test: output_offset = lseek (fd, 0, 1 );
Executed by:
  • dd
10
1447 );
executed 10 times by 1 test: output_offset = lseek (fd, 0, 1 );
Executed by:
  • dd
10
1448 else if (len
lenDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 7 times by 1 test
Evaluated by:
  • dd
)
2-7
1449 output_offset += clen + pending;
executed 2 times by 1 test: output_offset += clen + pending;
Executed by:
  • dd
2
1450 }
executed 19 times by 1 test: end of block
Executed by:
  • dd
19
1451-
1452 offset = output_offset;-
1453 }
executed 19 times by 1 test: end of block
Executed by:
  • dd
19
1454-
1455 if (0 <= offset
0 <= offsetDescription
TRUEevaluated 34 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1-34
1456 {-
1457 if (! len
! lenDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 10 times by 1 test
Evaluated by:
  • dd
&& clen
clenDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 16 times by 1 test
Evaluated by:
  • dd
&& nocache_eof
nocache_eofDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2 times by 1 test
Evaluated by:
  • dd
)
2-24
1458 {-
1459 pending = clen;-
1460 clen = 0;-
1461 }
executed 6 times by 1 test: end of block
Executed by:
  • dd
6
1462-
1463-
1464-
1465-
1466-
1467-
1468 offset = offset - clen - pending;-
1469-
1470 if (clen == 0
clen == 0Description
TRUEevaluated 22 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 12 times by 1 test
Evaluated by:
  • dd
)
12-22
1471 offset -= offset % page_size;
executed 22 times by 1 test: offset -= offset % page_size;
Executed by:
  • dd
22
1472 adv_ret = posix_fadvise (fd, offset, clen, -
1473 4-
1474 );-
1475-
1476-
1477-
1478 }
executed 34 times by 1 test: end of block
Executed by:
  • dd
34
1479-
1480 return
executed 35 times by 1 test: return adv_ret != -1 ? 1 : 0 ;
Executed by:
  • dd
adv_ret != -1 ?
executed 35 times by 1 test: return adv_ret != -1 ? 1 : 0 ;
Executed by:
  • dd
35
1481 1
executed 35 times by 1 test: return adv_ret != -1 ? 1 : 0 ;
Executed by:
  • dd
35
1482 :
executed 35 times by 1 test: return adv_ret != -1 ? 1 : 0 ;
Executed by:
  • dd
35
1483 0
executed 35 times by 1 test: return adv_ret != -1 ? 1 : 0 ;
Executed by:
  • dd
35
1484 ;
executed 35 times by 1 test: return adv_ret != -1 ? 1 : 0 ;
Executed by:
  • dd
35
1485}-
1486-
1487-
1488-
1489-
1490-
1491static ssize_t-
1492iread (int fd, char *buf, size_t size)-
1493{-
1494 ssize_t nread;-
1495 static ssize_t prev_nread;-
1496-
1497 do-
1498 {-
1499 process_signals ();-
1500 nread = read (fd, buf, size);-
1501-
1502-
1503 if (nread == -1
nread == -1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 3004 times by 1 test
Evaluated by:
  • dd
&&
3-3004
1504 (*
(*__errno_location ()) == 22Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 22Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1505 ==
(*__errno_location ()) == 22Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1506 22
(*__errno_location ()) == 22Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1507 -
1508 && 0 < prev_nread
0 < prev_nreadDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& prev_nread < size
prev_nread < sizeDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1509 && (
(input_flags & 040000 )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
input_flags &
(input_flags & 040000 )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1510 040000
(input_flags & 040000 )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1511 )
(input_flags & 040000 )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-3
1512 {-
1513 -
1514 (*__errno_location ()) -
1515 = 0;-
1516 nread = 0;-
1517 }
executed 3 times by 1 test: end of block
Executed by:
  • dd
3
1518 }
executed 3007 times by 1 test: end of block
Executed by:
  • dd
3007
1519 while (nread < 0
nread < 0Description
TRUEnever evaluated
FALSEevaluated 3007 times by 1 test
Evaluated by:
  • dd
&&
0-3007
1520 (*
(*__errno_location ()) == 4Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 4Description
TRUEnever evaluated
FALSEnever evaluated
0
1521 ==
(*__errno_location ()) == 4Description
TRUEnever evaluated
FALSEnever evaluated
0
1522 4
(*__errno_location ()) == 4Description
TRUEnever evaluated
FALSEnever evaluated
0
1523 );-
1524-
1525-
1526 if (0 < nread
0 < nreadDescription
TRUEevaluated 2934 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 73 times by 1 test
Evaluated by:
  • dd
&& nread < size
nread < sizeDescription
TRUEevaluated 56 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2878 times by 1 test
Evaluated by:
  • dd
)
56-2934
1527 process_signals ();
executed 56 times by 1 test: process_signals ();
Executed by:
  • dd
56
1528-
1529 if (0 < nread
0 < nreadDescription
TRUEevaluated 2934 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 73 times by 1 test
Evaluated by:
  • dd
&& warn_partial_read
warn_partial_readDescription
TRUEevaluated 425 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2509 times by 1 test
Evaluated by:
  • dd
)
73-2934
1530 {-
1531 if (0 < prev_nread
0 < prev_nreadDescription
TRUEevaluated 407 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 18 times by 1 test
Evaluated by:
  • dd
&& prev_nread < size
prev_nread < sizeDescription
TRUEnever evaluated
FALSEevaluated 407 times by 1 test
Evaluated by:
  • dd
)
0-407
1532 {-
1533 uintmax_t prev = prev_nread;-
1534 if (status_level != STATUS_NONE
status_level != STATUS_NONEDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1535 nl_error (0, 0,
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1536 dcngettext (((void *)0),
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1537 ("warning: partial read (%"
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1538 "l" "u"
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1539 " byte); " "suggest iflag=fullblock")
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1540 ,
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1541 ("warning: partial read (%"
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1542 "l" "u"
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1543 " bytes); " "suggest iflag=fullblock")
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1544 ,
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1545 select_plural (prev)
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1546 , 5)
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
15470
15480
15490
1550
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1551 ,
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1552 prev);
never executed: nl_error (0, 0, dcngettext (((void *)0), ("warning: partial read (%" "l" "u" " byte); " "suggest iflag=fullblock") , ("warning: partial read (%" "l" "u" " bytes); " "suggest iflag=fullblock") , select_plural (prev) , 5) , prev);
0
1553 warn_partial_read = -
1554 0-
1555 ;-
1556 }
never executed: end of block
0
1557 }
executed 425 times by 1 test: end of block
Executed by:
  • dd
425
1558-
1559 prev_nread = nread;-
1560 return
executed 3007 times by 1 test: return nread;
Executed by:
  • dd
nread;
executed 3007 times by 1 test: return nread;
Executed by:
  • dd
3007
1561}-
1562-
1563-
1564static ssize_t-
1565iread_fullblock (int fd, char *buf, size_t size)-
1566{-
1567 ssize_t nread = 0;-
1568-
1569 while (0 < size
0 < sizeDescription
TRUEevaluated 1724 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1716 times by 1 test
Evaluated by:
  • dd
)
1716-1724
1570 {-
1571 ssize_t ncurr = iread (fd, buf, size);-
1572 if (ncurr < 0
ncurr < 0Description
TRUEnever evaluated
FALSEevaluated 1724 times by 1 test
Evaluated by:
  • dd
)
0-1724
1573 return
never executed: return ncurr;
ncurr;
never executed: return ncurr;
0
1574 if (ncurr == 0
ncurr == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1723 times by 1 test
Evaluated by:
  • dd
)
1-1723
1575 break;
executed 1 time by 1 test: break;
Executed by:
  • dd
1
1576 nread += ncurr;-
1577 buf += ncurr;-
1578 size -= ncurr;-
1579 }
executed 1723 times by 1 test: end of block
Executed by:
  • dd
1723
1580-
1581 return
executed 1717 times by 1 test: return nread;
Executed by:
  • dd
nread;
executed 1717 times by 1 test: return nread;
Executed by:
  • dd
1717
1582}-
1583-
1584-
1585-
1586-
1587-
1588-
1589static size_t-
1590iwrite (int fd, char const *buf, size_t size)-
1591{-
1592 size_t total_written = 0;-
1593-
1594 if ((
(output_flags & 040000 )Description
TRUEevaluated 54 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2854 times by 1 test
Evaluated by:
  • dd
output_flags &
(output_flags & 040000 )Description
TRUEevaluated 54 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2854 times by 1 test
Evaluated by:
  • dd
54-2854
1595 040000
(output_flags & 040000 )Description
TRUEevaluated 54 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2854 times by 1 test
Evaluated by:
  • dd
54-2854
1596 )
(output_flags & 040000 )Description
TRUEevaluated 54 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2854 times by 1 test
Evaluated by:
  • dd
&& size < output_blocksize
size < output_blocksizeDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 49 times by 1 test
Evaluated by:
  • dd
)
5-2854
1597 {-
1598 int old_flags = -
1599 rpl_fcntl -
1600 (-
1601 1-
1602 , -
1603 3-
1604 );-
1605 if (-
1606 rpl_fcntl
rpl_fcntl ( 1 ... 040000 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
1607 (
rpl_fcntl ( 1 ... 040000 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
1608 1
rpl_fcntl ( 1 ... 040000 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
1609 ,
rpl_fcntl ( 1 ... 040000 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
1610 4
rpl_fcntl ( 1 ... 040000 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
1611 , old_flags & ~
rpl_fcntl ( 1 ... 040000 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
1612 040000
rpl_fcntl ( 1 ... 040000 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
1613 ) != 0
rpl_fcntl ( 1 ... 040000 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
1614 && status_level != STATUS_NONE
status_level != STATUS_NONEDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1615 nl_error (0,
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "failed to turn off O_DIRECT: %s" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
0
1616 (*__errno_location ())
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "failed to turn off O_DIRECT: %s" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
0
1617 ,
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "failed to turn off O_DIRECT: %s" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
0
1618 dcgettext (((void *)0),
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "failed to turn off O_DIRECT: %s" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
0
1619 "failed to turn off O_DIRECT: %s"
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "failed to turn off O_DIRECT: %s" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
0
1620 , 5)
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "failed to turn off O_DIRECT: %s" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
0
1621 ,
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "failed to turn off O_DIRECT: %s" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
0
1622 quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "failed to turn off O_DIRECT: %s" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));
0
1623-
1624-
1625-
1626-
1627-
1628-
1629 o_nocache_eof = -
1630 1-
1631 ;-
1632 invalidate_cache (-
1633 1-
1634 , 0);-
1635-
1636-
1637-
1638 conversions_mask |= C_FSYNC;-
1639-
1640-
1641-
1642 }
executed 5 times by 1 test: end of block
Executed by:
  • dd
5
1643-
1644 while (total_written < size
total_written < sizeDescription
TRUEevaluated 2958 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2908 times by 1 test
Evaluated by:
  • dd
)
2908-2958
1645 {-
1646 ssize_t nwritten = 0;-
1647 process_signals ();-
1648-
1649-
1650 final_op_was_seek = -
1651 0-
1652 ;-
1653 if ((
(conversions_mask & C_SPARSE)Description
TRUEevaluated 47 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2911 times by 1 test
Evaluated by:
  • dd
conversions_mask & C_SPARSE)
(conversions_mask & C_SPARSE)Description
TRUEevaluated 47 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2911 times by 1 test
Evaluated by:
  • dd
&& is_nul (buf, size)
is_nul (buf, size)Description
TRUEevaluated 38 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 9 times by 1 test
Evaluated by:
  • dd
)
9-2911
1654 {-
1655 if (lseek (fd, size,
lseek (fd, size, 1 ) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 37 times by 1 test
Evaluated by:
  • dd
1-37
1656 1
lseek (fd, size, 1 ) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 37 times by 1 test
Evaluated by:
  • dd
1-37
1657 ) < 0
lseek (fd, size, 1 ) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 37 times by 1 test
Evaluated by:
  • dd
)
1-37
1658 {-
1659 conversions_mask &= ~C_SPARSE;-
1660-
1661 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
1662 else-
1663 {-
1664 final_op_was_seek = -
1665 1-
1666 ;-
1667 nwritten = size;-
1668 }
executed 37 times by 1 test: end of block
Executed by:
  • dd
37
1669 }-
1670-
1671 if (!nwritten
!nwrittenDescription
TRUEevaluated 2921 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 37 times by 1 test
Evaluated by:
  • dd
)
37-2921
1672 nwritten = write (fd, buf + total_written, size - total_written);
executed 2921 times by 1 test: nwritten = write (fd, buf + total_written, size - total_written);
Executed by:
  • dd
2921
1673-
1674 if (nwritten < 0
nwritten < 0Description
TRUEnever evaluated
FALSEevaluated 2958 times by 1 test
Evaluated by:
  • dd
)
0-2958
1675 {-
1676 if (-
1677 (*
(*__errno_location ()) != 4Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 4Description
TRUEnever evaluated
FALSEnever evaluated
0
1678 !=
(*__errno_location ()) != 4Description
TRUEnever evaluated
FALSEnever evaluated
0
1679 4
(*__errno_location ()) != 4Description
TRUEnever evaluated
FALSEnever evaluated
0
1680 )-
1681 break;
never executed: break;
0
1682 }
never executed: end of block
0
1683 else if (nwritten == 0
nwritten == 0Description
TRUEnever evaluated
FALSEevaluated 2958 times by 1 test
Evaluated by:
  • dd
)
0-2958
1684 {-
1685-
1686-
1687-
1688 -
1689 (*__errno_location ()) -
1690 = -
1691 28-
1692 ;-
1693 break;
never executed: break;
0
1694 }-
1695 else-
1696 total_written += nwritten;
executed 2958 times by 1 test: total_written += nwritten;
Executed by:
  • dd
2958
1697 }-
1698-
1699 if (o_nocache
o_nocacheDescription
TRUEevaluated 104 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2804 times by 1 test
Evaluated by:
  • dd
&& total_written
total_writtenDescription
TRUEevaluated 104 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-2804
1700 invalidate_cache (fd, total_written);
executed 104 times by 1 test: invalidate_cache (fd, total_written);
Executed by:
  • dd
104
1701-
1702 return
executed 2908 times by 1 test: return total_written;
Executed by:
  • dd
total_written;
executed 2908 times by 1 test: return total_written;
Executed by:
  • dd
2908
1703}-
1704-
1705-
1706-
1707static void-
1708write_output (void)-
1709{-
1710 size_t nwritten = iwrite (-
1711 1-
1712 , obuf, output_blocksize);-
1713 w_bytes += nwritten;-
1714 if (nwritten != output_blocksize
nwritten != output_blocksizeDescription
TRUEnever evaluated
FALSEevaluated 760 times by 1 test
Evaluated by:
  • dd
)
0-760
1715 {-
1716 nl_error (0, -
1717 (*__errno_location ())-
1718 , -
1719 dcgettext (((void *)0), -
1720 "writing to %s"-
1721 , 5)-
1722 , quotearg_style (shell_escape_always_quoting_style, output_file));-
1723 if (nwritten != 0
nwritten != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1724 w_partial++;
never executed: w_partial++;
0
1725 quit (-
1726 1-
1727 );-
1728 }
never executed: end of block
0
1729 else-
1730 w_full++;
executed 760 times by 1 test: w_full++;
Executed by:
  • dd
760
1731 oc = 0;-
1732}
executed 760 times by 1 test: end of block
Executed by:
  • dd
760
1733-
1734-
1735-
1736static int-
1737ifd_reopen (int desired_fd, char const *file, int flag, mode_t mode)-
1738{-
1739 int ret;-
1740-
1741 do-
1742 {-
1743 process_signals ();-
1744 ret = fd_reopen (desired_fd, file, flag, mode);-
1745 }
executed 1125 times by 1 test: end of block
Executed by:
  • dd
1125
1746 while (ret < 0
ret < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1123 times by 1 test
Evaluated by:
  • dd
&&
2-1123
1747 (*
(*__errno_location ()) == 4Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
__errno_location ())
(*__errno_location ()) == 4Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1
1748 ==
(*__errno_location ()) == 4Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1
1749 4
(*__errno_location ()) == 4Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1
1750 );-
1751-
1752 return
executed 1124 times by 1 test: return ret;
Executed by:
  • dd
ret;
executed 1124 times by 1 test: return ret;
Executed by:
  • dd
1124
1753}-
1754-
1755-
1756-
1757static int-
1758iftruncate (int fd, off_t length)-
1759{-
1760 int ret;-
1761-
1762 do-
1763 {-
1764 process_signals ();-
1765 ret = ftruncate (fd, length);-
1766 }
executed 18 times by 1 test: end of block
Executed by:
  • dd
18
1767 while (ret < 0
ret < 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 15 times by 1 test
Evaluated by:
  • dd
&&
3-15
1768 (*
(*__errno_location ()) == 4Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
__errno_location ())
(*__errno_location ()) == 4Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
1769 ==
(*__errno_location ()) == 4Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
1770 4
(*__errno_location ()) == 4Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
1771 );-
1772-
1773 return
executed 18 times by 1 test: return ret;
Executed by:
  • dd
ret;
executed 18 times by 1 test: return ret;
Executed by:
  • dd
18
1774}-
1775-
1776-
1777-
1778static -
1779 _Bool __attribute__ ((__pure__))-
1780-
1781operand_matches (char const *str, char const *pattern, char delim)-
1782{-
1783 while (*
*patternDescription
TRUEevaluated 67860 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 7441 times by 1 test
Evaluated by:
  • dd
pattern
*patternDescription
TRUEevaluated 67860 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 7441 times by 1 test
Evaluated by:
  • dd
)
7441-67860
1784 if (*
*str++ != *pattern++Description
TRUEevaluated 31850 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 36010 times by 1 test
Evaluated by:
  • dd
str++ != *pattern++
*str++ != *pattern++Description
TRUEevaluated 31850 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 36010 times by 1 test
Evaluated by:
  • dd
)
31850-36010
1785 return
executed 31850 times by 1 test: return 0 ;
Executed by:
  • dd
executed 31850 times by 1 test: return 0 ;
Executed by:
  • dd
31850
1786 0
executed 31850 times by 1 test: return 0 ;
Executed by:
  • dd
31850
1787 ;
executed 31850 times by 1 test: return 0 ;
Executed by:
  • dd
31850
1788 return
executed 7441 times by 1 test: return !*str || *str == delim;
Executed by:
  • dd
!*str || *str == delim;
executed 7441 times by 1 test: return !*str || *str == delim;
Executed by:
  • dd
7441
1789}-
1790-
1791-
1792-
1793-
1794-
1795static int-
1796parse_symbols (char const *str, struct symbol_value const *table,-
1797 -
1798 _Bool -
1799 exclusive, char const *error_msgid)-
1800{-
1801 int value = 0;-
1802-
1803 while (-
1804 1-
1805 )-
1806 {-
1807 char const *strcomma = -
1808 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( ',' )Description
TRUEevaluated 2063 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-2063
1809 ','
__builtin_constant_p ( ',' )Description
TRUEevaluated 2063 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-2063
1810 )
__builtin_constant_p ( ',' )Description
TRUEevaluated 2063 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( str )Description
TRUEevaluated 2063 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-2063
1811 str
!__builtin_constant_p ( str )Description
TRUEevaluated 2063 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-2063
1812 )
!__builtin_constant_p ( str )Description
TRUEevaluated 2063 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& (
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 2063 times by 1 test
Evaluated by:
  • dd
0-2063
1813 ','
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 2063 times by 1 test
Evaluated by:
  • dd
0-2063
1814 ) == '\0'
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 2063 times by 1 test
Evaluated by:
  • dd
? (char *) __rawmemchr (
0-2063
1815 str-
1816 , -
1817 ','-
1818 ) : __builtin_strchr (-
1819 str-
1820 , -
1821 ','-
1822 )))-
1823 ;-
1824 struct symbol_value const *entry;-
1825-
1826 for (entry = table;-
1827 ! (operand_matches (str, entry->symbol, ',')
operand_matche...->symbol, ',')Description
TRUEevaluated 2063 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 13296 times by 1 test
Evaluated by:
  • dd
&& entry->value
entry->valueDescription
TRUEevaluated 2062 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
);
1-13296
1828 entry++)-
1829 {-
1830 if (! entry->symbol[0]
! entry->symbol[0]Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 13296 times by 1 test
Evaluated by:
  • dd
)
1-13296
1831 {-
1832 size_t slen = strcomma
strcommaDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
? strcomma - str : strlen (str);
0-1
1833 nl_error (0, 0, "%s: %s", -
1834 dcgettext (((void *)0), -
1835 error_msgid-
1836 , 5)-
1837 ,-
1838 quotearg_n_style_mem (0, locale_quoting_style, str, slen));-
1839 usage (-
1840 1-
1841 );-
1842 }
never executed: end of block
0
1843 }
executed 13296 times by 1 test: end of block
Executed by:
  • dd
13296
1844-
1845 if (exclusive
exclusiveDescription
TRUEevaluated 533 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1529 times by 1 test
Evaluated by:
  • dd
)
533-1529
1846 value = entry->value;
executed 533 times by 1 test: value = entry->value;
Executed by:
  • dd
533
1847 else-
1848 value |= entry->value;
executed 1529 times by 1 test: value |= entry->value;
Executed by:
  • dd
1529
1849 if (!strcomma
!strcommaDescription
TRUEevaluated 2054 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
)
8-2054
1850 break;
executed 2054 times by 1 test: break;
Executed by:
  • dd
2054
1851 str = strcomma + 1;-
1852 }
executed 8 times by 1 test: end of block
Executed by:
  • dd
8
1853-
1854 return
executed 2054 times by 1 test: return value;
Executed by:
  • dd
value;
executed 2054 times by 1 test: return value;
Executed by:
  • dd
2054
1855}-
1856-
1857-
1858-
1859-
1860-
1861-
1862static uintmax_t-
1863parse_integer (const char *str, strtol_error *invalid)-
1864{-
1865 uintmax_t n;-
1866 char *suffix;-
1867 strtol_error e = xstrtoumax (str, &suffix, 10, &n, "bcEGkKMPTwYZ0");-
1868-
1869 if (e == LONGINT_INVALID_SUFFIX_CHAR
e == LONGINT_I...ID_SUFFIX_CHARDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1180 times by 1 test
Evaluated by:
  • dd
&& *
*suffix == 'x'Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
suffix == 'x'
*suffix == 'x'Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-1180
1870 {-
1871 uintmax_t multiplier = parse_integer (suffix + 1, invalid);-
1872-
1873 if (multiplier != 0
multiplier != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& n * multiplier / multiplier != n
n * multiplier...ultiplier != nDescription
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
)
0-3
1874 {-
1875 *invalid = LONGINT_OVERFLOW;-
1876 return
never executed: return 0;
0;
never executed: return 0;
0
1877 }-
1878-
1879 if (n == 0
n == 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1880 (__extension__ (__builtin_constant_p (
__builtin_cons...trlen ("0x") )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1881 strlen ("0x")
__builtin_cons...trlen ("0x") )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1882 )
__builtin_cons...trlen ("0x") )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& ((__builtin_constant_p (
__builtin_constant_p ( str )Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1883 str
__builtin_constant_p ( str )Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1884 )
__builtin_constant_p ( str )Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
&& strlen (
strlen ( str )...rlen ("0x") ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1885 str
strlen ( str )...rlen ("0x") ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1886 ) < ((size_t) (
strlen ( str )...rlen ("0x") ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1887 strlen ("0x")
strlen ( str )...rlen ("0x") ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1888 ))
strlen ( str )...rlen ("0x") ))Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_constant_p ( "0x" )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1889 "0x"
__builtin_constant_p ( "0x" )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1890 )
__builtin_constant_p ( "0x" )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& strlen (
strlen ( "0x" ...rlen ("0x") ))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1891 "0x"
strlen ( "0x" ...rlen ("0x") ))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1892 ) < ((size_t) (
strlen ( "0x" ...rlen ("0x") ))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1893 strlen ("0x")
strlen ( "0x" ...rlen ("0x") ))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1894 ))
strlen ( "0x" ...rlen ("0x") ))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1895 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1896 ) && __builtin_constant_p (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1897 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1898 ) && (__s1_len = __builtin_strlen (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1899 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1900 ), __s2_len = __builtin_strlen (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1901 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1902 ), (!((size_t)(const void *)((
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1903 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1904 ) + 1) - (size_t)(const void *)(
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1905 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1906 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1907 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1908 ) + 1) - (size_t)(const void *)(
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1909 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1910 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1911 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1912 ,
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1913 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1914 ) : (__builtin_constant_p (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1915 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1916 ) && ((size_t)(const void *)((
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1917 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1918 ) + 1) - (size_t)(const void *)(
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1919 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1920 ) == 1) && (__s1_len = __builtin_strlen (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1921 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1922 ), __s1_len < 4) ? (__builtin_constant_p (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1923 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1924 ) && ((size_t)(const void *)((
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1925 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1926 ) + 1) - (size_t)(const void *)(
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1927 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1928 ) == 1) ? __builtin_strcmp (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1929 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1930 ,
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1931 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1932 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1933 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1934 ); int __result = (((const unsigned char *) (const char *) (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1935 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1936 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1937 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1938 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1939 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1940 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1941 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
0-3
1942 ))[3] - __s2[3]);
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1943 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1944 ) && ((size_t)(const void *)((
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1945 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1946 ) + 1) - (size_t)(const void *)(
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1947 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1948 ) == 1) && (__s2_len = __builtin_strlen (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1949 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1950 ), __s2_len < 4) ? (__builtin_constant_p (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1951 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1952 ) && ((size_t)(const void *)((
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1953 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1954 ) + 1) - (size_t)(const void *)(
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1955 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1956 ) == 1) ? __builtin_strcmp (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1957 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1958 ,
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1959 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1960 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1961 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1962 ); int __result = (((const unsigned char *) (const char *) (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1963 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1964 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1965 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1966 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1967 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1968 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "0x" ))[3] - __s2[3]);
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1969 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "0x" ))[3] - __s2[3]);
0-3
1970 ))[3] - __s2[3]);
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "0x" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1971 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1972 ,
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1973 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1974 )))); }) : strncmp (
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1975 str
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1976 ,
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1977 "0x"
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1978 ,
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1979 strlen ("0x")
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1980 )))
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-3
1981 == 0)
( (__extension...0x") ))) == 0)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-3
1982 nl_error (0, 0,
executed 3 times by 1 test: nl_error (0, 0, dcgettext (((void *)0), "warning: %s is a zero multiplier; " "use %s if that is intended" , 5) , quote_n (0, "0x"), quote_n (1, "00x"));
Executed by:
  • dd
3
1983
executed 3 times by 1 test: nl_error (0, 0, dcgettext (((void *)0), "warning: %s is a zero multiplier; " "use %s if that is intended" , 5) , quote_n (0, "0x"), quote_n (1, "00x"));
Executed by:
  • dd
3
1984 dcgettext (((void *)0),
executed 3 times by 1 test: nl_error (0, 0, dcgettext (((void *)0), "warning: %s is a zero multiplier; " "use %s if that is intended" , 5) , quote_n (0, "0x"), quote_n (1, "00x"));
Executed by:
  • dd
3
1985 "warning: %s is a zero multiplier; " "use %s if that is intended"
executed 3 times by 1 test: nl_error (0, 0, dcgettext (((void *)0), "warning: %s is a zero multiplier; " "use %s if that is intended" , 5) , quote_n (0, "0x"), quote_n (1, "00x"));
Executed by:
  • dd
3
1986 , 5)
executed 3 times by 1 test: nl_error (0, 0, dcgettext (((void *)0), "warning: %s is a zero multiplier; " "use %s if that is intended" , 5) , quote_n (0, "0x"), quote_n (1, "00x"));
Executed by:
  • dd
3
1987
executed 3 times by 1 test: nl_error (0, 0, dcgettext (((void *)0), "warning: %s is a zero multiplier; " "use %s if that is intended" , 5) , quote_n (0, "0x"), quote_n (1, "00x"));
Executed by:
  • dd
3
1988 ,
executed 3 times by 1 test: nl_error (0, 0, dcgettext (((void *)0), "warning: %s is a zero multiplier; " "use %s if that is intended" , 5) , quote_n (0, "0x"), quote_n (1, "00x"));
Executed by:
  • dd
3
1989 quote_n (0, "0x"), quote_n (1, "00x"));
executed 3 times by 1 test: nl_error (0, 0, dcgettext (((void *)0), "warning: %s is a zero multiplier; " "use %s if that is intended" , 5) , quote_n (0, "0x"), quote_n (1, "00x"));
Executed by:
  • dd
3
1990-
1991 n *= multiplier;-
1992 }
executed 3 times by 1 test: end of block
Executed by:
  • dd
3
1993 else if (e != LONGINT_OK
e != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 1180 times by 1 test
Evaluated by:
  • dd
)
0-1180
1994 {-
1995 *invalid = e;-
1996 return
never executed: return 0;
0;
never executed: return 0;
0
1997 }-
1998-
1999 return
executed 1183 times by 1 test: return n;
Executed by:
  • dd
n;
executed 1183 times by 1 test: return n;
Executed by:
  • dd
1183
2000}-
2001-
2002-
2003-
2004static -
2005 _Bool __attribute__ ((__pure__))-
2006-
2007operand_is (char const *operand, char const *name)-
2008{-
2009 return
executed 23932 times by 1 test: return operand_matches (operand, name, '=');
Executed by:
  • dd
operand_matches (operand, name, '=');
executed 23932 times by 1 test: return operand_matches (operand, name, '=');
Executed by:
  • dd
23932
2010}-
2011-
2012static void-
2013scanargs (int argc, char *const *argv)-
2014{-
2015 size_t blocksize = 0;-
2016 uintmax_t count = (uintmax_t) -1;-
2017 uintmax_t skip = 0;-
2018 uintmax_t seek = 0;-
2019-
2020 for (int i = optind; i < argc
i < argcDescription
TRUEevaluated 4360 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
; i++)
629-4360
2021 {-
2022 char const *name = argv[i];-
2023 char const *val = -
2024 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( '=' )Description
TRUEevaluated 4360 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-4360
2025 '='
__builtin_constant_p ( '=' )Description
TRUEevaluated 4360 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-4360
2026 )
__builtin_constant_p ( '=' )Description
TRUEevaluated 4360 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( name )Description
TRUEevaluated 4360 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-4360
2027 name
!__builtin_constant_p ( name )Description
TRUEevaluated 4360 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-4360
2028 )
!__builtin_constant_p ( name )Description
TRUEevaluated 4360 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& (
( '=' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 4360 times by 1 test
Evaluated by:
  • dd
0-4360
2029 '='
( '=' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 4360 times by 1 test
Evaluated by:
  • dd
0-4360
2030 ) == '\0'
( '=' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 4360 times by 1 test
Evaluated by:
  • dd
? (char *) __rawmemchr (
0-4360
2031 name-
2032 , -
2033 '='-
2034 ) : __builtin_strchr (-
2035 name-
2036 , -
2037 '='-
2038 )))-
2039 ;-
2040-
2041 if (val ==
val == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 4360 times by 1 test
Evaluated by:
  • dd
0-4360
2042 ((void *)0)
val == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 4360 times by 1 test
Evaluated by:
  • dd
0-4360
2043 )-
2044 {-
2045 nl_error (0, 0, -
2046 dcgettext (((void *)0), -
2047 "unrecognized operand %s"-
2048 , 5)-
2049 ,-
2050 quote (name));-
2051 usage (-
2052 1-
2053 );-
2054 }
never executed: end of block
0
2055 val++;-
2056-
2057 if (operand_is (name, "if")
operand_is (name, "if")Description
TRUEevaluated 562 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 3798 times by 1 test
Evaluated by:
  • dd
)
562-3798
2058 input_file = val;
executed 562 times by 1 test: input_file = val;
Executed by:
  • dd
562
2059 else if (operand_is (name, "of")
operand_is (name, "of")Description
TRUEevaluated 563 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 3235 times by 1 test
Evaluated by:
  • dd
)
563-3235
2060 output_file = val;
executed 563 times by 1 test: output_file = val;
Executed by:
  • dd
563
2061 else if (operand_is (name, "conv")
operand_is (name, "conv")Description
TRUEevaluated 508 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2727 times by 1 test
Evaluated by:
  • dd
)
508-2727
2062 conversions_mask |= parse_symbols (val, conversions,
executed 508 times by 1 test: conversions_mask |= parse_symbols (val, conversions, 0 , "invalid conversion");
Executed by:
  • dd
508
2063 0
executed 508 times by 1 test: conversions_mask |= parse_symbols (val, conversions, 0 , "invalid conversion");
Executed by:
  • dd
508
2064 ,
executed 508 times by 1 test: conversions_mask |= parse_symbols (val, conversions, 0 , "invalid conversion");
Executed by:
  • dd
508
2065 "invalid conversion");
executed 508 times by 1 test: conversions_mask |= parse_symbols (val, conversions, 0 , "invalid conversion");
Executed by:
  • dd
508
2066 else if (operand_is (name, "iflag")
operand_is (name, "iflag")Description
TRUEevaluated 517 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2210 times by 1 test
Evaluated by:
  • dd
)
517-2210
2067 input_flags |= parse_symbols (val, flags,
executed 517 times by 1 test: input_flags |= parse_symbols (val, flags, 0 , "invalid input flag");
Executed by:
  • dd
517
2068 0
executed 517 times by 1 test: input_flags |= parse_symbols (val, flags, 0 , "invalid input flag");
Executed by:
  • dd
517
2069 ,
executed 517 times by 1 test: input_flags |= parse_symbols (val, flags, 0 , "invalid input flag");
Executed by:
  • dd
517
2070 "invalid input flag");
executed 517 times by 1 test: input_flags |= parse_symbols (val, flags, 0 , "invalid input flag");
Executed by:
  • dd
517
2071 else if (operand_is (name, "oflag")
operand_is (name, "oflag")Description
TRUEevaluated 497 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1713 times by 1 test
Evaluated by:
  • dd
)
497-1713
2072 output_flags |= parse_symbols (val, flags,
executed 497 times by 1 test: output_flags |= parse_symbols (val, flags, 0 , "invalid output flag");
Executed by:
  • dd
497
2073 0
executed 497 times by 1 test: output_flags |= parse_symbols (val, flags, 0 , "invalid output flag");
Executed by:
  • dd
497
2074 ,
executed 497 times by 1 test: output_flags |= parse_symbols (val, flags, 0 , "invalid output flag");
Executed by:
  • dd
497
2075 "invalid output flag");
executed 497 times by 1 test: output_flags |= parse_symbols (val, flags, 0 , "invalid output flag");
Executed by:
  • dd
497
2076 else if (operand_is (name, "status")
operand_is (name, "status")Description
TRUEevaluated 533 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1180 times by 1 test
Evaluated by:
  • dd
)
533-1180
2077 status_level = parse_symbols (val, statuses,
executed 533 times by 1 test: status_level = parse_symbols (val, statuses, 1 , "invalid status level");
Executed by:
  • dd
533
2078 1
executed 533 times by 1 test: status_level = parse_symbols (val, statuses, 1 , "invalid status level");
Executed by:
  • dd
533
2079 ,
executed 533 times by 1 test: status_level = parse_symbols (val, statuses, 1 , "invalid status level");
Executed by:
  • dd
533
2080 "invalid status level");
executed 533 times by 1 test: status_level = parse_symbols (val, statuses, 1 , "invalid status level");
Executed by:
  • dd
533
2081 else-
2082 {-
2083 strtol_error invalid = LONGINT_OK;-
2084 uintmax_t n = parse_integer (val, &invalid);-
2085 uintmax_t n_min = 0;-
2086 uintmax_t n_max = -
2087 (18446744073709551615UL)-
2088 ;-
2089-
2090 if (operand_is (name, "ibs")
operand_is (name, "ibs")Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1172 times by 1 test
Evaluated by:
  • dd
)
8-1172
2091 {-
2092 n_min = 1;-
2093 n_max = -
2094 ((((
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
18446744073709551615UL)
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0-8
2095 - ((2 * 2 + 2 * page_size - 1))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0-8
2096 )<((((0x7fffffffffffffffL)<(
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0-8
2097 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0-8
2098 ))?(0x7fffffffffffffffL):(
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0-8
2099 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0-8
2100 ))))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
?((18446744073709551615UL)
0-8
2101 - ((2 * 2 + 2 * page_size - 1))-
2102 ):((((
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0x7fffffffffffffffL)<(
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0-8
2103 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
0-8
2104 ))
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • dd
?(0x7fffffffffffffffL):(
0-8
2105 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))-
2106 ))))-
2107 ;-
2108 input_blocksize = n;-
2109 }
executed 8 times by 1 test: end of block
Executed by:
  • dd
8
2110 else if (operand_is (name, "obs")
operand_is (name, "obs")Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1166 times by 1 test
Evaluated by:
  • dd
)
6-1166
2111 {-
2112 n_min = 1;-
2113 n_max = -
2114 ((((
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
18446744073709551615UL)
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0-6
2115 - ((page_size - 1))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0-6
2116 )<((((0x7fffffffffffffffL)<(
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0-6
2117 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0-6
2118 ))?(0x7fffffffffffffffL):(
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0-6
2119 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0-6
2120 ))))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
?((18446744073709551615UL)
0-6
2121 - ((page_size - 1))-
2122 ):((((
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0x7fffffffffffffffL)<(
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0-6
2123 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
0-6
2124 ))
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
?(0x7fffffffffffffffL):(
0-6
2125 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))-
2126 ))))-
2127 ;-
2128 output_blocksize = n;-
2129 }
executed 6 times by 1 test: end of block
Executed by:
  • dd
6
2130 else if (operand_is (name, "bs")
operand_is (name, "bs")Description
TRUEevaluated 545 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 621 times by 1 test
Evaluated by:
  • dd
)
545-621
2131 {-
2132 n_min = 1;-
2133 n_max = -
2134 ((((
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
18446744073709551615UL)
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0-545
2135 - ((2 * 2 + 2 * page_size - 1))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0-545
2136 )<((((0x7fffffffffffffffL)<(
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0-545
2137 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0-545
2138 ))?(0x7fffffffffffffffL):(
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0-545
2139 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0-545
2140 ))))
(((18446744073... 2 + 1))) ))))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
?((18446744073709551615UL)
0-545
2141 - ((2 * 2 + 2 * page_size - 1))-
2142 ):((((
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0x7fffffffffffffffL)<(
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0-545
2143 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
0-545
2144 ))
((0x7fffffffff... * 2 + 1))) ))Description
TRUEnever evaluated
FALSEevaluated 545 times by 1 test
Evaluated by:
  • dd
?(0x7fffffffffffffffL):(
0-545
2145 ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))-
2146 ))))-
2147 ;-
2148 blocksize = n;-
2149 }
executed 545 times by 1 test: end of block
Executed by:
  • dd
545
2150 else if (operand_is (name, "cbs")
operand_is (name, "cbs")Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 610 times by 1 test
Evaluated by:
  • dd
)
11-610
2151 {-
2152 n_min = 1;-
2153 n_max = -
2154 (18446744073709551615UL)-
2155 ;-
2156 conversion_blocksize = n;-
2157 }
executed 11 times by 1 test: end of block
Executed by:
  • dd
11
2158 else if (operand_is (name, "skip")
operand_is (name, "skip")Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 582 times by 1 test
Evaluated by:
  • dd
)
28-582
2159 skip = n;
executed 28 times by 1 test: skip = n;
Executed by:
  • dd
28
2160 else if (operand_is (name, "seek")
operand_is (name, "seek")Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 558 times by 1 test
Evaluated by:
  • dd
)
24-558
2161 seek = n;
executed 24 times by 1 test: seek = n;
Executed by:
  • dd
24
2162 else if (operand_is (name, "count")
operand_is (name, "count")Description
TRUEevaluated 558 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-558
2163 count = n;
executed 558 times by 1 test: count = n;
Executed by:
  • dd
558
2164 else-
2165 {-
2166 nl_error (0, 0, -
2167 dcgettext (((void *)0), -
2168 "unrecognized operand %s"-
2169 , 5)-
2170 ,-
2171 quote (name));-
2172 usage (-
2173 1-
2174 );-
2175 }
never executed: end of block
0
2176-
2177 if (n < n_min
n < n_minDescription
TRUEnever evaluated
FALSEevaluated 1180 times by 1 test
Evaluated by:
  • dd
)
0-1180
2178 invalid = LONGINT_INVALID;
never executed: invalid = LONGINT_INVALID;
0
2179 else if (n_max < n
n_max < nDescription
TRUEnever evaluated
FALSEevaluated 1180 times by 1 test
Evaluated by:
  • dd
)
0-1180
2180 invalid = LONGINT_OVERFLOW;
never executed: invalid = LONGINT_OVERFLOW;
0
2181-
2182 if (invalid != LONGINT_OK
invalid != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 1180 times by 1 test
Evaluated by:
  • dd
)
0-1180
2183 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2184 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2185 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2186 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2187 , invalid == LONGINT_OVERFLOW ?
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2188 75
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2189 : 0, "%s: %s",
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2190 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2191 "invalid number"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2192 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2193 , quote (val)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2194 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2195 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2196 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2197 , invalid == LONGINT_OVERFLOW ?
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2198 75
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2199 : 0, "%s: %s",
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2200 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2201 "invalid number"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2202 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2203 , quote (val)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2204 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2205 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2206 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, invalid == LONGINT_OVERFLOW ? 75 : 0, \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (val)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , inv...umber" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , invalid == LONGINT_OVERFLOW ? 75 : 0, "%s: %s", dcgettext (((void *)0), "invalid number" , 5) , quote (val)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2207 }
executed 1180 times by 1 test: end of block
Executed by:
  • dd
1180
2208 }-
2209-
2210 if (blocksize
blocksizeDescription
TRUEevaluated 545 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 84 times by 1 test
Evaluated by:
  • dd
)
84-545
2211 input_blocksize = output_blocksize = blocksize;
executed 545 times by 1 test: input_blocksize = output_blocksize = blocksize;
Executed by:
  • dd
545
2212 else-
2213 {-
2214-
2215-
2216 conversions_mask |= C_TWOBUFS;-
2217 }
executed 84 times by 1 test: end of block
Executed by:
  • dd
84
2218-
2219 if (input_blocksize == 0
input_blocksize == 0Description
TRUEevaluated 78 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 551 times by 1 test
Evaluated by:
  • dd
)
78-551
2220 input_blocksize = 512;
executed 78 times by 1 test: input_blocksize = 512;
Executed by:
  • dd
78
2221 if (output_blocksize == 0
output_blocksize == 0Description
TRUEevaluated 80 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 549 times by 1 test
Evaluated by:
  • dd
)
80-549
2222 output_blocksize = 512;
executed 80 times by 1 test: output_blocksize = 512;
Executed by:
  • dd
80
2223 if (conversion_blocksize == 0
conversion_blocksize == 0Description
TRUEevaluated 618 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 11 times by 1 test
Evaluated by:
  • dd
)
11-618
2224 conversions_mask &= ~(C_BLOCK | C_UNBLOCK);
executed 618 times by 1 test: conversions_mask &= ~(C_BLOCK | C_UNBLOCK);
Executed by:
  • dd
618
2225-
2226 if (input_flags & (
input_flags & ...0 | 04010000 )Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
0-629
2227 010000
input_flags & ...0 | 04010000 )Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
0-629
2228 |
input_flags & ...0 | 04010000 )Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
0-629
2229 04010000
input_flags & ...0 | 04010000 )Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
0-629
2230 )
input_flags & ...0 | 04010000 )Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
)
0-629
2231 input_flags |=
never executed: input_flags |= 04010000 ;
0
2232 04010000
never executed: input_flags |= 04010000 ;
0
2233 ;
never executed: input_flags |= 04010000 ;
0
2234-
2235 if (output_flags & O_FULLBLOCK
output_flags & O_FULLBLOCKDescription
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
)
0-629
2236 {-
2237 nl_error (0, 0, "%s: %s", -
2238 dcgettext (((void *)0), -
2239 "invalid output flag"-
2240 , 5)-
2241 , quote ("fullblock"));-
2242 usage (-
2243 1-
2244 );-
2245 }
never executed: end of block
0
2246-
2247 if (input_flags & O_SEEK_BYTES
input_flags & O_SEEK_BYTESDescription
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
)
0-629
2248 {-
2249 nl_error (0, 0, "%s: %s", -
2250 dcgettext (((void *)0), -
2251 "invalid input flag"-
2252 , 5)-
2253 , quote ("seek_bytes"));-
2254 usage (-
2255 1-
2256 );-
2257 }
never executed: end of block
0
2258-
2259 if (output_flags & (O_COUNT_BYTES | O_SKIP_BYTES)
output_flags &... O_SKIP_BYTES)Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
)
0-629
2260 {-
2261 nl_error (0, 0, "%s: %s", -
2262 dcgettext (((void *)0), -
2263 "invalid output flag"-
2264 , 5)-
2265 ,-
2266 quote (output_flags & O_COUNT_BYTES-
2267 ? "count_bytes" : "skip_bytes"));-
2268 usage (-
2269 1-
2270 );-
2271 }
never executed: end of block
0
2272-
2273 if (input_flags & O_SKIP_BYTES
input_flags & O_SKIP_BYTESDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 627 times by 1 test
Evaluated by:
  • dd
&& skip != 0
skip != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-627
2274 {-
2275 skip_records = skip / input_blocksize;-
2276 skip_bytes = skip % input_blocksize;-
2277 }
executed 2 times by 1 test: end of block
Executed by:
  • dd
2
2278 else if (skip != 0
skip != 0Description
TRUEevaluated 25 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 602 times by 1 test
Evaluated by:
  • dd
)
25-602
2279 skip_records = skip;
executed 25 times by 1 test: skip_records = skip;
Executed by:
  • dd
25
2280-
2281 if (input_flags & O_COUNT_BYTES
input_flags & O_COUNT_BYTESDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
&& count != (uintmax_t) -1
count != (uintmax_t) -1Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-628
2282 {-
2283 max_records = count / input_blocksize;-
2284 max_bytes = count % input_blocksize;-
2285 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
2286 else if (count != (uintmax_t) -1
count != (uintmax_t) -1Description
TRUEevaluated 557 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 71 times by 1 test
Evaluated by:
  • dd
)
71-557
2287 max_records = count;
executed 557 times by 1 test: max_records = count;
Executed by:
  • dd
557
2288-
2289 if (output_flags & O_SEEK_BYTES
output_flags & O_SEEK_BYTESDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 626 times by 1 test
Evaluated by:
  • dd
&& seek != 0
seek != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-626
2290 {-
2291 seek_records = seek / output_blocksize;-
2292 seek_bytes = seek % output_blocksize;-
2293 }
executed 3 times by 1 test: end of block
Executed by:
  • dd
3
2294 else if (seek != 0
seek != 0Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 606 times by 1 test
Evaluated by:
  • dd
)
20-606
2295 seek_records = seek;
executed 20 times by 1 test: seek_records = seek;
Executed by:
  • dd
20
2296-
2297-
2298-
2299-
2300-
2301 warn_partial_read =-
2302 (! (conversions_mask & C_TWOBUFS)
! (conversions...k & C_TWOBUFS)Description
TRUEevaluated 545 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 84 times by 1 test
Evaluated by:
  • dd
&& ! (input_flags & O_FULLBLOCK)
! (input_flags & O_FULLBLOCK)Description
TRUEevaluated 61 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 484 times by 1 test
Evaluated by:
  • dd
61-545
2303 && (skip_records
skip_recordsDescription
TRUEevaluated 21 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 40 times by 1 test
Evaluated by:
  • dd
21-40
2304 || (0 < max_records
0 < max_recordsDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 4 times by 1 test
Evaluated by:
  • dd
&& max_records < (uintmax_t) -1
max_records < (uintmax_t) -1Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 29 times by 1 test
Evaluated by:
  • dd
)
4-36
2305 || (
(input_flags |...lags) & 040000Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 31 times by 1 test
Evaluated by:
  • dd
input_flags | output_flags) &
(input_flags |...lags) & 040000Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 31 times by 1 test
Evaluated by:
  • dd
2-31
2306 040000
(input_flags |...lags) & 040000Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 31 times by 1 test
Evaluated by:
  • dd
2-31
2307 ));-
2308-
2309 iread_fnc = ((
(input_flags & O_FULLBLOCK)Description
TRUEevaluated 493 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 136 times by 1 test
Evaluated by:
  • dd
input_flags & O_FULLBLOCK)
(input_flags & O_FULLBLOCK)Description
TRUEevaluated 493 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 136 times by 1 test
Evaluated by:
  • dd
136-493
2310 ? iread_fullblock-
2311 : iread);-
2312 input_flags &= ~O_FULLBLOCK;-
2313-
2314 if (multiple_bits_set (conversions_mask & (C_ASCII | C_EBCDIC | C_IBM))
multiple_bits_...CDIC | C_IBM))Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
)
0-629
2315 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2316 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2317 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2318 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2319 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2320 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2321 "cannot combine any two of {ascii,ebcdic,ibm}"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2322 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2323 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2324 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2325 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2326 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2327 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2328 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2329 "cannot combine any two of {ascii,ebcdic,ibm}"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2330 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2331 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2332 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2333 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine any two of {ascii,ebcdic,ibm}\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine any two of {ascii,ebcdic,ibm}" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2334 if (multiple_bits_set (conversions_mask & (C_BLOCK | C_UNBLOCK))
multiple_bits_... | C_UNBLOCK))Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
)
0-629
2335 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2336 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2337 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2338 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2339 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2340 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2341 "cannot combine block and unblock"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2342 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2343 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2344 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2345 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2346 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2347 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2348 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2349 "cannot combine block and unblock"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2350 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2351 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2352 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2353 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine block and unblock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine block and unblock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2354 if (multiple_bits_set (conversions_mask & (C_LCASE | C_UCASE))
multiple_bits_...SE | C_UCASE))Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
)
0-629
2355 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2356 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2357 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2358 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2359 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2360 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2361 "cannot combine lcase and ucase"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2362 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2363 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2364 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2365 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2366 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2367 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2368 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2369 "cannot combine lcase and ucase"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2370 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2371 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2372 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2373 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine lcase and ucase\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine lcase and ucase" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2374 if (multiple_bits_set (conversions_mask & (C_EXCL | C_NOCREAT))
multiple_bits_... | C_NOCREAT))Description
TRUEnever evaluated
FALSEevaluated 629 times by 1 test
Evaluated by:
  • dd
)
0-629
2375 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2376 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2377 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2378 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2379 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2380 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2381 "cannot combine excl and nocreat"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2382 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2383 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2384 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2385 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2386 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2387 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2388 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2389 "cannot combine excl and nocreat"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2390 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2391 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2392 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2393 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine excl and nocreat\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine excl and nocreat" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2394 if (multiple_bits_set (input_flags & (
multiple_bits_... | O_NOCACHE))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
1-628
2395 040000
multiple_bits_... | O_NOCACHE))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
1-628
2396 | O_NOCACHE))
multiple_bits_... | O_NOCACHE))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
1-628
2397 || multiple_bits_set (output_flags & (
multiple_bits_... | O_NOCACHE))Description
TRUEnever evaluated
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
0-628
2398 040000
multiple_bits_... | O_NOCACHE))Description
TRUEnever evaluated
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
0-628
2399 | O_NOCACHE))
multiple_bits_... | O_NOCACHE))Description
TRUEnever evaluated
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
)
0-628
2400 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2401 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2402 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2403 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2404 , 0,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2405 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2406 "cannot combine direct and nocache"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2407 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2408 ), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2409 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2410 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2411 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2412 , 0,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2413 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2414 "cannot combine direct and nocache"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2415 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2416 ), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2417 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2418 ) ? (void) 0 : __builtin_unreachable ()))));
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine direct and nocache\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "cannot combine direct and nocache" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
2419-
2420 if (input_flags & O_NOCACHE
input_flags & O_NOCACHEDescription
TRUEevaluated 11 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 617 times by 1 test
Evaluated by:
  • dd
)
11-617
2421 {-
2422 i_nocache = -
2423 1-
2424 ;-
2425 i_nocache_eof = (max_records == 0
max_records == 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 7 times by 1 test
Evaluated by:
  • dd
&& max_bytes == 0
max_bytes == 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
);
0-7
2426 input_flags &= ~O_NOCACHE;-
2427 }
executed 11 times by 1 test: end of block
Executed by:
  • dd
11
2428 if (output_flags & O_NOCACHE
output_flags & O_NOCACHEDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 623 times by 1 test
Evaluated by:
  • dd
)
5-623
2429 {-
2430 o_nocache = -
2431 1-
2432 ;-
2433 o_nocache_eof = (max_records == 0
max_records == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 4 times by 1 test
Evaluated by:
  • dd
&& max_bytes == 0
max_bytes == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
);
0-4
2434 output_flags &= ~O_NOCACHE;-
2435 }
executed 5 times by 1 test: end of block
Executed by:
  • dd
5
2436}
executed 628 times by 1 test: end of block
Executed by:
  • dd
628
2437-
2438-
2439-
2440static void-
2441apply_translations (void)-
2442{-
2443 int i;-
2444-
2445 if (conversions_mask & C_ASCII
conversions_mask & C_ASCIIDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 627 times by 1 test
Evaluated by:
  • dd
)
1-627
2446 translate_charset (ebcdic_to_ascii);
executed 1 time by 1 test: translate_charset (ebcdic_to_ascii);
Executed by:
  • dd
1
2447-
2448 if (conversions_mask & C_UCASE
conversions_mask & C_UCASEDescription
TRUEnever evaluated
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
)
0-628
2449 {-
2450 for (i = 0; i < 256
i < 256Description
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
2451 trans_table[i] =
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2452 (__extension__ ({ int __res; if (sizeof (
sizeof ( trans_table[i] ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2453 trans_table[i]
sizeof ( trans_table[i] ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2454 ) > 1
sizeof ( trans_table[i] ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_cons...ans_table[i] )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2455 trans_table[i]
__builtin_cons...ans_table[i] )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2456 )
__builtin_cons...ans_table[i] )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2457 trans_table[i]
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2458 ); __res = __c < -128
__c < -128Description
TRUEnever evaluated
FALSEnever evaluated
|| __c > 255
__c > 255Description
TRUEnever evaluated
FALSEnever evaluated
? __c : (*__ctype_toupper_loc ())[__c]; }
never executed: end of block
else __res = toupper (
never executed: __res = toupper ( trans_table[i] );
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2459 trans_table[i]
never executed: __res = toupper ( trans_table[i] );
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2460 );
never executed: __res = toupper ( trans_table[i] );
} else __res = (*__ctype_toupper_loc ())[(int) (
never executed: __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )];
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2461 trans_table[i]
never executed: __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )];
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2462 )];
never executed: __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )];
__res; }))
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2463 ;
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( trans_table[i] ); } else __res = (*__ctype_toupper_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2464 translation_needed = -
2465 1-
2466 ;-
2467 }
never executed: end of block
0
2468 else if (conversions_mask & C_LCASE
conversions_mask & C_LCASEDescription
TRUEnever evaluated
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
)
0-628
2469 {-
2470 for (i = 0; i < 256
i < 256Description
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
2471 trans_table[i] =
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2472 (__extension__ ({ int __res; if (sizeof (
sizeof ( trans_table[i] ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2473 trans_table[i]
sizeof ( trans_table[i] ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2474 ) > 1
sizeof ( trans_table[i] ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_cons...ans_table[i] )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2475 trans_table[i]
__builtin_cons...ans_table[i] )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2476 )
__builtin_cons...ans_table[i] )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2477 trans_table[i]
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2478 ); __res = __c < -128
__c < -128Description
TRUEnever evaluated
FALSEnever evaluated
|| __c > 255
__c > 255Description
TRUEnever evaluated
FALSEnever evaluated
? __c : (*__ctype_tolower_loc ())[__c]; }
never executed: end of block
else __res = tolower (
never executed: __res = tolower ( trans_table[i] );
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2479 trans_table[i]
never executed: __res = tolower ( trans_table[i] );
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2480 );
never executed: __res = tolower ( trans_table[i] );
} else __res = (*__ctype_tolower_loc ())[(int) (
never executed: __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )];
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2481 trans_table[i]
never executed: __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )];
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2482 )];
never executed: __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )];
__res; }))
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2483 ;
never executed: trans_table[i] = (__extension__ ({ int __res; if (sizeof ( trans_table[i] ) > 1) { if (__builtin_constant_p ( trans_table[i] )) { int __c = ( trans_table[i] ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( trans_table[i] ); } else __res = (*__ctype_tolower_loc ())[(int) ( trans_table[i] )]; __res; })) ;
0
2484 translation_needed = -
2485 1-
2486 ;-
2487 }
never executed: end of block
0
2488-
2489 if (conversions_mask & C_EBCDIC
conversions_mask & C_EBCDICDescription
TRUEnever evaluated
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
)
0-628
2490 {-
2491 translate_charset (ascii_to_ebcdic);-
2492 newline_character = ascii_to_ebcdic['\n'];-
2493 space_character = ascii_to_ebcdic[' '];-
2494 }
never executed: end of block
0
2495 else if (conversions_mask & C_IBM
conversions_mask & C_IBMDescription
TRUEnever evaluated
FALSEevaluated 628 times by 1 test
Evaluated by:
  • dd
)
0-628
2496 {-
2497 translate_charset (ascii_to_ibm);-
2498 newline_character = ascii_to_ibm['\n'];-
2499 space_character = ascii_to_ibm[' '];-
2500 }
never executed: end of block
0
2501}
executed 628 times by 1 test: end of block
Executed by:
  • dd
628
2502-
2503-
2504-
2505-
2506static void-
2507translate_buffer (char *buf, size_t nread)-
2508{-
2509 size_t i;-
2510 char *cp;-
2511 for (i = nread, cp = buf; i
iDescription
TRUEevaluated 264 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
; i--, cp++)
1-264
2512 *
executed 264 times by 1 test: *cp = trans_table[to_uchar (*cp)];
Executed by:
  • dd
cp = trans_table[to_uchar (*cp)];
executed 264 times by 1 test: *cp = trans_table[to_uchar (*cp)];
Executed by:
  • dd
264
2513}
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
2514-
2515-
2516-
2517static -
2518 _Bool -
2519 char_is_saved = -
2520 0-
2521 ;-
2522-
2523-
2524static char saved_char;-
2525-
2526-
2527-
2528-
2529-
2530static char *-
2531swab_buffer (char *buf, size_t *nread)-
2532{-
2533 char *bufstart = buf;-
2534-
2535-
2536 if (char_is_saved
char_is_savedDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
0-1
2537 {-
2538 *--bufstart = saved_char;-
2539 (*nread)++;-
2540 char_is_saved = -
2541 0-
2542 ;-
2543 }
never executed: end of block
0
2544-
2545 if (*
*nread & 1Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
nread & 1
*nread & 1Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
0-1
2546 {-
2547-
2548 saved_char = bufstart[--*nread];-
2549 char_is_saved = -
2550 1-
2551 ;-
2552 }
never executed: end of block
0
2553-
2554-
2555-
2556-
2557-
2558 char *cp = bufstart + *nread;-
2559 for (size_t i = *nread / 2; i
iDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
; i--, cp -= 2)
1-7
2560 *
executed 7 times by 1 test: *cp = *(cp - 2);
Executed by:
  • dd
cp = *(cp - 2);
executed 7 times by 1 test: *cp = *(cp - 2);
Executed by:
  • dd
7
2561-
2562 return
executed 1 time by 1 test: return ++bufstart;
Executed by:
  • dd
++bufstart;
executed 1 time by 1 test: return ++bufstart;
Executed by:
  • dd
1
2563}-
2564-
2565-
2566-
2567-
2568static void-
2569advance_input_offset (uintmax_t offset)-
2570{-
2571 input_offset += offset;-
2572 if (input_offset < offset
input_offset < offsetDescription
TRUEnever evaluated
FALSEevaluated 2944 times by 1 test
Evaluated by:
  • dd
)
0-2944
2573 input_offset_overflow =
never executed: input_offset_overflow = 1 ;
0
2574 1
never executed: input_offset_overflow = 1 ;
0
2575 ;
never executed: input_offset_overflow = 1 ;
0
2576}
executed 2944 times by 1 test: end of block
Executed by:
  • dd
2944
2577-
2578-
2579-
2580-
2581-
2582-
2583-
2584static off_t-
2585skip_via_lseek (char const *filename, int fdesc, off_t offset, int whence)-
2586{-
2587 struct mtget s1;-
2588 struct mtget s2;-
2589 -
2590 _Bool -
2591 got_original_tape_position = (ioctl (fdesc, -
2592 (((2U) << (((0 +8)+8)+14)) | ((('m')) << (0 +8)) | (((2)) << 0) | ((((sizeof(struct mtget)))) << ((0 +8)+8)))-
2593 , &s1) == 0);-
2594-
2595-
2596-
2597 off_t new_position = lseek (fdesc, offset, whence);-
2598 if (0 <= new_position
0 <= new_positionDescription
TRUEevaluated 40 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 21 times by 1 test
Evaluated by:
  • dd
21-40
2599 && got_original_tape_position
got_original_tape_positionDescription
TRUEnever evaluated
FALSEevaluated 40 times by 1 test
Evaluated by:
  • dd
0-40
2600 && ioctl (fdesc,
ioctl (fdesc, ...)) , &s2) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
2601 (((2U) << (((0 +8)+8)+14)) | ((('m')) << (0 +8)) | (((2)) << 0) | ((((sizeof(struct mtget)))) << ((0 +8)+8)))
ioctl (fdesc, ...)) , &s2) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
2602 , &s2) == 0
ioctl (fdesc, ...)) , &s2) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
2603 && ((
(s1).mt_resid == (s2).mt_residDescription
TRUEnever evaluated
FALSEnever evaluated
s1).mt_resid == (s2).mt_resid
(s1).mt_resid == (s2).mt_residDescription
TRUEnever evaluated
FALSEnever evaluated
&& (
(s1).mt_fileno...(s2).mt_filenoDescription
TRUEnever evaluated
FALSEnever evaluated
s1).mt_fileno == (s2).mt_fileno
(s1).mt_fileno...(s2).mt_filenoDescription
TRUEnever evaluated
FALSEnever evaluated
&& (
(s1).mt_blkno == (s2).mt_blknoDescription
TRUEnever evaluated
FALSEnever evaluated
s1).mt_blkno == (s2).mt_blkno
(s1).mt_blkno == (s2).mt_blknoDescription
TRUEnever evaluated
FALSEnever evaluated
))
0
2604 {-
2605 if (status_level != STATUS_NONE
status_level != STATUS_NONEDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2606 nl_error (0, 0,
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types" , 5) , filename, s2.mt_type + 0Lu);
0
2607 dcgettext (((void *)0),
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types" , 5) , filename, s2.mt_type + 0Lu);
0
2608 "warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types"
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types" , 5) , filename, s2.mt_type + 0Lu);
0
2609 , 5)
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types" , 5) , filename, s2.mt_type + 0Lu);
0
26100
2611
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types" , 5) , filename, s2.mt_type + 0Lu);
0
2612 ,
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types" , 5) , filename, s2.mt_type + 0Lu);
0
2613 filename, s2.mt_type + 0Lu);
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types" , 5) , filename, s2.mt_type + 0Lu);
0
2614 -
2615 (*__errno_location ()) -
2616 = 0;-
2617 new_position = -1;-
2618 }
never executed: end of block
0
2619-
2620 return
executed 61 times by 1 test: return new_position;
Executed by:
  • dd
new_position;
executed 61 times by 1 test: return new_position;
Executed by:
  • dd
61
2621}-
2622static uintmax_t-
2623skip (int fdesc, char const *file, uintmax_t records, size_t blocksize,-
2624 size_t *bytes)-
2625{-
2626 uintmax_t offset = records * blocksize + *bytes;-
2627-
2628-
2629-
2630-
2631-
2632 -
2633 (*__errno_location ()) -
2634 = 0;-
2635 if (records <= ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1))) / blocksize
records <= ((o...)) / blocksizeDescription
TRUEevaluated 49 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1-49
2636 && 0 <= skip_via_lseek (file, fdesc, offset,
0 <= skip_via_...c, offset, 1 )Description
TRUEevaluated 38 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 11 times by 1 test
Evaluated by:
  • dd
11-38
2637 1
0 <= skip_via_...c, offset, 1 )Description
TRUEevaluated 38 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 11 times by 1 test
Evaluated by:
  • dd
11-38
2638 )
0 <= skip_via_...c, offset, 1 )Description
TRUEevaluated 38 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 11 times by 1 test
Evaluated by:
  • dd
)
11-38
2639 {-
2640 if (fdesc ==
fdesc == 0Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
18-20
2641 0
fdesc == 0Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
18-20
2642 )-
2643 {-
2644 struct stat st;-
2645 if (fstat (
fstat ( 0 , &st) != 0Description
TRUEnever evaluated
FALSEevaluated 18 times by 1 test
Evaluated by:
  • dd
0-18
2646 0
fstat ( 0 , &st) != 0Description
TRUEnever evaluated
FALSEevaluated 18 times by 1 test
Evaluated by:
  • dd
0-18
2647 , &st) != 0
fstat ( 0 , &st) != 0Description
TRUEnever evaluated
FALSEevaluated 18 times by 1 test
Evaluated by:
  • dd
)
0-18
2648 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2649 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2650 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2651 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2652 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2653 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2654 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2655 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2656 "cannot fstat %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2657 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2658 , quotearg_style (shell_escape_always_quoting_style, file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2659 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2660 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2661 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2662 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2663 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2664 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2665 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2666 "cannot fstat %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2667 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2668 , quotearg_style (shell_escape_always_quoting_style, file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2669 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2670 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ...le)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2671 if (usable_st_size (&st)
usable_st_size (&st)Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& st.st_size < input_offset + offset
st.st_size < i...ffset + offsetDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 13 times by 1 test
Evaluated by:
  • dd
)
0-18
2672 {-
2673-
2674-
2675-
2676 records = ( offset - st.st_size ) / blocksize;-
2677 offset = st.st_size - input_offset;-
2678 }
executed 5 times by 1 test: end of block
Executed by:
  • dd
5
2679 else-
2680 records = 0;
executed 13 times by 1 test: records = 0;
Executed by:
  • dd
13
2681 advance_input_offset (offset);-
2682 }
executed 18 times by 1 test: end of block
Executed by:
  • dd
18
2683 else-
2684 {-
2685 records = 0;-
2686 *bytes = 0;-
2687 }
executed 20 times by 1 test: end of block
Executed by:
  • dd
20
2688 return
executed 38 times by 1 test: return records;
Executed by:
  • dd
records;
executed 38 times by 1 test: return records;
Executed by:
  • dd
38
2689 }-
2690 else-
2691 {-
2692 int lseek_errno = -
2693 (*__errno_location ())-
2694 ;-
2695-
2696-
2697-
2698-
2699-
2700-
2701 if ((
(skip_via_lsee..., 0, 2 )) >= 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 10 times by 1 test
Evaluated by:
  • dd
skip_via_lseek (file, fdesc, 0,
(skip_via_lsee..., 0, 2 )) >= 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 10 times by 1 test
Evaluated by:
  • dd
2-10
2702 2
(skip_via_lsee..., 0, 2 )) >= 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 10 times by 1 test
Evaluated by:
  • dd
2-10
2703 )) >= 0
(skip_via_lsee..., 0, 2 )) >= 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 10 times by 1 test
Evaluated by:
  • dd
)
2-10
2704 {-
2705-
2706-
2707-
2708 if (!lseek_errno
!lseek_errnoDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1
2709 {-
2710-
2711-
2712-
2713-
2714-
2715-
2716-
2717 lseek_errno = -
2718 75-
2719 ;-
2720 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
2721-
2722 if (fdesc ==
fdesc == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-2
2723 0
fdesc == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-2
2724 )-
2725 nl_error (0, lseek_errno,
executed 2 times by 1 test: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot skip" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
Executed by:
  • dd
2
2726 dcgettext (((void *)0),
executed 2 times by 1 test: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot skip" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
Executed by:
  • dd
2
2727 "%s: cannot skip"
executed 2 times by 1 test: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot skip" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
Executed by:
  • dd
2
2728 , 5)
executed 2 times by 1 test: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot skip" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
Executed by:
  • dd
2
2729 , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
executed 2 times by 1 test: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot skip" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
Executed by:
  • dd
2
2730 else-
2731 nl_error (0, lseek_errno,
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2732 dcgettext (((void *)0),
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2733 "%s: cannot seek"
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2734 , 5)
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2735 , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2736-
2737-
2738 quit (-
2739 1-
2740 );-
2741 }
never executed: end of block
0
2742-
2743-
2744 char *buf;-
2745 if (fdesc ==
fdesc == 0Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
3-7
2746 0
fdesc == 0Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
3-7
2747 )-
2748 {-
2749 alloc_ibuf ();-
2750 buf = ibuf;-
2751 }
executed 5 times by 1 test: end of block
Executed by:
  • dd
5
2752 else-
2753 {-
2754 alloc_obuf ();-
2755 buf = obuf;-
2756 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
2757-
2758 do-
2759 {-
2760 ssize_t nread = iread_fnc (fdesc, buf, records ? blocksize : *bytes);-
2761 if (nread < 0
nread < 0Description
TRUEnever evaluated
FALSEevaluated 15 times by 1 test
Evaluated by:
  • dd
)
0-15
2762 {-
2763 if (fdesc ==
fdesc == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
2764 0
fdesc == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
2765 )-
2766 {-
2767 nl_error (0, -
2768 (*__errno_location ())-
2769 , -
2770 dcgettext (((void *)0), -
2771 "error reading %s"-
2772 , 5)-
2773 , quotearg_style (shell_escape_always_quoting_style, file));-
2774 if (conversions_mask & C_NOERROR
conversions_mask & C_NOERRORDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2775 print_stats ();
never executed: print_stats ();
0
2776 }
never executed: end of block
0
2777 else-
2778 nl_error (0, lseek_errno,
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2779 dcgettext (((void *)0),
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2780 "%s: cannot seek"
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2781 , 5)
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2782 , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
never executed: nl_error (0, lseek_errno, dcgettext (((void *)0), "%s: cannot seek" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file));
0
2783 quit (-
2784 1-
2785 );-
2786 }
never executed: end of block
0
2787 else if (nread == 0
nread == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 14 times by 1 test
Evaluated by:
  • dd
)
1-14
2788 break;
executed 1 time by 1 test: break;
Executed by:
  • dd
1
2789 else if (fdesc ==
fdesc == 0Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1-13
2790 0
fdesc == 0Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1-13
2791 )-
2792 advance_input_offset (nread);
executed 13 times by 1 test: advance_input_offset (nread);
Executed by:
  • dd
13
2793-
2794 if (records != 0
records != 0Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-14
2795 records--;
executed 14 times by 1 test: records--;
Executed by:
  • dd
14
2796 else-
2797 *
never executed: *bytes = 0;
bytes = 0;
never executed: *bytes = 0;
0
2798 }-
2799 while (records
recordsDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
|| *
*bytesDescription
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
bytes
*bytesDescription
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
);
0-9
2800-
2801 return
executed 6 times by 1 test: return records;
Executed by:
  • dd
records;
executed 6 times by 1 test: return records;
Executed by:
  • dd
6
2802 }-
2803}-
2804-
2805-
2806-
2807-
2808-
2809-
2810-
2811static -
2812 _Bool-
2813-
2814advance_input_after_read_error (size_t nbytes)-
2815{-
2816 if (! input_seekable
! input_seekableDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2817 {-
2818 if (input_seek_errno ==
input_seek_errno == 29Description
TRUEnever evaluated
FALSEnever evaluated
0
2819 29
input_seek_errno == 29Description
TRUEnever evaluated
FALSEnever evaluated
0
2820 )-
2821 return
never executed: return 1 ;
never executed: return 1 ;
0
2822 1
never executed: return 1 ;
0
2823 ;
never executed: return 1 ;
0
2824 -
2825 (*__errno_location ()) -
2826 = input_seek_errno;-
2827 }
never executed: end of block
0
2828 else-
2829 {-
2830 off_t offset;-
2831 advance_input_offset (nbytes);-
2832 input_offset_overflow |= (((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1))) < input_offset);-
2833 if (input_offset_overflow
input_offset_overflowDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2834 {-
2835 nl_error (0, 0, -
2836 dcgettext (((void *)0), -
2837 "offset overflow while reading file %s"-
2838 , 5)-
2839 ,-
2840 quotearg_style (shell_escape_always_quoting_style, input_file));-
2841 return
never executed: return 0 ;
never executed: return 0 ;
0
2842 0
never executed: return 0 ;
0
2843 ;
never executed: return 0 ;
0
2844 }-
2845 offset = lseek (-
2846 0-
2847 , 0, -
2848 1-
2849 );-
2850 if (0 <= offset
0 <= offsetDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2851 {-
2852 off_t diff;-
2853 if (offset == input_offset
offset == input_offsetDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2854 return
never executed: return 1 ;
never executed: return 1 ;
0
2855 1
never executed: return 1 ;
0
2856 ;
never executed: return 1 ;
0
2857 diff = input_offset - offset;-
2858 if (! (0 <= diff
0 <= diffDescription
TRUEnever evaluated
FALSEnever evaluated
&& diff <= nbytes
diff <= nbytesDescription
TRUEnever evaluated
FALSEnever evaluated
) && status_level != STATUS_NONE
status_level != STATUS_NONEDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2859 nl_error (0, 0,
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: invalid file offset after failed read" , 5) );
0
2860 dcgettext (((void *)0),
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: invalid file offset after failed read" , 5) );
0
2861 "warning: invalid file offset after failed read"
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: invalid file offset after failed read" , 5) );
0
2862 , 5)
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: invalid file offset after failed read" , 5) );
0
2863 );
never executed: nl_error (0, 0, dcgettext (((void *)0), "warning: invalid file offset after failed read" , 5) );
0
2864 if (0 <= skip_via_lseek (input_file,
0 <= skip_via_... 0 , diff, 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2865 0
0 <= skip_via_... 0 , diff, 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2866 , diff,
0 <= skip_via_... 0 , diff, 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2867 1
0 <= skip_via_... 0 , diff, 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2868 )
0 <= skip_via_... 0 , diff, 1 )Description
TRUEnever evaluated
FALSEnever evaluated
)
0
2869 return
never executed: return 1 ;
never executed: return 1 ;
0
2870 1
never executed: return 1 ;
0
2871 ;
never executed: return 1 ;
0
2872 if (-
2873 (*
(*__errno_location ()) == 0Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
2874 == 0
(*__errno_location ()) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
2875 nl_error (0, 0,
never executed: nl_error (0, 0, dcgettext (((void *)0), "cannot work around kernel bug after all" , 5) );
0
2876 dcgettext (((void *)0),
never executed: nl_error (0, 0, dcgettext (((void *)0), "cannot work around kernel bug after all" , 5) );
0
2877 "cannot work around kernel bug after all"
never executed: nl_error (0, 0, dcgettext (((void *)0), "cannot work around kernel bug after all" , 5) );
0
2878 , 5)
never executed: nl_error (0, 0, dcgettext (((void *)0), "cannot work around kernel bug after all" , 5) );
0
2879 );
never executed: nl_error (0, 0, dcgettext (((void *)0), "cannot work around kernel bug after all" , 5) );
0
2880 }
never executed: end of block
0
2881 }
never executed: end of block
0
2882-
2883 nl_error (0, -
2884 (*__errno_location ())-
2885 , -
2886 dcgettext (((void *)0), -
2887 "%s: cannot seek"-
2888 , 5)-
2889 , quotearg_n_style_colon (0, shell_escape_quoting_style, input_file));-
2890 return
never executed: return 0 ;
never executed: return 0 ;
0
2891 0
never executed: return 0 ;
0
2892 ;
never executed: return 0 ;
0
2893}-
2894-
2895-
2896-
2897static void-
2898copy_simple (char const *buf, size_t nread)-
2899{-
2900 const char *start = buf;-
2901-
2902 do-
2903 {-
2904 size_t nfree = -
2905 (((
(( nread )<( o...cksize - oc ))Description
TRUEevaluated 25 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 760 times by 1 test
Evaluated by:
  • dd
25-760
2906 nread
(( nread )<( o...cksize - oc ))Description
TRUEevaluated 25 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 760 times by 1 test
Evaluated by:
  • dd
25-760
2907 )<(
(( nread )<( o...cksize - oc ))Description
TRUEevaluated 25 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 760 times by 1 test
Evaluated by:
  • dd
25-760
2908 output_blocksize - oc
(( nread )<( o...cksize - oc ))Description
TRUEevaluated 25 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 760 times by 1 test
Evaluated by:
  • dd
25-760
2909 ))
(( nread )<( o...cksize - oc ))Description
TRUEevaluated 25 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 760 times by 1 test
Evaluated by:
  • dd
?(
25-760
2910 nread-
2911 ):(-
2912 output_blocksize - oc-
2913 ))-
2914 ;-
2915-
2916 memcpy (obuf + oc, start, nfree);-
2917-
2918 nread -= nfree;-
2919 start += nfree;-
2920 oc += nfree;-
2921 if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEevaluated 760 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 25 times by 1 test
Evaluated by:
  • dd
)
25-760
2922 write_output ();
executed 760 times by 1 test: write_output ();
Executed by:
  • dd
760
2923 }
executed 785 times by 1 test: end of block
Executed by:
  • dd
785
2924 while (nread != 0
nread != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 784 times by 1 test
Evaluated by:
  • dd
);
1-784
2925}
executed 784 times by 1 test: end of block
Executed by:
  • dd
784
2926-
2927-
2928-
2929-
2930-
2931static void-
2932copy_with_block (char const *buf, size_t nread)-
2933{-
2934 for (size_t i = nread; i
iDescription
TRUEevaluated 30 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
; i--, buf++)
3-30
2935 {-
2936 if (*
*buf == newline_characterDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 28 times by 1 test
Evaluated by:
  • dd
buf == newline_character
*buf == newline_characterDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 28 times by 1 test
Evaluated by:
  • dd
)
2-28
2937 {-
2938 if (col < conversion_blocksize
col < conversion_blocksizeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1
2939 {-
2940 size_t j;-
2941 for (j = col; j < conversion_blocksize
j < conversion_blocksizeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
; j++)
1-2
2942 do { obuf[oc++] = (space_character); if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • dd
) write_output ();
never executed: write_output ();
}
executed 2 times by 1 test: end of block
Executed by:
  • dd
while (0);
0-2
2943 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
2944 col = 0;-
2945 }
executed 2 times by 1 test: end of block
Executed by:
  • dd
2
2946 else-
2947 {-
2948 if (col == conversion_blocksize
col == conversion_blocksizeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 27 times by 1 test
Evaluated by:
  • dd
)
1-27
2949 r_truncate++;
executed 1 time by 1 test: r_truncate++;
Executed by:
  • dd
1
2950 else if (col < conversion_blocksize
col < conversion_blocksizeDescription
TRUEevaluated 26 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1-26
2951 do { obuf[oc++] = (*buf); if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • dd
) write_output ();
never executed: write_output ();
}
executed 26 times by 1 test: end of block
Executed by:
  • dd
while (0);
0-26
2952 col++;-
2953 }
executed 28 times by 1 test: end of block
Executed by:
  • dd
28
2954 }-
2955}
executed 3 times by 1 test: end of block
Executed by:
  • dd
3
2956-
2957-
2958-
2959-
2960-
2961static void-
2962copy_with_unblock (char const *buf, size_t nread)-
2963{-
2964 static size_t pending_spaces = 0;-
2965-
2966 for (size_t i = 0; i < nread
i < nreadDescription
TRUEevaluated 377 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 12 times by 1 test
Evaluated by:
  • dd
; i++)
12-377
2967 {-
2968 char c = buf[i];-
2969-
2970 if (col++ >= conversion_blocksize
col++ >= conversion_blocksizeDescription
TRUEevaluated 72 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 305 times by 1 test
Evaluated by:
  • dd
)
72-305
2971 {-
2972 col = pending_spaces = 0;-
2973 i--;-
2974 do { obuf[oc++] = (newline_character); if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEnever evaluated
FALSEevaluated 72 times by 1 test
Evaluated by:
  • dd
) write_output ();
never executed: write_output ();
} while (0);
0-72
2975 }
executed 72 times by 1 test: end of block
Executed by:
  • dd
72
2976 else if (c == space_character
c == space_characterDescription
TRUEevaluated 21 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 284 times by 1 test
Evaluated by:
  • dd
)
21-284
2977 pending_spaces++;
executed 21 times by 1 test: pending_spaces++;
Executed by:
  • dd
21
2978 else-
2979 {-
2980-
2981-
2982 while (pending_spaces
pending_spacesDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 284 times by 1 test
Evaluated by:
  • dd
)
6-284
2983 {-
2984 do { obuf[oc++] = (space_character); if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
) write_output ();
never executed: write_output ();
} while (0);
0-6
2985 --pending_spaces;-
2986 }
executed 6 times by 1 test: end of block
Executed by:
  • dd
6
2987 do { obuf[oc++] = (c); if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEnever evaluated
FALSEevaluated 284 times by 1 test
Evaluated by:
  • dd
) write_output ();
never executed: write_output ();
} while (0);
0-284
2988 }
executed 284 times by 1 test: end of block
Executed by:
  • dd
284
2989 }-
2990}
executed 12 times by 1 test: end of block
Executed by:
  • dd
12
2991-
2992-
2993-
2994-
2995static void-
2996set_fd_flags (int fd, int add_flags, char const *name)-
2997{-
2998-
2999 add_flags &= ~ (-
3000 0400 -
3001 | -
3002 0400000-
3003 );-
3004-
3005 if (add_flags
add_flagsDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 123 times by 1 test
Evaluated by:
  • dd
)
7-123
3006 {-
3007 int old_flags = -
3008 rpl_fcntl -
3009 (fd, -
3010 3-
3011 );-
3012 int new_flags = old_flags | add_flags;-
3013 -
3014 _Bool -
3015 ok = -
3016 1-
3017 ;-
3018 if (old_flags < 0
old_flags < 0Description
TRUEnever evaluated
FALSEevaluated 7 times by 1 test
Evaluated by:
  • dd
)
0-7
3019 ok =
never executed: ok = 0 ;
0
3020 0
never executed: ok = 0 ;
0
3021 ;
never executed: ok = 0 ;
0
3022 else if (old_flags != new_flags
old_flags != new_flagsDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-7
3023 {-
3024 if (new_flags & (
new_flags & ( 0200000 | 0 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
2-5
3025 0200000
new_flags & ( 0200000 | 0 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
2-5
3026 |
new_flags & ( 0200000 | 0 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
2-5
3027 0
new_flags & ( 0200000 | 0 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
2-5
3028 )
new_flags & ( 0200000 | 0 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
)
2-5
3029 {-
3030-
3031-
3032 struct stat st;-
3033 if (fstat (fd, &st) != 0
fstat (fd, &st) != 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • dd
)
0-2
3034 ok =
never executed: ok = 0 ;
0
3035 0
never executed: ok = 0 ;
0
3036 ;
never executed: ok = 0 ;
0
3037 else if ((
(new_flags & 0200000 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
new_flags &
(new_flags & 0200000 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-2
3038 0200000
(new_flags & 0200000 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-2
3039 )
(new_flags & 0200000 )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& !
! (((( st.st_m... == (0040000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-2
3040 ((((
! (((( st.st_m... == (0040000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1
3041 st.st_mode
! (((( st.st_m... == (0040000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1
3042 )) & 0170000) == (0040000))
! (((( st.st_m... == (0040000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1
3043 )-
3044 {-
3045 -
3046 (*__errno_location ()) -
3047 = -
3048 20-
3049 ;-
3050 ok = -
3051 0-
3052 ;-
3053 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
3054 else if ((
(new_flags & 0 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
new_flags &
(new_flags & 0 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-1
3055 0
(new_flags & 0 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-1
3056 )
(new_flags & 0 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
&& 1 < st.st_nlink
1 < st.st_nlinkDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-1
3057 {-
3058 -
3059 (*__errno_location ()) -
3060 = -
3061 31-
3062 ;-
3063 ok = -
3064 0-
3065 ;-
3066 }
never executed: end of block
0
3067 new_flags &= ~ (-
3068 0200000 -
3069 | -
3070 0-
3071 );-
3072 }
executed 2 times by 1 test: end of block
Executed by:
  • dd
2
3073-
3074 if (ok
okDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
&& old_flags != new_flags
old_flags != new_flagsDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
1-6
3075 && -
3076 rpl_fcntl
rpl_fcntl (fd,...w_flags) == -1Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
3077 (fd,
rpl_fcntl (fd,...w_flags) == -1Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
3078 4
rpl_fcntl (fd,...w_flags) == -1Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
3079 , new_flags) == -1
rpl_fcntl (fd,...w_flags) == -1Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
)
0-5
3080 ok =
never executed: ok = 0 ;
0
3081 0
never executed: ok = 0 ;
0
3082 ;
never executed: ok = 0 ;
0
3083 }
executed 7 times by 1 test: end of block
Executed by:
  • dd
7
3084-
3085 if (!ok
!okDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 6 times by 1 test
Evaluated by:
  • dd
)
1-6
3086 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3087 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3088 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3089 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3090 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3091 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3092 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3093 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3094 "setting flags for %s"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3095 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3096 , quotearg_style (shell_escape_always_quoting_style, name)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3097 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3098 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3099 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3100 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3101 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3102 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3103 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3104 "setting flags for %s"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3105 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3106 , quotearg_style (shell_escape_always_quoting_style, name)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3107 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3108 ) ? (void) 0 : __builtin_unreachable ()))));
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"setting flags for %s\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; }... (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "setting flags for %s" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • dd
1
3109 }
executed 6 times by 1 test: end of block
Executed by:
  • dd
6
3110}
executed 129 times by 1 test: end of block
Executed by:
  • dd
129
3111-
3112-
3113-
3114static int-
3115dd_copy (void)-
3116{-
3117 char *bufstart;-
3118 ssize_t nread;-
3119-
3120-
3121-
3122 size_t partread = 0;-
3123-
3124 int exit_status = -
3125 0-
3126 ;-
3127 size_t n_bytes_read;-
3128 if (skip_records != 0
skip_records != 0Description
TRUEevaluated 26 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 600 times by 1 test
Evaluated by:
  • dd
|| skip_bytes != 0
skip_bytes != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 599 times by 1 test
Evaluated by:
  • dd
)
1-600
3129 {-
3130 uintmax_t us_bytes = input_offset + (skip_records * input_blocksize)-
3131 + skip_bytes;-
3132 uintmax_t us_blocks = skip (-
3133 0-
3134 , input_file,-
3135 skip_records, input_blocksize, &skip_bytes);-
3136 us_bytes -= input_offset;-
3137-
3138-
3139-
3140-
3141-
3142-
3143-
3144 if ((us_blocks
us_blocksDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
|| (!input_offset_overflow
!input_offset_overflowDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& us_bytes
us_bytesDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 16 times by 1 test
Evaluated by:
  • dd
))
0-20
3145 && status_level != STATUS_NONE
status_level != STATUS_NONEDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1-6
3146 {-
3147 nl_error (0, 0,-
3148 -
3149 dcgettext (((void *)0), -
3150 "%s: cannot skip to specified offset"-
3151 , 5)-
3152 , quotearg_n_style_colon (0, shell_escape_quoting_style, input_file));-
3153 }
executed 6 times by 1 test: end of block
Executed by:
  • dd
6
3154 }
executed 23 times by 1 test: end of block
Executed by:
  • dd
23
3155-
3156 if (seek_records != 0
seek_records != 0Description
TRUEevaluated 22 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 600 times by 1 test
Evaluated by:
  • dd
|| seek_bytes != 0
seek_bytes != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 599 times by 1 test
Evaluated by:
  • dd
)
1-600
3157 {-
3158 size_t bytes = seek_bytes;-
3159 uintmax_t write_records = skip (-
3160 1-
3161 , output_file,-
3162 seek_records, output_blocksize, &bytes);-
3163-
3164 if (write_records != 0
write_records != 0Description
TRUEnever evaluated
FALSEevaluated 21 times by 1 test
Evaluated by:
  • dd
|| bytes != 0
bytes != 0Description
TRUEnever evaluated
FALSEevaluated 21 times by 1 test
Evaluated by:
  • dd
)
0-21
3165 {-
3166 memset (obuf, 0, write_records ? output_blocksize : bytes);-
3167-
3168 do-
3169 {-
3170 size_t size = write_records
write_recordsDescription
TRUEnever evaluated
FALSEnever evaluated
? output_blocksize : bytes;
0
3171 if (iwrite (
iwrite ( 1 , o... size) != sizeDescription
TRUEnever evaluated
FALSEnever evaluated
0
3172 1
iwrite ( 1 , o... size) != sizeDescription
TRUEnever evaluated
FALSEnever evaluated
0
3173 , obuf, size) != size
iwrite ( 1 , o... size) != sizeDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3174 {-
3175 nl_error (0, -
3176 (*__errno_location ())-
3177 , -
3178 dcgettext (((void *)0), -
3179 "writing to %s"-
3180 , 5)-
3181 , quotearg_style (shell_escape_always_quoting_style, output_file));-
3182 quit (-
3183 1-
3184 );-
3185 }
never executed: end of block
0
3186-
3187 if (write_records != 0
write_records != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3188 write_records--;
never executed: write_records--;
0
3189 else-
3190 bytes = 0;
never executed: bytes = 0;
0
3191 }-
3192 while (write_records
write_recordsDescription
TRUEnever evaluated
FALSEnever evaluated
|| bytes
bytesDescription
TRUEnever evaluated
FALSEnever evaluated
);
0
3193 }
never executed: end of block
0
3194 }
executed 21 times by 1 test: end of block
Executed by:
  • dd
21
3195-
3196 if (max_records == 0
max_records == 0Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 593 times by 1 test
Evaluated by:
  • dd
&& max_bytes == 0
max_bytes == 0Description
TRUEevaluated 26 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1-593
3197 return
executed 26 times by 1 test: return exit_status;
Executed by:
  • dd
exit_status;
executed 26 times by 1 test: return exit_status;
Executed by:
  • dd
26
3198-
3199 alloc_ibuf ();-
3200 alloc_obuf ();-
3201-
3202 while (1)-
3203 {-
3204 if (status_level == STATUS_PROGRESS
status_level =...TATUS_PROGRESSDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 3504 times by 1 test
Evaluated by:
  • dd
)
3-3504
3205 {-
3206 xtime_t progress_time = gethrxtime ();-
3207 if (next_time <= progress_time
next_time <= progress_timeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 2 times by 1 test
Evaluated by:
  • dd
)
1-2
3208 {-
3209 print_xfer_stats (progress_time);-
3210 next_time += 1000000000;-
3211 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
3212 }
executed 3 times by 1 test: end of block
Executed by:
  • dd
3
3213-
3214 if (r_partial + r_full >= max_records + !!max_bytes
r_partial + r_... + !!max_bytesDescription
TRUEevaluated 522 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2985 times by 1 test
Evaluated by:
  • dd
)
522-2985
3215 break;
executed 522 times by 1 test: break;
Executed by:
  • dd
522
3216-
3217-
3218-
3219-
3220 if ((
(conversions_mask & C_SYNC)Description
TRUEevaluated 17 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2968 times by 1 test
Evaluated by:
  • dd
conversions_mask & C_SYNC)
(conversions_mask & C_SYNC)Description
TRUEevaluated 17 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2968 times by 1 test
Evaluated by:
  • dd
&& (
(conversions_mask & C_NOERROR)Description
TRUEnever evaluated
FALSEevaluated 17 times by 1 test
Evaluated by:
  • dd
conversions_mask & C_NOERROR)
(conversions_mask & C_NOERROR)Description
TRUEnever evaluated
FALSEevaluated 17 times by 1 test
Evaluated by:
  • dd
)
0-2968
3221 memset (ibuf,
never executed: memset (ibuf, (conversions_mask & (C_BLOCK | C_UNBLOCK)) ? ' ' : '\0', input_blocksize);
0
3222 (conversions_mask & (C_BLOCK | C_UNBLOCK)) ? ' ' : '\0',
never executed: memset (ibuf, (conversions_mask & (C_BLOCK | C_UNBLOCK)) ? ' ' : '\0', input_blocksize);
0
3223 input_blocksize);
never executed: memset (ibuf, (conversions_mask & (C_BLOCK | C_UNBLOCK)) ? ' ' : '\0', input_blocksize);
0
3224-
3225 if (r_partial + r_full >= max_records
r_partial + r_...>= max_recordsDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 2984 times by 1 test
Evaluated by:
  • dd
)
1-2984
3226 nread = iread_fnc (
executed 1 time by 1 test: nread = iread_fnc ( 0 , ibuf, max_bytes);
Executed by:
  • dd
1
3227 0
executed 1 time by 1 test: nread = iread_fnc ( 0 , ibuf, max_bytes);
Executed by:
  • dd
1
3228 , ibuf, max_bytes);
executed 1 time by 1 test: nread = iread_fnc ( 0 , ibuf, max_bytes);
Executed by:
  • dd
1
3229 else-
3230 nread = iread_fnc (
executed 2984 times by 1 test: nread = iread_fnc ( 0 , ibuf, input_blocksize);
Executed by:
  • dd
2984
3231 0
executed 2984 times by 1 test: nread = iread_fnc ( 0 , ibuf, input_blocksize);
Executed by:
  • dd
2984
3232 , ibuf, input_blocksize);
executed 2984 times by 1 test: nread = iread_fnc ( 0 , ibuf, input_blocksize);
Executed by:
  • dd
2984
3233-
3234 if (nread > 0
nread > 0Description
TRUEevaluated 2913 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 72 times by 1 test
Evaluated by:
  • dd
)
72-2913
3235 {-
3236 advance_input_offset (nread);-
3237 if (i_nocache
i_nocacheDescription
TRUEevaluated 415 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2498 times by 1 test
Evaluated by:
  • dd
)
415-2498
3238 invalidate_cache (
executed 415 times by 1 test: invalidate_cache ( 0 , nread);
Executed by:
  • dd
415
3239 0
executed 415 times by 1 test: invalidate_cache ( 0 , nread);
Executed by:
  • dd
415
3240 , nread);
executed 415 times by 1 test: invalidate_cache ( 0 , nread);
Executed by:
  • dd
415
3241 }
executed 2913 times by 1 test: end of block
Executed by:
  • dd
2913
3242 else if (nread == 0
nread == 0Description
TRUEevaluated 72 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-72
3243 {-
3244 i_nocache_eof |= i_nocache;-
3245 o_nocache_eof |= o_nocache
o_nocacheDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 68 times by 1 test
Evaluated by:
  • dd
&& ! (conversions_mask & C_NOTRUNC)
! (conversions...k & C_NOTRUNC)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
;
0-68
3246 break;
executed 72 times by 1 test: break;
Executed by:
  • dd
72
3247 }-
3248 else-
3249 {-
3250 if (!(conversions_mask & C_NOERROR)
!(conversions_...k & C_NOERROR)Description
TRUEnever evaluated
FALSEnever evaluated
|| status_level != STATUS_NONE
status_level != STATUS_NONEDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3251 nl_error (0,
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file));
0
3252 (*__errno_location ())
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file));
0
3253 ,
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file));
0
3254 dcgettext (((void *)0),
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file));
0
3255 "error reading %s"
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file));
0
3256 , 5)
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file));
0
3257 , quotearg_style (shell_escape_always_quoting_style, input_file));
never executed: nl_error (0, (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file));
0
3258-
3259 if (conversions_mask & C_NOERROR
conversions_mask & C_NOERRORDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3260 {-
3261 print_stats ();-
3262 size_t bad_portion = input_blocksize - partread;-
3263-
3264-
3265-
3266 invalidate_cache (-
3267 0-
3268 , bad_portion);-
3269-
3270-
3271 if (!advance_input_after_read_error (bad_portion)
!advance_input... (bad_portion)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3272 {-
3273 exit_status = -
3274 1-
3275 ;-
3276-
3277-
3278 input_seekable = -
3279 0-
3280 ;-
3281 input_seek_errno = -
3282 29-
3283 ;-
3284 }
never executed: end of block
0
3285 if ((
(conversions_mask & C_SYNC)Description
TRUEnever evaluated
FALSEnever evaluated
conversions_mask & C_SYNC)
(conversions_mask & C_SYNC)Description
TRUEnever evaluated
FALSEnever evaluated
&& !partread
!partreadDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3286-
3287-
3288 nread = 0;
never executed: nread = 0;
0
3289 else-
3290 continue;
never executed: continue;
0
3291 }-
3292 else-
3293 {-
3294-
3295 exit_status = -
3296 1-
3297 ;-
3298 break;
never executed: break;
0
3299 }-
3300 }-
3301-
3302 n_bytes_read = nread;-
3303-
3304 if (n_bytes_read < input_blocksize
n_bytes_read < input_blocksizeDescription
TRUEevaluated 49 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 2864 times by 1 test
Evaluated by:
  • dd
)
49-2864
3305 {-
3306 r_partial++;-
3307 partread = n_bytes_read;-
3308 if (conversions_mask & C_SYNC
conversions_mask & C_SYNCDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 43 times by 1 test
Evaluated by:
  • dd
)
6-43
3309 {-
3310 if (!(conversions_mask & C_NOERROR)
!(conversions_...k & C_NOERROR)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-6
3311-
3312 memset (ibuf + n_bytes_read,
executed 6 times by 1 test: memset (ibuf + n_bytes_read, (conversions_mask & (C_BLOCK | C_UNBLOCK)) ? ' ' : '\0', input_blocksize - n_bytes_read);
Executed by:
  • dd
6
3313 (conversions_mask & (C_BLOCK | C_UNBLOCK)) ? ' ' : '\0',
executed 6 times by 1 test: memset (ibuf + n_bytes_read, (conversions_mask & (C_BLOCK | C_UNBLOCK)) ? ' ' : '\0', input_blocksize - n_bytes_read);
Executed by:
  • dd
6
3314 input_blocksize - n_bytes_read);
executed 6 times by 1 test: memset (ibuf + n_bytes_read, (conversions_mask & (C_BLOCK | C_UNBLOCK)) ? ' ' : '\0', input_blocksize - n_bytes_read);
Executed by:
  • dd
6
3315 n_bytes_read = input_blocksize;-
3316 }
executed 6 times by 1 test: end of block
Executed by:
  • dd
6
3317 }
executed 49 times by 1 test: end of block
Executed by:
  • dd
49
3318 else-
3319 {-
3320 r_full++;-
3321 partread = 0;-
3322 }
executed 2864 times by 1 test: end of block
Executed by:
  • dd
2864
3323-
3324 if (ibuf == obuf
ibuf == obufDescription
TRUEevaluated 2114 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 799 times by 1 test
Evaluated by:
  • dd
)
799-2114
3325 {-
3326 size_t nwritten = iwrite (-
3327 1-
3328 , obuf, n_bytes_read);-
3329 w_bytes += nwritten;-
3330 if (nwritten != n_bytes_read
nwritten != n_bytes_readDescription
TRUEnever evaluated
FALSEevaluated 2114 times by 1 test
Evaluated by:
  • dd
)
0-2114
3331 {-
3332 nl_error (0, -
3333 (*__errno_location ())-
3334 , -
3335 dcgettext (((void *)0), -
3336 "error writing %s"-
3337 , 5)-
3338 , quotearg_style (shell_escape_always_quoting_style, output_file));-
3339 return
never executed: return 1 ;
never executed: return 1 ;
0
3340 1
never executed: return 1 ;
0
3341 ;
never executed: return 1 ;
0
3342 }-
3343 else if (n_bytes_read == input_blocksize
n_bytes_read =...nput_blocksizeDescription
TRUEevaluated 2104 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 10 times by 1 test
Evaluated by:
  • dd
)
10-2104
3344 w_full++;
executed 2104 times by 1 test: w_full++;
Executed by:
  • dd
2104
3345 else-
3346 w_partial++;
executed 10 times by 1 test: w_partial++;
Executed by:
  • dd
10
3347 continue;
executed 2114 times by 1 test: continue;
Executed by:
  • dd
2114
3348 }-
3349-
3350-
3351-
3352 if (translation_needed
translation_neededDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 798 times by 1 test
Evaluated by:
  • dd
)
1-798
3353 translate_buffer (ibuf, n_bytes_read);
executed 1 time by 1 test: translate_buffer (ibuf, n_bytes_read);
Executed by:
  • dd
1
3354-
3355 if (conversions_mask & C_SWAB
conversions_mask & C_SWABDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 798 times by 1 test
Evaluated by:
  • dd
)
1-798
3356 bufstart = swab_buffer (ibuf, &n_bytes_read);
executed 1 time by 1 test: bufstart = swab_buffer (ibuf, &n_bytes_read);
Executed by:
  • dd
1
3357 else-
3358 bufstart = ibuf;
executed 798 times by 1 test: bufstart = ibuf;
Executed by:
  • dd
798
3359-
3360 if (conversions_mask & C_BLOCK
conversions_mask & C_BLOCKDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 796 times by 1 test
Evaluated by:
  • dd
)
3-796
3361 copy_with_block (bufstart, n_bytes_read);
executed 3 times by 1 test: copy_with_block (bufstart, n_bytes_read);
Executed by:
  • dd
3
3362 else if (conversions_mask & C_UNBLOCK
conversions_mask & C_UNBLOCKDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 784 times by 1 test
Evaluated by:
  • dd
)
12-784
3363 copy_with_unblock (bufstart, n_bytes_read);
executed 12 times by 1 test: copy_with_unblock (bufstart, n_bytes_read);
Executed by:
  • dd
12
3364 else-
3365 copy_simple (bufstart, n_bytes_read);
executed 784 times by 1 test: copy_simple (bufstart, n_bytes_read);
Executed by:
  • dd
784
3366 }-
3367-
3368-
3369 if (char_is_saved
char_is_savedDescription
TRUEnever evaluated
FALSEevaluated 594 times by 1 test
Evaluated by:
  • dd
)
0-594
3370 {-
3371 if (conversions_mask & C_BLOCK
conversions_mask & C_BLOCKDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3372 copy_with_block (&saved_char, 1);
never executed: copy_with_block (&saved_char, 1);
0
3373 else if (conversions_mask & C_UNBLOCK
conversions_mask & C_UNBLOCKDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3374 copy_with_unblock (&saved_char, 1);
never executed: copy_with_unblock (&saved_char, 1);
0
3375 else-
3376 do { obuf[oc++] = (saved_char); if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEnever evaluated
FALSEnever evaluated
) write_output ();
never executed: write_output ();
}
never executed: end of block
while (0);
0
3377 }-
3378-
3379 if ((
(conversions_mask & C_BLOCK)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 593 times by 1 test
Evaluated by:
  • dd
conversions_mask & C_BLOCK)
(conversions_mask & C_BLOCK)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 593 times by 1 test
Evaluated by:
  • dd
&& col > 0
col > 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-593
3380 {-
3381-
3382-
3383 for (size_t i = col; i < conversion_blocksize
i < conversion_blocksizeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
; i++)
1-2
3384 do { obuf[oc++] = (space_character); if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • dd
) write_output ();
never executed: write_output ();
}
executed 2 times by 1 test: end of block
Executed by:
  • dd
while (0);
0-2
3385 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
3386-
3387 if (col
colDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 584 times by 1 test
Evaluated by:
  • dd
&& (
(conversions_mask & C_UNBLOCK)Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
conversions_mask & C_UNBLOCK)
(conversions_mask & C_UNBLOCK)Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1-584
3388 {-
3389-
3390 do { obuf[oc++] = (newline_character); if (oc >= output_blocksize
oc >= output_blocksizeDescription
TRUEnever evaluated
FALSEevaluated 9 times by 1 test
Evaluated by:
  • dd
) write_output ();
never executed: write_output ();
} while (0);
0-9
3391 }
executed 9 times by 1 test: end of block
Executed by:
  • dd
9
3392-
3393-
3394 if (oc != 0
oc != 0Description
TRUEevaluated 34 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 560 times by 1 test
Evaluated by:
  • dd
)
34-560
3395 {-
3396 size_t nwritten = iwrite (-
3397 1-
3398 , obuf, oc);-
3399 w_bytes += nwritten;-
3400 if (nwritten != 0
nwritten != 0Description
TRUEevaluated 34 times by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-34
3401 w_partial++;
executed 34 times by 1 test: w_partial++;
Executed by:
  • dd
34
3402 if (nwritten != oc
nwritten != ocDescription
TRUEnever evaluated
FALSEevaluated 34 times by 1 test
Evaluated by:
  • dd
)
0-34
3403 {-
3404 nl_error (0, -
3405 (*__errno_location ())-
3406 , -
3407 dcgettext (((void *)0), -
3408 "error writing %s"-
3409 , 5)-
3410 , quotearg_style (shell_escape_always_quoting_style, output_file));-
3411 return
never executed: return 1 ;
never executed: return 1 ;
0
3412 1
never executed: return 1 ;
0
3413 ;
never executed: return 1 ;
0
3414 }-
3415 }
executed 34 times by 1 test: end of block
Executed by:
  • dd
34
3416-
3417-
3418-
3419 if (final_op_was_seek
final_op_was_seekDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 593 times by 1 test
Evaluated by:
  • dd
)
1-593
3420 {-
3421 struct stat stdout_stat;-
3422 if (fstat (
fstat ( 1 , &stdout_stat) != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-1
3423 1
fstat ( 1 , &stdout_stat) != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-1
3424 , &stdout_stat) != 0
fstat ( 1 , &stdout_stat) != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
0-1
3425 {-
3426 nl_error (0, -
3427 (*__errno_location ())-
3428 , -
3429 dcgettext (((void *)0), -
3430 "cannot fstat %s"-
3431 , 5)-
3432 , quotearg_style (shell_escape_always_quoting_style, output_file));-
3433 return
never executed: return 1 ;
never executed: return 1 ;
0
3434 1
never executed: return 1 ;
0
3435 ;
never executed: return 1 ;
0
3436 }-
3437 if (-
3438 ((((
(((( stdout_st... == (0100000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-1
3439 stdout_stat.st_mode
(((( stdout_st... == (0100000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-1
3440 )) & 0170000) == (0100000))
(((( stdout_st... == (0100000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
0-1
3441 || -
3442 ((
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEnever evaluated
0
3443 &stdout_stat
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEnever evaluated
0
3444 )->st_mode - (
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEnever evaluated
0
3445 &stdout_stat
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEnever evaluated
0
3446 )->st_mode)
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEnever evaluated
0
3447 )-
3448 {-
3449 off_t output_offset = lseek (-
3450 1-
3451 , 0, -
3452 1-
3453 );-
3454 if (0 <= output_offset
0 <= output_offsetDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
&& stdout_stat.st_size < output_offset
stdout_stat.st... output_offsetDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEnever evaluated
)
0-1
3455 {-
3456 if (iftruncate (
iftruncate ( 1...t_offset) != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-1
3457 1
iftruncate ( 1...t_offset) != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-1
3458 , output_offset) != 0
iftruncate ( 1...t_offset) != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
0-1
3459 {-
3460 nl_error (0, -
3461 (*__errno_location ())-
3462 ,-
3463 -
3464 dcgettext (((void *)0), -
3465 "failed to truncate to %" -
3466 "l" "d" -
3467 " bytes" " in output file %s"-
3468 , 5)-
3469 -
3470 ,-
3471 (intmax_t) output_offset, quotearg_style (shell_escape_always_quoting_style, output_file));-
3472 return
never executed: return 1 ;
never executed: return 1 ;
0
3473 1
never executed: return 1 ;
0
3474 ;
never executed: return 1 ;
0
3475 }-
3476 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
3477 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
3478 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
3479-
3480 if ((
(conversions_m...& C_FDATASYNC)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 592 times by 1 test
Evaluated by:
  • dd
conversions_mask & C_FDATASYNC)
(conversions_m...& C_FDATASYNC)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 592 times by 1 test
Evaluated by:
  • dd
&& fdatasync (
fdatasync ( 1 ) != 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • dd
0-592
3481 1
fdatasync ( 1 ) != 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • dd
0-2
3482 ) != 0
fdatasync ( 1 ) != 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • dd
)
0-2
3483 {-
3484 if (-
3485 (*
(*__errno_location ()) != 38Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 38Description
TRUEnever evaluated
FALSEnever evaluated
0
3486 !=
(*__errno_location ()) != 38Description
TRUEnever evaluated
FALSEnever evaluated
0
3487 38
(*__errno_location ()) != 38Description
TRUEnever evaluated
FALSEnever evaluated
0
3488 && -
3489 (*
(*__errno_location ()) != 22Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 22Description
TRUEnever evaluated
FALSEnever evaluated
0
3490 !=
(*__errno_location ()) != 22Description
TRUEnever evaluated
FALSEnever evaluated
0
3491 22
(*__errno_location ()) != 22Description
TRUEnever evaluated
FALSEnever evaluated
0
3492 )-
3493 {-
3494 nl_error (0, -
3495 (*__errno_location ())-
3496 , -
3497 dcgettext (((void *)0), -
3498 "fdatasync failed for %s"-
3499 , 5)-
3500 , quotearg_style (shell_escape_always_quoting_style, output_file));-
3501 exit_status = -
3502 1-
3503 ;-
3504 }
never executed: end of block
0
3505 conversions_mask |= C_FSYNC;-
3506 }
never executed: end of block
0
3507-
3508 if (conversions_mask & C_FSYNC
conversions_mask & C_FSYNCDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 589 times by 1 test
Evaluated by:
  • dd
)
5-589
3509 while (fsync (
fsync ( 1 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
3510 1
fsync ( 1 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
0-5
3511 ) != 0
fsync ( 1 ) != 0Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • dd
)
0-5
3512 if (-
3513 (*
(*__errno_location ()) != 4Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 4Description
TRUEnever evaluated
FALSEnever evaluated
0
3514 !=
(*__errno_location ()) != 4Description
TRUEnever evaluated
FALSEnever evaluated
0
3515 4
(*__errno_location ()) != 4Description
TRUEnever evaluated
FALSEnever evaluated
0
3516 )-
3517 {-
3518 nl_error (0, -
3519 (*__errno_location ())-
3520 , -
3521 dcgettext (((void *)0), -
3522 "fsync failed for %s"-
3523 , 5)-
3524 , quotearg_style (shell_escape_always_quoting_style, output_file));-
3525 return
never executed: return 1 ;
never executed: return 1 ;
0
3526 1
never executed: return 1 ;
0
3527 ;
never executed: return 1 ;
0
3528 }-
3529-
3530 return
executed 594 times by 1 test: return exit_status;
Executed by:
  • dd
exit_status;
executed 594 times by 1 test: return exit_status;
Executed by:
  • dd
594
3531}-
3532-
3533int-
3534main (int argc, char **argv)-
3535{-
3536 int i;-
3537 int exit_status;-
3538 off_t offset;-
3539-
3540 install_signal_handlers ();-
3541-
3542 ;-
3543 set_program_name (argv[0]);-
3544 setlocale (-
3545 6-
3546 , "");-
3547 bindtextdomain ("coreutils", "/usr/local/share/locale");-
3548 textdomain ("coreutils");-
3549-
3550-
3551 atexit (maybe_close_stdout);-
3552-
3553 page_size = getpagesize ();-
3554-
3555 parse_long_options (argc, argv, "dd", "coreutils", Version,-
3556 usage, ("Paul Rubin"), ("David MacKenzie"), ("Stuart Kemp"), (char const *) -
3557 ((void *)0)-
3558 );-
3559 close_stdout_required = -
3560 0-
3561 ;-
3562-
3563 if (getopt_long (argc, argv, "", long_options,
getopt_long (a...d *)0) ) != -1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 630 times by 1 test
Evaluated by:
  • dd
3-630
3564 ((void *)0)
getopt_long (a...d *)0) ) != -1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 630 times by 1 test
Evaluated by:
  • dd
3-630
3565 ) != -1
getopt_long (a...d *)0) ) != -1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 630 times by 1 test
Evaluated by:
  • dd
)
3-630
3566 usage (
executed 3 times by 1 test: usage ( 1 );
Executed by:
  • dd
3
3567 1
executed 3 times by 1 test: usage ( 1 );
Executed by:
  • dd
3
3568 );
executed 3 times by 1 test: usage ( 1 );
Executed by:
  • dd
3
3569-
3570-
3571 for (i = 0; i < 256
i < 256Description
TRUEevaluated 161280 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 630 times by 1 test
Evaluated by:
  • dd
; i++)
630-161280
3572 trans_table[i] = i;
executed 161280 times by 1 test: trans_table[i] = i;
Executed by:
  • dd
161280
3573-
3574-
3575 scanargs (argc, argv);-
3576-
3577 apply_translations ();-
3578-
3579 if (input_file ==
input_file == ((void *)0)Description
TRUEevaluated 67 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 561 times by 1 test
Evaluated by:
  • dd
67-561
3580 ((void *)0)
input_file == ((void *)0)Description
TRUEevaluated 67 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 561 times by 1 test
Evaluated by:
  • dd
67-561
3581 )-
3582 {-
3583 input_file = -
3584 dcgettext (((void *)0), -
3585 "standard input"-
3586 , 5)-
3587 ;-
3588 set_fd_flags (-
3589 0-
3590 , input_flags, input_file);-
3591 }
executed 66 times by 1 test: end of block
Executed by:
  • dd
66
3592 else-
3593 {-
3594 if (ifd_reopen (
ifd_reopen ( 0..._flags, 0) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 560 times by 1 test
Evaluated by:
  • dd
1-560
3595 0
ifd_reopen ( 0..._flags, 0) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 560 times by 1 test
Evaluated by:
  • dd
1-560
3596 , input_file,
ifd_reopen ( 0..._flags, 0) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 560 times by 1 test
Evaluated by:
  • dd
1-560
3597 00
ifd_reopen ( 0..._flags, 0) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 560 times by 1 test
Evaluated by:
  • dd
1-560
3598 | input_flags, 0) < 0
ifd_reopen ( 0..._flags, 0) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 560 times by 1 test
Evaluated by:
  • dd
)
1-560
3599 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3600 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3601 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3602 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3603 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3604 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3605 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3606 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3607 "failed to open %s"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3608 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3609 , quotearg_style (shell_escape_always_quoting_style, input_file)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3610 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3611 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3612 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3613 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3614 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3615 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3616 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3617 "failed to open %s"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3618 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3619 , quotearg_style (shell_escape_always_quoting_style, input_file)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3620 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3621 ) ? (void) 0 : __builtin_unreachable ()))))
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3622 ;
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, input_file)), assume (false))" ")"); int _gl_dummy...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, input_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dd
1
3623 }
executed 560 times by 1 test: end of block
Executed by:
  • dd
560
3624-
3625 offset = lseek (-
3626 0-
3627 , 0, -
3628 1-
3629 );-
3630 input_seekable = (0 <= offset);-
3631 input_offset = -
3632 (((
(( 0 )>( offset ))Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 598 times by 1 test
Evaluated by:
  • dd
28-598
3633 0
(( 0 )>( offset ))Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 598 times by 1 test
Evaluated by:
  • dd
28-598
3634 )>(
(( 0 )>( offset ))Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 598 times by 1 test
Evaluated by:
  • dd
28-598
3635 offset
(( 0 )>( offset ))Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 598 times by 1 test
Evaluated by:
  • dd
28-598
3636 ))
(( 0 )>( offset ))Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 598 times by 1 test
Evaluated by:
  • dd
?(
28-598
3637 0-
3638 ):(-
3639 offset-
3640 ))-
3641 ;-
3642 input_seek_errno = -
3643 (*__errno_location ())-
3644 ;-
3645-
3646 if (output_file ==
output_file == ((void *)0)Description
TRUEevaluated 63 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 563 times by 1 test
Evaluated by:
  • dd
63-563
3647 ((void *)0)
output_file == ((void *)0)Description
TRUEevaluated 63 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 563 times by 1 test
Evaluated by:
  • dd
63-563
3648 )-
3649 {-
3650 output_file = -
3651 dcgettext (((void *)0), -
3652 "standard output"-
3653 , 5)-
3654 ;-
3655 set_fd_flags (-
3656 1-
3657 , output_flags, output_file);-
3658 }
executed 63 times by 1 test: end of block
Executed by:
  • dd
63
3659 else-
3660 {-
3661 mode_t perms = (-
3662 0400 -
3663 | -
3664 0200 -
3665 | -
3666 (0400 >> 3) -
3667 | -
3668 (0200 >> 3) -
3669 | -
3670 ((0400 >> 3) >> 3) -
3671 | -
3672 ((0200 >> 3) >> 3)-
3673 );-
3674 int opts-
3675 = (output_flags-
3676 | (conversions_mask & C_NOCREAT ? 0 : -
3677 0100-
3678 )-
3679 | (conversions_mask & C_EXCL ? -
3680 0200 -
3681 : 0)-
3682 | (seek_records || (conversions_mask & C_NOTRUNC) ? 0 : -
3683 01000-
3684 ));-
3685-
3686-
3687-
3688-
3689 if ((! seek_records
! seek_recordsDescription
TRUEevaluated 543 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
20-543
3690 || ifd_reopen (
ifd_reopen ( 1...ts, perms) < 0Description
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
0-20
3691 1
ifd_reopen ( 1...ts, perms) < 0Description
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
0-20
3692 , output_file,
ifd_reopen ( 1...ts, perms) < 0Description
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
0-20
3693 02
ifd_reopen ( 1...ts, perms) < 0Description
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
0-20
3694 | opts, perms) < 0
ifd_reopen ( 1...ts, perms) < 0Description
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • dd
)
0-20
3695 && (
(ifd_reopen ( ...s, perms) < 0)Description
TRUEnever evaluated
FALSEevaluated 543 times by 1 test
Evaluated by:
  • dd
ifd_reopen (
(ifd_reopen ( ...s, perms) < 0)Description
TRUEnever evaluated
FALSEevaluated 543 times by 1 test
Evaluated by:
  • dd
0-543
3696 1
(ifd_reopen ( ...s, perms) < 0)Description
TRUEnever evaluated
FALSEevaluated 543 times by 1 test
Evaluated by:
  • dd
0-543
3697 , output_file,
(ifd_reopen ( ...s, perms) < 0)Description
TRUEnever evaluated
FALSEevaluated 543 times by 1 test
Evaluated by:
  • dd
0-543
3698 01
(ifd_reopen ( ...s, perms) < 0)Description
TRUEnever evaluated
FALSEevaluated 543 times by 1 test
Evaluated by:
  • dd
0-543
3699 | opts, perms)
(ifd_reopen ( ...s, perms) < 0)Description
TRUEnever evaluated
FALSEevaluated 543 times by 1 test
Evaluated by:
  • dd
0-543
3700 < 0)
(ifd_reopen ( ...s, perms) < 0)Description
TRUEnever evaluated
FALSEevaluated 543 times by 1 test
Evaluated by:
  • dd
)
0-543
3701 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3702 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3703 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3704 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3705 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3706 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3707 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3708 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3709 "failed to open %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3710 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3711 , quotearg_style (shell_escape_always_quoting_style, output_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3712 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3713 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3714 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3715 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3716 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3717 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3718 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3719 "failed to open %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3720 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3721 , quotearg_style (shell_escape_always_quoting_style, output_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3722 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3723 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3724 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to open %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dumm... ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to open %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3725-
3726 if (seek_records != 0
seek_records != 0Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 543 times by 1 test
Evaluated by:
  • dd
&& !(conversions_mask & C_NOTRUNC)
!(conversions_...k & C_NOTRUNC)Description
TRUEevaluated 17 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
)
3-543
3727 {-
3728 uintmax_t size = seek_records * output_blocksize + seek_bytes;-
3729 unsigned long int obs = output_blocksize;-
3730-
3731 if (((
((off_t) (! (!...< seek_recordsDescription
TRUEnever evaluated
FALSEevaluated 17 times by 1 test
Evaluated by:
  • dd
off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1))) / output_blocksize < seek_records
((off_t) (! (!...< seek_recordsDescription
TRUEnever evaluated
FALSEevaluated 17 times by 1 test
Evaluated by:
  • dd
)
0-17
3732 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3733 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3734 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3735 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3736 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3737 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3738 "offset too large: " "cannot truncate to a length of seek=%"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3739 "l" "u"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3740 "" " (%lu-byte) blocks"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3741 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3742 , seek_records, obs), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3743 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3744 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3745 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3746 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3747 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3748 "offset too large: " "cannot truncate to a length of seek=%"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3749 "l" "u"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3750 "" " (%lu-byte) blocks"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3751 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3752 , seek_records, obs), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3753 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3754 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
37550
37560
37570
3758 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"offset too large: \" \"cannot truncate to a length of seek=%\"\"l\" \"u\"\"\" \" (%lu-byte) blocks\", 5), seek_records, obs), assume (false))" ")")...(void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , 0, dcgettext (((void *)0), "offset too large: " "cannot truncate to a length of seek=%" "l" "u" "" " (%lu-byte) blocks" , 5) , seek_records, obs), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3759-
3760 if (iftruncate (
iftruncate ( 1 , size) != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 14 times by 1 test
Evaluated by:
  • dd
3-14
3761 1
iftruncate ( 1 , size) != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 14 times by 1 test
Evaluated by:
  • dd
3-14
3762 , size) != 0
iftruncate ( 1 , size) != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 14 times by 1 test
Evaluated by:
  • dd
)
3-14
3763 {-
3764-
3765-
3766-
3767-
3768-
3769 int ftruncate_errno = -
3770 (*__errno_location ())-
3771 ;-
3772 struct stat stdout_stat;-
3773 if (fstat (
fstat ( 1 , &stdout_stat) != 0Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3774 1
fstat ( 1 , &stdout_stat) != 0Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3775 , &stdout_stat) != 0
fstat ( 1 , &stdout_stat) != 0Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
)
0-3
3776 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3777 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3778 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3779 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3780 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3781 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3782 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3783 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3784 "cannot fstat %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3785 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3786 , quotearg_style (shell_escape_always_quoting_style, output_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3787 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3788 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3789 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3790 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3791 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3792 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3793 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3794 "cannot fstat %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3795 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3796 , quotearg_style (shell_escape_always_quoting_style, output_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3797 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3798 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3799 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot fstat %s\", 5), quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy;... 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot fstat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3800 if (-
3801 ((((
(((( stdout_st... == (0100000))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3802 stdout_stat.st_mode
(((( stdout_st... == (0100000))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3803 )) & 0170000) == (0100000))
(((( stdout_st... == (0100000))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3804 -
3805 || -
3806 ((((
(((( stdout_st... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3807 stdout_stat.st_mode
(((( stdout_st... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3808 )) & 0170000) == (0040000))
(((( stdout_st... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3809 -
3810 || -
3811 ((
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3812 &stdout_stat
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3813 )->st_mode - (
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3814 &stdout_stat
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3815 )->st_mode)
(( &stdout_sta...at )->st_mode)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
0-3
3816 )-
3817 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3818 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3819 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, output_file)), assume (false))" ")"); int _gl_dummy; })) ? ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3820 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3821 , ftruncate_errno,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3822 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3823 "failed to truncate to %"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3824 "l" "u"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3825 " bytes" " in output file %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3826 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3827 , size, quotearg_style (shell_escape_always_quoting_style, output_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3828 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3829 ) ? (void) 0 : __builtin_unreachable ()))) : ((nl_error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3830 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3831 , ftruncate_errno,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3832 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3833 "failed to truncate to %"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3834 "l" "u"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3835 " bytes" " in output file %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3836 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3837 , size, quotearg_style (shell_escape_always_quoting_style, output_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3838 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3839 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
38400
38410
3842 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, ftruncate_errno, dcgettext (((void *)0), \"failed to truncate to %\"\"l\" \"u\"\" bytes\" \" in output file %s\", 5), size, quotearg_style (shell_escape_always_quoting_style, o...) : ((nl_error ( 1 , ftruncate_errno, dcgettext (((void *)0), "failed to truncate to %" "l" "u" " bytes" " in output file %s" , 5) , size, quotearg_style (shell_escape_always_quoting_style, output_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
3843 }
executed 3 times by 1 test: end of block
Executed by:
  • dd
3
3844 }
executed 17 times by 1 test: end of block
Executed by:
  • dd
17
3845 }
executed 563 times by 1 test: end of block
Executed by:
  • dd
563
3846-
3847 start_time = gethrxtime ();-
3848 next_time = start_time + 1000000000;-
3849-
3850 exit_status = dd_copy ();-
3851-
3852 if (max_records == 0
max_records == 0Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 593 times by 1 test
Evaluated by:
  • dd
&& max_bytes == 0
max_bytes == 0Description
TRUEevaluated 26 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
1-593
3853 {-
3854-
3855 if (i_nocache
i_nocacheDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 22 times by 1 test
Evaluated by:
  • dd
&& !invalidate_cache (
!invalidate_cache ( 0 , 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
1-22
3856 0
!invalidate_cache ( 0 , 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
1-3
3857 , 0)
!invalidate_cache ( 0 , 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 3 times by 1 test
Evaluated by:
  • dd
)
1-3
3858 {-
3859 nl_error (0, -
3860 (*__errno_location ())-
3861 , -
3862 dcgettext (((void *)0), -
3863 "failed to discard cache for: %s"-
3864 , 5)-
3865 ,-
3866 quotearg_n_style_colon (0, shell_escape_quoting_style, input_file));-
3867 exit_status = -
3868 1-
3869 ;-
3870 }
executed 1 time by 1 test: end of block
Executed by:
  • dd
1
3871 if (o_nocache
o_nocacheDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • dd
FALSEevaluated 25 times by 1 test
Evaluated by:
  • dd
&& !invalidate_cache (
!invalidate_cache ( 1 , 0)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-25
3872 1
!invalidate_cache ( 1 , 0)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
0-1
3873 , 0)
!invalidate_cache ( 1 , 0)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dd
)
0-1
3874 {-
3875 nl_error (0, -
3876 (*__errno_location ())-
3877 , -
3878 dcgettext (((void *)0), -
3879 "failed to discard cache for: %s"-
3880 , 5)-
3881 ,-
3882 quotearg_n_style_colon (0, shell_escape_quoting_style, output_file));-
3883 exit_status = -
3884 1-
3885 ;-
3886 }
never executed: end of block
0
3887 }
executed 26 times by 1 test: end of block
Executed by:
  • dd
26
3888 else-
3889 {-
3890-
3891 if (i_nocache
i_nocacheDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 587 times by 1 test
Evaluated by:
  • dd
|| i_nocache_eof
i_nocache_eofDescription
TRUEnever evaluated
FALSEevaluated 587 times by 1 test
Evaluated by:
  • dd
)
0-587
3892 invalidate_cache (
executed 7 times by 1 test: invalidate_cache ( 0 , 0);
Executed by:
  • dd
7
3893 0
executed 7 times by 1 test: invalidate_cache ( 0 , 0);
Executed by:
  • dd
7
3894 , 0);
executed 7 times by 1 test: invalidate_cache ( 0 , 0);
Executed by:
  • dd
7
3895 if (o_nocache
o_nocacheDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 590 times by 1 test
Evaluated by:
  • dd
|| o_nocache_eof
o_nocache_eofDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • dd
FALSEevaluated 585 times by 1 test
Evaluated by:
  • dd
)
4-590
3896 invalidate_cache (
executed 9 times by 1 test: invalidate_cache ( 1 , 0);
Executed by:
  • dd
9
3897 1
executed 9 times by 1 test: invalidate_cache ( 1 , 0);
Executed by:
  • dd
9
3898 , 0);
executed 9 times by 1 test: invalidate_cache ( 1 , 0);
Executed by:
  • dd
9
3899 }
executed 594 times by 1 test: end of block
Executed by:
  • dd
594
3900-
3901 finish_up ();-
3902 return
executed 620 times by 1 test: return exit_status;
Executed by:
  • dd
exit_status;
executed 620 times by 1 test: return exit_status;
Executed by:
  • dd
620
3903}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2