| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ptx.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | enum Format | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | UNKNOWN_FORMAT, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 6 | DUMB_FORMAT, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 7 | ROFF_FORMAT, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 8 | TEX_FORMAT | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | }; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 12 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 13 | gnu_extensions = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 18 | auto_reference = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | input_reference = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | right_reference = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | static ptrdiff_t line_width = 72; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | static ptrdiff_t gap_size = 3; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 33 | static const char *truncation_string = "/"; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 34 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 35 | static const char *macro_name = "xx"; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 36 | static enum Format output_format = UNKNOWN_FORMAT; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 37 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 38 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 39 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 40 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 41 | ignore_case = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 42 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 43 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 44 | static const char *break_file = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 45 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 46 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 47 | static const char *only_file = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 48 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 49 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 50 | static const char *ignore_file = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 51 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 52 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 53 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 54 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 55 | struct regex_data | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 56 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 57 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 58 | char const *string; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 59 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 60 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 61 | struct re_pattern_buffer pattern; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 62 | char fastmap[ | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 63 | (0x7f * 2 + 1) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 64 | + 1]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 65 | }; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 66 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 67 | static struct regex_data context_regex; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 68 | static struct regex_data word_regex; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 69 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 70 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 71 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 72 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 73 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 74 | typedef struct | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 75 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 76 | char *start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 77 | char *end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 78 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 79 | BLOCK; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 80 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 81 | typedef struct | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 82 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 83 | char *start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 84 | ptrdiff_t size; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 85 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 86 | WORD; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 87 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 88 | typedef struct | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 89 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 90 | WORD *start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 91 | size_t alloc; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 92 | ptrdiff_t length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 93 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 94 | WORD_TABLE; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 95 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 96 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 97 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 98 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 99 | static unsigned char folded_chars[256]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 100 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 101 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 102 | static struct re_registers context_regs; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 103 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 104 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 105 | static struct re_registers word_regs; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 106 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 107 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 108 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 109 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 110 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 111 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 112 | static char word_fastmap[256]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 113 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 114 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 115 | static ptrdiff_t maximum_word_length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 116 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 117 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 118 | static ptrdiff_t reference_max_width; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 119 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 120 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 121 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 122 | static WORD_TABLE ignore_table; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 123 | static WORD_TABLE only_table; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 124 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 125 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 126 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 127 | static int number_input_files; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 128 | static intmax_t total_line_count; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 129 | static const char **input_file_name; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 130 | static intmax_t *file_line_count; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 131 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 132 | static BLOCK *text_buffers; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 133 | typedef struct | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 134 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 135 | WORD key; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 136 | ptrdiff_t left; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 137 | ptrdiff_t right; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 138 | intmax_t reference; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 139 | int file_index; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 140 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 141 | OCCURS; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 142 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 143 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 144 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 145 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 146 | static OCCURS *occurs_table[1]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 147 | static size_t occurs_alloc[1]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 148 | static ptrdiff_t number_of_occurs[1]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 149 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 150 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 151 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 152 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 153 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 154 | static char edited_flag[256]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 155 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 156 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 157 | static ptrdiff_t half_line_width; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 158 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 159 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 160 | static ptrdiff_t before_max_width; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 161 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 162 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 163 | static ptrdiff_t keyafter_max_width; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 164 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 165 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 166 | static ptrdiff_t truncation_string_length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 167 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 168 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 169 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 170 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 171 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 172 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 173 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 174 | static BLOCK tail; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 175 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 176 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 177 | tail_truncation; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 178 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 179 | static BLOCK before; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 180 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 181 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 182 | before_truncation; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 183 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 184 | static BLOCK keyafter; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 185 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 186 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 187 | keyafter_truncation; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 188 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 189 | static BLOCK head; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 190 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 191 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 192 | head_truncation; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 193 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 194 | static BLOCK reference; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 195 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 196 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 197 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 198 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 199 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 200 | static void __attribute__ ((__noreturn__)) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 201 | matcher_error (void) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 202 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 203 | ((!!sizeof (struct { _Static_assert ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 204 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 205 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error in regular expression matcher\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 206 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 207 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 208 | (*__errno_location ()) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 209 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 210 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 211 | "error in regular expression matcher" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 212 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 213 | ), (( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 214 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 215 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 216 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 217 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 218 | (*__errno_location ()) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 219 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 220 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 221 | "error in regular expression matcher" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 222 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 223 | ), (( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 224 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 225 | ) ? (void) 0 : __builtin_unreachable ())))); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 226 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 227 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 228 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 229 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 230 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 231 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 232 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 233 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 234 | static char * | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 235 | copy_unescaped_string (const char *string) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 236 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 237 | char *result; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 238 | char *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 239 | int value; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 240 | int length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 241 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 242 | result = xmalloc (strlen (string) + 1); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 243 | cursor = result; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 244 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 245 | while (*
| 12-49 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 246 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 247 | if (*
| 4-45 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 248 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 249 | string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | switch (*string) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 251 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 252 | case never executed: 'x':case 'x':never executed: case 'x': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 253 | value = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 254 | for (length = 0, string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 255 | length < 3
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 256 | ((*
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 257 | to_uchar (*string)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 258 | ))] & (unsigned short int) _ISxdigit)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 259 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 260 | length++, string++) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 261 | value = value * 16 + ((*
never executed: value = value * 16 + ((*string) >= 'a' && (*string) <= 'f' ? (*string)-'a'+10 : (*string) >= 'A' && (*string) <= 'F' ? (*string)-'A'+10 : (*string)-'0'); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 262 | if (length == 0
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 263 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 264 | *cursor++ = '\\'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 265 | *cursor++ = 'x'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 266 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 267 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 268 | * never executed: cursor++ = value;*cursor++ = value;never executed: *cursor++ = value; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 269 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 270 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 271 | case never executed: '0':case '0':never executed: case '0': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 272 | value = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 273 | for (length = 0, string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 274 | length < 3
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 275 | length++, string++) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 276 | value = value * 8 + ((*string) - '0'); never executed: value = value * 8 + ((*string) - '0'); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 277 | *cursor++ = value; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 278 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 279 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 280 | case never executed: 'a':case 'a':never executed: case 'a': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 281 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 282 | *cursor++ = '\a'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 283 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 284 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 285 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 286 | string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 287 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 288 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 289 | case never executed: 'b':case 'b':never executed: case 'b': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 290 | *cursor++ = '\b'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 291 | string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 292 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 293 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 294 | case never executed: 'c':case 'c':never executed: case 'c': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 295 | while (*
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 296 | string++; never executed: string++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 297 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 298 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 299 | case never executed: 'f':case 'f':never executed: case 'f': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 300 | *cursor++ = '\f'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 301 | string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 302 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 303 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 304 | case never executed: 'n':case 'n':never executed: case 'n': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 305 | *cursor++ = '\n'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 306 | string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 307 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 308 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 309 | case never executed: 'r':case 'r':never executed: case 'r': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 310 | *cursor++ = '\r'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 311 | string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 312 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 313 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 314 | case never executed: 't':case 't':never executed: case 't': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 315 | *cursor++ = '\t'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 316 | string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 317 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 318 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 319 | case never executed: 'v':case 'v':never executed: case 'v': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 320 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 321 | *cursor++ = '\v'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 322 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 323 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 324 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 325 | string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 326 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 327 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 328 | case executed 3 times by 1 test: '\0':case '\0':Executed by:
executed 3 times by 1 test: case '\0':Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 329 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 330 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 331 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 332 | default executed 1 time by 1 test: :default:Executed by:
executed 1 time by 1 test: default:Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 333 | *cursor++ = '\\'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 334 | *cursor++ = *string++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 335 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 336 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 337 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 338 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 339 | * executed 45 times by 1 test: cursor++ = *string++;*cursor++ = *string++;Executed by:
executed 45 times by 1 test: *cursor++ = *string++;Executed by:
| 45 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 340 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 341 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 342 | *cursor = '\0'; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 343 | return executed 12 times by 1 test: result;return result;Executed by:
executed 12 times by 1 test: return result;Executed by:
| 12 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 344 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 345 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 346 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 347 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 348 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 349 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 350 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 351 | compile_regex (struct regex_data *regex) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 352 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 353 | struct re_pattern_buffer *pattern = ®ex->pattern; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 354 | char const *string = regex->string; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 355 | char const *message; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 356 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 357 | pattern->buffer = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 358 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 359 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 360 | pattern->allocated = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 361 | pattern->fastmap = regex->fastmap; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 362 | pattern->translate = ignore_case
| 0-30 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 363 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 364 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 365 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 366 | message = re_compile_pattern (string, strlen (string), pattern); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 367 | if (message
| 0-30 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 368 | (( never executed: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 369 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 370 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 371 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 372 | , 0, never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 373 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 374 | "%s (for regexp %s)" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 375 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 376 | , message, quote (string)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 377 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 378 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 379 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 380 | , 0, never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 381 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 382 | "%s (for regexp %s)" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 383 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 384 | , message, quote (string)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 385 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 386 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s (for regexp %s)\", 5), message, quote (string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s (for regexp %s)" , 5) , message, quote (string)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 387 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 388 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 389 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 390 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 391 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 392 | re_compile_fastmap (pattern); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 393 | } executed 30 times by 1 test: end of blockExecuted by:
| 30 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 394 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 395 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 396 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 397 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 398 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 399 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 400 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 401 | initialize_regex (void) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 402 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 403 | int character; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 404 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 405 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 406 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 407 | if (ignore_case
| 0-29 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 408 | for (character = 0; character < 256
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 409 | folded_chars[character] = never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 410 | (__extension__ ({ int __res; if (sizeof (
never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 411 | character
never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 412 | ) > 1
never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 413 | character
never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 414 | )
never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 415 | character never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 416 | ); __res = __c < -128
never executed: else __res = toupper (end of blocknever executed: __res = toupper ( character );never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 417 | character never executed: __res = toupper ( character );never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 418 | ); never executed: } else __res = (*__ctype_toupper_loc ())[(int) (__res = toupper ( character );never executed: __res = (*__ctype_toupper_loc ())[(int) ( character )];never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 419 | character never executed: __res = (*__ctype_toupper_loc ())[(int) ( character )];never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 420 | )]; never executed: __res; }))__res = (*__ctype_toupper_loc ())[(int) ( character )];never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 421 | ; never executed: folded_chars[character] = (__extension__ ({ int __res; if (sizeof ( character ) > 1) { if (__builtin_constant_p ( character )) { int __c = ( character ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( character ); } else __res = (*__ctype_toupper_loc ())[(int) ( character )]; __res; })) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 422 | if (context_regex.string
| 4-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 423 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 424 | if (!*context_regex.string
| 0-4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 425 | context_regex.string = never executed: context_regex.string = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 426 | ((void *)0) never executed: context_regex.string = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 427 | ; never executed: context_regex.string = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 428 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 429 | else if (gnu_extensions
| 0-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 430 | context_regex.string = "[.?!][]\"')}]*\\($\\|\t\\| \\)[ \t\n]*"; executed 25 times by 1 test: context_regex.string = "[.?!][]\"')}]*\\($\\|\t\\| \\)[ \t\n]*";Executed by:
| 25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 431 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 432 | context_regex.string = "\n"; never executed: context_regex.string = "\n"; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 433 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 434 | if (context_regex.string
| 0-29 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 435 | compile_regex (&context_regex); executed 29 times by 1 test: compile_regex (&context_regex);Executed by:
| 29 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 436 | if (word_regex.string
| 1-28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 437 | compile_regex (&word_regex); executed 1 time by 1 test: compile_regex (&word_regex);Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 438 | else if (!break_file
| 0-28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 439 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 440 | if (gnu_extensions
| 0-28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 441 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 442 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 443 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 444 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 445 | for (character = 0; character < 256
| 28-7168 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 446 | word_fastmap[character] = !! executed 7168 times by 1 test: word_fastmap[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISalpha) ;Executed by:
| 7168 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 447 | ((*__ctype_b_loc ())[(int) (( executed 7168 times by 1 test: word_fastmap[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISalpha) ;Executed by:
| 7168 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 448 | character executed 7168 times by 1 test: word_fastmap[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISalpha) ;Executed by:
| 7168 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 449 | ))] & (unsigned short int) _ISalpha) executed 7168 times by 1 test: word_fastmap[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISalpha) ;Executed by:
| 7168 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 450 | ; executed 7168 times by 1 test: word_fastmap[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISalpha) ;Executed by:
| 7168 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 451 | } executed 28 times by 1 test: end of blockExecuted by:
| 28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 452 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 453 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 454 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 455 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 456 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 457 | memset (word_fastmap, 1, 256); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 458 | word_fastmap[' '] = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 459 | word_fastmap['\t'] = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 460 | word_fastmap['\n'] = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 461 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 462 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 463 | } executed 29 times by 1 test: end of blockExecuted by:
| 29 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 464 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 465 | swallow_file_in_memory (const char *file_name, BLOCK *block) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 466 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 467 | size_t used_length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 468 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 469 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 470 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 471 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 472 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 473 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 474 | using_stdin = !file_name
| 0-16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 475 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 476 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 477 | ) && __builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 478 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 479 | ) && (__s1_len = __builtin_strlen (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 480 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 481 | ), __s2_len = __builtin_strlen (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 482 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 483 | ), (!((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 484 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 485 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 486 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 487 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 488 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 489 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 490 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 491 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 492 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 493 | ,
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 494 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 495 | ) : (__builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 496 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 497 | ) && ((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 498 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 499 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 500 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 501 | ) == 1) && (__s1_len = __builtin_strlen (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 502 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 503 | ), __s1_len < 4) ? (__builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 504 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 505 | ) && ((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 506 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 507 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 508 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 509 | ) == 1) ? __builtin_strcmp (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 510 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 511 | ,
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 512 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 513 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 514 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 515 | ); int __result = (((const unsigned char *) (const char *) (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 516 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 517 | ))[0] - __s2[0]); if (__s1_len > 0
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 518 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 519 | ))[1] - __s2[1]); if (__s1_len > 1
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 520 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 521 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]);
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 522 | file_name
never executed: __result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]); | 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 523 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : (__builtin_constant_p (end of block
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 524 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 525 | ) && ((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 526 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 527 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 528 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 529 | ) == 1) && (__s2_len = __builtin_strlen (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 530 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 531 | ), __s2_len < 4) ? (__builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 532 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 533 | ) && ((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 534 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 535 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 536 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 537 | ) == 1) ? __builtin_strcmp (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 538 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 539 | ,
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 540 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 541 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 542 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 543 | ); int __result = (((const unsigned char *) (const char *) (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 544 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 545 | ))[0] - __s2[0]); if (__s2_len > 0
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 546 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 547 | ))[1] - __s2[1]); if (__s2_len > 1
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 548 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 549 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 550 | "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 551 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : __builtin_strcmp (end of block
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 552 | file_name
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 553 | ,
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 554 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 555 | )))); })
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 556 | == 0)
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 557 | if (using_stdin
| 15-16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 558 | block->start = fread_file ( executed 16 times by 1 test: block->start = fread_file ( stdin , &used_length);Executed by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 559 | stdin executed 16 times by 1 test: block->start = fread_file ( stdin , &used_length);Executed by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 560 | , &used_length); executed 16 times by 1 test: block->start = fread_file ( stdin , &used_length);Executed by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 561 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 562 | block->start = read_file (file_name, &used_length); executed 15 times by 1 test: block->start = read_file (file_name, &used_length);Executed by:
| 15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 563 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 564 | if (!block->start
| 0-31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 565 | (( never executed: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 566 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 567 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 568 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 569 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 570 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 571 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 572 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 573 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 574 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 575 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 576 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 577 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 578 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 579 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? \"-\" : file_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( ...n ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, using_stdin ? "-" : file_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 580 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 581 | block->end = block->start + used_length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 582 | } executed 31 times by 1 test: end of blockExecuted by:
| 31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 583 | static int | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 584 | compare_words (const void *void_first, const void *void_second) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 585 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 586 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 587 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 588 | ptrdiff_t length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 589 | ptrdiff_t counter; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 590 | int value; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 591 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 592 | length = ((const
| 19-21 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 593 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 594 | if (ignore_case
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 595 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 596 | for (counter = 0; counter < length
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 597 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 598 | value = (folded_chars [to_uchar (((const WORD *) void_first)->start[counter])] | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 599 | - folded_chars [to_uchar (((const WORD *) void_second)->start[counter])]); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 600 | if (value != 0
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 601 | return never executed: value;return value;never executed: return value; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 602 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 603 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 604 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 605 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 606 | for (counter = 0; counter < length
| 7-68 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 607 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 608 | value = (to_uchar (((const WORD *) void_first)->start[counter]) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 609 | - to_uchar (((const WORD *) void_second)->start[counter])); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 610 | if (value != 0
| 33-35 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 611 | return executed 33 times by 1 test: value;return value;Executed by:
executed 33 times by 1 test: return value;Executed by:
| 33 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 612 | } executed 35 times by 1 test: end of blockExecuted by:
| 35 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 613 | } executed 7 times by 1 test: end of blockExecuted by:
| 7 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 614 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 615 | return executed 7 times by 1 test: ((const WORD *) void_first)->size < ((const WORD *) void_second)->size ? -1 : ((const WORD *) void_first)->size > ((const WORD *) void_second)->size;return ((const WORD *) void_first)->size < ((const WORD *) void_second)->size ? -1 : ((const WORD *) void_first)->size > ((const WORD *) void_second)->size;Executed by:
executed 7 times by 1 test: return ((const WORD *) void_first)->size < ((const WORD *) void_second)->size ? -1 : ((const WORD *) void_first)->size > ((const WORD *) void_second)->size;Executed by:
| 7 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 616 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 617 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 618 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 619 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 620 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 621 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 622 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 623 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 624 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 625 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 626 | static int | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 627 | compare_occurs (const void *void_first, const void *void_second) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 628 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 629 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 630 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 631 | int value; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 632 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 633 | value = compare_words (&((const OCCURS *) void_first)->key, &((const OCCURS *) void_second)->key); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 634 | return executed 40 times by 1 test: (value ? valuereturn (value ? value : ((const OCCURS *) void_first)->key.start < ((const OCCURS *) void_second)->key.start ? -1 : ((const OCCURS *) void_first)->key.start > ((const OCCURS *) void_second)->key.start);Executed by:
executed 40 times by 1 test: return (value ? value : ((const OCCURS *) void_first)->key.start < ((const OCCURS *) void_second)->key.start ? -1 : ((const OCCURS *) void_first)->key.start > ((const OCCURS *) void_second)->key.start);Executed by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 635 | : ((const OCCURS *) void_first)->key.start < ((const OCCURS *) void_second)->key.start ? -1 executed 40 times by 1 test: return (value ? value : ((const OCCURS *) void_first)->key.start < ((const OCCURS *) void_second)->key.start ? -1 : ((const OCCURS *) void_first)->key.start > ((const OCCURS *) void_second)->key.start);Executed by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 636 | : ((const OCCURS *) void_first)->key.start > ((const OCCURS *) void_second)->key.start); executed 40 times by 1 test: return (value ? value : ((const OCCURS *) void_first)->key.start < ((const OCCURS *) void_second)->key.start ? -1 : ((const OCCURS *) void_first)->key.start > ((const OCCURS *) void_second)->key.start);Executed by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 637 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 638 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 639 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 640 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 641 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 642 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 643 | static | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 644 | _Bool | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 645 | __attribute__ ((__pure__)) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 646 | search_table (WORD *word, WORD_TABLE *table) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 647 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 648 | ptrdiff_t lowest; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 649 | ptrdiff_t highest; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 650 | ptrdiff_t middle; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 651 | int value; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 652 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 653 | lowest = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 654 | highest = table->length - 1; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 655 | while (lowest <= highest
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 656 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 657 | middle = (lowest + highest) / 2; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 658 | value = compare_words (word, table->start + middle); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 659 | if (value < 0
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 660 | highest = middle - 1; never executed: highest = middle - 1; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 661 | else if (value > 0
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 662 | lowest = middle + 1; never executed: lowest = middle + 1; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 663 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 664 | return never executed: return 1 ;never executed: return 1 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 665 | 1 never executed: return 1 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 666 | ; never executed: return 1 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 667 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 668 | return never executed: return 0 ;never executed: return 0 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 669 | 0 never executed: return 0 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 670 | ; never executed: return 0 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 671 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 672 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 673 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 674 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 675 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 676 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 677 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 678 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 679 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 680 | sort_found_occurs (void) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 681 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 682 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 683 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 684 | if (number_of_occurs[0]
| 4-22 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 685 | qsort (occurs_table[0], number_of_occurs[0], sizeof **occurs_table, executed 22 times by 1 test: qsort (occurs_table[0], number_of_occurs[0], sizeof **occurs_table, compare_occurs);Executed by:
| 22 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 686 | compare_occurs); executed 22 times by 1 test: qsort (occurs_table[0], number_of_occurs[0], sizeof **occurs_table, compare_occurs);Executed by:
| 22 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 687 | } executed 26 times by 1 test: end of blockExecuted by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 688 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 689 | digest_break_file (const char *file_name) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 690 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 691 | BLOCK file_contents; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 692 | char *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 693 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 694 | swallow_file_in_memory (file_name, &file_contents); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 695 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 696 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 697 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 698 | memset (word_fastmap, 1, 256); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 699 | for (cursor = file_contents.start; cursor < file_contents.end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 700 | word_fastmap[to_uchar (*cursor)] = 0; never executed: word_fastmap[to_uchar (*cursor)] = 0; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 701 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 702 | if (!gnu_extensions
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 703 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 704 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 705 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 706 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 707 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 708 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 709 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 710 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 711 | word_fastmap[' '] = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 712 | word_fastmap['\t'] = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 713 | word_fastmap['\n'] = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 714 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 715 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 716 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 717 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 718 | free (file_contents.start); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 719 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 720 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 721 | digest_word_file (const char *file_name, WORD_TABLE *table) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 722 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 723 | BLOCK file_contents; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 724 | char *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 725 | char *word_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 726 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 727 | swallow_file_in_memory (file_name, &file_contents); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 728 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 729 | table->start = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 730 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 731 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 732 | table->alloc = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 733 | table->length = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 734 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 735 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 736 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 737 | cursor = file_contents.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 738 | while (cursor < file_contents.end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 739 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 740 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 741 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 742 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 743 | word_start = cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 744 | while (cursor < file_contents.end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 745 | cursor++; never executed: cursor++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 746 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 747 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 748 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 749 | if (cursor > word_start
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 750 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 751 | if (table->length == table->alloc
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 752 | table->start = x2nrealloc (table->start, &table->alloc, never executed: table->start = x2nrealloc (table->start, &table->alloc, sizeof *table->start); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 753 | sizeof *table->start); never executed: table->start = x2nrealloc (table->start, &table->alloc, sizeof *table->start); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 754 | table->start[table->length].start = word_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 755 | table->start[table->length].size = cursor - word_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 756 | table->length++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 757 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 758 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 759 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 760 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 761 | if (cursor < file_contents.end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 762 | cursor++; never executed: cursor++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 763 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 764 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 765 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 766 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 767 | qsort (table->start, table->length, sizeof table->start[0], compare_words); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 768 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 769 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 770 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 771 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 772 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 773 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 774 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 775 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 776 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 777 | find_occurs_in_text (int file_index) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 778 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 779 | char *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 780 | char *scan; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 781 | char *line_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 782 | char *line_scan; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 783 | ptrdiff_t reference_length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 784 | WORD possible_key; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 785 | OCCURS *occurs_cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 786 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 787 | char *context_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 788 | char *context_end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 789 | char *word_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 790 | char *word_end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 791 | char *next_context_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 792 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 793 | const BLOCK *text_buffer = &text_buffers[file_index]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 794 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 795 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 796 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 797 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 798 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 799 | reference_length = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 800 | line_start = text_buffer->start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 801 | line_scan = line_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 802 | if (input_reference
| 0-31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 803 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 804 | while (line_scan < text_buffer->end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 805 | ((*__ctype_b_loc ())[(int) ((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 806 | to_uchar (*line_scan)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 807 | ))] & (unsigned short int) _ISspace)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 808 | ) line_scan++; never executed: line_scan++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 809 | reference_length = line_scan - line_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 810 | while (line_scan < text_buffer->end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 811 | ((*
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 812 | to_uchar (*line_scan)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 813 | ))] & (unsigned short int) _ISspace)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 814 | ) line_scan++; never executed: line_scan++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 815 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 816 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 817 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 818 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 819 | for (cursor = text_buffer->start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 820 | cursor < text_buffer->end
| 28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 821 | cursor = next_context_start) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 822 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 823 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 824 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 825 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 826 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 827 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 828 | context_start = cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 829 | next_context_start = text_buffer->end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 830 | if (context_regex.string
| 0-28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 831 | switch (re_search (&context_regex.pattern, cursor, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 832 | text_buffer->end - cursor, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 833 | 0, text_buffer->end - cursor, &context_regs)) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 834 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 835 | case never executed: -2:case -2:never executed: case -2: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 836 | matcher_error (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 837 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 838 | case executed 25 times by 1 test: case -1:Executed by:
code before this statement never executed: case -1:executed 25 times by 1 test: -1:case -1:Executed by:
code before this statement never executed: case -1:executed 25 times by 1 test: case -1:Executed by:
| 0-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 839 | break; executed 25 times by 1 test: break;Executed by:
| 25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 840 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 841 | case executed 3 times by 1 test: 0:case 0:Executed by:
executed 3 times by 1 test: case 0:Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 842 | ((!!sizeof (struct { _Static_assert ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 843 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 844 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error: regular expression has a match of length zero: %s\", 5), quote (context_regex.string)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 845 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 846 | , 0, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 847 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 848 | "error: regular expression has a match of length zero: %s" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 849 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 850 | , quote (context_regex.string)), (( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 851 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 852 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 853 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 854 | , 0, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 855 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 856 | "error: regular expression has a match of length zero: %s" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 857 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 858 | , quote (context_regex.string)), (( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 859 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 860 | ) ? (void) 0 : __builtin_unreachable ())))) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 861 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 862 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 863 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 864 | default never executed: :default:never executed: default:code before this statement never executed: default: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 865 | next_context_start = cursor + context_regs.end[0]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 866 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 867 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 868 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 869 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 870 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 871 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 872 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 873 | context_end = next_context_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 874 | while (context_end > context_start
| 0-48 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 875 | ((*
| 23-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 876 | to_uchar (context_end[-1])
| 23-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 877 | ))] & (unsigned short int) _ISspace)
| 23-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 878 | ) context_end--; executed 23 times by 1 test: context_end--;Executed by:
| 23 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 879 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 880 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 881 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 882 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 883 | while (1) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 884 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 885 | if (word_regex.string
| 0-65 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 886 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 887 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 888 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 889 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 890 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 891 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 892 | regoff_t r = re_search (&word_regex.pattern, cursor, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 893 | context_end - cursor, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 894 | 0, context_end - cursor, &word_regs); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 895 | if (r == -2
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 896 | matcher_error (); never executed: matcher_error (); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 897 | if (r == -1
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 898 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 899 | word_start = cursor + word_regs.start[0]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 900 | word_end = cursor + word_regs.end[0]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 901 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 902 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 903 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 904 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 905 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 906 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 907 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 908 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 909 | scan = cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 910 | while (scan < context_end
| 25-68 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 911 | && !word_fastmap[to_uchar (*scan)]
| 28-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 912 | scan++; executed 28 times by 1 test: scan++;Executed by:
| 28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 913 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 914 | if (scan == context_end
| 25-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 915 | break; executed 25 times by 1 test: break;Executed by:
| 25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 916 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 917 | word_start = scan; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 918 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 919 | while (scan < context_end
| 24-145 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 920 | && word_fastmap[to_uchar (*scan)]
| 16-129 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 921 | scan++; executed 129 times by 1 test: scan++;Executed by:
| 129 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 922 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 923 | word_end = scan; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 924 | } executed 40 times by 1 test: end of blockExecuted by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 925 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 926 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 927 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 928 | cursor = word_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 929 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 930 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 931 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 932 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 933 | if (word_end == word_start
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 934 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 935 | cursor++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 936 | continue; never executed: continue; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 937 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 938 | possible_key.start = cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 939 | possible_key.size = word_end - word_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 940 | cursor += possible_key.size; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 941 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 942 | if (possible_key.size > maximum_word_length
| 17-23 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 943 | maximum_word_length = possible_key.size; executed 23 times by 1 test: maximum_word_length = possible_key.size;Executed by:
| 23 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 944 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 945 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 946 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 947 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 948 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 949 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 950 | if (input_reference
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 951 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 952 | while (line_scan < possible_key.start
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 953 | if (*
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 954 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 955 | total_line_count++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 956 | line_scan++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 957 | line_start = line_scan; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 958 | while (line_scan < text_buffer->end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 959 | ((*__ctype_b_loc ())[(int) ((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 960 | to_uchar (*line_scan)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 961 | ))] & (unsigned short int) _ISspace)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 962 | ) line_scan++; never executed: line_scan++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 963 | reference_length = line_scan - line_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 964 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 965 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 966 | line_scan++; never executed: line_scan++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 967 | if (line_scan > possible_key.start
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 968 | continue; never executed: continue; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 969 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 970 | if (ignore_file
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 971 | continue; never executed: continue; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 972 | if (only_file
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 973 | continue; never executed: continue; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 974 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 975 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 976 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 977 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 978 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 979 | if (number_of_occurs[0] == occurs_alloc[0]
| 14-26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 980 | occurs_table[0] = x2nrealloc (occurs_table[0], executed 26 times by 1 test: occurs_table[0] = x2nrealloc (occurs_table[0], &occurs_alloc[0], sizeof *occurs_table[0]);Executed by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 981 | &occurs_alloc[0], executed 26 times by 1 test: occurs_table[0] = x2nrealloc (occurs_table[0], &occurs_alloc[0], sizeof *occurs_table[0]);Executed by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 982 | sizeof *occurs_table[0]); executed 26 times by 1 test: occurs_table[0] = x2nrealloc (occurs_table[0], &occurs_alloc[0], sizeof *occurs_table[0]);Executed by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 983 | occurs_cursor = occurs_table[0] + number_of_occurs[0]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 984 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 985 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 986 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 987 | if (auto_reference
| 1-39 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 988 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 989 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 990 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 991 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 992 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 993 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 994 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 995 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 996 | while (line_scan < possible_key.start
| 0-1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 997 | if (*
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 998 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 999 | total_line_count++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1000 | line_scan++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1001 | line_start = line_scan; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1002 | while (line_scan < text_buffer->end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1003 | ((*__ctype_b_loc ())[(int) ((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1004 | to_uchar (*line_scan)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1005 | ))] & (unsigned short int) _ISspace)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1006 | ) line_scan++; never executed: line_scan++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1007 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1008 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1009 | line_scan++; never executed: line_scan++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1010 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1011 | occurs_cursor->reference = total_line_count; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1012 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1013 | else if (input_reference
| 0-39 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1014 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1015 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1016 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1017 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1018 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1019 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1020 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1021 | occurs_cursor->reference = line_start - possible_key.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1022 | if (reference_length > reference_max_width
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1023 | reference_max_width = reference_length; never executed: reference_max_width = reference_length; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1024 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1025 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1026 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1027 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1028 | if (input_reference
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1029 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1030 | while (context_start < context_end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1031 | ((*__ctype_b_loc ())[(int) ((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1032 | to_uchar (*context_start)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1033 | ))] & (unsigned short int) _ISspace)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1034 | ) context_start++; never executed: context_start++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1035 | while (context_start < context_end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1036 | ((*
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1037 | to_uchar (*context_start)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1038 | ))] & (unsigned short int) _ISspace)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1039 | ) context_start++; never executed: context_start++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1040 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1041 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1042 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1043 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1044 | occurs_cursor->key = possible_key; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1045 | occurs_cursor->left = context_start - possible_key.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1046 | occurs_cursor->right = context_end - possible_key.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1047 | occurs_cursor->file_index = file_index; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1048 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1049 | number_of_occurs[0]++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1050 | } executed 40 times by 1 test: end of blockExecuted by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1051 | } executed 25 times by 1 test: end of blockExecuted by:
| 25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1052 | } executed 28 times by 1 test: end of blockExecuted by:
| 28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1053 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1054 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1055 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1056 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1057 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1058 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1059 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1060 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1061 | print_spaces (ptrdiff_t number) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1062 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1063 | for (ptrdiff_t counter = number; counter > 0
| 104-606 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1064 | putchar_unlocked (' '); executed 606 times by 1 test: putchar_unlocked (' ');Executed by:
| 606 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1065 | } executed 104 times by 1 test: end of blockExecuted by:
| 104 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1066 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1067 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1068 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1069 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1070 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1071 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1072 | print_field (BLOCK field) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1073 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1074 | char *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1075 | int base; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1076 | int diacritic; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1077 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1078 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1079 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1080 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1081 | for (cursor = field.start; cursor < field.end
| 133-670 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1082 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1083 | unsigned char character = *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1084 | if (edited_flag[character]
| 69-601 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1085 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1086 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1087 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1088 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1089 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1090 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1091 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1092 | diacritic = (diacrit_diac[(unsigned char) (character)]); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1093 | if (diacritic != 0
| 0-69 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1094 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1095 | base = (diacrit_base[(unsigned char) (character)]); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1096 | switch (diacritic) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1097 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1098 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1099 | case never executed: 1:case 1:never executed: case 1: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1100 | switch (base) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1101 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1102 | case never executed: 'o':case 'o':never executed: case 'o': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1103 | fputs_unlocked ("\\oe{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1104 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1105 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1106 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1107 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1108 | case never executed: 'O':case 'O':never executed: case 'O': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1109 | fputs_unlocked ("\\OE{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1110 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1111 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1112 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1113 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1114 | case never executed: 'a':case 'a':never executed: case 'a': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1115 | fputs_unlocked ("\\ae{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1116 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1117 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1118 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1119 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1120 | case never executed: 'A':case 'A':never executed: case 'A': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1121 | fputs_unlocked ("\\AE{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1122 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1123 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1124 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1125 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1126 | default never executed: :default:never executed: default: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1127 | putchar_unlocked (' '); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1128 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1129 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1130 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1131 | case never executed: 2:case 2:never executed: case 2: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1132 | printf ("\\'%s%c", (base == 'i' ? "\\" : ""), base); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1133 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1134 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1135 | case never executed: 3:case 3:never executed: case 3: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1136 | printf ("\\'%s%c", (base == 'i' ? "\\" : ""), base); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1137 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1138 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1139 | case never executed: 4:case 4:never executed: case 4: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1140 | printf ("\\^%s%c", (base == 'i' ? "\\" : ""), base); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1141 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1142 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1143 | case never executed: 5:case 5:never executed: case 5: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1144 | printf ("\\\"%s%c", (base == 'i' ? "\\" : ""), base); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1145 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1146 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1147 | case never executed: 6:case 6:never executed: case 6: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1148 | printf ("\\~%s%c", (base == 'i' ? "\\" : ""), base); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1149 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1150 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1151 | case never executed: 7:case 7:never executed: case 7: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1152 | printf ("\\c{%c}", base); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1153 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1154 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1155 | case never executed: 8:case 8:never executed: case 8: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1156 | switch (base) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1157 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1158 | case never executed: 'a':case 'a':never executed: case 'a': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1159 | fputs_unlocked ("\\aa{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1160 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1161 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1162 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1163 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1164 | case never executed: 'A':case 'A':never executed: case 'A': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1165 | fputs_unlocked ("\\AA{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1166 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1167 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1168 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1169 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1170 | default never executed: :default:never executed: default: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1171 | putchar_unlocked (' '); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1172 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1173 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1174 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1175 | case never executed: 9:case 9:never executed: case 9: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1176 | switch (base) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1177 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1178 | case never executed: 'o':case 'o':never executed: case 'o': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1179 | fputs_unlocked ("\\o{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1180 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1181 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1182 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1183 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1184 | case never executed: 'O':case 'O':never executed: case 'O': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1185 | fputs_unlocked ("\\O{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1186 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1187 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1188 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1189 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1190 | default never executed: :default:never executed: default: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1191 | putchar_unlocked (' '); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1192 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1193 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1194 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1195 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1196 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1197 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1198 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1199 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1200 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1201 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1202 | switch (character) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1203 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1204 | case never executed: '"':case '"':never executed: case '"': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1205 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1206 | putchar_unlocked ('"'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1207 | putchar_unlocked ('"'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1208 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1209 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1210 | case never executed: '$':case '$':never executed: case '$': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1211 | case never executed: '%':case '%':never executed: case '%': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1212 | case never executed: '&':case '&':never executed: case '&': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1213 | case never executed: '#':case '#':never executed: case '#': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1214 | case never executed: '_':case '_':never executed: case '_': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1215 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1216 | putchar_unlocked ('\\'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1217 | putchar_unlocked (character); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1218 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1219 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1220 | case never executed: '{':case '{':never executed: case '{': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1221 | case never executed: '}':case '}':never executed: case '}': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1222 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1223 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1224 | printf ("$\\%c$", character); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1225 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1226 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1227 | case never executed: '\\':case '\\':never executed: case '\\': | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1228 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1229 | fputs_unlocked ("\\backslash{}", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1230 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1231 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1232 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1233 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1234 | default executed 69 times by 1 test: :default:Executed by:
executed 69 times by 1 test: default:Executed by:
| 69 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1235 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1236 | putchar_unlocked (' '); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1237 | } executed 69 times by 1 test: end of blockExecuted by:
| 69 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1238 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1239 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1240 | putchar_unlocked (*cursor); executed 601 times by 1 test: putchar_unlocked (*cursor);Executed by:
| 601 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1241 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1242 | } executed 133 times by 1 test: end of blockExecuted by:
| 133 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1243 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1244 | fix_output_parameters (void) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1245 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1246 | size_t file_index; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1247 | intmax_t line_ordinal; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1248 | ptrdiff_t reference_width; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1249 | int character; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1250 | const char *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1251 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1252 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1253 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1254 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1255 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1256 | if (auto_reference
| 1-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1257 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1258 | reference_max_width = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1259 | for (file_index = 0; file_index < number_input_files
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1260 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1261 | line_ordinal = file_line_count[file_index] + 1; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1262 | if (file_index > 0
| 0-1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1263 | line_ordinal -= file_line_count[file_index - 1]; never executed: line_ordinal -= file_line_count[file_index - 1]; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1264 | char ordinal_string[((((((sizeof (intmax_t) * 8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + 1)]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1265 | reference_width = sprintf (ordinal_string, "%" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1266 | "l" "d" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1267 | , line_ordinal); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1268 | if (input_file_name[file_index]
| 0-1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1269 | reference_width += strlen (input_file_name[file_index]); executed 1 time by 1 test: reference_width += strlen (input_file_name[file_index]);Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1270 | if (reference_width > reference_max_width
| 0-1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1271 | reference_max_width = reference_width; executed 1 time by 1 test: reference_max_width = reference_width;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1272 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1273 | reference_max_width++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1274 | reference.start = xmalloc (reference_max_width + 1); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1275 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1276 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1277 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1278 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1279 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1280 | if ((auto_reference
| 0-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1281 | line_width -= reference_max_width + gap_size; executed 1 time by 1 test: line_width -= reference_max_width + gap_size;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1282 | if (line_width < 0
| 1-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1283 | line_width = 0; executed 1 time by 1 test: line_width = 0;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1284 | half_line_width = line_width / 2; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1285 | before_max_width = half_line_width - gap_size; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1286 | keyafter_max_width = half_line_width; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1287 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1288 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1289 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1290 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1291 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1292 | if (truncation_string
| 0-26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1293 | truncation_string_length = strlen (truncation_string); executed 25 times by 1 test: truncation_string_length = strlen (truncation_string);Executed by:
| 25 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1294 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1295 | truncation_string = executed 1 time by 1 test: truncation_string = ((void *)0) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1296 | ((void *)0) executed 1 time by 1 test: truncation_string = ((void *)0) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1297 | ; executed 1 time by 1 test: truncation_string = ((void *)0) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1298 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1299 | if (gnu_extensions
| 0-26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1300 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1301 | before_max_width -= 2 * truncation_string_length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1302 | if (before_max_width < 0
| 8-18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1303 | before_max_width = 0; executed 8 times by 1 test: before_max_width = 0;Executed by:
| 8 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1304 | keyafter_max_width -= 2 * truncation_string_length; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1305 | } executed 26 times by 1 test: end of blockExecuted by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1306 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1307 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1308 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1309 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1310 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1311 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1312 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1313 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1314 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1315 | keyafter_max_width -= 2 * truncation_string_length + 1; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1316 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1317 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1318 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1319 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1320 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1321 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1322 | for (character = 0; character < 256
| 26-6656 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1323 | edited_flag[character] = !! executed 6656 times by 1 test: edited_flag[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISspace) ;Executed by:
| 6656 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1324 | ((*__ctype_b_loc ())[(int) (( executed 6656 times by 1 test: edited_flag[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISspace) ;Executed by:
| 6656 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1325 | character executed 6656 times by 1 test: edited_flag[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISspace) ;Executed by:
| 6656 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1326 | ))] & (unsigned short int) _ISspace) executed 6656 times by 1 test: edited_flag[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISspace) ;Executed by:
| 6656 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1327 | ; executed 6656 times by 1 test: edited_flag[character] = !! ((*__ctype_b_loc ())[(int) (( character ))] & (unsigned short int) _ISspace) ;Executed by:
| 6656 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1328 | edited_flag['\f'] = 1; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1329 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1330 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1331 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1332 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1333 | switch (output_format) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1334 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1335 | case never executed: UNKNOWN_FORMAT:case UNKNOWN_FORMAT:never executed: case UNKNOWN_FORMAT: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1336 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1337 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1338 | case executed 20 times by 1 test: DUMB_FORMAT:case DUMB_FORMAT:Executed by:
executed 20 times by 1 test: case DUMB_FORMAT:Executed by:
| 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1339 | break; executed 20 times by 1 test: break;Executed by:
| 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1340 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1341 | case executed 3 times by 1 test: ROFF_FORMAT:case ROFF_FORMAT:Executed by:
executed 3 times by 1 test: case ROFF_FORMAT:Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1342 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1343 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1344 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1345 | edited_flag['"'] = 1; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1346 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1347 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1348 | case executed 3 times by 1 test: TEX_FORMAT:case TEX_FORMAT:Executed by:
executed 3 times by 1 test: case TEX_FORMAT:Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1349 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1350 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1351 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1352 | for (cursor = "$%&#_{}\\"; *
| 3-24 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1353 | edited_flag[to_uchar (*cursor)] = 1; executed 24 times by 1 test: edited_flag[to_uchar (*cursor)] = 1;Executed by:
| 24 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1354 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1355 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1356 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1357 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1358 | for (character = 0200; character < 256
| 3-384 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1359 | edited_flag[character] = (diacrit_diac[(unsigned char) (character)]) != 0; executed 384 times by 1 test: edited_flag[character] = (diacrit_diac[(unsigned char) (character)]) != 0;Executed by:
| 384 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1360 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1361 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1362 | } executed 26 times by 1 test: end of blockExecuted by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1363 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1364 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1365 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1366 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1367 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1368 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1369 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1370 | define_all_fields (OCCURS *occurs) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1371 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1372 | ptrdiff_t tail_max_width; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1373 | ptrdiff_t head_max_width; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1374 | char *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1375 | char *left_context_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1376 | char *right_context_end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1377 | char *left_field_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1378 | const char *file_name; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1379 | intmax_t line_ordinal; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1380 | const char *buffer_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1381 | const char *buffer_end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1382 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1383 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1384 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1385 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1386 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1387 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1388 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1389 | keyafter.start = occurs->key.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1390 | keyafter.end = keyafter.start + occurs->key.size; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1391 | left_context_start = keyafter.start + occurs->left; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1392 | right_context_end = keyafter.start + occurs->right; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1393 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1394 | buffer_start = text_buffers[occurs->file_index].start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1395 | buffer_end = text_buffers[occurs->file_index].end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1396 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1397 | cursor = keyafter.end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1398 | while (cursor < right_context_end
| 37-92 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1399 | && cursor <= keyafter.start + keyafter_max_width
| 3-89 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1400 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1401 | keyafter.end = cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1402 | if (word_regex.string
| 0-89 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1403 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1404 | ); if (count == -2
never executed: cursor += count == -1matcher_error ();
never executed: else if (word_fastmap[to_uchar (*cursor)]end of block
executed 235 times by 1 test: else cursor++;cursor++;Executed by:
executed 46 times by 1 test: cursor++;Executed by:
| 0-265 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1405 | } executed 89 times by 1 test: end of blockExecuted by:
| 89 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1406 | if (cursor <= keyafter.start + keyafter_max_width
| 14-26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1407 | keyafter.end = cursor; executed 26 times by 1 test: keyafter.end = cursor;Executed by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1408 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1409 | keyafter_truncation = truncation_string
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1410 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1411 | while (keyafter.end > keyafter.start
| 0-42 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1412 | ((*
| 2-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1413 | to_uchar (keyafter.end[-1])
| 2-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1414 | ))] & (unsigned short int) _ISspace)
| 2-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1415 | ) keyafter.end--; executed 2 times by 1 test: keyafter.end--;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1416 | if (-
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1417 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1418 | left_field_start | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1419 | = keyafter.start - (half_line_width + maximum_word_length); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1420 | if (word_regex.string
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1421 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1422 | ); if (count == -2
never executed: left_field_start += count == -1matcher_error ();
never executed: else if (word_fastmap[to_uchar (*left_field_start)]end of block
never executed: else left_field_start++;left_field_start++;never executed: left_field_start++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1423 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1424 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1425 | left_field_start = keyafter.start + occurs->left; executed 40 times by 1 test: left_field_start = keyafter.start + occurs->left;Executed by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1426 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1427 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1428 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1429 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1430 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1431 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1432 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1433 | before.start = left_field_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1434 | before.end = keyafter.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1435 | while (before.end > before.start
| 24-32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1436 | ((*
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1437 | to_uchar (before.end[-1])
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1438 | ))] & (unsigned short int) _ISspace)
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1439 | ) before.end--; executed 16 times by 1 test: before.end--;Executed by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1440 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1441 | while (before.start + before_max_width < before.end
| 5-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1442 | if (word_regex.string
| 0-5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1443 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1444 | ); if (count == -2
never executed: before.start += count == -1matcher_error ();
never executed: else if (word_fastmap[to_uchar (*before.start)]end of block
executed 17 times by 1 test: else before.start++;before.start++;Executed by:
never executed: before.start++; | 0-19 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1445 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1446 | if (truncation_string
| 0-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1447 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1448 | cursor = before.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1449 | while (cursor > buffer_start
| 5-35 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1450 | ((*
| 0-5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1451 | to_uchar (cursor[-1])
| 0-5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1452 | ))] & (unsigned short int) _ISspace)
| 0-5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1453 | ) cursor--; never executed: cursor--; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1454 | before_truncation = cursor > left_context_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1455 | } executed 40 times by 1 test: end of blockExecuted by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1456 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1457 | before_truncation = never executed: before_truncation = 0 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1458 | 0 never executed: before_truncation = 0 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1459 | ; never executed: before_truncation = 0 ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1460 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1461 | while (before.start < buffer_end
| 0-45 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1462 | ((*
| 5-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1463 | to_uchar (*before.start)
| 5-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1464 | ))] & (unsigned short int) _ISspace)
| 5-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1465 | ) before.start++; executed 5 times by 1 test: before.start++;Executed by:
| 5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1466 | tail_max_width | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1467 | = before_max_width - (before.end - before.start) - gap_size; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1468 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1469 | if (tail_max_width > 0
| 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1470 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1471 | tail.start = keyafter.end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1472 | while (tail.start < buffer_end
| 18-22 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1473 | ((*
| 2-20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1474 | to_uchar (*tail.start)
| 2-20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1475 | ))] & (unsigned short int) _ISspace)
| 2-20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1476 | ) tail.start++; executed 20 times by 1 test: tail.start++;Executed by:
| 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1477 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1478 | tail.end = tail.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1479 | cursor = tail.end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1480 | while (cursor < right_context_end
| 2-20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1481 | && cursor < tail.start + tail_max_width
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1482 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1483 | tail.end = cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1484 | if (word_regex.string
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1485 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1486 | ); if (count == -2
never executed: cursor += count == -1matcher_error ();
never executed: else if (word_fastmap[to_uchar (*cursor)]end of block
executed 8 times by 1 test: else cursor++;cursor++;Executed by:
never executed: cursor++; | 0-8 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1487 | } executed 2 times by 1 test: end of blockExecuted by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1488 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1489 | if (cursor < tail.start + tail_max_width
| 0-20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1490 | tail.end = cursor; executed 20 times by 1 test: tail.end = cursor;Executed by:
| 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1491 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1492 | if (tail.end > tail.start
| 2-18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1493 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1494 | keyafter_truncation = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1495 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1496 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1497 | tail_truncation = truncation_string
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1498 | } executed 2 times by 1 test: end of blockExecuted by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1499 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1500 | tail_truncation = executed 18 times by 1 test: tail_truncation = 0 ;Executed by:
| 18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1501 | 0 executed 18 times by 1 test: tail_truncation = 0 ;Executed by:
| 18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1502 | ; executed 18 times by 1 test: tail_truncation = 0 ;Executed by:
| 18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1503 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1504 | while (tail.end > tail.start
| 2-18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1505 | ((*
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1506 | to_uchar (tail.end[-1])
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1507 | ))] & (unsigned short int) _ISspace)
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1508 | ) tail.end--; never executed: tail.end--; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1509 | } executed 20 times by 1 test: end of blockExecuted by:
| 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1510 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1511 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1512 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1513 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1514 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1515 | tail.start = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1516 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1517 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1518 | tail.end = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1519 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1520 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1521 | tail_truncation = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1522 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1523 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1524 | } executed 20 times by 1 test: end of blockExecuted by:
| 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1525 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1526 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1527 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1528 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1529 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1530 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1531 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1532 | head_max_width | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1533 | = keyafter_max_width - (keyafter.end - keyafter.start) - gap_size; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1534 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1535 | if (head_max_width > 0
| 18-22 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1536 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1537 | head.end = before.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1538 | while (head.end > buffer_start
| 4-16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1539 | ((*
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1540 | to_uchar (head.end[-1])
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1541 | ))] & (unsigned short int) _ISspace)
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1542 | ) head.end--; executed 2 times by 1 test: head.end--;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1543 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1544 | head.start = left_field_start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1545 | while (head.start + head_max_width < head.end
| 0-18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1546 | if (word_regex.string
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1547 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1548 | ); if (count == -2
never executed: head.start += count == -1matcher_error ();
never executed: else if (word_fastmap[to_uchar (*head.start)]end of block
never executed: else head.start++;head.start++;never executed: head.start++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1549 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1550 | if (head.end > head.start
| 2-16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1551 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1552 | before_truncation = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1553 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1554 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1555 | head_truncation = (truncation_string
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1556 | && head.start > left_context_start
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1557 | } executed 2 times by 1 test: end of blockExecuted by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1558 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1559 | head_truncation = executed 16 times by 1 test: head_truncation = 0 ;Executed by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1560 | 0 executed 16 times by 1 test: head_truncation = 0 ;Executed by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1561 | ; executed 16 times by 1 test: head_truncation = 0 ;Executed by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1562 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1563 | while (head.start < head.end
| 2-16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1564 | ((*
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1565 | to_uchar (*head.start)
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1566 | ))] & (unsigned short int) _ISspace)
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1567 | ) head.start++; never executed: head.start++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1568 | } executed 18 times by 1 test: end of blockExecuted by:
| 18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1569 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1570 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1571 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1572 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1573 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1574 | head.start = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1575 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1576 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1577 | head.end = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1578 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1579 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1580 | head_truncation = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1581 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1582 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1583 | } executed 22 times by 1 test: end of blockExecuted by:
| 22 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1584 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1585 | if (auto_reference
| 1-39 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1586 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1587 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1588 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1589 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1590 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1591 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1592 | file_name = input_file_name[occurs->file_index]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1593 | if (!file_name
| 0-1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1594 | file_name = ""; never executed: file_name = ""; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1595 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1596 | line_ordinal = occurs->reference + 1; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1597 | if (occurs->file_index > 0
| 0-1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1598 | line_ordinal -= file_line_count[occurs->file_index - 1]; never executed: line_ordinal -= file_line_count[occurs->file_index - 1]; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1599 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1600 | char *file_end = stpcpy (reference.start, file_name); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1601 | reference.end = file_end + sprintf (file_end, ":%" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1602 | "l" "d" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1603 | , line_ordinal); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1604 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1605 | else if (input_reference
| 0-39 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1606 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1607 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1608 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1609 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1610 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1611 | reference.start = keyafter.start + occurs->reference; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1612 | reference.end = reference.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1613 | while (reference.end < right_context_end
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1614 | ((*__ctype_b_loc ())[(int) ((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1615 | to_uchar (*reference.end)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1616 | ))] & (unsigned short int) _ISspace)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1617 | ) reference.end++; never executed: reference.end++; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1618 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1619 | } executed 40 times by 1 test: end of blockExecuted by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1620 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1621 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1622 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1623 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1624 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1625 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1626 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1627 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1628 | output_one_roff_line (void) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1629 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1630 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1631 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1632 | printf (".%s \"", macro_name); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1633 | print_field (tail); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1634 | if (tail_truncation
| 0-3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1635 | fputs_unlocked (truncation_string, never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1636 | stdout never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1637 | ); never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1638 | putchar_unlocked ('"'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1639 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1640 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1641 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1642 | fputs_unlocked (" \"", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1643 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1644 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1645 | if (before_truncation
| 0-3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1646 | fputs_unlocked (truncation_string, never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1647 | stdout never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1648 | ); never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1649 | print_field (before); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1650 | putchar_unlocked ('"'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1651 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1652 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1653 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1654 | fputs_unlocked (" \"", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1655 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1656 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1657 | print_field (keyafter); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1658 | if (keyafter_truncation
| 0-3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1659 | fputs_unlocked (truncation_string, never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1660 | stdout never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1661 | ); never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1662 | putchar_unlocked ('"'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1663 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1664 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1665 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1666 | fputs_unlocked (" \"", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1667 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1668 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1669 | if (head_truncation
| 0-3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1670 | fputs_unlocked (truncation_string, never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1671 | stdout never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1672 | ); never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1673 | print_field (head); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1674 | putchar_unlocked ('"'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1675 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1676 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1677 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1678 | if (auto_reference
| 0-3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1679 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1680 | fputs_unlocked (" \"", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1681 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1682 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1683 | print_field (reference); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1684 | putchar_unlocked ('"'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1685 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1686 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1687 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1688 | } executed 3 times by 1 test: end of blockExecuted by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1689 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1690 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1691 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1692 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1693 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1694 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1695 | output_one_tex_line (void) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1696 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1697 | BLOCK key; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1698 | BLOCK after; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1699 | char *cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1700 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1701 | printf ("\\%s ", macro_name); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1702 | putchar_unlocked ('{'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1703 | print_field (tail); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1704 | fputs_unlocked ("}{", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1705 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1706 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1707 | print_field (before); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1708 | fputs_unlocked ("}{", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1709 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1710 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1711 | key.start = keyafter.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1712 | after.end = keyafter.end; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1713 | cursor = keyafter.start; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1714 | if (word_regex.string
| 0-3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1715 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1716 | ); if (count == -2
never executed: cursor += count == -1matcher_error ();
never executed: else if (word_fastmap[to_uchar (*cursor)]end of block
executed 9 times by 1 test: else cursor++;cursor++;Executed by:
never executed: cursor++; | 0-9 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1717 | key.end = cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1718 | after.start = cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1719 | print_field (key); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1720 | fputs_unlocked ("}{", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1721 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1722 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1723 | print_field (after); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1724 | fputs_unlocked ("}{", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1725 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1726 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1727 | print_field (head); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1728 | putchar_unlocked ('}'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1729 | if (auto_reference
| 0-3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1730 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1731 | putchar_unlocked ('{'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1732 | print_field (reference); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1733 | putchar_unlocked ('}'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1734 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1735 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1736 | } executed 3 times by 1 test: end of blockExecuted by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1737 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1738 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1739 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1740 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1741 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1742 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1743 | output_one_dumb_line (void) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1744 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1745 | if (!right_reference
| 0-34 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1746 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1747 | if (auto_reference
| 1-33 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1748 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1749 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1750 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1751 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1752 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1753 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1754 | print_field (reference); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1755 | putchar_unlocked (':'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1756 | print_spaces (reference_max_width | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1757 | + gap_size | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1758 | - (reference.end - reference.start) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1759 | - 1); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1760 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1761 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1762 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1763 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1764 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1765 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1766 | print_field (reference); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1767 | print_spaces (reference_max_width | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1768 | + gap_size | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1769 | - (reference.end - reference.start)); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1770 | } executed 33 times by 1 test: end of blockExecuted by:
| 33 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1771 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1772 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1773 | if (tail.start < tail.end
| 2-32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1774 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1775 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1776 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1777 | print_field (tail); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1778 | if (tail_truncation
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1779 | fputs_unlocked (truncation_string, never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1780 | stdout never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1781 | ); never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1782 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1783 | print_spaces (half_line_width - gap_size | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1784 | - (before.end - before.start) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1785 | - (before_truncation ? truncation_string_length : 0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1786 | - (tail.end - tail.start) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1787 | - (tail_truncation ? truncation_string_length : 0)); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1788 | } executed 2 times by 1 test: end of blockExecuted by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1789 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1790 | print_spaces (half_line_width - gap_size executed 32 times by 1 test: print_spaces (half_line_width - gap_size - (before.end - before.start) - (before_truncation ? truncation_string_length : 0));Executed by:
| 32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1791 | - (before.end - before.start) executed 32 times by 1 test: print_spaces (half_line_width - gap_size - (before.end - before.start) - (before_truncation ? truncation_string_length : 0));Executed by:
| 32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1792 | - (before_truncation ? truncation_string_length : 0)); executed 32 times by 1 test: print_spaces (half_line_width - gap_size - (before.end - before.start) - (before_truncation ? truncation_string_length : 0));Executed by:
| 32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1793 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1794 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1795 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1796 | if (before_truncation
| 3-31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1797 | fputs_unlocked (truncation_string, executed 3 times by 1 test: fputs_unlocked (truncation_string, stdout );Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1798 | stdout executed 3 times by 1 test: fputs_unlocked (truncation_string, stdout );Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1799 | ); executed 3 times by 1 test: fputs_unlocked (truncation_string, stdout );Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1800 | print_field (before); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1801 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1802 | print_spaces (gap_size); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1803 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1804 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1805 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1806 | print_field (keyafter); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1807 | if (keyafter_truncation
| 3-31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1808 | fputs_unlocked (truncation_string, executed 3 times by 1 test: fputs_unlocked (truncation_string, stdout );Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1809 | stdout executed 3 times by 1 test: fputs_unlocked (truncation_string, stdout );Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1810 | ); executed 3 times by 1 test: fputs_unlocked (truncation_string, stdout );Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1811 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1812 | if (head.start < head.end
| 2-32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1813 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1814 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1815 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1816 | print_spaces (half_line_width | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1817 | - (keyafter.end - keyafter.start) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1818 | - (keyafter_truncation ? truncation_string_length : 0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1819 | - (head.end - head.start) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1820 | - (head_truncation ? truncation_string_length : 0)); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1821 | if (head_truncation
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1822 | fputs_unlocked (truncation_string, never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1823 | stdout never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1824 | ); never executed: fputs_unlocked (truncation_string, stdout ); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1825 | print_field (head); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1826 | } executed 2 times by 1 test: end of blockExecuted by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1827 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1828 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1829 | if ((auto_reference
| 0-31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1830 | print_spaces (half_line_width never executed: print_spaces (half_line_width - (keyafter.end - keyafter.start) - (keyafter_truncation ? truncation_string_length : 0)); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1831 | - (keyafter.end - keyafter.start) never executed: print_spaces (half_line_width - (keyafter.end - keyafter.start) - (keyafter_truncation ? truncation_string_length : 0)); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1832 | - (keyafter_truncation ? truncation_string_length : 0)); never executed: print_spaces (half_line_width - (keyafter.end - keyafter.start) - (keyafter_truncation ? truncation_string_length : 0)); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1833 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1834 | if ((auto_reference
| 0-33 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1835 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1836 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1837 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1838 | print_spaces (gap_size); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1839 | print_field (reference); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1840 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1841 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1842 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1843 | } executed 34 times by 1 test: end of blockExecuted by:
| 34 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1844 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1845 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1846 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1847 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1848 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1849 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1850 | static void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1851 | generate_all_output (void) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1852 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1853 | ptrdiff_t occurs_index; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1854 | OCCURS *occurs_cursor; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1855 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1856 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1857 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1858 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1859 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1860 | tail.start = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1861 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1862 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1863 | tail.end = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1864 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1865 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1866 | tail_truncation = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1867 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1868 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1869 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1870 | head.start = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1871 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1872 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1873 | head.end = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1874 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1875 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1876 | head_truncation = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1877 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1878 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1879 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1880 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1881 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1882 | occurs_cursor = occurs_table[0]; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1883 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1884 | for (occurs_index = 0; occurs_index < number_of_occurs[0]
| 26-40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1885 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1886 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1887 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1888 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1889 | define_all_fields (occurs_cursor); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1890 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1891 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1892 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1893 | switch (output_format) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1894 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1895 | case never executed: UNKNOWN_FORMAT:case UNKNOWN_FORMAT:never executed: case UNKNOWN_FORMAT: | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1896 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1897 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1898 | case executed 34 times by 1 test: DUMB_FORMAT:case DUMB_FORMAT:Executed by:
executed 34 times by 1 test: case DUMB_FORMAT:Executed by:
| 34 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1899 | output_one_dumb_line (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1900 | break; executed 34 times by 1 test: break;Executed by:
| 34 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1901 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1902 | case executed 3 times by 1 test: ROFF_FORMAT:case ROFF_FORMAT:Executed by:
executed 3 times by 1 test: case ROFF_FORMAT:Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1903 | output_one_roff_line (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1904 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1905 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1906 | case executed 3 times by 1 test: TEX_FORMAT:case TEX_FORMAT:Executed by:
executed 3 times by 1 test: case TEX_FORMAT:Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1907 | output_one_tex_line (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1908 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1909 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1910 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1911 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1912 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1913 | occurs_cursor++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1914 | } executed 40 times by 1 test: end of blockExecuted by:
| 40 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1915 | } executed 26 times by 1 test: end of blockExecuted by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1916 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1917 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1918 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1919 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1920 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1921 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1922 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1923 | void | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1924 | usage (int status) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1925 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1926 | if (status !=
| 5-31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1927 | 0
| 5-31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1928 | ) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1929 | do { fprintf ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1930 | stderr | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1931 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1932 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1933 | "Try '%s --help' for more information.\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1934 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1935 | , program_name); } executed 5 times by 1 test: while (0);end of blockExecuted by:
| 5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1936 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1937 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1938 | printf ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1939 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1940 | "Usage: %s [OPTION]... [INPUT]... (without -G)\n or: %s -G [OPTION]... [INPUT [OUTPUT]]\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1941 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1942 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1943 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1944 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1945 | program_name, program_name); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1946 | fputs_unlocked ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1947 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1948 | "Output a permuted index, including context, of the words in the input files.\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1949 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1950 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1951 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1952 | ) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1953 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1954 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1955 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1956 | emit_stdin_note (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1957 | emit_mandatory_arg_note (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1958 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1959 | fputs_unlocked ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1960 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1961 | " -A, --auto-reference output automatically generated references\n -G, --traditional behave more like System V 'ptx'\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1962 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1963 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1964 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1965 | ) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1966 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1967 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1968 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1969 | fputs_unlocked ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1970 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1971 | " -F, --flag-truncation=STRING use STRING for flagging line truncations.\n The default is '/'\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1972 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1973 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1974 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1975 | ) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1976 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1977 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1978 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1979 | fputs_unlocked ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1980 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1981 | " -M, --macro-name=STRING macro name to use instead of 'xx'\n -O, --format=roff generate output as roff directives\n -R, --right-side-refs put references at right, not counted in -w\n -S, --sentence-regexp=REGEXP for end of lines or end of sentences\n -T, --format=tex generate output as TeX directives\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1982 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1983 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1984 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1985 | ) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1986 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1987 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1988 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1989 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1990 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 1991 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1992 | fputs_unlocked ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1993 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1994 | " -W, --word-regexp=REGEXP use REGEXP to match each keyword\n -b, --break-file=FILE word break characters in this FILE\n -f, --ignore-case fold lower case to upper case for sorting\n -g, --gap-size=NUMBER gap size in columns between output fields\n -i, --ignore-file=FILE read ignore word list from FILE\n -o, --only-file=FILE read only word list from this FILE\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1995 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1996 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1997 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1998 | ) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 1999 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2000 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2001 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2002 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2003 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2004 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2005 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2006 | fputs_unlocked ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2007 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2008 | " -r, --references first field of each line is a reference\n -t, --typeset-mode - not implemented -\n -w, --width=NUMBER output width in columns, reference excluded\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2009 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2010 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2011 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2012 | ) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2013 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2014 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2015 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2016 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2017 | fputs_unlocked ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2018 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2019 | " --help display this help and exit\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2020 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2021 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2022 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2023 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2024 | fputs_unlocked ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2025 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2026 | " --version output version information and exit\n" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2027 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2028 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2029 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2030 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2031 | emit_ancillary_info ("ptx"); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2032 | } executed 31 times by 1 test: end of blockExecuted by:
| 31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2033 | exit (status); executed 36 times by 1 test: exit (status);Executed by:
| 36 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2034 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2035 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2036 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2037 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2038 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2039 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2040 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2041 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2042 | static struct option const long_options[] = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2043 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2044 | {"auto-reference", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2045 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2046 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2047 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2048 | , 'A'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2049 | {"break-file", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2050 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2051 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2052 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2053 | , 'b'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2054 | {"flag-truncation", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2055 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2056 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2057 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2058 | , 'F'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2059 | {"ignore-case", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2060 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2061 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2062 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2063 | , 'f'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2064 | {"gap-size", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2065 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2066 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2067 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2068 | , 'g'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2069 | {"ignore-file", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2070 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2071 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2072 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2073 | , 'i'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2074 | {"macro-name", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2075 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2076 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2077 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2078 | , 'M'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2079 | {"only-file", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2080 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2081 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2082 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2083 | , 'o'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2084 | {"references", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2085 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2086 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2087 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2088 | , 'r'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2089 | {"right-side-refs", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2090 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2091 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2092 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2093 | , 'R'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2094 | {"format", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2095 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2096 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2097 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2098 | , 10}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2099 | {"sentence-regexp", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2100 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2101 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2102 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2103 | , 'S'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2104 | {"traditional", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2105 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2106 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2107 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2108 | , 'G'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2109 | {"typeset-mode", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2110 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2111 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2112 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2113 | , 't'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2114 | {"width", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2115 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2116 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2117 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2118 | , 'w'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2119 | {"word-regexp", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2120 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2121 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2122 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2123 | , 'W'}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2124 | {"help", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2125 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2126 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2127 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2128 | , GETOPT_HELP_CHAR}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2129 | {"version", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2130 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2131 | , | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2132 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2133 | , GETOPT_VERSION_CHAR}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2134 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2135 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2136 | , 0, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2137 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2138 | , 0}, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2139 | }; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2140 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2141 | static char const* const format_args[] = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2142 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2143 | "roff", "tex", | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2144 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2145 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2146 | }; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2147 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2148 | static enum Format const format_vals[] = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2149 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2150 | ROFF_FORMAT, TEX_FORMAT | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2151 | }; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2152 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2153 | int | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2154 | main (int argc, char **argv) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2155 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2156 | int optchar; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2157 | int file_index; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2158 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2159 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2160 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2161 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2162 | set_program_name (argv[0]); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2163 | setlocale ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2164 | 6 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2165 | , ""); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2166 | bindtextdomain ("coreutils", "/usr/local/share/locale"); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2167 | textdomain ("coreutils"); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2168 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2169 | atexit (close_stdout); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2170 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2171 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2172 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2173 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2174 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2175 | while (optchar = getopt_long (argc, argv, "AF:GM:ORS:TW:b:i:fg:o:trw:",
| 29-104 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2176 | long_options,
| 29-104 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2177 | ((void *)0)
| 29-104 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2178 | ),
| 29-104 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2179 | optchar !=
| 29-104 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2180 | (-1)
| 29-104 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2181 | ) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2182 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2183 | switch (optchar) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2184 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2185 | default executed 3 times by 1 test: :default:Executed by:
executed 3 times by 1 test: default:Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2186 | usage ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2187 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2188 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2189 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2190 | case executed 2 times by 1 test: case 'G':Executed by:
code before this statement never executed: case 'G':executed 2 times by 1 test: 'G':case 'G':Executed by:
code before this statement never executed: case 'G':executed 2 times by 1 test: case 'G':Executed by:
| 0-2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2191 | gnu_extensions = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2192 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2193 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2194 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2195 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2196 | case executed 2 times by 1 test: 'b':case 'b':Executed by:
executed 2 times by 1 test: case 'b':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2197 | break_file = optarg; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2198 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2199 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2200 | case executed 2 times by 1 test: 'f':case 'f':Executed by:
executed 2 times by 1 test: case 'f':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2201 | ignore_case = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2202 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2203 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2204 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2205 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2206 | case executed 6 times by 1 test: 'g':case 'g':Executed by:
executed 6 times by 1 test: case 'g':Executed by:
| 6 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2207 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2208 | intmax_t tmp; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2209 | if (! (xstrtoimax (optarg,
| 2-4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2210 | ((void *)0)
| 2-4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2211 | , 0, &tmp,
| 2-4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2212 | ((void *)0)
| 2-4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2213 | ) == LONGINT_OK
| 2-4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2214 | && 0 < tmp
| 0-4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2215 | (9223372036854775807L)
| 0-4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2216 | )) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2217 | (( executed 2 times by 1 test: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2218 | 1 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2219 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2220 | 1 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2221 | , 0, executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2222 | dcgettext (((void *)0), executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2223 | "invalid gap width: %s" executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2224 | , 5) executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2225 | , quote (optarg)), (( executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2226 | 0 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2227 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2228 | 1 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2229 | , 0, executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2230 | dcgettext (((void *)0), executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2231 | "invalid gap width: %s" executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2232 | , 5) executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2233 | , quote (optarg)), (( executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2234 | 0 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2235 | ) ? (void) 0 : __builtin_unreachable ())))) executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2236 | ; executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid gap width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid gap width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2237 | gap_size = tmp; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2238 | break; executed 4 times by 1 test: break;Executed by:
| 4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2239 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2240 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2241 | case executed 2 times by 1 test: 'i':case 'i':Executed by:
executed 2 times by 1 test: case 'i':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2242 | ignore_file = optarg; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2243 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2244 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2245 | case executed 2 times by 1 test: 'o':case 'o':Executed by:
executed 2 times by 1 test: case 'o':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2246 | only_file = optarg; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2247 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2248 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2249 | case executed 2 times by 1 test: 'r':case 'r':Executed by:
executed 2 times by 1 test: case 'r':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2250 | input_reference = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2251 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2252 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2253 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2254 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2255 | case executed 2 times by 1 test: 't':case 't':Executed by:
executed 2 times by 1 test: case 't':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2256 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2257 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2258 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2259 | case executed 16 times by 1 test: 'w':case 'w':Executed by:
executed 16 times by 1 test: case 'w':Executed by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2260 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2261 | intmax_t tmp; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2262 | if (! (xstrtoimax (optarg,
| 2-14 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2263 | ((void *)0)
| 2-14 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2264 | , 0, &tmp,
| 2-14 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2265 | ((void *)0)
| 2-14 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2266 | ) == LONGINT_OK
| 2-14 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2267 | && 0 < tmp
| 0-14 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2268 | (9223372036854775807L)
| 0-14 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2269 | )) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2270 | (( executed 2 times by 1 test: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2271 | 1 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2272 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2273 | 1 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2274 | , 0, executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2275 | dcgettext (((void *)0), executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2276 | "invalid line width: %s" executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2277 | , 5) executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2278 | , quote (optarg)), (( executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2279 | 0 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2280 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2281 | 1 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2282 | , 0, executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2283 | dcgettext (((void *)0), executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2284 | "invalid line width: %s" executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2285 | , 5) executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2286 | , quote (optarg)), (( executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2287 | 0 executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2288 | ) ? (void) 0 : __builtin_unreachable ())))) executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2289 | ; executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid line width: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid line width: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2290 | line_width = tmp; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2291 | break; executed 14 times by 1 test: break;Executed by:
| 14 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2292 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2293 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2294 | case executed 3 times by 1 test: 'A':case 'A':Executed by:
executed 3 times by 1 test: case 'A':Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2295 | auto_reference = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2296 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2297 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2298 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2299 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2300 | case executed 3 times by 1 test: 'F':case 'F':Executed by:
executed 3 times by 1 test: case 'F':Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2301 | truncation_string = copy_unescaped_string (optarg); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2302 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2303 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2304 | case executed 2 times by 1 test: 'M':case 'M':Executed by:
executed 2 times by 1 test: case 'M':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2305 | macro_name = optarg; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2306 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2307 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2308 | case executed 1 time by 1 test: 'O':case 'O':Executed by:
executed 1 time by 1 test: case 'O':Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2309 | output_format = ROFF_FORMAT; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2310 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2311 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2312 | case executed 2 times by 1 test: 'R':case 'R':Executed by:
executed 2 times by 1 test: case 'R':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2313 | right_reference = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2314 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2315 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2316 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2317 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2318 | case executed 6 times by 1 test: 'S':case 'S':Executed by:
executed 6 times by 1 test: case 'S':Executed by:
| 6 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2319 | context_regex.string = copy_unescaped_string (optarg); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2320 | break; executed 6 times by 1 test: break;Executed by:
| 6 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2321 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2322 | case executed 1 time by 1 test: 'T':case 'T':Executed by:
executed 1 time by 1 test: case 'T':Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2323 | output_format = TEX_FORMAT; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2324 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2325 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2326 | case executed 3 times by 1 test: 'W':case 'W':Executed by:
executed 3 times by 1 test: case 'W':Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2327 | word_regex.string = copy_unescaped_string (optarg); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2328 | if (!*word_regex.string
| 0-3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2329 | word_regex.string = never executed: word_regex.string = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2330 | ((void *)0) never executed: word_regex.string = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2331 | ; never executed: word_regex.string = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2332 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2333 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2334 | case executed 8 times by 1 test: 10:case 10:Executed by:
executed 8 times by 1 test: case 10:Executed by:
| 8 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2335 | output_format = ((format_vals) [__xargmatch_internal ("--format", optarg, format_args, (char const *) (format_vals), sizeof *(format_vals), argmatch_die)]) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2336 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2337 | break; executed 6 times by 1 test: break;Executed by:
| 6 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2338 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2339 | case executed 31 times by 1 test: GETOPT_HELP_CHAR:case GETOPT_HELP_CHAR:Executed by:
executed 31 times by 1 test: usage (case GETOPT_HELP_CHAR:Executed by:
| 31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2340 | 0 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2341 | ); break; never executed: ;break; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2342 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2343 | case executed 5 times by 1 test: GETOPT_VERSION_CHAR:case GETOPT_VERSION_CHAR:Executed by:
executed 5 times by 1 test: version_etc (case GETOPT_VERSION_CHAR:Executed by:
| 5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2344 | stdout | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2345 | , "ptx", "GNU coreutils", Version, proper_name_utf8 ("F. Pinard", "Fran\xc3\xa7ois Pinard"), (char *) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2346 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2347 | ); exit ( executed 5 times by 1 test: exit ( 0 );Executed by:
| 5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2348 | 0 executed 5 times by 1 test: exit ( 0 );Executed by:
| 5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2349 | ); executed 5 times by 1 test: break;exit ( 0 );Executed by:
never executed: ;break; | 0-5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2350 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2351 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2352 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2353 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2354 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2355 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2356 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2357 | if (optind == argc
| 13-16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2358 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2359 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2360 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2361 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2362 | input_file_name = xmalloc (sizeof *input_file_name); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2363 | file_line_count = xmalloc (sizeof *file_line_count); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2364 | text_buffers = xmalloc (sizeof *text_buffers); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2365 | number_input_files = 1; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2366 | input_file_name[0] = | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2367 | ((void *)0) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2368 | ; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2369 | } executed 16 times by 1 test: end of blockExecuted by:
| 16 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2370 | else if (gnu_extensions
| 0-13 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2371 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2372 | number_input_files = argc - optind; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2373 | input_file_name = xnmalloc (number_input_files, sizeof *input_file_name); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2374 | file_line_count = xnmalloc (number_input_files, sizeof *file_line_count); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2375 | text_buffers = xnmalloc (number_input_files, sizeof *text_buffers); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2376 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2377 | for (file_index = 0; file_index < number_input_files
| 13-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2378 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2379 | if (!*argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2380 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2381 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2382 | ) && __builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2383 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2384 | ) && (__s1_len = __builtin_strlen (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2385 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2386 | ), __s2_len = __builtin_strlen (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2387 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2388 | ), (!((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2389 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2390 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2391 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2392 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2393 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2394 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2395 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2396 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2397 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2398 | ,
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2399 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2400 | ) : (__builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2401 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2402 | ) && ((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2403 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2404 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2405 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2406 | ) == 1) && (__s1_len = __builtin_strlen (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2407 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2408 | ), __s1_len < 4) ? (__builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2409 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2410 | ) && ((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2411 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2412 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2413 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2414 | ) == 1) ? __builtin_strcmp (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2415 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2416 | ,
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2417 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2418 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2419 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2420 | ); int __result = (((const unsigned char *) (const char *) (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2421 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2422 | ))[0] - __s2[0]); if (__s1_len > 0
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2423 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2424 | ))[1] - __s2[1]); if (__s1_len > 1
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2425 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2426 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]);
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2427 | argv[optind]
never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); | 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2428 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : (__builtin_constant_p (end of block
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2429 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2430 | ) && ((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2431 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2432 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2433 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2434 | ) == 1) && (__s2_len = __builtin_strlen (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2435 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2436 | ), __s2_len < 4) ? (__builtin_constant_p (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2437 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2438 | ) && ((size_t)(const void *)((
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2439 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2440 | ) + 1) - (size_t)(const void *)(
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2441 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2442 | ) == 1) ? __builtin_strcmp (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2443 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2444 | ,
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2445 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2446 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2447 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2448 | ); int __result = (((const unsigned char *) (const char *) (
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2449 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2450 | ))[0] - __s2[0]); if (__s2_len > 0
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2451 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2452 | ))[1] - __s2[1]); if (__s2_len > 1
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2453 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2454 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2455 | "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2456 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : __builtin_strcmp (end of block
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2457 | argv[optind]
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2458 | ,
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2459 | "-"
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2460 | )))); })
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2461 | == 0)
| 0-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2462 | input_file_name[file_index] = never executed: input_file_name[file_index] = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2463 | ((void *)0) never executed: input_file_name[file_index] = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2464 | ; never executed: input_file_name[file_index] = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2465 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2466 | input_file_name[file_index] = argv[optind]; executed 15 times by 1 test: input_file_name[file_index] = argv[optind];Executed by:
| 15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2467 | optind++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2468 | } executed 15 times by 1 test: end of blockExecuted by:
| 15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2469 | } executed 13 times by 1 test: end of blockExecuted by:
| 13 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2470 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2471 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2472 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2473 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2474 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2475 | number_input_files = 1; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2476 | input_file_name = xmalloc (sizeof *input_file_name); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2477 | file_line_count = xmalloc (sizeof *file_line_count); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2478 | text_buffers = xmalloc (sizeof *text_buffers); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2479 | if (!*argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2480 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2481 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2482 | ) && __builtin_constant_p (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2483 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2484 | ) && (__s1_len = __builtin_strlen (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2485 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2486 | ), __s2_len = __builtin_strlen (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2487 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2488 | ), (!((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2489 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2490 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2491 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2492 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2493 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2494 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2495 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2496 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2497 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2498 | ,
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2499 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2500 | ) : (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2501 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2502 | ) && ((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2503 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2504 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2505 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2506 | ) == 1) && (__s1_len = __builtin_strlen (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2507 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2508 | ), __s1_len < 4) ? (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2509 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2510 | ) && ((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2511 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2512 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2513 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2514 | ) == 1) ? __builtin_strcmp (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2515 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2516 | ,
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2517 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2518 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2519 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2520 | ); int __result = (((const unsigned char *) (const char *) (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2521 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2522 | ))[0] - __s2[0]); if (__s1_len > 0
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2523 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2524 | ))[1] - __s2[1]); if (__s1_len > 1
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2525 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2526 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2527 | argv[optind]
never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2528 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2529 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2530 | ) && ((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2531 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2532 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2533 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2534 | ) == 1) && (__s2_len = __builtin_strlen (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2535 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2536 | ), __s2_len < 4) ? (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2537 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2538 | ) && ((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2539 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2540 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2541 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2542 | ) == 1) ? __builtin_strcmp (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2543 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2544 | ,
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2545 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2546 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2547 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2548 | ); int __result = (((const unsigned char *) (const char *) (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2549 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2550 | ))[0] - __s2[0]); if (__s2_len > 0
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2551 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2552 | ))[1] - __s2[1]); if (__s2_len > 1
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2553 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2554 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2555 | "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2556 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2557 | argv[optind]
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2558 | ,
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2559 | "-"
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2560 | )))); })
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2561 | == 0)
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2562 | input_file_name[0] = never executed: input_file_name[0] = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2563 | ((void *)0) never executed: input_file_name[0] = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2564 | ; never executed: input_file_name[0] = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2565 | else | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2566 | input_file_name[0] = argv[optind]; never executed: input_file_name[0] = argv[optind]; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2567 | optind++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2568 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2569 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2570 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2571 | if (optind < argc
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2572 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2573 | if (! freopen_safer (argv[optind], "w",
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2574 | stdout
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2575 | )
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2576 | (( never executed: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2577 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2578 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2579 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2580 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2581 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2582 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2583 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2584 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2585 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2586 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2587 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2588 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2589 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2590 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locat...l_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2591 | optind++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2592 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2593 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2594 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2595 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2596 | if (optind < argc
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2597 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2598 | error (0, 0, | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2599 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2600 | "extra operand %s" | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2601 | , 5) | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2602 | , quote (argv[optind])); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2603 | usage ( | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2604 | 1 | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2605 | ); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2606 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2607 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2608 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2609 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2610 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2611 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2612 | if (output_format == UNKNOWN_FORMAT
| 6-23 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2613 | output_format = gnu_extensions
executed 23 times by 1 test: output_format = gnu_extensions ? DUMB_FORMAT : ROFF_FORMAT;Executed by:
| 0-23 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2614 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2615 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2616 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2617 | initialize_regex (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2618 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2619 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2620 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2621 | if (break_file
| 0-29 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2622 | digest_break_file (break_file); never executed: digest_break_file (break_file); | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2623 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2624 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2625 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2626 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2627 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2628 | if (ignore_file
| 0-29 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2629 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2630 | digest_word_file (ignore_file, &ignore_table); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2631 | if (ignore_table.length == 0
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2632 | ignore_file = never executed: ignore_file = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2633 | ((void *)0) never executed: ignore_file = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2634 | ; never executed: ignore_file = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2635 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2636 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2637 | if (only_file
| 0-29 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2638 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2639 | digest_word_file (only_file, &only_table); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2640 | if (only_table.length == 0
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2641 | only_file = never executed: only_file = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2642 | ((void *)0) never executed: only_file = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2643 | ; never executed: only_file = ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2644 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2645 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2646 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2647 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2648 | number_of_occurs[0] = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2649 | total_line_count = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2650 | maximum_word_length = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2651 | reference_max_width = 0; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2652 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2653 | for (file_index = 0; file_index < number_input_files
| 26-31 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2654 | { | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2655 | BLOCK *text_buffer = text_buffers + file_index; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2656 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2657 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2658 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2659 | swallow_file_in_memory (input_file_name[file_index], text_buffer); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2660 | find_occurs_in_text (file_index); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2661 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2662 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2663 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2664 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2665 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2666 | total_line_count++; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2667 | file_line_count[file_index] = total_line_count; | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2668 | } executed 28 times by 1 test: end of blockExecuted by:
| 28 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2669 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2670 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2671 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2672 | sort_found_occurs (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2673 | fix_output_parameters (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2674 | generate_all_output (); | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2675 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2676 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2677 | - | |||||||||||||||||||||||||||||||||||||||||||||||||
| 2678 | return executed 26 times by 1 test: return 0 ;Executed by:
executed 26 times by 1 test: return 0 ;Executed by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2679 | 0 executed 26 times by 1 test: return 0 ;Executed by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2680 | ; executed 26 times by 1 test: return 0 ;Executed by:
| 26 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2681 | } | - | ||||||||||||||||||||||||||||||||||||||||||||||||
| Switch to Source code | Preprocessed file |