Pass | Half | Fail | Excluded | Total | ||||
---|---|---|---|---|---|---|---|---|
|
4.26% |
95.74% |
0.00% |
100% |
||||
|
0.41% |
99.59% |
0.00% |
100% |
||||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
100.00% |
0.00% |
100% |
||||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
0.00% |
0.00% |
100% |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 | |
64 | |
65 | |
66 | |
67 | |
68 | |
69 | create_neg_dir_config(apr_pool_t *p, char *dummy) |
70 | |
71 | apr_palloc : /usr/include/apr-1/apr_pools.h line=419 column=21 apr_palloc(p : modules/mappers/mod_negotiation.c line=69 column=48 p, |
72 | |
73 | |
74 | new-> : enter=1, leave=1 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority = : enter=1, leave=1 = FLP_UNDEF; |
75 | new-> : enter=1, leave=1 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority = : enter=1, leave=1 = NULL; |
76 | return new : modules/mappers/mod_negotiation.c line=71 column=21 new; |
77 | |
78 | |
79 | merge_neg_dir_configs(apr_pool_t *p, void *basev, void *addv) |
80 | |
81 | basev; |
82 | addv; |
83 | apr_palloc : /usr/include/apr-1/apr_pools.h line=419 column=21 apr_palloc(p : modules/mappers/mod_negotiation.c line=79 column=48 p, |
84 | |
85 | |
86 | |
87 | new-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority = : enter=0, leave=0 = (add : modules/mappers/mod_negotiation.c line=82 column=21 add-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority != : true=0, false=0 != FLP_UNDEF) |
88 | ? add : modules/mappers/mod_negotiation.c line=82 column=21 add-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority |
89 | base-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority; |
90 | new-> : enter=0, leave=0 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority = : enter=0, leave=0 = add : modules/mappers/mod_negotiation.c line=82 column=21 add-> : enter=0, leave=0 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority |
91 | ? add : modules/mappers/mod_negotiation.c line=82 column=21 add-> : enter=0, leave=0 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority |
92 | base-> : enter=0, leave=0 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority; |
93 | return new : modules/mappers/mod_negotiation.c line=83 column=21 new; |
94 | |
95 | |
96 | set_language_priority(cmd_parms *cmd, void *n_, |
97 | |
98 | |
99 | n_; |
100 | |
101 | |
102 | if (! : true=0, false=0 !n : modules/mappers/mod_negotiation.c line=99 column=21 n-> : enter=0, leave=0 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority) |
103 | n-> : enter=0, leave=0 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority = : enter=0, leave=0 = apr_array_make : enter=0, leave=0 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(cmd : modules/mappers/mod_negotiation.c line=96 column=53 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, 4, sizeof(char *)); |
104 | |
105 | langp = : pass=0 = (const char **) apr_array_push : enter=0, leave=0 apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(n : modules/mappers/mod_negotiation.c line=99 column=21 n-> : enter=0, leave=0 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority); |
106 | langp = : enter=0, leave=0 = lang : modules/mappers/mod_negotiation.c line=97 column=54 lang; |
107 | return NULL; |
108 | |
109 | |
110 | set_force_priority(cmd_parms *cmd, void *n_, const char *w) |
111 | |
112 | n_; |
113 | |
114 | if (! : true=0, false=0 !strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(w : modules/mappers/mod_negotiation.c line=110 column=77 w, "None")) { |
115 | if (n : modules/mappers/mod_negotiation.c line=112 column=21 n-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority & : pass=0 & ~ : pass=0 ~FLP_NONE) { |
116 | return "Cannot combine ForceLanguagePriority options with None"; |
117 | |
118 | n-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority = : enter=0, leave=0 = FLP_NONE; |
119 | |
120 | if (! : true=0, false=0 !strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(w : modules/mappers/mod_negotiation.c line=110 column=77 w, "Prefer")) { |
121 | if (n : modules/mappers/mod_negotiation.c line=112 column=21 n-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority & : pass=0 & FLP_NONE) { |
122 | return "Cannot combine ForceLanguagePriority options None and " |
123 | |
124 | |
125 | n-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority |= : enter=0, leave=0 |= FLP_PREFER; |
126 | |
127 | if (! : true=0, false=0 !strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(w : modules/mappers/mod_negotiation.c line=110 column=77 w, "Fallback")) { |
128 | if (n : modules/mappers/mod_negotiation.c line=112 column=21 n-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority & : pass=0 & FLP_NONE) { |
129 | return "Cannot combine ForceLanguagePriority options None and " |
130 | |
131 | |
132 | n-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority |= : enter=0, leave=0 |= FLP_FALLBACK; |
133 | |
134 | |
135 | return apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(cmd : modules/mappers/mod_negotiation.c line=110 column=50 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, "Invalid ForceLanguagePriority option ", |
136 | w, NULL); |
137 | |
138 | |
139 | return NULL; |
140 | |
141 | |
142 | cache_negotiated_docs(cmd_parms *cmd, void *dummy, |
143 | |
144 | |
145 | cmd-> : enter=0, leave=0 ->server : include/http_config.h line=296 column=17 server-> : enter=0, leave=0 ->module_config : include/httpd.h line=1207 column=30 module_config, &negotiation_module : modules/mappers/mod_negotiation.c line=67 column=31 negotiation_module, |
146 | arg conditional operator : true=0, false=0 ? "Cache" : NULL)); |
147 | return NULL; |
148 | |
149 | |
150 | do_cache_negotiated_docs(server_rec *s) |
151 | |
152 | return (ap_get_module_config(s : modules/mappers/mod_negotiation.c line=150 column=49 s-> : enter=0, leave=0 ->module_config : include/httpd.h line=1207 column=30 module_config, |
153 | negotiation_module) != : true=0, false=0 != NULL); |
154 | |
155 | |
156 | |
157 | |
158 | cache_negotiated_docs, NULL, RSRC_CONF, |
159 | |
160 | set_language_priority, NULL, |
161 | |
162 | |
163 | set_force_priority, NULL, |
164 | |
165 | |
166 | |
167 | |
168 | |
169 | |
170 | |
171 | |
172 | |
173 | |
174 | |
175 | |
176 | |
177 | |
178 | |
179 | |
180 | |
181 | |
182 | |
183 | |
184 | |
185 | |
186 | |
187 | |
188 | |
189 | |
190 | |
191 | |
192 | |
193 | |
194 | |
195 | |
196 | |
197 | |
198 | |
199 | |
200 | |
201 | |
202 | |
203 | |
204 | |
205 | |
206 | |
207 | |
208 | |
209 | |
210 | |
211 | |
212 | |
213 | |
214 | |
215 | |
216 | |
217 | |
218 | |
219 | |
220 | |
221 | |
222 | |
223 | |
224 | |
225 | |
226 | |
227 | |
228 | |
229 | |
230 | |
231 | |
232 | |
233 | |
234 | |
235 | |
236 | |
237 | |
238 | |
239 | |
240 | |
241 | |
242 | |
243 | |
244 | |
245 | |
246 | |
247 | |
248 | |
249 | |
250 | |
251 | |
252 | |
253 | |
254 | |
255 | |
256 | |
257 | |
258 | |
259 | |
260 | |
261 | |
262 | |
263 | |
264 | |
265 | |
266 | |
267 | |
268 | |
269 | |
270 | |
271 | |
272 | |
273 | |
274 | |
275 | |
276 | |
277 | |
278 | |
279 | clean_var_rec(var_rec *mime_info) |
280 | |
281 | mime_info-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req = : enter=0, leave=0 = NULL; |
282 | mime_info-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type = : enter=0, leave=0 = ""; |
283 | mime_info-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name = : enter=0, leave=0 = ""; |
284 | mime_info-> : enter=0, leave=0 ->body : modules/mappers/mod_negotiation.c line=206 column=15 body = : enter=0, leave=0 = 0; |
285 | mime_info-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding = : enter=0, leave=0 = NULL; |
286 | mime_info-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages = : enter=0, leave=0 = NULL; |
287 | mime_info-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset = : enter=0, leave=0 = ""; |
288 | mime_info-> : enter=0, leave=0 ->description : modules/mappers/mod_negotiation.c line=210 column=17 description = : enter=0, leave=0 = ""; |
289 | |
290 | mime_info-> : enter=0, leave=0 ->is_pseudo_html : modules/mappers/mod_negotiation.c line=231 column=9 is_pseudo_html = : enter=0, leave=0 = 0; |
291 | mime_info-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=228 column=11 level = : enter=0, leave=0 = 0.0f; |
292 | mime_info-> : enter=0, leave=0 ->level_matched : modules/mappers/mod_negotiation.c line=237 column=11 level_matched = : enter=0, leave=0 = 0.0f; |
293 | mime_info-> : enter=0, leave=0 ->bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes = : enter=0, leave=0 = -1; |
294 | mime_info-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index = : enter=0, leave=0 = -1; |
295 | mime_info-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars = : enter=0, leave=0 = 0; |
296 | mime_info-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = 1; |
297 | |
298 | mime_info-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality = : enter=0, leave=0 = 1.0f; |
299 | mime_info-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality = : enter=0, leave=0 = 1.0f; |
300 | mime_info-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality = : enter=0, leave=0 = 1.0f; |
301 | mime_info-> : enter=0, leave=0 ->mime_type_quality : modules/mappers/mod_negotiation.c line=224 column=11 mime_type_quality = : enter=0, leave=0 = 1.0f; |
302 | mime_info-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality = : enter=0, leave=0 = 0.0f; |
303 | |
304 | |
305 | |
306 | |
307 | |
308 | |
309 | set_mime_fields(var_rec *var, accept_rec *mime_info) |
310 | |
311 | var-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type = : enter=0, leave=0 = mime_info : modules/mappers/mod_negotiation.c line=309 column=55 mime_info-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name; |
312 | var-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality = : enter=0, leave=0 = mime_info : modules/mappers/mod_negotiation.c line=309 column=55 mime_info-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality; |
313 | var-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=228 column=11 level = : enter=0, leave=0 = mime_info : modules/mappers/mod_negotiation.c line=309 column=55 mime_info-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level; |
314 | var-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset = : enter=0, leave=0 = mime_info : modules/mappers/mod_negotiation.c line=309 column=55 mime_info-> : enter=0, leave=0 ->charset : modules/mappers/mod_negotiation.c line=179 column=11 charset; |
315 | |
316 | var-> : enter=0, leave=0 ->is_pseudo_html : modules/mappers/mod_negotiation.c line=231 column=9 is_pseudo_html = : enter=0, leave=0 = (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(var : modules/mappers/mod_negotiation.c line=309 column=38 var-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, "text/html") |
317 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(var : modules/mappers/mod_negotiation.c line=309 column=38 var-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, INCLUDES_MAGIC_TYPE) |
318 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(var : modules/mappers/mod_negotiation.c line=309 column=38 var-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, INCLUDES_MAGIC_TYPE3)); |
319 | |
320 | |
321 | |
322 | |
323 | set_vlist_validator(request_rec *r, request_rec *vlistr) |
324 | |
325 | |
326 | |
327 | |
328 | |
329 | |
330 | ap_update_mtime : include/http_request.h line=198 column=18 ap_update_mtime(vlistr : modules/mappers/mod_negotiation.c line=323 column=62 vlistr, vlistr : modules/mappers/mod_negotiation.c line=323 column=62 vlistr-> : enter=0, leave=0 ->finfo : include/httpd.h line=957 column=17 finfo.mtime : /usr/include/apr-1/apr_file_info.h line=204 column=16 mtime); |
331 | r-> : enter=0, leave=0 ->vlist_validator : include/httpd.h line=927 column=11 vlist_validator = : enter=0, leave=0 = ap_make_etag : enter=0, leave=0 ap_make_etag : include/http_protocol.h line=159 column=20 ap_make_etag(vlistr : modules/mappers/mod_negotiation.c line=323 column=62 vlistr, 0); |
332 | |
333 | |
334 | |
335 | |
336 | |
337 | |
338 | |
339 | |
340 | |
341 | |
342 | |
343 | |
344 | |
345 | |
346 | |
347 | |
348 | |
349 | |
350 | |
351 | |
352 | |
353 | |
354 | |
355 | |
356 | |
357 | |
358 | |
359 | |
360 | |
361 | |
362 | |
363 | atoq(const char *string) |
364 | |
365 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !string : modules/mappers/mod_negotiation.c line=363 column=31 string || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !* dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string) { |
366 | return 1.0f; |
367 | |
368 | |
369 | while (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string && : true=0, false=0 && apr_isspace(* dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string)) { |
370 | ++string : modules/mappers/mod_negotiation.c line=363 column=31 string; |
371 | |
372 | |
373 | |
374 | |
375 | |
376 | if (* dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '.' && : true=0, false=0 && * dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string++ : pass=0 ++ != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '0') { |
377 | return 1.0f; |
378 | |
379 | |
380 | if (* dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string == : true=0, false=0 == '.') { |
381 | |
382 | |
383 | |
384 | |
385 | |
386 | if (* dereference : enter=0, leave=0 *++ : pass=0 ++string : modules/mappers/mod_negotiation.c line=363 column=31 string >= : true=0, false=0 MC/DC independently affect : true=0, false=0 >= '0' && : true=0, false=0 && * dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string <= : true=0, false=0 MC/DC independently affect : true=0, false=0 <= '9') { |
387 | i += : pass=0 += (* dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string - : pass=0 - '0') * : pass=0 * 100; |
388 | |
389 | if (* dereference : enter=0, leave=0 *++ : pass=0 ++string : modules/mappers/mod_negotiation.c line=363 column=31 string >= : true=0, false=0 MC/DC independently affect : true=0, false=0 >= '0' && : true=0, false=0 && * dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string <= : true=0, false=0 MC/DC independently affect : true=0, false=0 <= '9') { |
390 | i += : pass=0 += (* dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string - : pass=0 - '0') * : pass=0 * 10; |
391 | |
392 | if (* dereference : enter=0, leave=0 *++ : pass=0 ++string : modules/mappers/mod_negotiation.c line=363 column=31 string > : true=0, false=0 MC/DC independently affect : true=0, false=0 > '0' && : true=0, false=0 && * dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string <= : true=0, false=0 MC/DC independently affect : true=0, false=0 <= '9') { |
393 | i += : pass=0 += (* dereference : enter=0, leave=0 *string : modules/mappers/mod_negotiation.c line=363 column=31 string - : pass=0 - '0'); |
394 | |
395 | |
396 | |
397 | |
398 | return (float)i : modules/mappers/mod_negotiation.c line=384 column=13 i / : pass=0 / 1000.0f; |
399 | |
400 | |
401 | return 0.0f; |
402 | |
403 | |
404 | |
405 | |
406 | |
407 | |
408 | |
409 | get_entry(apr_pool_t *p, accept_rec *result, |
410 | |
411 | |
412 | result-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality = : enter=0, leave=0 = 1.0f; |
413 | result-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level = : enter=0, leave=0 = 0.0f; |
414 | result-> : enter=0, leave=0 ->charset : modules/mappers/mod_negotiation.c line=179 column=11 charset = : enter=0, leave=0 = ""; |
415 | |
416 | |
417 | |
418 | |
419 | |
420 | |
421 | |
422 | |
423 | |
424 | |
425 | |
426 | |
427 | result-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name = : enter=0, leave=0 = ap_get_token : enter=0, leave=0 ap_get_token : include/httpd.h line=1423 column=20 ap_get_token(p : modules/mappers/mod_negotiation.c line=409 column=42 p, &accept_line : modules/mappers/mod_negotiation.c line=410 column=42 accept_line, 0); |
428 | ap_str_tolower : include/httpd.h line=1739 column=18 ap_str_tolower(result : modules/mappers/mod_negotiation.c line=409 column=57 result-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name); /* You want case insensitive, |
429 | |
430 | |
431 | |
432 | |
433 | |
434 | |
435 | |
436 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(result : modules/mappers/mod_negotiation.c line=409 column=57 result-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name, "text/html") && : true=0, false=0 && (result : modules/mappers/mod_negotiation.c line=409 column=57 result-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0.0)) { |
437 | result-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level = : enter=0, leave=0 = 2.0f; |
438 | |
439 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(result : modules/mappers/mod_negotiation.c line=409 column=57 result-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name, INCLUDES_MAGIC_TYPE)) { |
440 | result-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level = : enter=0, leave=0 = 2.0f; |
441 | |
442 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(result : modules/mappers/mod_negotiation.c line=409 column=57 result-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name, INCLUDES_MAGIC_TYPE3)) { |
443 | result-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level = : enter=0, leave=0 = 3.0f; |
444 | |
445 | |
446 | while (* dereference : enter=0, leave=0 *accept_line : modules/mappers/mod_negotiation.c line=410 column=42 accept_line == : true=0, false=0 == ';') { |
447 | |
448 | |
449 | |
450 | |
451 | |
452 | |
453 | ++accept_line : modules/mappers/mod_negotiation.c line=410 column=42 accept_line; |
454 | parm = : pass=0 = ap_get_token : enter=0, leave=0 ap_get_token : include/httpd.h line=1423 column=20 ap_get_token(p : modules/mappers/mod_negotiation.c line=409 column=42 p, &accept_line : modules/mappers/mod_negotiation.c line=410 column=42 accept_line, 1); |
455 | |
456 | |
457 | |
458 | for (cp : modules/mappers/mod_negotiation.c line=450 column=15 cp = : pass=0 = parm : modules/mappers/mod_negotiation.c line=449 column=15 parm; (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !apr_isspace(* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp) && : true=0, false=0 && * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '='); ++ : pass=0 ++cp : modules/mappers/mod_negotiation.c line=450 column=15 cp) { |
459 | cp = : enter=0, leave=0 = apr_tolower(* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp); |
460 | |
461 | |
462 | if (! : true=0, false=0 !* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp) { |
463 | continue; /* No '='; just ignore it. */ |
464 | |
465 | |
466 | cp++ : pass=0 ++ = : enter=0, leave=0 = '\0'; /* Delimit var */ |
467 | while (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp && : true=0, false=0 && (apr_isspace(* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp) || : true=0, false=0 || * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '=')) { |
468 | ++cp : modules/mappers/mod_negotiation.c line=450 column=15 cp; |
469 | |
470 | |
471 | if (* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=450 column=15 cp == : true=0, false=0 == '"') { |
472 | ++cp : modules/mappers/mod_negotiation.c line=450 column=15 cp; |
473 | for (end : modules/mappers/mod_negotiation.c line=451 column=15 end = : pass=0 = cp : modules/mappers/mod_negotiation.c line=450 column=15 cp; |
474 | * dereference : enter=0, leave=0 *end : modules/mappers/mod_negotiation.c line=451 column=15 end && : true=0, false=0 && * dereference : enter=0, leave=0 *end : modules/mappers/mod_negotiation.c line=451 column=15 end != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\n' && : true=0, false=0 && * dereference : enter=0, leave=0 *end : modules/mappers/mod_negotiation.c line=451 column=15 end != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\r' && : true=0, false=0 && * dereference : enter=0, leave=0 *end : modules/mappers/mod_negotiation.c line=451 column=15 end != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\"'); |
475 | end++ : pass=0 ++); |
476 | |
477 | |
478 | for (end : modules/mappers/mod_negotiation.c line=451 column=15 end = : pass=0 = cp : modules/mappers/mod_negotiation.c line=450 column=15 cp; (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *end : modules/mappers/mod_negotiation.c line=451 column=15 end && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !apr_isspace(* dereference : enter=0, leave=0 *end : modules/mappers/mod_negotiation.c line=451 column=15 end)); end : modules/mappers/mod_negotiation.c line=451 column=15 end++ : pass=0 ++); |
479 | |
480 | if (* dereference : enter=0, leave=0 *end : modules/mappers/mod_negotiation.c line=451 column=15 end) { |
481 | end = : enter=0, leave=0 = '\0'; /* strip ending quote or return */ |
482 | |
483 | ap_str_tolower : include/httpd.h line=1739 column=18 ap_str_tolower(cp : modules/mappers/mod_negotiation.c line=450 column=15 cp); |
484 | |
485 | if (parm : modules/mappers/mod_negotiation.c line=449 column=15 parm[] : enter=0, leave=0 [0] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 'q' |
486 | && (parm : modules/mappers/mod_negotiation.c line=449 column=15 parm[] : enter=0, leave=0 [1] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '\0' || : true=0, false=0 || (parm : modules/mappers/mod_negotiation.c line=449 column=15 parm[] : enter=0, leave=0 [1] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 's' && : true=0, false=0 && parm : modules/mappers/mod_negotiation.c line=449 column=15 parm[] : enter=0, leave=0 [2] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '\0'))) { |
487 | result-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality = : enter=0, leave=0 = atoq : enter=0, leave=0 atoq : modules/mappers/mod_negotiation.c line=363 column=14 atoq(cp : modules/mappers/mod_negotiation.c line=450 column=15 cp); |
488 | |
489 | if (parm : modules/mappers/mod_negotiation.c line=449 column=15 parm[] : enter=0, leave=0 [0] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 'l' && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(&parm : modules/mappers/mod_negotiation.c line=449 column=15 parm[] : enter=0, leave=0 [1], "evel")) { |
490 | result-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level = : enter=0, leave=0 = (float)atoi : enter=0, leave=0 atoi : /usr/include/stdlib.h line=148 column=12 atoi(cp : modules/mappers/mod_negotiation.c line=450 column=15 cp); |
491 | |
492 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(parm : modules/mappers/mod_negotiation.c line=449 column=15 parm, "charset")) { |
493 | result-> : enter=0, leave=0 ->charset : modules/mappers/mod_negotiation.c line=179 column=11 charset = : enter=0, leave=0 = cp : modules/mappers/mod_negotiation.c line=450 column=15 cp; |
494 | |
495 | |
496 | |
497 | if (* dereference : enter=0, leave=0 *accept_line : modules/mappers/mod_negotiation.c line=410 column=42 accept_line == : true=0, false=0 == ',') { |
498 | ++accept_line : modules/mappers/mod_negotiation.c line=410 column=42 accept_line; |
499 | |
500 | |
501 | return accept_line : modules/mappers/mod_negotiation.c line=410 column=42 accept_line; |
502 | |
503 | |
504 | |
505 | |
506 | |
507 | |
508 | |
509 | |
510 | |
511 | |
512 | |
513 | |
514 | |
515 | |
516 | do_header_line(apr_pool_t *p, |
517 | |
518 | |
519 | |
520 | |
521 | if (! : true=0, false=0 !accept_line : modules/mappers/mod_negotiation.c line=517 column=55 accept_line) { |
522 | return NULL; |
523 | |
524 | |
525 | accept_recs = : pass=0 = apr_array_make : enter=0, leave=0 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(p : modules/mappers/mod_negotiation.c line=516 column=55 p, 40, sizeof(accept_rec)); |
526 | |
527 | while (* dereference : enter=0, leave=0 *accept_line : modules/mappers/mod_negotiation.c line=517 column=55 accept_line) { |
528 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(accept_recs : modules/mappers/mod_negotiation.c line=519 column=25 accept_recs); |
529 | accept_line = : pass=0 = get_entry : enter=0, leave=0 get_entry : modules/mappers/mod_negotiation.c line=409 column=20 get_entry(p : modules/mappers/mod_negotiation.c line=516 column=55 p, new : modules/mappers/mod_negotiation.c line=528 column=21 new, accept_line : modules/mappers/mod_negotiation.c line=517 column=55 accept_line); |
530 | |
531 | |
532 | return accept_recs : modules/mappers/mod_negotiation.c line=519 column=25 accept_recs; |
533 | |
534 | |
535 | |
536 | |
537 | |
538 | |
539 | do_languages_line(apr_pool_t *p, |
540 | |
541 | |
542 | apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(p : modules/mappers/mod_negotiation.c line=539 column=58 p, 2, sizeof(char *)); |
543 | |
544 | if (! : true=0, false=0 !lang_line : modules/mappers/mod_negotiation.c line=540 column=59 lang_line) { |
545 | return lang_recs : modules/mappers/mod_negotiation.c line=542 column=25 lang_recs; |
546 | |
547 | |
548 | while (* dereference : enter=0, leave=0 ** dereference : enter=0, leave=0 *lang_line : modules/mappers/mod_negotiation.c line=540 column=59 lang_line) { |
549 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(lang_recs : modules/mappers/mod_negotiation.c line=542 column=25 lang_recs); |
550 | new = : enter=0, leave=0 = ap_get_token : enter=0, leave=0 ap_get_token : include/httpd.h line=1423 column=20 ap_get_token(p : modules/mappers/mod_negotiation.c line=539 column=58 p, lang_line : modules/mappers/mod_negotiation.c line=540 column=59 lang_line, 0); |
551 | ap_str_tolower : include/httpd.h line=1739 column=18 ap_str_tolower(* dereference : enter=0, leave=0 *new : modules/mappers/mod_negotiation.c line=549 column=16 new); |
552 | if (* dereference : enter=0, leave=0 ** dereference : enter=0, leave=0 *lang_line : modules/mappers/mod_negotiation.c line=540 column=59 lang_line == : true=0, false=0 MC/DC independently affect : true=0, false=0 == ',' || : true=0, false=0 || * dereference : enter=0, leave=0 ** dereference : enter=0, leave=0 *lang_line : modules/mappers/mod_negotiation.c line=540 column=59 lang_line == : true=0, false=0 MC/DC independently affect : true=0, false=0 == ';') { |
553 | ++(* dereference : enter=0, leave=0 *lang_line : modules/mappers/mod_negotiation.c line=540 column=59 lang_line); |
554 | |
555 | |
556 | |
557 | return lang_recs : modules/mappers/mod_negotiation.c line=542 column=25 lang_recs; |
558 | |
559 | |
560 | |
561 | |
562 | |
563 | |
564 | |
565 | parse_accept_headers(request_rec *r) |
566 | |
567 | |
568 | r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, sizeof(negotiation_state)); |
569 | |
570 | r-> : enter=0, leave=0 ->headers_in : include/httpd.h line=901 column=18 headers_in; |
571 | |
572 | |
573 | new-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool = : enter=0, leave=0 = r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool; |
574 | new-> : enter=0, leave=0 ->r : modules/mappers/mod_negotiation.c line=248 column=18 r = : enter=0, leave=0 = r : modules/mappers/mod_negotiation.c line=565 column=61 r; |
575 | new-> : enter=0, leave=0 ->conf : modules/mappers/mod_negotiation.c line=249 column=21 conf = : enter=0, leave=0 = (neg_dir_config *)ap_get_module_config(r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->per_dir_config : include/httpd.h line=977 column=30 per_dir_config, |
576 | negotiation_module); |
577 | |
578 | new-> : enter=0, leave=0 ->dir_name : modules/mappers/mod_negotiation.c line=250 column=11 dir_name = : enter=0, leave=0 = ap_make_dirstr_parent : enter=0, leave=0 ap_make_dirstr_parent : include/httpd.h line=1586 column=20 ap_make_dirstr_parent(r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename); |
579 | |
580 | new-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts = : enter=0, leave=0 = do_header_line : enter=0, leave=0 do_header_line : modules/mappers/mod_negotiation.c line=516 column=28 do_header_line(r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(hdrs : modules/mappers/mod_negotiation.c line=570 column=18 hdrs, "Accept")); |
581 | |
582 | |
583 | if (new : modules/mappers/mod_negotiation.c line=567 column=24 new-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts) { |
584 | elts = : pass=0 = (accept_rec *) new : modules/mappers/mod_negotiation.c line=567 column=24 new-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
585 | |
586 | for (i : modules/mappers/mod_negotiation.c line=571 column=9 i = : pass=0 = 0; i : modules/mappers/mod_negotiation.c line=571 column=9 i < : true=0, false=0 < new : modules/mappers/mod_negotiation.c line=567 column=24 new-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_negotiation.c line=571 column=9 i) { |
587 | if (elts : modules/mappers/mod_negotiation.c line=569 column=17 elts[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=571 column=9 i].quality : modules/mappers/mod_negotiation.c line=177 column=11 quality < : true=0, false=0 < 1.0) { |
588 | new-> : enter=0, leave=0 ->accept_q : modules/mappers/mod_negotiation.c line=251 column=9 accept_q = : enter=0, leave=0 = 1; |
589 | |
590 | |
591 | |
592 | |
593 | new-> : enter=0, leave=0 ->accept_encodings : modules/mappers/mod_negotiation.c line=258 column=25 accept_encodings = : enter=0, leave=0 = |
594 | do_header_line : modules/mappers/mod_negotiation.c line=516 column=28 do_header_line(r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(hdrs : modules/mappers/mod_negotiation.c line=570 column=18 hdrs, "Accept-Encoding")); |
595 | new-> : enter=0, leave=0 ->accept_langs : modules/mappers/mod_negotiation.c line=260 column=25 accept_langs = : enter=0, leave=0 = |
596 | do_header_line : modules/mappers/mod_negotiation.c line=516 column=28 do_header_line(r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(hdrs : modules/mappers/mod_negotiation.c line=570 column=18 hdrs, "Accept-Language")); |
597 | new-> : enter=0, leave=0 ->accept_charsets : modules/mappers/mod_negotiation.c line=259 column=25 accept_charsets = : enter=0, leave=0 = |
598 | do_header_line : modules/mappers/mod_negotiation.c line=516 column=28 do_header_line(r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(hdrs : modules/mappers/mod_negotiation.c line=570 column=18 hdrs, "Accept-Charset")); |
599 | |
600 | |
601 | |
602 | |
603 | |
604 | new-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars = : enter=0, leave=0 = apr_array_make : enter=0, leave=0 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(r : modules/mappers/mod_negotiation.c line=565 column=61 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, 40, sizeof(var_rec)); |
605 | |
606 | return new : modules/mappers/mod_negotiation.c line=567 column=24 new; |
607 | |
608 | |
609 | |
610 | parse_negotiate_header(request_rec *r, negotiation_state *neg) |
611 | |
612 | apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(r : modules/mappers/mod_negotiation.c line=610 column=49 r-> : enter=0, leave=0 ->headers_in : include/httpd.h line=901 column=18 headers_in, "Negotiate"); |
613 | |
614 | |
615 | |
616 | |
617 | |
618 | |
619 | |
620 | |
621 | |
622 | |
623 | |
624 | neg-> : enter=0, leave=0 ->ua_supports_trans : modules/mappers/mod_negotiation.c line=269 column=9 ua_supports_trans = : enter=0, leave=0 = 0; |
625 | neg-> : enter=0, leave=0 ->send_alternates : modules/mappers/mod_negotiation.c line=270 column=9 send_alternates = : enter=0, leave=0 = 0; |
626 | neg-> : enter=0, leave=0 ->may_choose : modules/mappers/mod_negotiation.c line=271 column=9 may_choose = : enter=0, leave=0 = 1; |
627 | neg-> : enter=0, leave=0 ->use_rvsa : modules/mappers/mod_negotiation.c line=272 column=9 use_rvsa = : enter=0, leave=0 = 0; |
628 | neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers = : enter=0, leave=0 = 0; |
629 | |
630 | if (! : true=0, false=0 !negotiate : modules/mappers/mod_negotiation.c line=612 column=17 negotiate) |
631 | return; |
632 | |
633 | if (strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(negotiate : modules/mappers/mod_negotiation.c line=612 column=17 negotiate, "trans") == : true=0, false=0 == 0) { |
634 | |
635 | |
636 | |
637 | |
638 | |
639 | |
640 | |
641 | apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(r : modules/mappers/mod_negotiation.c line=610 column=49 r-> : enter=0, leave=0 ->headers_in : include/httpd.h line=901 column=18 headers_in, "User-Agent"); |
642 | |
643 | if (MC/DC independently affect : true=0, false=0 ua : modules/mappers/mod_negotiation.c line=641 column=21 ua && : true=0, false=0 && (strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(ua : modules/mappers/mod_negotiation.c line=641 column=21 ua, "Lynx", 4) == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0)) |
644 | return; |
645 | |
646 | |
647 | neg-> : enter=0, leave=0 ->may_choose : modules/mappers/mod_negotiation.c line=271 column=9 may_choose = : enter=0, leave=0 = 0; /* An empty Negotiate would require 300 response */ |
648 | |
649 | while ((tok : modules/mappers/mod_negotiation.c line=613 column=11 tok = : pass=0 = ap_get_list_item : enter=0, leave=0 ap_get_list_item : include/httpd.h line=1401 column=20 ap_get_list_item(neg : modules/mappers/mod_negotiation.c line=610 column=71 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, &negotiate : modules/mappers/mod_negotiation.c line=612 column=17 negotiate)) != : true=0, false=0 != NULL) { |
650 | |
651 | if (strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(tok : modules/mappers/mod_negotiation.c line=613 column=11 tok, "trans") == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0 || : true=0, false=0 || |
652 | strcmp : /usr/include/string.h line=143 column=12 strcmp(tok : modules/mappers/mod_negotiation.c line=613 column=11 tok, "vlist") == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0 || : true=0, false=0 || |
653 | strcmp : /usr/include/string.h line=143 column=12 strcmp(tok : modules/mappers/mod_negotiation.c line=613 column=11 tok, "guess-small") == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0 || : true=0, false=0 || |
654 | tok[] : enter=0, leave=0 [0]) || : true=0, false=0 || |
655 | strcmp : /usr/include/string.h line=143 column=12 strcmp(tok : modules/mappers/mod_negotiation.c line=613 column=11 tok, "*") == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0) { |
656 | |
657 | |
658 | neg-> : enter=0, leave=0 ->ua_supports_trans : modules/mappers/mod_negotiation.c line=269 column=9 ua_supports_trans = : enter=0, leave=0 = 1; |
659 | |
660 | |
661 | |
662 | |
663 | |
664 | neg-> : enter=0, leave=0 ->send_alternates : modules/mappers/mod_negotiation.c line=270 column=9 send_alternates = : enter=0, leave=0 = 1; |
665 | |
666 | if (strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(tok : modules/mappers/mod_negotiation.c line=613 column=11 tok, "1.0") == : true=0, false=0 == 0) { |
667 | |
668 | neg-> : enter=0, leave=0 ->may_choose : modules/mappers/mod_negotiation.c line=271 column=9 may_choose = : enter=0, leave=0 = 1; |
669 | neg-> : enter=0, leave=0 ->use_rvsa : modules/mappers/mod_negotiation.c line=272 column=9 use_rvsa = : enter=0, leave=0 = 1; |
670 | neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers = : enter=0, leave=0 = 1; |
671 | |
672 | if (tok : modules/mappers/mod_negotiation.c line=613 column=11 tok[] : enter=0, leave=0 [0] == : true=0, false=0 == '*') { |
673 | |
674 | |
675 | |
676 | neg-> : enter=0, leave=0 ->may_choose : modules/mappers/mod_negotiation.c line=271 column=9 may_choose = : enter=0, leave=0 = 1; |
677 | |
678 | |
679 | |
680 | |
681 | |
682 | neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers = : enter=0, leave=0 = 1; |
683 | |
684 | |
685 | |
686 | |
687 | |
688 | |
689 | |
690 | |
691 | |
692 | |
693 | |
694 | |
695 | |
696 | |
697 | |
698 | |
699 | |
700 | |
701 | |
702 | |
703 | maybe_add_default_accepts(negotiation_state *neg, |
704 | |
705 | |
706 | |
707 | |
708 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=703 column=58 neg-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts) { |
709 | neg-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts = : enter=0, leave=0 = apr_array_make : enter=0, leave=0 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(neg : modules/mappers/mod_negotiation.c line=703 column=58 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, 4, sizeof(accept_rec)); |
710 | |
711 | new_accept = : pass=0 = (accept_rec *) apr_array_push : enter=0, leave=0 apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(neg : modules/mappers/mod_negotiation.c line=703 column=58 neg-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts); |
712 | |
713 | new_accept-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name = : enter=0, leave=0 = "*/*"; |
714 | new_accept-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality = : enter=0, leave=0 = 1.0f; |
715 | new_accept-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level = : enter=0, leave=0 = 0.0f; |
716 | |
717 | |
718 | new_accept = : pass=0 = (accept_rec *) apr_array_push : enter=0, leave=0 apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(neg : modules/mappers/mod_negotiation.c line=703 column=58 neg-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts); |
719 | |
720 | new_accept-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name = : enter=0, leave=0 = CGI_MAGIC_TYPE; |
721 | if (neg : modules/mappers/mod_negotiation.c line=703 column=58 neg-> : enter=0, leave=0 ->use_rvsa : modules/mappers/mod_negotiation.c line=272 column=9 use_rvsa) { |
722 | new_accept-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality = : enter=0, leave=0 = 0; |
723 | |
724 | |
725 | new_accept-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality = : enter=0, leave=0 = prefer_scripts : modules/mappers/mod_negotiation.c line=704 column=43 prefer_scripts conditional operator : true=0, false=0 ? 2.0f : 0.001f; |
726 | |
727 | new_accept-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level = : enter=0, leave=0 = 0.0f; |
728 | |
729 | |
730 | |
731 | |
732 | |
733 | |
734 | |
735 | |
736 | |
737 | |
738 | |
739 | |
740 | |
741 | |
742 | |
743 | |
744 | get_header_line(char *buffer, int len, apr_file_t *map) |
745 | |
746 | buffer + : pass=0 + len : modules/mappers/mod_negotiation.c line=744 column=60 len; |
747 | |
748 | |
749 | |
750 | |
751 | |
752 | |
753 | if (apr_file_gets : enter=0, leave=0 apr_file_gets : /usr/include/apr-1/apr_file_io.h line=542 column=27 apr_file_gets(buffer : modules/mappers/mod_negotiation.c line=744 column=48 buffer, MAX_STRING_LEN, map : modules/mappers/mod_negotiation.c line=744 column=77 map) != : true=0, false=0 != APR_SUCCESS) { |
754 | return header_eof : modules/mappers/mod_negotiation.c line=741 column=5 header_eof; |
755 | |
756 | while (buffer : modules/mappers/mod_negotiation.c line=744 column=48 buffer[] : enter=0, leave=0 [0] == : true=0, false=0 == '#'); |
757 | |
758 | |
759 | |
760 | for (cp : modules/mappers/mod_negotiation.c line=747 column=11 cp = : pass=0 = buffer : modules/mappers/mod_negotiation.c line=744 column=48 buffer; (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=747 column=11 cp && : true=0, false=0 && apr_isspace(* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=747 column=11 cp)); ++ : pass=0 ++cp : modules/mappers/mod_negotiation.c line=747 column=11 cp) { |
761 | continue; |
762 | |
763 | |
764 | if (* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=747 column=11 cp == : true=0, false=0 == '\0') { |
765 | return header_sep : modules/mappers/mod_negotiation.c line=741 column=30 header_sep; |
766 | |
767 | |
768 | |
769 | |
770 | |
771 | |
772 | cp += : pass=0 += strlen : enter=0, leave=0 strlen : /usr/include/string.h line=399 column=15 strlen(cp : modules/mappers/mod_negotiation.c line=747 column=11 cp); |
773 | |
774 | |
775 | |
776 | |
777 | if (! : true=0, false=0 !strncasecmp : enter=0, leave=0 strncasecmp : /usr/include/string.h line=540 column=12 strncasecmp(buffer : modules/mappers/mod_negotiation.c line=744 column=48 buffer, "Body:", 5)) |
778 | return header_seen : modules/mappers/mod_negotiation.c line=741 column=17 header_seen; |
779 | |
780 | while (apr_file_getc : enter=0, leave=0 apr_file_getc : /usr/include/apr-1/apr_file_io.h line=526 column=27 apr_file_getc(&c : modules/mappers/mod_negotiation.c line=748 column=10 c, map : modules/mappers/mod_negotiation.c line=744 column=77 map) != : true=0, false=0 != APR_EOF) { |
781 | if (c : modules/mappers/mod_negotiation.c line=748 column=10 c == : true=0, false=0 == '#') { |
782 | |
783 | while (apr_file_getc : enter=0, leave=0 apr_file_getc : /usr/include/apr-1/apr_file_io.h line=526 column=27 apr_file_getc(&c : modules/mappers/mod_negotiation.c line=748 column=10 c, map : modules/mappers/mod_negotiation.c line=744 column=77 map) != : true=0, false=0 MC/DC independently affect : true=0, false=0 != APR_EOF && : true=0, false=0 && c : modules/mappers/mod_negotiation.c line=748 column=10 c != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\n') { |
784 | continue; |
785 | |
786 | |
787 | if (apr_isspace(c : modules/mappers/mod_negotiation.c line=748 column=10 c)) { |
788 | |
789 | |
790 | |
791 | |
792 | |
793 | while (c : modules/mappers/mod_negotiation.c line=748 column=10 c != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\n' && : true=0, false=0 && apr_isspace(c : modules/mappers/mod_negotiation.c line=748 column=10 c)) { |
794 | if(apr_file_getc : enter=0, leave=0 apr_file_getc : /usr/include/apr-1/apr_file_io.h line=526 column=27 apr_file_getc(&c : modules/mappers/mod_negotiation.c line=748 column=10 c, map : modules/mappers/mod_negotiation.c line=744 column=77 map) != : true=0, false=0 != APR_SUCCESS) |
795 | break; |
796 | |
797 | |
798 | apr_file_ungetc : /usr/include/apr-1/apr_file_io.h line=533 column=27 apr_file_ungetc(c : modules/mappers/mod_negotiation.c line=748 column=10 c, map : modules/mappers/mod_negotiation.c line=744 column=77 map); |
799 | |
800 | if (c : modules/mappers/mod_negotiation.c line=748 column=10 c == : true=0, false=0 == '\n') { |
801 | return header_seen : modules/mappers/mod_negotiation.c line=741 column=17 header_seen; /* Blank line */ |
802 | |
803 | |
804 | |
805 | |
806 | while ( cp : modules/mappers/mod_negotiation.c line=747 column=11 cp < : true=0, false=0 MC/DC independently affect : true=0, false=0 < buf_end : modules/mappers/mod_negotiation.c line=746 column=11 buf_end - : pass=0 - 2 |
807 | && (apr_file_getc : enter=0, leave=0 apr_file_getc : /usr/include/apr-1/apr_file_io.h line=526 column=27 apr_file_getc(&c : modules/mappers/mod_negotiation.c line=748 column=10 c, map : modules/mappers/mod_negotiation.c line=744 column=77 map)) != : true=0, false=0 MC/DC independently affect : true=0, false=0 != APR_EOF |
808 | && c : modules/mappers/mod_negotiation.c line=748 column=10 c != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\n') { |
809 | cp++ : pass=0 ++ = : enter=0, leave=0 = c : modules/mappers/mod_negotiation.c line=748 column=10 c; |
810 | |
811 | |
812 | cp++ : pass=0 ++ = : enter=0, leave=0 = '\n'; |
813 | cp = : enter=0, leave=0 = '\0'; |
814 | |
815 | |
816 | |
817 | |
818 | |
819 | apr_file_ungetc : /usr/include/apr-1/apr_file_io.h line=533 column=27 apr_file_ungetc(c : modules/mappers/mod_negotiation.c line=748 column=10 c, map : modules/mappers/mod_negotiation.c line=744 column=77 map); |
820 | return header_seen : modules/mappers/mod_negotiation.c line=741 column=17 header_seen; |
821 | |
822 | |
823 | |
824 | return header_seen : modules/mappers/mod_negotiation.c line=741 column=17 header_seen; |
825 | |
826 | |
827 | get_body(char *buffer, apr_size_t *len, const char *tag, |
828 | |
829 | |
830 | |
831 | |
832 | |
833 | |
834 | |
835 | taglen = : pass=0 = strlen : enter=0, leave=0 strlen : /usr/include/string.h line=399 column=15 strlen(tag : modules/mappers/mod_negotiation.c line=827 column=70 tag); |
836 | *len : modules/mappers/mod_negotiation.c line=827 column=53 len -= : enter=0, leave=0 -= taglen : modules/mappers/mod_negotiation.c line=832 column=9 taglen; |
837 | |
838 | |
839 | |
840 | |
841 | |
842 | |
843 | if (apr_file_read : enter=0, leave=0 apr_file_read : /usr/include/apr-1/apr_file_io.h line=407 column=27 apr_file_read(map : modules/mappers/mod_negotiation.c line=828 column=39 map, buffer : modules/mappers/mod_negotiation.c line=827 column=33 buffer, len : modules/mappers/mod_negotiation.c line=827 column=53 len) != : true=0, false=0 != APR_SUCCESS) { |
844 | return -1; |
845 | |
846 | |
847 | |
848 | |
849 | |
850 | |
851 | memcpy : /usr/include/string.h line=44 column=14 memcpy(buffer : modules/mappers/mod_negotiation.c line=827 column=33 buffer + : pass=0 + * dereference : enter=0, leave=0 *len : modules/mappers/mod_negotiation.c line=827 column=53 len, tag : modules/mappers/mod_negotiation.c line=827 column=70 tag, taglen : modules/mappers/mod_negotiation.c line=832 column=9 taglen); |
852 | endbody = : pass=0 = strstr : enter=0, leave=0 strstr : /usr/include/string.h line=342 column=14 strstr(buffer : modules/mappers/mod_negotiation.c line=827 column=33 buffer, tag : modules/mappers/mod_negotiation.c line=827 column=70 tag); |
853 | if (endbody : modules/mappers/mod_negotiation.c line=830 column=11 endbody == : true=0, false=0 == buffer : modules/mappers/mod_negotiation.c line=827 column=33 buffer + : pass=0 + * dereference : enter=0, leave=0 *len : modules/mappers/mod_negotiation.c line=827 column=53 len) { |
854 | return -1; |
855 | |
856 | bodylen = : pass=0 = endbody : modules/mappers/mod_negotiation.c line=830 column=11 endbody - : pass=0 - buffer : modules/mappers/mod_negotiation.c line=827 column=33 buffer; |
857 | endbody += : pass=0 += taglen : modules/mappers/mod_negotiation.c line=832 column=9 taglen; |
858 | |
859 | while (* dereference : enter=0, leave=0 *endbody : modules/mappers/mod_negotiation.c line=830 column=11 endbody) { |
860 | if (* dereference : enter=0, leave=0 *endbody : modules/mappers/mod_negotiation.c line=830 column=11 endbody == : true=0, false=0 == '\n') { |
861 | ++endbody : modules/mappers/mod_negotiation.c line=830 column=11 endbody; |
862 | break; |
863 | |
864 | ++endbody : modules/mappers/mod_negotiation.c line=830 column=11 endbody; |
865 | |
866 | |
867 | pos = : pass=0 = -(apr_off_t)(* dereference : enter=0, leave=0 *len : modules/mappers/mod_negotiation.c line=827 column=53 len - : pass=0 - (endbody : modules/mappers/mod_negotiation.c line=830 column=11 endbody - : pass=0 - buffer : modules/mappers/mod_negotiation.c line=827 column=33 buffer)); |
868 | if (apr_file_seek : enter=0, leave=0 apr_file_seek : /usr/include/apr-1/apr_file_io.h line=630 column=27 apr_file_seek(map : modules/mappers/mod_negotiation.c line=828 column=39 map, APR_CUR, &pos : modules/mappers/mod_negotiation.c line=833 column=15 pos) != : true=0, false=0 != APR_SUCCESS) { |
869 | return -1; |
870 | |
871 | |
872 | |
873 | len = : enter=0, leave=0 = bodylen : modules/mappers/mod_negotiation.c line=831 column=9 bodylen; |
874 | return pos : modules/mappers/mod_negotiation.c line=833 column=15 pos - : pass=0 - (endbody : modules/mappers/mod_negotiation.c line=830 column=11 endbody - : pass=0 - buffer : modules/mappers/mod_negotiation.c line=827 column=33 buffer); |
875 | |
876 | |
877 | |
878 | |
879 | |
880 | strip_paren_comments(char *hdr) |
881 | |
882 | |
883 | |
884 | |
885 | while (* dereference : enter=0, leave=0 *hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr) { |
886 | if (* dereference : enter=0, leave=0 *hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr == : true=0, false=0 == '"') { |
887 | hdr = : pass=0 = strchr : enter=0, leave=0 strchr : /usr/include/string.h line=235 column=14 strchr(hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr, '"'); |
888 | if (hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr == : true=0, false=0 == NULL) { |
889 | return; |
890 | |
891 | ++hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr; |
892 | |
893 | if (* dereference : enter=0, leave=0 *hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr == : true=0, false=0 == '(') { |
894 | while (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr && : true=0, false=0 && * dereference : enter=0, leave=0 *hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr != : true=0, false=0 MC/DC independently affect : true=0, false=0 != ')') { |
895 | hdr++ : pass=0 ++ = : enter=0, leave=0 = ' '; |
896 | |
897 | |
898 | if (* dereference : enter=0, leave=0 *hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr) { |
899 | hdr++ : pass=0 ++ = : enter=0, leave=0 = ' '; |
900 | |
901 | |
902 | |
903 | ++hdr : modules/mappers/mod_negotiation.c line=880 column=40 hdr; |
904 | |
905 | |
906 | |
907 | |
908 | |
909 | |
910 | lcase_header_name_return_body(char *header, request_rec *r) |
911 | |
912 | header; |
913 | |
914 | for ( ; MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=912 column=11 cp && : true=0, false=0 && * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=912 column=11 cp != : true=0, false=0 MC/DC independently affect : true=0, false=0 != ':' ; ++ : pass=0 ++cp : modules/mappers/mod_negotiation.c line=912 column=11 cp) { |
915 | cp = : enter=0, leave=0 = apr_tolower(* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=912 column=11 cp); |
916 | |
917 | |
918 | if (! : true=0, false=0 !* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=912 column=11 cp) { |
919 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_negotiation.c line=910 column=71 r, |
920 | |
921 | r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename, header : modules/mappers/mod_negotiation.c line=910 column=50 header); |
922 | return NULL; |
923 | |
924 | |
925 | |
926 | ++cp : modules/mappers/mod_negotiation.c line=912 column=11 cp; |
927 | while (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=912 column=11 cp && : true=0, false=0 && apr_isspace(* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=912 column=11 cp)); |
928 | |
929 | if (! : true=0, false=0 !* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=912 column=11 cp) { |
930 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_negotiation.c line=910 column=71 r, |
931 | |
932 | r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename, header : modules/mappers/mod_negotiation.c line=910 column=50 header); |
933 | return NULL; |
934 | |
935 | |
936 | return cp : modules/mappers/mod_negotiation.c line=912 column=11 cp; |
937 | |
938 | |
939 | read_type_map(apr_file_t **map, negotiation_state *neg, |
940 | |
941 | |
942 | neg-> : enter=0, leave=0 ->r : modules/mappers/mod_negotiation.c line=248 column=18 r; |
943 | |
944 | |
945 | |
946 | |
947 | |
948 | |
949 | |
950 | if (! : true=0, false=0 !map : modules/mappers/mod_negotiation.c line=939 column=39 map) |
951 | map = : pass=0 = &map_ : modules/mappers/mod_negotiation.c line=943 column=17 map_; |
952 | |
953 | |
954 | neg-> : enter=0, leave=0 ->count_multiviews_variants : modules/mappers/mod_negotiation.c line=264 column=9 count_multiviews_variants = : enter=0, leave=0 = 0; |
955 | |
956 | if ((status : modules/mappers/mod_negotiation.c line=944 column=18 status = : pass=0 = apr_file_open : enter=0, leave=0 apr_file_open : /usr/include/apr-1/apr_file_io.h line=235 column=27 apr_file_open(map : modules/mappers/mod_negotiation.c line=939 column=39 map, rr : modules/mappers/mod_negotiation.c line=940 column=39 rr-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename, APR_READ | : pass=0 | APR_BUFFERED, |
957 | neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool)) != : true=0, false=0 != APR_SUCCESS) { |
958 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, status : modules/mappers/mod_negotiation.c line=944 column=18 status, r : modules/mappers/mod_negotiation.c line=942 column=18 r, |
959 | rr-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename); |
960 | if (APR_STATUS_IS_ENOTDIR(status : modules/mappers/mod_negotiation.c line=944 column=18 status) || : true=0, false=0 || APR_STATUS_IS_ENOENT(status : modules/mappers/mod_negotiation.c line=944 column=18 status)) { |
961 | return HTTP_NOT_FOUND; |
962 | |
963 | |
964 | return HTTP_FORBIDDEN; |
965 | |
966 | |
967 | |
968 | clean_var_rec : modules/mappers/mod_negotiation.c line=279 column=13 clean_var_rec(&mime_info : modules/mappers/mod_negotiation.c line=947 column=20 mime_info); |
969 | has_content = : pass=0 = 0; |
970 | |
971 | |
972 | hstate = : pass=0 = get_header_line : enter=0, leave=0 get_header_line : modules/mappers/mod_negotiation.c line=744 column=26 get_header_line(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, MAX_STRING_LEN, * dereference : enter=0, leave=0 *map : modules/mappers/mod_negotiation.c line=939 column=39 map); |
973 | |
974 | if (hstate : modules/mappers/mod_negotiation.c line=946 column=23 hstate == : true=0, false=0 == header_seen : modules/mappers/mod_negotiation.c line=741 column=17 header_seen) { |
975 | lcase_header_name_return_body : modules/mappers/mod_negotiation.c line=910 column=14 lcase_header_name_return_body(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, neg : modules/mappers/mod_negotiation.c line=939 column=63 neg-> : enter=0, leave=0 ->r : modules/mappers/mod_negotiation.c line=248 column=18 r); |
976 | |
977 | |
978 | if (body1 : modules/mappers/mod_negotiation.c line=975 column=19 body1 == : true=0, false=0 == NULL) { |
979 | return HTTP_INTERNAL_SERVER_ERROR; |
980 | |
981 | |
982 | strip_paren_comments : modules/mappers/mod_negotiation.c line=880 column=13 strip_paren_comments(body1 : modules/mappers/mod_negotiation.c line=975 column=19 body1); |
983 | body = : pass=0 = body1 : modules/mappers/mod_negotiation.c line=975 column=19 body1; |
984 | |
985 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, "uri:", 4)) { |
986 | mime_info.file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name = : pass=0 = ap_get_token : enter=0, leave=0 ap_get_token : include/httpd.h line=1423 column=20 ap_get_token(neg : modules/mappers/mod_negotiation.c line=939 column=63 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, &body : modules/mappers/mod_negotiation.c line=976 column=25 body, 0); |
987 | |
988 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, "content-type:", 13)) { |
989 | |
990 | |
991 | get_entry : modules/mappers/mod_negotiation.c line=409 column=20 get_entry(neg : modules/mappers/mod_negotiation.c line=939 column=63 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, &accept_info : modules/mappers/mod_negotiation.c line=989 column=35 accept_info, body : modules/mappers/mod_negotiation.c line=976 column=25 body); |
992 | set_mime_fields : modules/mappers/mod_negotiation.c line=309 column=13 set_mime_fields(&mime_info : modules/mappers/mod_negotiation.c line=947 column=20 mime_info, &accept_info : modules/mappers/mod_negotiation.c line=989 column=35 accept_info); |
993 | has_content = : pass=0 = 1; |
994 | |
995 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, "content-length:", 15)) { |
996 | |
997 | |
998 | |
999 | if (MC/DC independently affect : true=0, false=0 apr_strtoff : enter=0, leave=0 apr_strtoff : /usr/include/apr-1/apr_strings.h line=317 column=27 apr_strtoff(&number : modules/mappers/mod_negotiation.c line=997 column=27 number, body : modules/mappers/mod_negotiation.c line=976 column=25 body, &errp : modules/mappers/mod_negotiation.c line=996 column=23 errp, 10) |
1000 | || MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *errp : modules/mappers/mod_negotiation.c line=996 column=23 errp || : true=0, false=0 || number : modules/mappers/mod_negotiation.c line=997 column=27 number < : true=0, false=0 MC/DC independently affect : true=0, false=0 < 0) { |
1001 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_negotiation.c line=942 column=18 r, |
1002 | |
1003 | |
1004 | body, r : modules/mappers/mod_negotiation.c line=942 column=18 r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename); |
1005 | break; |
1006 | |
1007 | mime_info.bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes = : pass=0 = number : modules/mappers/mod_negotiation.c line=997 column=27 number; |
1008 | has_content = : pass=0 = 1; |
1009 | |
1010 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, "content-language:", 17)) { |
1011 | mime_info.content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages = : pass=0 = do_languages_line : enter=0, leave=0 do_languages_line : modules/mappers/mod_negotiation.c line=539 column=28 do_languages_line(neg : modules/mappers/mod_negotiation.c line=939 column=63 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, |
1012 | body); |
1013 | has_content = : pass=0 = 1; |
1014 | |
1015 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, "content-encoding:", 17)) { |
1016 | mime_info.content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding = : pass=0 = ap_get_token : enter=0, leave=0 ap_get_token : include/httpd.h line=1423 column=20 ap_get_token(neg : modules/mappers/mod_negotiation.c line=939 column=63 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, &body : modules/mappers/mod_negotiation.c line=976 column=25 body, 0); |
1017 | has_content = : pass=0 = 1; |
1018 | |
1019 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, "description:", 12)) { |
1020 | apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21 apr_pstrdup(neg : modules/mappers/mod_negotiation.c line=939 column=63 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, body : modules/mappers/mod_negotiation.c line=976 column=25 body); |
1021 | |
1022 | |
1023 | for (cp : modules/mappers/mod_negotiation.c line=1021 column=23 cp = : pass=0 = desc : modules/mappers/mod_negotiation.c line=1020 column=23 desc; * dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=1021 column=23 cp; ++ : pass=0 ++cp : modules/mappers/mod_negotiation.c line=1021 column=23 cp) { |
1024 | if (* dereference : enter=0, leave=0 *cp : modules/mappers/mod_negotiation.c line=1021 column=23 cp== : true=0, false=0 =='\n') *cp : modules/mappers/mod_negotiation.c line=1021 column=23 cp= : enter=0, leave=0 =' '; |
1025 | |
1026 | if (cp : modules/mappers/mod_negotiation.c line=1021 column=23 cp> : true=0, false=0 >desc : modules/mappers/mod_negotiation.c line=1020 column=23 desc) *(cp : modules/mappers/mod_negotiation.c line=1021 column=23 cp- : pass=0 -1)= : enter=0, leave=0 =0; |
1027 | mime_info.description : modules/mappers/mod_negotiation.c line=210 column=17 description = : pass=0 = desc : modules/mappers/mod_negotiation.c line=1020 column=23 desc; |
1028 | |
1029 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, "body:", 5)) { |
1030 | apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21 apr_pstrdup(neg : modules/mappers/mod_negotiation.c line=939 column=63 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, body : modules/mappers/mod_negotiation.c line=976 column=25 body); |
1031 | strchr : /usr/include/string.h line=235 column=14 strchr(tag : modules/mappers/mod_negotiation.c line=1030 column=23 tag, '\0'); |
1032 | |
1033 | while (-- : pass=0 --eol : modules/mappers/mod_negotiation.c line=1031 column=23 eol >= : true=0, false=0 MC/DC independently affect : true=0, false=0 >= tag : modules/mappers/mod_negotiation.c line=1030 column=23 tag && : true=0, false=0 && apr_isspace(* dereference : enter=0, leave=0 *eol : modules/mappers/mod_negotiation.c line=1031 column=23 eol)) |
1034 | eol = : enter=0, leave=0 = '\0'; |
1035 | if ((mime_info : modules/mappers/mod_negotiation.c line=947 column=20 mime_info.body : modules/mappers/mod_negotiation.c line=206 column=15 body = : pass=0 = get_body : enter=0, leave=0 get_body : modules/mappers/mod_negotiation.c line=827 column=18 get_body(buffer : modules/mappers/mod_negotiation.c line=945 column=10 buffer, &len : modules/mappers/mod_negotiation.c line=1032 column=28 len, tag : modules/mappers/mod_negotiation.c line=1030 column=23 tag, * dereference : enter=0, leave=0 *map : modules/mappers/mod_negotiation.c line=939 column=39 map)) < : true=0, false=0 < 0) { |
1036 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_negotiation.c line=942 column=18 r, |
1037 | |
1038 | |
1039 | tag, r : modules/mappers/mod_negotiation.c line=942 column=18 r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename); |
1040 | break; |
1041 | |
1042 | mime_info.bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes = : pass=0 = len : modules/mappers/mod_negotiation.c line=1032 column=28 len; |
1043 | mime_info.file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name = : pass=0 = apr_filepath_name_get : enter=0, leave=0 apr_filepath_name_get : /usr/include/apr-1/apr_lib.h line=84 column=27 apr_filepath_name_get(rr : modules/mappers/mod_negotiation.c line=940 column=39 rr-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename); |
1044 | |
1045 | |
1046 | |
1047 | if (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *mime_info : modules/mappers/mod_negotiation.c line=947 column=20 mime_info.file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name && : true=0, false=0 && MC/DC independently affect : true=0, false=0 has_content : modules/mappers/mod_negotiation.c line=948 column=9 has_content) { |
1048 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(neg : modules/mappers/mod_negotiation.c line=939 column=63 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars); |
1049 | |
1050 | memcpy : /usr/include/string.h line=44 column=14 memcpy(new_var : modules/mappers/mod_negotiation.c line=1048 column=23 new_var, (void *) &mime_info : modules/mappers/mod_negotiation.c line=947 column=20 mime_info, sizeof(var_rec)); |
1051 | |
1052 | |
1053 | clean_var_rec : modules/mappers/mod_negotiation.c line=279 column=13 clean_var_rec(&mime_info : modules/mappers/mod_negotiation.c line=947 column=20 mime_info); |
1054 | has_content = : pass=0 = 0; |
1055 | |
1056 | while (hstate : modules/mappers/mod_negotiation.c line=946 column=23 hstate != : true=0, false=0 != header_eof : modules/mappers/mod_negotiation.c line=741 column=5 header_eof); |
1057 | |
1058 | if (map_ : modules/mappers/mod_negotiation.c line=943 column=17 map_) |
1059 | apr_file_close : /usr/include/apr-1/apr_file_io.h line=243 column=27 apr_file_close(map_ : modules/mappers/mod_negotiation.c line=943 column=17 map_); |
1060 | |
1061 | set_vlist_validator : modules/mappers/mod_negotiation.c line=323 column=13 set_vlist_validator(r : modules/mappers/mod_negotiation.c line=942 column=18 r, rr : modules/mappers/mod_negotiation.c line=940 column=39 rr); |
1062 | |
1063 | return OK; |
1064 | |
1065 | |
1066 | |
1067 | |
1068 | variantsortf(var_rec *a, var_rec *b) { |
1069 | |
1070 | |
1071 | |
1072 | |
1073 | |
1074 | |
1075 | |
1076 | if (a : modules/mappers/mod_negotiation.c line=1068 column=34 a-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality < : true=0, false=0 < b : modules/mappers/mod_negotiation.c line=1068 column=46 b-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality) |
1077 | return 1; |
1078 | if (a : modules/mappers/mod_negotiation.c line=1068 column=34 a-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality > : true=0, false=0 > b : modules/mappers/mod_negotiation.c line=1068 column=46 b-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality) |
1079 | return -1; |
1080 | |
1081 | |
1082 | return strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(a : modules/mappers/mod_negotiation.c line=1068 column=34 a-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name, b : modules/mappers/mod_negotiation.c line=1068 column=46 b-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name); |
1083 | |
1084 | |
1085 | |
1086 | |
1087 | |
1088 | |
1089 | |
1090 | |
1091 | read_types_multi(negotiation_state *neg) |
1092 | |
1093 | neg-> : enter=0, leave=0 ->r : modules/mappers/mod_negotiation.c line=248 column=18 r; |
1094 | |
1095 | |
1096 | |
1097 | |
1098 | |
1099 | |
1100 | |
1101 | |
1102 | |
1103 | |
1104 | |
1105 | clean_var_rec : modules/mappers/mod_negotiation.c line=279 column=13 clean_var_rec(&mime_info : modules/mappers/mod_negotiation.c line=1100 column=20 mime_info); |
1106 | |
1107 | if (r : modules/mappers/mod_negotiation.c line=1093 column=18 rMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->proxyreq : include/httpd.h line=806 column=9 proxyreq || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !r : modules/mappers/mod_negotiation.c line=1093 column=18 r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename |
1108 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !ap_os_is_path_absolute : enter=0, leave=0 ap_os_is_path_absolute : include/httpd.h line=1610 column=17 ap_os_is_path_absolute(neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, r : modules/mappers/mod_negotiation.c line=1093 column=18 r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename)) { |
1109 | return DECLINED; |
1110 | |
1111 | |
1112 | |
1113 | if (! : true=0, false=0 !(filp : modules/mappers/mod_negotiation.c line=1095 column=11 filp = : pass=0 = strrchr : enter=0, leave=0 strrchr : /usr/include/string.h line=262 column=14 strrchr(r : modules/mappers/mod_negotiation.c line=1093 column=18 r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename, '/'))) { |
1114 | return DECLINED; |
1115 | |
1116 | ++filp : modules/mappers/mod_negotiation.c line=1095 column=11 filp; |
1117 | prefix_len = : pass=0 = strlen : enter=0, leave=0 strlen : /usr/include/string.h line=399 column=15 strlen(filp : modules/mappers/mod_negotiation.c line=1095 column=11 filp); |
1118 | |
1119 | if ((status : modules/mappers/mod_negotiation.c line=1099 column=18 status = : pass=0 = apr_dir_open : enter=0, leave=0 apr_dir_open : /usr/include/apr-1/apr_file_info.h line=244 column=27 apr_dir_open(&dirp : modules/mappers/mod_negotiation.c line=1097 column=16 dirp, neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg-> : enter=0, leave=0 ->dir_name : modules/mappers/mod_negotiation.c line=250 column=11 dir_name, |
1120 | neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool)) != : true=0, false=0 != APR_SUCCESS) { |
1121 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, status : modules/mappers/mod_negotiation.c line=1099 column=18 status, r : modules/mappers/mod_negotiation.c line=1093 column=18 r, |
1122 | neg-> : enter=0, leave=0 ->dir_name : modules/mappers/mod_negotiation.c line=250 column=11 dir_name); |
1123 | return HTTP_FORBIDDEN; |
1124 | |
1125 | |
1126 | while (apr_dir_read : enter=0, leave=0 apr_dir_read : /usr/include/apr-1/apr_file_info.h line=267 column=27 apr_dir_read(&dirent : modules/mappers/mod_negotiation.c line=1098 column=17 dirent, APR_FINFO_DIRENT, dirp : modules/mappers/mod_negotiation.c line=1097 column=16 dirp) == : true=0, false=0 == APR_SUCCESS) { |
1127 | |
1128 | |
1129 | |
1130 | |
1131 | |
1132 | |
1133 | |
1134 | if (strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(dirent : modules/mappers/mod_negotiation.c line=1098 column=17 dirent.name : /usr/include/apr-1/apr_file_info.h line=210 column=17 name, filp : modules/mappers/mod_negotiation.c line=1095 column=11 filp, prefix_len : modules/mappers/mod_negotiation.c line=1096 column=9 prefix_len)) { |
1135 | |
1136 | continue; |
1137 | |
1138 | if (dirent : modules/mappers/mod_negotiation.c line=1098 column=17 dirent.name : /usr/include/apr-1/apr_file_info.h line=210 column=17 name[] : enter=0, leave=0 [prefix_len : modules/mappers/mod_negotiation.c line=1096 column=9 prefix_len] != : true=0, false=0 != '.') { |
1139 | continue; |
1140 | |
1141 | |
1142 | |
1143 | |
1144 | |
1145 | |
1146 | |
1147 | |
1148 | |
1149 | |
1150 | |
1151 | if ((dirent : modules/mappers/mod_negotiation.c line=1098 column=17 dirent.valid : /usr/include/apr-1/apr_file_info.h line=179 column=17 valid & : pass=0 & APR_FINFO_TYPE) && : true=0, false=0 && (dirent : modules/mappers/mod_negotiation.c line=1098 column=17 dirent.filetype : /usr/include/apr-1/apr_file_info.h line=186 column=20 filetype == : true=0, false=0 MC/DC independently affect : true=0, false=0 == APR_DIR : /usr/include/apr-1/apr_file_info.h line=65 column=5 APR_DIR)) |
1152 | continue; |
1153 | |
1154 | |
1155 | |
1156 | |
1157 | anymatch = : pass=0 = 1; |
1158 | |
1159 | |
1160 | |
1161 | |
1162 | |
1163 | sub_req = : pass=0 = ap_sub_req_lookup_dirent : enter=0, leave=0 ap_sub_req_lookup_dirent : include/http_request.h line=105 column=27 ap_sub_req_lookup_dirent(&dirent : modules/mappers/mod_negotiation.c line=1098 column=17 dirent, r : modules/mappers/mod_negotiation.c line=1093 column=18 r, AP_SUBREQ_MERGE_ARGS, |
1164 | |
1165 | |
1166 | |
1167 | |
1168 | if (sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->finfo : include/httpd.h line=957 column=17 finfo.filetype : /usr/include/apr-1/apr_file_info.h line=186 column=20 filetype != : true=0, false=0 != APR_REG : /usr/include/apr-1/apr_file_info.h line=64 column=5 APR_REG) { |
1169 | |
1170 | continue; |
1171 | |
1172 | |
1173 | |
1174 | |
1175 | |
1176 | |
1177 | if (sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_reqMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->content_type : include/httpd.h line=917 column=17 content_type) { |
1178 | ap_set_content_type : include/http_protocol.h line=310 column=18 ap_set_content_type(sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req, CGI_MAGIC_TYPE); |
1179 | |
1180 | |
1181 | |
1182 | |
1183 | |
1184 | |
1185 | |
1186 | |
1187 | |
1188 | |
1189 | |
1190 | exception_list = : pass=0 = |
1191 | apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->notes : include/httpd.h line=910 column=18 notes, |
1192 | |
1193 | |
1194 | if (! : true=0, false=0 !exception_list : modules/mappers/mod_negotiation.c line=1127 column=29 exception_list) { |
1195 | ap_destroy_sub_req : include/http_request.h line=144 column=18 ap_destroy_sub_req(sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req); |
1196 | continue; |
1197 | |
1198 | |
1199 | |
1200 | |
1201 | |
1202 | |
1203 | |
1204 | |
1205 | |
1206 | exception_list-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; |
1207 | exception_list-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
1208 | filp, *segend, saveend; |
1209 | |
1210 | while (MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *segstart : modules/mappers/mod_negotiation.c line=1208 column=19 segstart && : true=0, false=0 && MC/DC independently affect : true=0, false=0 nexcept : modules/mappers/mod_negotiation.c line=1206 column=17 nexcept) { |
1211 | if (! : true=0, false=0 !(segend : modules/mappers/mod_negotiation.c line=1208 column=37 segend = : pass=0 = strchr : enter=0, leave=0 strchr : /usr/include/string.h line=235 column=14 strchr(segstart : modules/mappers/mod_negotiation.c line=1208 column=19 segstart, '.'))) |
1212 | segend = : pass=0 = strchr : enter=0, leave=0 strchr : /usr/include/string.h line=235 column=14 strchr(segstart : modules/mappers/mod_negotiation.c line=1208 column=19 segstart, '\0'); |
1213 | saveend = : pass=0 = * dereference : enter=0, leave=0 *segend : modules/mappers/mod_negotiation.c line=1208 column=37 segend; |
1214 | segend = : enter=0, leave=0 = '\0'; |
1215 | |
1216 | |
1217 | |
1218 | |
1219 | if (strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(segstart : modules/mappers/mod_negotiation.c line=1208 column=19 segstart, * dereference : enter=0, leave=0 *cur_except : modules/mappers/mod_negotiation.c line=1207 column=20 cur_except) == : true=0, false=0 == 0) { |
1220 | |
1221 | --nexcept : modules/mappers/mod_negotiation.c line=1206 column=17 nexcept; |
1222 | ++cur_except : modules/mappers/mod_negotiation.c line=1207 column=20 cur_except; |
1223 | |
1224 | |
1225 | if (! : true=0, false=0 !saveend : modules/mappers/mod_negotiation.c line=1208 column=45 saveend) |
1226 | break; |
1227 | |
1228 | segend = : enter=0, leave=0 = saveend : modules/mappers/mod_negotiation.c line=1208 column=45 saveend; |
1229 | segstart = : pass=0 = segend : modules/mappers/mod_negotiation.c line=1208 column=37 segend + : pass=0 + 1; |
1230 | |
1231 | |
1232 | if (nexcept : modules/mappers/mod_negotiation.c line=1206 column=17 nexcept) { |
1233 | |
1234 | |
1235 | ap_destroy_sub_req : include/http_request.h line=144 column=18 ap_destroy_sub_req(sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req); |
1236 | continue; |
1237 | |
1238 | |
1239 | |
1240 | |
1241 | |
1242 | |
1243 | |
1244 | |
1245 | if (sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->status : include/httpd.h line=822 column=9 status != : true=0, false=0 MC/DC independently affect : true=0, false=0 != HTTP_OK || : true=0, false=0 || (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->content_type : include/httpd.h line=917 column=17 content_type)) { |
1246 | ap_destroy_sub_req : include/http_request.h line=144 column=18 ap_destroy_sub_req(sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req); |
1247 | continue; |
1248 | |
1249 | |
1250 | |
1251 | |
1252 | |
1253 | if (((sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_reqMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_type : include/httpd.h line=917 column=17 content_type) && : true=0, false=0 && |
1254 | MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->content_type : include/httpd.h line=917 column=17 content_type, MAP_FILE_MAGIC_TYPE)) || : true=0, false=0 || |
1255 | sub_reqMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler) && : true=0, false=0 && |
1256 | MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler, "type-map"))) { |
1257 | |
1258 | apr_dir_close : /usr/include/apr-1/apr_file_info.h line=252 column=27 apr_dir_close(dirp : modules/mappers/mod_negotiation.c line=1097 column=16 dirp); |
1259 | neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts = : enter=0, leave=0 = 0; |
1260 | if (sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->status : include/httpd.h line=822 column=9 status != : true=0, false=0 != HTTP_OK) { |
1261 | return sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->status : include/httpd.h line=822 column=9 status; |
1262 | |
1263 | return read_type_map : enter=0, leave=0 read_type_map : modules/mappers/mod_negotiation.c line=939 column=12 read_type_map(NULL, neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg, sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req); |
1264 | |
1265 | |
1266 | |
1267 | |
1268 | mime_info.sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req = : pass=0 = sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req; |
1269 | mime_info.file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name = : pass=0 = apr_pstrdup : enter=0, leave=0 apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21 apr_pstrdup(neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, dirent : modules/mappers/mod_negotiation.c line=1098 column=17 dirent.name : /usr/include/apr-1/apr_file_info.h line=210 column=17 name); |
1270 | if (sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->content_encoding : include/httpd.h line=922 column=17 content_encoding) { |
1271 | mime_info.content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding = : pass=0 = sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->content_encoding : include/httpd.h line=922 column=17 content_encoding; |
1272 | |
1273 | if (sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->content_languages : include/httpd.h line=924 column=25 content_languages) { |
1274 | mime_info.content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages = : pass=0 = sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->content_languages : include/httpd.h line=924 column=25 content_languages; |
1275 | |
1276 | |
1277 | get_entry : modules/mappers/mod_negotiation.c line=409 column=20 get_entry(neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, &accept_info : modules/mappers/mod_negotiation.c line=1101 column=23 accept_info, sub_req : modules/mappers/mod_negotiation.c line=1128 column=22 sub_req-> : enter=0, leave=0 ->content_type : include/httpd.h line=917 column=17 content_type); |
1278 | set_mime_fields : modules/mappers/mod_negotiation.c line=309 column=13 set_mime_fields(&mime_info : modules/mappers/mod_negotiation.c line=1100 column=20 mime_info, &accept_info : modules/mappers/mod_negotiation.c line=1101 column=23 accept_info); |
1279 | |
1280 | new_var = : pass=0 = apr_array_push : enter=0, leave=0 apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars); |
1281 | memcpy : /usr/include/string.h line=44 column=14 memcpy(new_var : modules/mappers/mod_negotiation.c line=1102 column=11 new_var, (void *) &mime_info : modules/mappers/mod_negotiation.c line=1100 column=20 mime_info, sizeof(var_rec)); |
1282 | |
1283 | neg-> : enter=0, leave=0 ->count_multiviews_variants : modules/mappers/mod_negotiation.c line=264 column=9 count_multiviews_variants++ : pass=0 ++; |
1284 | |
1285 | clean_var_rec : modules/mappers/mod_negotiation.c line=279 column=13 clean_var_rec(&mime_info : modules/mappers/mod_negotiation.c line=1100 column=20 mime_info); |
1286 | |
1287 | |
1288 | apr_dir_close : /usr/include/apr-1/apr_file_info.h line=252 column=27 apr_dir_close(dirp : modules/mappers/mod_negotiation.c line=1097 column=16 dirp); |
1289 | |
1290 | |
1291 | |
1292 | |
1293 | |
1294 | if (MC/DC independently affect : true=0, false=0 anymatch : modules/mappers/mod_negotiation.c line=1103 column=9 anymatch && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts) { |
1295 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_negotiation.c line=1093 column=18 r, |
1296 | |
1297 | |
1298 | r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename); |
1299 | return HTTP_NOT_FOUND; |
1300 | |
1301 | |
1302 | set_vlist_validator : modules/mappers/mod_negotiation.c line=323 column=13 set_vlist_validator(r : modules/mappers/mod_negotiation.c line=1093 column=18 r, r : modules/mappers/mod_negotiation.c line=1093 column=18 r); |
1303 | |
1304 | |
1305 | |
1306 | |
1307 | |
1308 | |
1309 | |
1310 | |
1311 | |
1312 | qsort : /usr/include/stdlib.h line=761 column=13 qsort((void *) neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts, neg : modules/mappers/mod_negotiation.c line=1091 column=48 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts, |
1313 | variantsortf); |
1314 | |
1315 | return OK; |
1316 | |
1317 | |
1318 | |
1319 | |
1320 | |
1321 | |
1322 | |
1323 | |
1324 | |
1325 | |
1326 | |
1327 | |
1328 | |
1329 | |
1330 | |
1331 | |
1332 | |
1333 | |
1334 | |
1335 | |
1336 | mime_match(accept_rec *accept_r, var_rec *avail) |
1337 | |
1338 | accept_r-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name; |
1339 | avail-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type; |
1340 | strlen : /usr/include/string.h line=399 column=15 strlen(accept_type : modules/mappers/mod_negotiation.c line=1338 column=17 accept_type); |
1341 | |
1342 | if (accept_type : modules/mappers/mod_negotiation.c line=1338 column=17 accept_type[] : enter=0, leave=0 [0] == : true=0, false=0 == '*') { /* Anything matches star/star */ |
1343 | if (avail : modules/mappers/mod_negotiation.c line=1336 column=54 avail-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars < : true=0, false=0 < 1) { |
1344 | avail-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars = : enter=0, leave=0 = 1; |
1345 | |
1346 | return 1; |
1347 | |
1348 | if ((accept_type : modules/mappers/mod_negotiation.c line=1338 column=17 accept_type[] : enter=0, leave=0 [len : modules/mappers/mod_negotiation.c line=1340 column=9 len - : pass=0 - 1] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '*') && : true=0, false=0 && |
1349 | MC/DC independently affect : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(accept_type : modules/mappers/mod_negotiation.c line=1338 column=17 accept_type, avail_type : modules/mappers/mod_negotiation.c line=1339 column=17 avail_type, len : modules/mappers/mod_negotiation.c line=1340 column=9 len - : pass=0 - 2)) { |
1350 | if (avail : modules/mappers/mod_negotiation.c line=1336 column=54 avail-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars < : true=0, false=0 < 2) { |
1351 | avail-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars = : enter=0, leave=0 = 2; |
1352 | |
1353 | return 1; |
1354 | |
1355 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(accept_type : modules/mappers/mod_negotiation.c line=1338 column=17 accept_type, avail_type : modules/mappers/mod_negotiation.c line=1339 column=17 avail_type) |
1356 | || (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(accept_type : modules/mappers/mod_negotiation.c line=1338 column=17 accept_type, "text/html") |
1357 | && (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(avail_type : modules/mappers/mod_negotiation.c line=1339 column=17 avail_type, INCLUDES_MAGIC_TYPE) |
1358 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(avail_type : modules/mappers/mod_negotiation.c line=1339 column=17 avail_type, INCLUDES_MAGIC_TYPE3)))) { |
1359 | if (accept_r : modules/mappers/mod_negotiation.c line=1336 column=35 accept_r-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=178 column=11 level >= : true=0, false=0 >= avail : modules/mappers/mod_negotiation.c line=1336 column=54 avail-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=228 column=11 level) { |
1360 | avail-> : enter=0, leave=0 ->level_matched : modules/mappers/mod_negotiation.c line=237 column=11 level_matched = : enter=0, leave=0 = avail : modules/mappers/mod_negotiation.c line=1336 column=54 avail-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=228 column=11 level; |
1361 | avail-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars = : enter=0, leave=0 = 3; |
1362 | return 1; |
1363 | |
1364 | |
1365 | |
1366 | return OK; |
1367 | |
1368 | |
1369 | |
1370 | |
1371 | |
1372 | |
1373 | |
1374 | |
1375 | |
1376 | |
1377 | |
1378 | |
1379 | |
1380 | |
1381 | |
1382 | |
1383 | |
1384 | |
1385 | |
1386 | |
1387 | |
1388 | |
1389 | |
1390 | |
1391 | |
1392 | |
1393 | |
1394 | level_cmp(var_rec *var1, var_rec *var2) |
1395 | |
1396 | |
1397 | |
1398 | if (var1 : modules/mappers/mod_negotiation.c line=1394 column=31 var1MC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->is_pseudo_html : modules/mappers/mod_negotiation.c line=231 column=9 is_pseudo_html && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !var2 : modules/mappers/mod_negotiation.c line=1394 column=46 var2-> : enter=0, leave=0 ->is_pseudo_html : modules/mappers/mod_negotiation.c line=231 column=9 is_pseudo_html) { |
1399 | return 0; |
1400 | |
1401 | |
1402 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !var1 : modules/mappers/mod_negotiation.c line=1394 column=31 var1-> : enter=0, leave=0 ->is_pseudo_html : modules/mappers/mod_negotiation.c line=231 column=9 is_pseudo_html && : true=0, false=0 && MC/DC independently affect : true=0, false=0 strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(var1 : modules/mappers/mod_negotiation.c line=1394 column=31 var1-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, var2 : modules/mappers/mod_negotiation.c line=1394 column=46 var2-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type)) { |
1403 | return 0; |
1404 | |
1405 | |
1406 | |
1407 | |
1408 | |
1409 | |
1410 | |
1411 | |
1412 | if (var1 : modules/mappers/mod_negotiation.c line=1394 column=31 var1-> : enter=0, leave=0 ->level_matched : modules/mappers/mod_negotiation.c line=237 column=11 level_matched > : true=0, false=0 > var2 : modules/mappers/mod_negotiation.c line=1394 column=46 var2-> : enter=0, leave=0 ->level_matched : modules/mappers/mod_negotiation.c line=237 column=11 level_matched) { |
1413 | return 1; |
1414 | |
1415 | if (var1 : modules/mappers/mod_negotiation.c line=1394 column=31 var1-> : enter=0, leave=0 ->level_matched : modules/mappers/mod_negotiation.c line=237 column=11 level_matched < : true=0, false=0 < var2 : modules/mappers/mod_negotiation.c line=1394 column=46 var2-> : enter=0, leave=0 ->level_matched : modules/mappers/mod_negotiation.c line=237 column=11 level_matched) { |
1416 | return -1; |
1417 | |
1418 | |
1419 | |
1420 | |
1421 | if (var1 : modules/mappers/mod_negotiation.c line=1394 column=31 var1-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=228 column=11 level < : true=0, false=0 < var2 : modules/mappers/mod_negotiation.c line=1394 column=46 var2-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=228 column=11 level) { |
1422 | return 1; |
1423 | |
1424 | if (var1 : modules/mappers/mod_negotiation.c line=1394 column=31 var1-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=228 column=11 level > : true=0, false=0 > var2 : modules/mappers/mod_negotiation.c line=1394 column=46 var2-> : enter=0, leave=0 ->level : modules/mappers/mod_negotiation.c line=228 column=11 level) { |
1425 | return -1; |
1426 | |
1427 | |
1428 | |
1429 | |
1430 | return 0; |
1431 | |
1432 | |
1433 | |
1434 | |
1435 | |
1436 | |
1437 | |
1438 | |
1439 | |
1440 | |
1441 | |
1442 | |
1443 | |
1444 | |
1445 | |
1446 | |
1447 | |
1448 | |
1449 | |
1450 | |
1451 | |
1452 | find_lang_index(apr_array_header_t *accept_langs, char *lang) |
1453 | |
1454 | |
1455 | |
1456 | |
1457 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !lang : modules/mappers/mod_negotiation.c line=1452 column=68 lang || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !accept_langs : modules/mappers/mod_negotiation.c line=1452 column=48 accept_langs) { |
1458 | return -1; |
1459 | |
1460 | |
1461 | alang = : pass=0 = (const char **) accept_langs : modules/mappers/mod_negotiation.c line=1452 column=48 accept_langs-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
1462 | |
1463 | for (i : modules/mappers/mod_negotiation.c line=1455 column=9 i = : pass=0 = 0; i : modules/mappers/mod_negotiation.c line=1455 column=9 i < : true=0, false=0 < accept_langs : modules/mappers/mod_negotiation.c line=1452 column=48 accept_langs-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_negotiation.c line=1455 column=9 i) { |
1464 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(lang : modules/mappers/mod_negotiation.c line=1452 column=68 lang, * dereference : enter=0, leave=0 *alang : modules/mappers/mod_negotiation.c line=1454 column=18 alang, strlen : enter=0, leave=0 strlen : /usr/include/string.h line=399 column=15 strlen(* dereference : enter=0, leave=0 *alang : modules/mappers/mod_negotiation.c line=1454 column=18 alang))) { |
1465 | return i : modules/mappers/mod_negotiation.c line=1455 column=9 i; |
1466 | |
1467 | alang += : pass=0 += (accept_langs : modules/mappers/mod_negotiation.c line=1452 column=48 accept_langs-> : enter=0, leave=0 ->elt_size : /usr/include/apr-1/apr_tables.h line=56 column=9 elt_size / : pass=0 / sizeof(char*)); |
1468 | |
1469 | |
1470 | return -1; |
1471 | |
1472 | |
1473 | |
1474 | |
1475 | |
1476 | |
1477 | |
1478 | |
1479 | |
1480 | |
1481 | |
1482 | |
1483 | |
1484 | |
1485 | |
1486 | |
1487 | |
1488 | set_default_lang_quality(negotiation_state *neg) |
1489 | |
1490 | neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
1491 | |
1492 | |
1493 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1488 column=57 neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers) { |
1494 | for (j : modules/mappers/mod_negotiation.c line=1491 column=9 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=1491 column=9 j < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=1488 column=57 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=1491 column=9 j) { |
1495 | avail_recs[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=1491 column=9 j]; |
1496 | if (variant : modules/mappers/mod_negotiation.c line=1495 column=22 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages && : true=0, false=0 && |
1497 | variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languagesMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts) { |
1498 | neg-> : enter=0, leave=0 ->default_lang_quality : modules/mappers/mod_negotiation.c line=252 column=11 default_lang_quality = : enter=0, leave=0 = 0.0001f; |
1499 | return; |
1500 | |
1501 | |
1502 | |
1503 | |
1504 | neg-> : enter=0, leave=0 ->default_lang_quality : modules/mappers/mod_negotiation.c line=252 column=11 default_lang_quality = : enter=0, leave=0 = 1.0f; |
1505 | |
1506 | |
1507 | |
1508 | |
1509 | |
1510 | |
1511 | |
1512 | |
1513 | |
1514 | |
1515 | |
1516 | |
1517 | |
1518 | |
1519 | |
1520 | |
1521 | |
1522 | |
1523 | |
1524 | |
1525 | |
1526 | |
1527 | |
1528 | |
1529 | |
1530 | |
1531 | |
1532 | |
1533 | |
1534 | |
1535 | |
1536 | |
1537 | |
1538 | set_language_quality(negotiation_state *neg, var_rec *variant) |
1539 | |
1540 | neg-> : enter=0, leave=0 ->conf : modules/mappers/mod_negotiation.c line=249 column=21 conf-> : enter=0, leave=0 ->forcelangpriority : modules/mappers/mod_negotiation.c line=49 column=9 forcelangpriority; |
1541 | if (forcepriority : modules/mappers/mod_negotiation.c line=1540 column=9 forcepriority == : true=0, false=0 == FLP_UNDEF) { |
1542 | forcepriority = : pass=0 = FLP_DEFAULT; |
1543 | |
1544 | |
1545 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !variant : modules/mappers/mod_negotiation.c line=1538 column=67 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !variant : modules/mappers/mod_negotiation.c line=1538 column=67 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts) { |
1546 | |
1547 | |
1548 | |
1549 | |
1550 | |
1551 | |
1552 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1538 column=53 neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers) { |
1553 | variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality = : enter=0, leave=0 = neg : modules/mappers/mod_negotiation.c line=1538 column=53 neg-> : enter=0, leave=0 ->default_lang_quality : modules/mappers/mod_negotiation.c line=252 column=11 default_lang_quality; |
1554 | |
1555 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1538 column=53 neg-> : enter=0, leave=0 ->accept_langs : modules/mappers/mod_negotiation.c line=260 column=25 accept_langs) { |
1556 | return; /* no accept-language header */ |
1557 | |
1558 | return; |
1559 | |
1560 | |
1561 | |
1562 | |
1563 | |
1564 | |
1565 | |
1566 | |
1567 | |
1568 | |
1569 | |
1570 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1538 column=53 neg-> : enter=0, leave=0 ->accept_langs : modules/mappers/mod_negotiation.c line=260 column=25 accept_langs) { |
1571 | |
1572 | variant-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = 0; |
1573 | |
1574 | |
1575 | neg-> : enter=0, leave=0 ->accept_langs : modules/mappers/mod_negotiation.c line=260 column=25 accept_langs-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
1576 | |
1577 | |
1578 | |
1579 | |
1580 | |
1581 | |
1582 | |
1583 | |
1584 | for (j : modules/mappers/mod_negotiation.c line=1581 column=20 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=1581 column=20 j < : true=0, false=0 < variant : modules/mappers/mod_negotiation.c line=1538 column=67 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=1581 column=20 j) { |
1585 | p = : pass=0 = NULL; |
1586 | bestthistag = : pass=0 = NULL; |
1587 | longest_lang_range_len = : pass=0 = 0; |
1588 | alen = : pass=0 = 0; |
1589 | |
1590 | |
1591 | |
1592 | |
1593 | lang = : pass=0 = ((char **) (variant : modules/mappers/mod_negotiation.c line=1538 column=67 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts))[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=1581 column=20 j]; |
1594 | |
1595 | |
1596 | |
1597 | |
1598 | |
1599 | |
1600 | |
1601 | |
1602 | for (i : modules/mappers/mod_negotiation.c line=1581 column=17 i = : pass=0 = 0; i : modules/mappers/mod_negotiation.c line=1581 column=17 i < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=1538 column=53 neg-> : enter=0, leave=0 ->accept_langs : modules/mappers/mod_negotiation.c line=260 column=25 accept_langs-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_negotiation.c line=1581 column=17 i) { |
1603 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(accs : modules/mappers/mod_negotiation.c line=1575 column=25 accs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1581 column=17 i].name : modules/mappers/mod_negotiation.c line=176 column=11 name, "*")) { |
1604 | if (! : true=0, false=0 !star : modules/mappers/mod_negotiation.c line=1576 column=39 star) { |
1605 | star = : pass=0 = &accs : modules/mappers/mod_negotiation.c line=1575 column=25 accs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1581 column=17 i]; |
1606 | |
1607 | continue; |
1608 | |
1609 | |
1610 | |
1611 | |
1612 | |
1613 | |
1614 | |
1615 | |
1616 | |
1617 | |
1618 | |
1619 | |
1620 | |
1621 | |
1622 | |
1623 | |
1624 | alen = : pass=0 = strlen : enter=0, leave=0 strlen : /usr/include/string.h line=399 column=15 strlen(accs : modules/mappers/mod_negotiation.c line=1575 column=25 accs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1581 column=17 i].name : modules/mappers/mod_negotiation.c line=176 column=11 name); |
1625 | |
1626 | if ((strlen : enter=0, leave=0 strlen : /usr/include/string.h line=399 column=15 strlen(lang : modules/mappers/mod_negotiation.c line=1578 column=19 lang) >= : true=0, false=0 MC/DC independently affect : true=0, false=0 >= alen : modules/mappers/mod_negotiation.c line=1582 column=24 alen) && : true=0, false=0 && |
1627 | MC/DC independently affect : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(lang : modules/mappers/mod_negotiation.c line=1578 column=19 lang, accs : modules/mappers/mod_negotiation.c line=1575 column=25 accs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1581 column=17 i].name : modules/mappers/mod_negotiation.c line=176 column=11 name, alen : modules/mappers/mod_negotiation.c line=1582 column=24 alen) && : true=0, false=0 && |
1628 | lang[] : enter=0, leave=0 [alen : modules/mappers/mod_negotiation.c line=1582 column=24 alen] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0) || : true=0, false=0 || (lang : modules/mappers/mod_negotiation.c line=1578 column=19 lang[] : enter=0, leave=0 [alen : modules/mappers/mod_negotiation.c line=1582 column=24 alen] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '-')) ) { |
1629 | |
1630 | if (alen : modules/mappers/mod_negotiation.c line=1582 column=24 alen > : true=0, false=0 > longest_lang_range_len : modules/mappers/mod_negotiation.c line=1582 column=30 longest_lang_range_len) { |
1631 | longest_lang_range_len = : pass=0 = alen : modules/mappers/mod_negotiation.c line=1582 column=24 alen; |
1632 | bestthistag = : pass=0 = &accs : modules/mappers/mod_negotiation.c line=1575 column=25 accs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1581 column=17 i]; |
1633 | |
1634 | |
1635 | |
1636 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !bestthistag : modules/mappers/mod_negotiation.c line=1577 column=25 bestthistag && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1538 column=53 neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers) { |
1637 | |
1638 | |
1639 | |
1640 | |
1641 | |
1642 | |
1643 | |
1644 | |
1645 | |
1646 | |
1647 | |
1648 | |
1649 | |
1650 | |
1651 | |
1652 | |
1653 | if ((p : modules/mappers/mod_negotiation.c line=1578 column=26 p = : pass=0 = strchr : enter=0, leave=0 strchr : /usr/include/string.h line=235 column=14 strchr(accs : modules/mappers/mod_negotiation.c line=1575 column=25 accs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1581 column=17 i].name : modules/mappers/mod_negotiation.c line=176 column=11 name, '-'))) { |
1654 | p - : pass=0 - accs : modules/mappers/mod_negotiation.c line=1575 column=25 accs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1581 column=17 i].name : modules/mappers/mod_negotiation.c line=176 column=11 name; |
1655 | |
1656 | if (! : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(lang : modules/mappers/mod_negotiation.c line=1578 column=19 lang, accs : modules/mappers/mod_negotiation.c line=1575 column=25 accs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1581 column=17 i].name : modules/mappers/mod_negotiation.c line=176 column=11 name, plen : modules/mappers/mod_negotiation.c line=1654 column=33 plen)) { |
1657 | fiddle_q = : pass=0 = 0.001f; |
1658 | |
1659 | |
1660 | |
1661 | |
1662 | |
1663 | |
1664 | |
1665 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !best : modules/mappers/mod_negotiation.c line=1576 column=25 best || : true=0, false=0 || |
1666 | bestthistag : modules/mappers/mod_negotiation.c line=1577 column=25 bestthistag && : true=0, false=0 && bestthistag : modules/mappers/mod_negotiation.c line=1577 column=25 bestthistag-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality > : true=0, false=0 MC/DC independently affect : true=0, false=0 > best : modules/mappers/mod_negotiation.c line=1576 column=25 best-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality)) { |
1667 | best = : pass=0 = bestthistag : modules/mappers/mod_negotiation.c line=1577 column=25 bestthistag; |
1668 | |
1669 | |
1670 | |
1671 | |
1672 | |
1673 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !bestthistag : modules/mappers/mod_negotiation.c line=1577 column=25 bestthistag && : true=0, false=0 && MC/DC independently affect : true=0, false=0 star : modules/mappers/mod_negotiation.c line=1576 column=39 star) { |
1674 | any_match_on_star = : pass=0 = 1; |
1675 | |
1676 | |
1677 | |
1678 | |
1679 | |
1680 | |
1681 | |
1682 | |
1683 | if ( MC/DC independently affect : true=0, false=0 any_match_on_star : modules/mappers/mod_negotiation.c line=1580 column=17 any_match_on_star && : true=0, false=0 && |
1684 | best : modules/mappers/mod_negotiation.c line=1576 column=25 best && : true=0, false=0 && star : modules/mappers/mod_negotiation.c line=1576 column=39 star-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality > : true=0, false=0 MC/DC independently affect : true=0, false=0 > best : modules/mappers/mod_negotiation.c line=1576 column=25 best-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality) || : true=0, false=0 || |
1685 | MC/DC independently affect : true=0, false=0 !best : modules/mappers/mod_negotiation.c line=1576 column=25 best)) ) { |
1686 | best = : pass=0 = star : modules/mappers/mod_negotiation.c line=1576 column=39 star; |
1687 | variant-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = 0; |
1688 | |
1689 | |
1690 | variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality = : enter=0, leave=0 = best : modules/mappers/mod_negotiation.c line=1576 column=25 best conditional operator : true=0, false=0 ? best : modules/mappers/mod_negotiation.c line=1576 column=25 best-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality : fiddle_q : modules/mappers/mod_negotiation.c line=1579 column=19 fiddle_q; |
1691 | |
1692 | |
1693 | |
1694 | |
1695 | |
1696 | |
1697 | |
1698 | if (((forcepriority : modules/mappers/mod_negotiation.c line=1540 column=9 forcepriority & : pass=0 & FLP_PREFER) |
1699 | && (variant : modules/mappers/mod_negotiation.c line=1538 column=67 variant-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index < : true=0, false=0 MC/DC independently affect : true=0, false=0 < 0)) |
1700 | || ((forcepriority : modules/mappers/mod_negotiation.c line=1540 column=9 forcepriority & : pass=0 & FLP_FALLBACK) |
1701 | && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !variant : modules/mappers/mod_negotiation.c line=1538 column=67 variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality)) |
1702 | |
1703 | |
1704 | |
1705 | |
1706 | for (j : modules/mappers/mod_negotiation.c line=1704 column=13 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=1704 column=13 j < : true=0, false=0 < variant : modules/mappers/mod_negotiation.c line=1538 column=67 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=1704 column=13 j) |
1707 | |
1708 | |
1709 | |
1710 | |
1711 | variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts))[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=1704 column=13 j]; |
1712 | |
1713 | |
1714 | |
1715 | |
1716 | |
1717 | idx = : pass=0 = find_lang_index : enter=0, leave=0 find_lang_index : modules/mappers/mod_negotiation.c line=1452 column=12 find_lang_index(neg : modules/mappers/mod_negotiation.c line=1538 column=53 neg-> : enter=0, leave=0 ->conf : modules/mappers/mod_negotiation.c line=249 column=21 conf-> : enter=0, leave=0 ->language_priority : modules/mappers/mod_negotiation.c line=50 column=25 language_priority, lang : modules/mappers/mod_negotiation.c line=1711 column=19 lang); |
1718 | if ((idx : modules/mappers/mod_negotiation.c line=1712 column=17 idx >= : true=0, false=0 MC/DC independently affect : true=0, false=0 >= 0) && : true=0, false=0 && ((bestidx : modules/mappers/mod_negotiation.c line=1703 column=13 bestidx == : true=0, false=0 MC/DC independently affect : true=0, false=0 == -1) || : true=0, false=0 || (idx : modules/mappers/mod_negotiation.c line=1712 column=17 idx < : true=0, false=0 MC/DC independently affect : true=0, false=0 < bestidx : modules/mappers/mod_negotiation.c line=1703 column=13 bestidx))) { |
1719 | bestidx = : pass=0 = idx : modules/mappers/mod_negotiation.c line=1712 column=17 idx; |
1720 | |
1721 | |
1722 | |
1723 | if (bestidx : modules/mappers/mod_negotiation.c line=1703 column=13 bestidx >= : true=0, false=0 >= 0) { |
1724 | if (variant : modules/mappers/mod_negotiation.c line=1538 column=67 variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality) { |
1725 | if (forcepriority : modules/mappers/mod_negotiation.c line=1540 column=9 forcepriority & : pass=0 & FLP_PREFER) { |
1726 | variant-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index = : enter=0, leave=0 = bestidx : modules/mappers/mod_negotiation.c line=1703 column=13 bestidx; |
1727 | |
1728 | |
1729 | |
1730 | if (forcepriority : modules/mappers/mod_negotiation.c line=1540 column=9 forcepriority & : pass=0 & FLP_FALLBACK) { |
1731 | variant-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index = : enter=0, leave=0 = bestidx : modules/mappers/mod_negotiation.c line=1703 column=13 bestidx; |
1732 | variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality = : enter=0, leave=0 = .0001f; |
1733 | variant-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = 0; |
1734 | |
1735 | |
1736 | |
1737 | |
1738 | return; |
1739 | |
1740 | |
1741 | |
1742 | |
1743 | |
1744 | |
1745 | find_content_length(negotiation_state *neg, var_rec *variant) |
1746 | |
1747 | |
1748 | |
1749 | if (variant : modules/mappers/mod_negotiation.c line=1745 column=71 variant-> : enter=0, leave=0 ->bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes < : true=0, false=0 < 0) { |
1750 | if ( variant : modules/mappers/mod_negotiation.c line=1745 column=71 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req |
1751 | && (variant : modules/mappers/mod_negotiation.c line=1745 column=71 variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req-> : enter=0, leave=0 ->finfo : include/httpd.h line=957 column=17 finfo.valid : /usr/include/apr-1/apr_file_info.h line=179 column=17 valid & : pass=0 & APR_FINFO_SIZE)) { |
1752 | variant-> : enter=0, leave=0 ->bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes = : enter=0, leave=0 = variant : modules/mappers/mod_negotiation.c line=1745 column=71 variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req-> : enter=0, leave=0 ->finfo : include/httpd.h line=957 column=17 finfo.size : /usr/include/apr-1/apr_file_info.h line=198 column=15 size; |
1753 | |
1754 | |
1755 | ap_make_full_path : include/httpd.h line=1600 column=20 ap_make_full_path(neg : modules/mappers/mod_negotiation.c line=1745 column=57 neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool, neg : modules/mappers/mod_negotiation.c line=1745 column=57 neg-> : enter=0, leave=0 ->dir_name : modules/mappers/mod_negotiation.c line=250 column=11 dir_name, |
1756 | variant-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name); |
1757 | |
1758 | if (apr_stat : enter=0, leave=0 apr_stat : /usr/include/apr-1/apr_file_info.h line=229 column=27 apr_stat(&statb : modules/mappers/mod_negotiation.c line=1747 column=17 statb, fullname : modules/mappers/mod_negotiation.c line=1755 column=19 fullname, |
1759 | neg-> : enter=0, leave=0 ->pool : modules/mappers/mod_negotiation.c line=247 column=17 pool) == : true=0, false=0 == APR_SUCCESS) { |
1760 | variant-> : enter=0, leave=0 ->bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes = : enter=0, leave=0 = statb : modules/mappers/mod_negotiation.c line=1747 column=17 statb.size : /usr/include/apr-1/apr_file_info.h line=198 column=15 size; |
1761 | |
1762 | |
1763 | |
1764 | |
1765 | return variant : modules/mappers/mod_negotiation.c line=1745 column=71 variant-> : enter=0, leave=0 ->bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes; |
1766 | |
1767 | |
1768 | |
1769 | |
1770 | |
1771 | |
1772 | |
1773 | |
1774 | set_accept_quality(negotiation_state *neg, var_rec *variant) |
1775 | |
1776 | |
1777 | |
1778 | |
1779 | |
1780 | |
1781 | |
1782 | |
1783 | |
1784 | |
1785 | |
1786 | |
1787 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1774 column=51 neg-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts) { |
1788 | if (variant : modules/mappers/mod_negotiation.c line=1774 column=65 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *variant : modules/mappers/mod_negotiation.c line=1774 column=65 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type) |
1789 | variant-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = 0; |
1790 | return; |
1791 | |
1792 | |
1793 | accept_recs = : pass=0 = (accept_rec *) neg : modules/mappers/mod_negotiation.c line=1774 column=51 neg-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
1794 | |
1795 | |
1796 | |
1797 | |
1798 | |
1799 | |
1800 | |
1801 | |
1802 | |
1803 | |
1804 | |
1805 | |
1806 | for (i : modules/mappers/mod_negotiation.c line=1776 column=9 i = : pass=0 = 0; i : modules/mappers/mod_negotiation.c line=1776 column=9 i < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=1774 column=51 neg-> : enter=0, leave=0 ->accepts : modules/mappers/mod_negotiation.c line=257 column=25 accepts-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_negotiation.c line=1776 column=9 i) { |
1807 | |
1808 | accept_recs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1776 column=9 i]; |
1809 | |
1810 | |
1811 | prev_mime_stars = : pass=0 = variant : modules/mappers/mod_negotiation.c line=1774 column=65 variant-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars; |
1812 | |
1813 | if (! : true=0, false=0 !mime_match : enter=0, leave=0 mime_match : modules/mappers/mod_negotiation.c line=1336 column=12 mime_match(type : modules/mappers/mod_negotiation.c line=1808 column=21 type, variant : modules/mappers/mod_negotiation.c line=1774 column=65 variant)) { |
1814 | continue; /* didn't match the content type at all */ |
1815 | |
1816 | |
1817 | |
1818 | |
1819 | |
1820 | if (prev_mime_stars : modules/mappers/mod_negotiation.c line=1809 column=13 prev_mime_stars == : true=0, false=0 == variant : modules/mappers/mod_negotiation.c line=1774 column=65 variant-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars) { |
1821 | continue; /* more stars => not as good a match */ |
1822 | |
1823 | |
1824 | |
1825 | |
1826 | |
1827 | |
1828 | |
1829 | |
1830 | |
1831 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1774 column=51 neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1774 column=51 neg-> : enter=0, leave=0 ->accept_q : modules/mappers/mod_negotiation.c line=251 column=9 accept_q && : true=0, false=0 && |
1832 | variant-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 1) { |
1833 | q = : pass=0 = 0.01f; |
1834 | |
1835 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1774 column=51 neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1774 column=51 neg-> : enter=0, leave=0 ->accept_q : modules/mappers/mod_negotiation.c line=251 column=9 accept_q && : true=0, false=0 && |
1836 | variant-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 2) { |
1837 | q = : pass=0 = 0.02f; |
1838 | |
1839 | |
1840 | q = : pass=0 = type : modules/mappers/mod_negotiation.c line=1808 column=21 type-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality; |
1841 | |
1842 | |
1843 | q_definite = : pass=0 = (variant : modules/mappers/mod_negotiation.c line=1774 column=65 variant-> : enter=0, leave=0 ->mime_stars : modules/mappers/mod_negotiation.c line=238 column=9 mime_stars == : true=0, false=0 == 3); |
1844 | |
1845 | variant-> : enter=0, leave=0 ->mime_type_quality : modules/mappers/mod_negotiation.c line=224 column=11 mime_type_quality = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=1778 column=11 q; |
1846 | variant-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = variant : modules/mappers/mod_negotiation.c line=1774 column=65 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite && : true=0, false=0 && MC/DC independently affect : true=0, false=0 q_definite : modules/mappers/mod_negotiation.c line=1779 column=9 q_definite; |
1847 | |
1848 | |
1849 | |
1850 | |
1851 | |
1852 | |
1853 | |
1854 | set_charset_quality(negotiation_state *neg, var_rec *variant) |
1855 | |
1856 | |
1857 | |
1858 | variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset; |
1859 | |
1860 | |
1861 | |
1862 | |
1863 | |
1864 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1854 column=52 neg-> : enter=0, leave=0 ->accept_charsets : modules/mappers/mod_negotiation.c line=259 column=25 accept_charsets) { |
1865 | if (MC/DC independently affect : true=0, false=0 charset : modules/mappers/mod_negotiation.c line=1858 column=17 charset && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *charset : modules/mappers/mod_negotiation.c line=1858 column=17 charset) |
1866 | variant-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = 0; |
1867 | return; |
1868 | |
1869 | |
1870 | accept_recs = : pass=0 = (accept_rec *) neg : modules/mappers/mod_negotiation.c line=1854 column=52 neg-> : enter=0, leave=0 ->accept_charsets : modules/mappers/mod_negotiation.c line=259 column=25 accept_charsets-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
1871 | |
1872 | if (charset : modules/mappers/mod_negotiation.c line=1858 column=17 charset == : true=0, false=0 MC/DC independently affect : true=0, false=0 == NULL || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !* dereference : enter=0, leave=0 *charset : modules/mappers/mod_negotiation.c line=1858 column=17 charset) { |
1873 | |
1874 | |
1875 | |
1876 | if (! : true=0, false=0 !(! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(variant : modules/mappers/mod_negotiation.c line=1854 column=66 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, "text/", 5) |
1877 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(variant : modules/mappers/mod_negotiation.c line=1854 column=66 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, INCLUDES_MAGIC_TYPE) |
1878 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(variant : modules/mappers/mod_negotiation.c line=1854 column=66 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, INCLUDES_MAGIC_TYPE3) |
1879 | |
1880 | return; |
1881 | |
1882 | |
1883 | |
1884 | |
1885 | |
1886 | if (neg : modules/mappers/mod_negotiation.c line=1854 column=52 neg-> : enter=0, leave=0 ->dont_fiddle_headers : modules/mappers/mod_negotiation.c line=268 column=9 dont_fiddle_headers) |
1887 | return; |
1888 | |
1889 | charset = : pass=0 = "iso-8859-1"; /* The default charset for HTTP text types */ |
1890 | |
1891 | |
1892 | |
1893 | |
1894 | |
1895 | |
1896 | |
1897 | for (i : modules/mappers/mod_negotiation.c line=1856 column=9 i = : pass=0 = 0; i : modules/mappers/mod_negotiation.c line=1856 column=9 i < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=1854 column=52 neg-> : enter=0, leave=0 ->accept_charsets : modules/mappers/mod_negotiation.c line=259 column=25 accept_charsets-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_negotiation.c line=1856 column=9 i) { |
1898 | |
1899 | accept_recs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1856 column=9 i]; |
1900 | |
1901 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(type : modules/mappers/mod_negotiation.c line=1899 column=21 type-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name, charset : modules/mappers/mod_negotiation.c line=1858 column=17 charset)) { |
1902 | variant-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality = : enter=0, leave=0 = type : modules/mappers/mod_negotiation.c line=1899 column=21 type-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality; |
1903 | return; |
1904 | |
1905 | if (strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(type : modules/mappers/mod_negotiation.c line=1899 column=21 type-> : enter=0, leave=0 ->name : modules/mappers/mod_negotiation.c line=176 column=11 name, "*") == : true=0, false=0 == 0) { |
1906 | star = : pass=0 = type : modules/mappers/mod_negotiation.c line=1899 column=21 type; |
1907 | |
1908 | |
1909 | |
1910 | if (star : modules/mappers/mod_negotiation.c line=1859 column=17 star) { |
1911 | variant-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality = : enter=0, leave=0 = star : modules/mappers/mod_negotiation.c line=1859 column=17 star-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality; |
1912 | variant-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = 0; |
1913 | return; |
1914 | |
1915 | |
1916 | if (strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(charset : modules/mappers/mod_negotiation.c line=1858 column=17 charset, "iso-8859-1") == : true=0, false=0 == 0) { |
1917 | variant-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality = : enter=0, leave=0 = 1.0f; |
1918 | |
1919 | |
1920 | variant-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality = : enter=0, leave=0 = 0.0f; |
1921 | |
1922 | |
1923 | |
1924 | |
1925 | |
1926 | |
1927 | |
1928 | |
1929 | is_identity_encoding(const char *enc) |
1930 | |
1931 | return (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !enc : modules/mappers/mod_negotiation.c line=1929 column=45 enc || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !enc : modules/mappers/mod_negotiation.c line=1929 column=45 enc[] : enter=0, leave=0 [0] || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(enc : modules/mappers/mod_negotiation.c line=1929 column=45 enc, "7bit") || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(enc : modules/mappers/mod_negotiation.c line=1929 column=45 enc, "8bit") |
1932 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(enc : modules/mappers/mod_negotiation.c line=1929 column=45 enc, "binary")); |
1933 | |
1934 | |
1935 | |
1936 | |
1937 | |
1938 | |
1939 | |
1940 | |
1941 | |
1942 | |
1943 | |
1944 | |
1945 | |
1946 | |
1947 | set_encoding_quality(negotiation_state *neg, var_rec *variant) |
1948 | |
1949 | |
1950 | variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding; |
1951 | |
1952 | |
1953 | |
1954 | |
1955 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=1947 column=53 neg-> : enter=0, leave=0 ->accept_encodings : modules/mappers/mod_negotiation.c line=258 column=25 accept_encodings) { |
1956 | |
1957 | |
1958 | |
1959 | |
1960 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !enc : modules/mappers/mod_negotiation.c line=1950 column=17 enc || : true=0, false=0 || MC/DC independently affect : true=0, false=0 is_identity_encoding : enter=0, leave=0 is_identity_encoding : modules/mappers/mod_negotiation.c line=1929 column=12 is_identity_encoding(enc : modules/mappers/mod_negotiation.c line=1950 column=17 enc)) |
1961 | variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality = : enter=0, leave=0 = 1.0f; |
1962 | |
1963 | variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality = : enter=0, leave=0 = 0.5f; |
1964 | |
1965 | return; |
1966 | |
1967 | |
1968 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !enc : modules/mappers/mod_negotiation.c line=1950 column=17 enc || : true=0, false=0 || MC/DC independently affect : true=0, false=0 is_identity_encoding : enter=0, leave=0 is_identity_encoding : modules/mappers/mod_negotiation.c line=1929 column=12 is_identity_encoding(enc : modules/mappers/mod_negotiation.c line=1950 column=17 enc)) { |
1969 | enc = : pass=0 = "identity"; |
1970 | value_if_not_found = : pass=0 = 0.0001f; |
1971 | |
1972 | |
1973 | accept_recs = : pass=0 = (accept_rec *) neg : modules/mappers/mod_negotiation.c line=1947 column=53 neg-> : enter=0, leave=0 ->accept_encodings : modules/mappers/mod_negotiation.c line=258 column=25 accept_encodings-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
1974 | |
1975 | |
1976 | |
1977 | |
1978 | if (enc : modules/mappers/mod_negotiation.c line=1950 column=17 enc[] : enter=0, leave=0 [0] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 'x' && : true=0, false=0 && enc : modules/mappers/mod_negotiation.c line=1950 column=17 enc[] : enter=0, leave=0 [1] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '-') { |
1979 | enc += : pass=0 += 2; |
1980 | |
1981 | for (i : modules/mappers/mod_negotiation.c line=1953 column=9 i = : pass=0 = 0; i : modules/mappers/mod_negotiation.c line=1953 column=9 i < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=1947 column=53 neg-> : enter=0, leave=0 ->accept_encodings : modules/mappers/mod_negotiation.c line=258 column=25 accept_encodings-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_negotiation.c line=1953 column=9 i) { |
1982 | |
1983 | accept_recs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1953 column=9 i].name : modules/mappers/mod_negotiation.c line=176 column=11 name; |
1984 | |
1985 | if (name : modules/mappers/mod_negotiation.c line=1983 column=15 name[] : enter=0, leave=0 [0] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 'x' && : true=0, false=0 && name : modules/mappers/mod_negotiation.c line=1983 column=15 name[] : enter=0, leave=0 [1] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '-') { |
1986 | name += : pass=0 += 2; |
1987 | |
1988 | |
1989 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(name : modules/mappers/mod_negotiation.c line=1983 column=15 name, enc : modules/mappers/mod_negotiation.c line=1950 column=17 enc)) { |
1990 | variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality = : enter=0, leave=0 = accept_recs : modules/mappers/mod_negotiation.c line=1949 column=17 accept_recs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1953 column=9 i].quality : modules/mappers/mod_negotiation.c line=177 column=11 quality; |
1991 | return; |
1992 | |
1993 | |
1994 | if (strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(name : modules/mappers/mod_negotiation.c line=1983 column=15 name, "*") == : true=0, false=0 == 0) { |
1995 | star = : pass=0 = &accept_recs : modules/mappers/mod_negotiation.c line=1949 column=17 accept_recs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=1953 column=9 i]; |
1996 | |
1997 | |
1998 | |
1999 | |
2000 | if (star : modules/mappers/mod_negotiation.c line=1951 column=17 star) { |
2001 | variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality = : enter=0, leave=0 = star : modules/mappers/mod_negotiation.c line=1951 column=17 star-> : enter=0, leave=0 ->quality : modules/mappers/mod_negotiation.c line=177 column=11 quality; |
2002 | return; |
2003 | |
2004 | |
2005 | |
2006 | |
2007 | |
2008 | variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality = : enter=0, leave=0 = value_if_not_found : modules/mappers/mod_negotiation.c line=1952 column=11 value_if_not_found; |
2009 | |
2010 | |
2011 | |
2012 | |
2013 | |
2014 | |
2015 | |
2016 | |
2017 | |
2018 | |
2019 | |
2020 | |
2021 | |
2022 | |
2023 | |
2024 | |
2025 | |
2026 | |
2027 | |
2028 | |
2029 | |
2030 | |
2031 | |
2032 | |
2033 | |
2034 | |
2035 | |
2036 | |
2037 | |
2038 | |
2039 | |
2040 | |
2041 | |
2042 | is_variant_better_rvsa(negotiation_state *neg, var_rec *variant, |
2043 | |
2044 | |
2045 | *p_bestq : modules/mappers/mod_negotiation.c line=2043 column=57 p_bestq, q; |
2046 | |
2047 | |
2048 | |
2049 | |
2050 | if (variant : modules/mappers/mod_negotiation.c line=2042 column=68 variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality == : true=0, false=0 == 0.0f) |
2051 | return 0; |
2052 | |
2053 | q = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2042 column=68 variant-> : enter=0, leave=0 ->mime_type_quality : modules/mappers/mod_negotiation.c line=224 column=11 mime_type_quality * : pass=0 * |
2054 | variant-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality * : pass=0 * |
2055 | variant-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality * : pass=0 * |
2056 | variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality; |
2057 | |
2058 | |
2059 | |
2060 | |
2061 | |
2062 | |
2063 | |
2064 | |
2065 | |
2066 | |
2067 | |
2068 | |
2069 | |
2070 | |
2071 | |
2072 | |
2073 | |
2074 | |
2075 | |
2076 | |
2077 | |
2078 | |
2079 | |
2080 | |
2081 | |
2082 | |
2083 | |
2084 | |
2085 | |
2086 | if (q : modules/mappers/mod_negotiation.c line=2045 column=29 q <= : true=0, false=0 <= 0.0f) { |
2087 | return 0; |
2088 | |
2089 | if (q : modules/mappers/mod_negotiation.c line=2045 column=29 q > : true=0, false=0 > bestq : modules/mappers/mod_negotiation.c line=2045 column=11 bestq) { |
2090 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2045 column=29 q; |
2091 | return 1; |
2092 | |
2093 | if (q : modules/mappers/mod_negotiation.c line=2045 column=29 q == : true=0, false=0 == bestq : modules/mappers/mod_negotiation.c line=2045 column=11 bestq) { |
2094 | |
2095 | |
2096 | |
2097 | if (variant : modules/mappers/mod_negotiation.c line=2042 column=68 variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality > : true=0, false=0 > best : modules/mappers/mod_negotiation.c line=2043 column=44 best-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality) { |
2098 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2045 column=29 q; |
2099 | return 1; |
2100 | |
2101 | |
2102 | return 0; |
2103 | |
2104 | |
2105 | |
2106 | |
2107 | |
2108 | |
2109 | is_variant_better(negotiation_state *neg, var_rec *variant, |
2110 | |
2111 | |
2112 | *p_bestq : modules/mappers/mod_negotiation.c line=2110 column=52 p_bestq, q; |
2113 | |
2114 | |
2115 | |
2116 | |
2117 | |
2118 | |
2119 | |
2120 | |
2121 | |
2122 | |
2123 | |
2124 | |
2125 | |
2126 | |
2127 | |
2128 | |
2129 | |
2130 | |
2131 | |
2132 | |
2133 | |
2134 | |
2135 | |
2136 | |
2137 | |
2138 | |
2139 | |
2140 | |
2141 | |
2142 | |
2143 | |
2144 | |
2145 | |
2146 | |
2147 | |
2148 | |
2149 | |
2150 | |
2151 | |
2152 | |
2153 | |
2154 | |
2155 | if (variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0.0f || : true=0, false=0 || |
2156 | variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0.0f || : true=0, false=0 || |
2157 | variant-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0.0f || : true=0, false=0 || |
2158 | variant-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0.0f || : true=0, false=0 || |
2159 | variant-> : enter=0, leave=0 ->mime_type_quality : modules/mappers/mod_negotiation.c line=224 column=11 mime_type_quality == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0.0f) { |
2160 | return 0; /* don't consider unacceptables */ |
2161 | |
2162 | |
2163 | q = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->mime_type_quality : modules/mappers/mod_negotiation.c line=224 column=11 mime_type_quality * : pass=0 * variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality; |
2164 | if (q : modules/mappers/mod_negotiation.c line=2112 column=29 q == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0.0 || : true=0, false=0 || q : modules/mappers/mod_negotiation.c line=2112 column=29 q < : true=0, false=0 MC/DC independently affect : true=0, false=0 < bestq : modules/mappers/mod_negotiation.c line=2112 column=11 bestq) { |
2165 | return 0; |
2166 | |
2167 | if (q : modules/mappers/mod_negotiation.c line=2112 column=29 q > : true=0, false=0 MC/DC independently affect : true=0, false=0 > bestq : modules/mappers/mod_negotiation.c line=2112 column=11 bestq || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !best : modules/mappers/mod_negotiation.c line=2110 column=39 best) { |
2168 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2112 column=29 q; |
2169 | return 1; |
2170 | |
2171 | |
2172 | |
2173 | if (variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality < : true=0, false=0 < best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality) { |
2174 | return 0; |
2175 | |
2176 | if (variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality > : true=0, false=0 > best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality) { |
2177 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2112 column=29 q; |
2178 | return 1; |
2179 | |
2180 | |
2181 | |
2182 | if (best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index != : true=0, false=0 MC/DC independently affect : true=0, false=0 != -1 && : true=0, false=0 && |
2183 | variant-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index == : true=0, false=0 MC/DC independently affect : true=0, false=0 == -1 || : true=0, false=0 || variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index > : true=0, false=0 MC/DC independently affect : true=0, false=0 > best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index)) { |
2184 | return 0; |
2185 | |
2186 | if (variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index != : true=0, false=0 MC/DC independently affect : true=0, false=0 != -1 && : true=0, false=0 && |
2187 | best-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index == : true=0, false=0 MC/DC independently affect : true=0, false=0 == -1 || : true=0, false=0 || variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index < : true=0, false=0 MC/DC independently affect : true=0, false=0 < best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->lang_index : modules/mappers/mod_negotiation.c line=230 column=9 lang_index)) { |
2188 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2112 column=29 q; |
2189 | return 1; |
2190 | |
2191 | |
2192 | |
2193 | |
2194 | |
2195 | levcmp = : pass=0 = level_cmp : enter=0, leave=0 level_cmp : modules/mappers/mod_negotiation.c line=1394 column=12 level_cmp(variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant, best : modules/mappers/mod_negotiation.c line=2110 column=39 best); |
2196 | if (levcmp : modules/mappers/mod_negotiation.c line=2113 column=9 levcmp == : true=0, false=0 == -1) { |
2197 | return 0; |
2198 | |
2199 | if (levcmp : modules/mappers/mod_negotiation.c line=2113 column=9 levcmp == : true=0, false=0 == 1) { |
2200 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2112 column=29 q; |
2201 | return 1; |
2202 | |
2203 | |
2204 | |
2205 | if (variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality < : true=0, false=0 < best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality) { |
2206 | return 0; |
2207 | |
2208 | |
2209 | |
2210 | |
2211 | |
2212 | if (variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality > : true=0, false=0 MC/DC independently affect : true=0, false=0 > best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->charset_quality : modules/mappers/mod_negotiation.c line=223 column=11 charset_quality || : true=0, false=0 || |
2213 | variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset != : true=0, false=0 MC/DC independently affect : true=0, false=0 != NULL && : true=0, false=0 && |
2214 | *variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\0' && : true=0, false=0 && |
2215 | strcmp : /usr/include/string.h line=143 column=12 strcmp(variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset, "iso-8859-1") != : true=0, false=0 MC/DC independently affect : true=0, false=0 != 0) && : true=0, false=0 && |
2216 | best-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset == : true=0, false=0 MC/DC independently affect : true=0, false=0 == NULL || : true=0, false=0 || |
2217 | *best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '\0' || : true=0, false=0 || |
2218 | strcmp : /usr/include/string.h line=143 column=12 strcmp(best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset, "iso-8859-1") == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0))) { |
2219 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2112 column=29 q; |
2220 | return 1; |
2221 | |
2222 | |
2223 | |
2224 | |
2225 | if (variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality < : true=0, false=0 < best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality) { |
2226 | return 0; |
2227 | |
2228 | if (variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality > : true=0, false=0 > best : modules/mappers/mod_negotiation.c line=2110 column=39 best-> : enter=0, leave=0 ->encoding_quality : modules/mappers/mod_negotiation.c line=222 column=11 encoding_quality) { |
2229 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2112 column=29 q; |
2230 | return 1; |
2231 | |
2232 | |
2233 | |
2234 | if (find_content_length : enter=0, leave=0 find_content_length : modules/mappers/mod_negotiation.c line=1745 column=18 find_content_length(neg : modules/mappers/mod_negotiation.c line=2109 column=49 neg, variant : modules/mappers/mod_negotiation.c line=2109 column=63 variant) >= : true=0, false=0 >= find_content_length : enter=0, leave=0 find_content_length : modules/mappers/mod_negotiation.c line=1745 column=18 find_content_length(neg : modules/mappers/mod_negotiation.c line=2109 column=49 neg, best : modules/mappers/mod_negotiation.c line=2110 column=39 best)) { |
2235 | return 0; |
2236 | |
2237 | |
2238 | |
2239 | |
2240 | |
2241 | p_bestq = : enter=0, leave=0 = q : modules/mappers/mod_negotiation.c line=2112 column=29 q; |
2242 | return 1; |
2243 | |
2244 | |
2245 | |
2246 | |
2247 | |
2248 | variant_has_language(var_rec *variant, const char *lang) |
2249 | |
2250 | |
2251 | |
2252 | |
2253 | if ( ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !lang : modules/mappers/mod_negotiation.c line=2248 column=63 lang |
2254 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !variant : modules/mappers/mod_negotiation.c line=2248 column=42 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages |
2255 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !(max : modules/mappers/mod_negotiation.c line=2250 column=12 max = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2248 column=42 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts)) { |
2256 | return 0; |
2257 | |
2258 | |
2259 | for (j : modules/mappers/mod_negotiation.c line=2250 column=9 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=2250 column=9 j < : true=0, false=0 < max : modules/mappers/mod_negotiation.c line=2250 column=12 max; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=2250 column=9 j) { |
2260 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(lang : modules/mappers/mod_negotiation.c line=2248 column=63 lang, |
2261 | variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts))[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=2250 column=9 j])) { |
2262 | return 1; |
2263 | |
2264 | |
2265 | |
2266 | return 0; |
2267 | |
2268 | |
2269 | |
2270 | |
2271 | |
2272 | |
2273 | discard_variant_by_env(var_rec *variant, int discard) |
2274 | |
2275 | if ( MC/DC independently affect : true=0, false=0 is_identity_encoding : enter=0, leave=0 is_identity_encoding : modules/mappers/mod_negotiation.c line=1929 column=12 is_identity_encoding(variant : modules/mappers/mod_negotiation.c line=2273 column=44 variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding) |
2276 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(variant : modules/mappers/mod_negotiation.c line=2273 column=44 variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding, "identity")) { |
2277 | return 0; |
2278 | |
2279 | |
2280 | return ( (discard : modules/mappers/mod_negotiation.c line=2273 column=57 discard == : true=0, false=0 MC/DC independently affect : true=0, false=0 == DISCARD_ALL_ENCODINGS) |
2281 | || (discard : modules/mappers/mod_negotiation.c line=2273 column=57 discard == : true=0, false=0 MC/DC independently affect : true=0, false=0 == DISCARD_ALL_BUT_HTML |
2282 | && (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !variant : modules/mappers/mod_negotiation.c line=2273 column=44 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type |
2283 | || MC/DC independently affect : true=0, false=0 strncmp : enter=0, leave=0 strncmp : /usr/include/string.h line=146 column=12 strncmp(variant : modules/mappers/mod_negotiation.c line=2273 column=44 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, "text/html", 9)))); |
2284 | |
2285 | |
2286 | best_match(negotiation_state *neg, var_rec **pbest) |
2287 | |
2288 | |
2289 | |
2290 | |
2291 | |
2292 | |
2293 | |
2294 | neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
2295 | |
2296 | |
2297 | |
2298 | |
2299 | apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg-> : enter=0, leave=0 ->r : modules/mappers/mod_negotiation.c line=248 column=18 r-> : enter=0, leave=0 ->subprocess_env : include/httpd.h line=908 column=18 subprocess_env, |
2300 | |
2301 | |
2302 | |
2303 | if (apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg-> : enter=0, leave=0 ->r : modules/mappers/mod_negotiation.c line=248 column=18 r-> : enter=0, leave=0 ->subprocess_env : include/httpd.h line=908 column=18 subprocess_env, "no-gzip")) { |
2304 | may_discard = : pass=0 = DISCARD_ALL_ENCODINGS; |
2305 | |
2306 | |
2307 | |
2308 | |
2309 | |
2310 | |
2311 | apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg-> : enter=0, leave=0 ->r : modules/mappers/mod_negotiation.c line=248 column=18 r-> : enter=0, leave=0 ->subprocess_env : include/httpd.h line=908 column=18 subprocess_env, |
2312 | |
2313 | |
2314 | if (MC/DC independently affect : true=0, false=0 env_value : modules/mappers/mod_negotiation.c line=2311 column=21 env_value && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(env_value : modules/mappers/mod_negotiation.c line=2311 column=21 env_value, "1")) { |
2315 | may_discard = : pass=0 = DISCARD_ALL_BUT_HTML; |
2316 | |
2317 | |
2318 | |
2319 | set_default_lang_quality : modules/mappers/mod_negotiation.c line=1488 column=13 set_default_lang_quality(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg); |
2320 | |
2321 | |
2322 | |
2323 | |
2324 | |
2325 | |
2326 | |
2327 | |
2328 | |
2329 | |
2330 | best = : pass=0 = NULL; |
2331 | |
2332 | for (j : modules/mappers/mod_negotiation.c line=2288 column=9 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=2288 column=9 j < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=2288 column=9 j) { |
2333 | avail_recs[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=2288 column=9 j]; |
2334 | |
2335 | |
2336 | |
2337 | |
2338 | if ( MC/DC independently affect : true=0, false=0 may_discard : modules/mappers/mod_negotiation.c line=2292 column=9 may_discard |
2339 | && MC/DC independently affect : true=0, false=0 discard_variant_by_env : enter=0, leave=0 discard_variant_by_env : modules/mappers/mod_negotiation.c line=2273 column=12 discard_variant_by_env(variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant, may_discard : modules/mappers/mod_negotiation.c line=2292 column=9 may_discard)) { |
2340 | continue; |
2341 | |
2342 | |
2343 | |
2344 | |
2345 | |
2346 | if ( MC/DC independently affect : true=0, false=0 preferred_language : modules/mappers/mod_negotiation.c line=2299 column=17 preferred_language |
2347 | && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !variant_has_language : enter=0, leave=0 variant_has_language : modules/mappers/mod_negotiation.c line=2248 column=12 variant_has_language(variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant, preferred_language : modules/mappers/mod_negotiation.c line=2299 column=17 preferred_language)) { |
2348 | continue; |
2349 | |
2350 | |
2351 | |
2352 | |
2353 | |
2354 | |
2355 | |
2356 | |
2357 | set_accept_quality : modules/mappers/mod_negotiation.c line=1774 column=13 set_accept_quality(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg, variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant); |
2358 | |
2359 | |
2360 | |
2361 | if (preferred_language : modules/mappers/mod_negotiation.c line=2299 column=17 preferred_language) { |
2362 | variant-> : enter=0, leave=0 ->lang_quality : modules/mappers/mod_negotiation.c line=221 column=11 lang_quality = : enter=0, leave=0 = 1.0f; |
2363 | variant-> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite = : enter=0, leave=0 = 1; |
2364 | |
2365 | |
2366 | set_language_quality : modules/mappers/mod_negotiation.c line=1538 column=13 set_language_quality(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg, variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant); |
2367 | |
2368 | set_encoding_quality : modules/mappers/mod_negotiation.c line=1947 column=13 set_encoding_quality(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg, variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant); |
2369 | set_charset_quality : modules/mappers/mod_negotiation.c line=1854 column=13 set_charset_quality(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg, variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant); |
2370 | |
2371 | |
2372 | |
2373 | |
2374 | if (neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg-> : enter=0, leave=0 ->may_choose : modules/mappers/mod_negotiation.c line=271 column=9 may_choose) { |
2375 | |
2376 | |
2377 | |
2378 | |
2379 | |
2380 | |
2381 | |
2382 | |
2383 | if (neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg-> : enter=0, leave=0 ->use_rvsa : modules/mappers/mod_negotiation.c line=272 column=9 use_rvsa) { |
2384 | if (is_variant_better_rvsa : enter=0, leave=0 is_variant_better_rvsa : modules/mappers/mod_negotiation.c line=2042 column=12 is_variant_better_rvsa(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg, variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant, best : modules/mappers/mod_negotiation.c line=2289 column=14 best, &bestq : modules/mappers/mod_negotiation.c line=2290 column=11 bestq)) { |
2385 | best = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant; |
2386 | |
2387 | |
2388 | |
2389 | if (is_variant_better : enter=0, leave=0 is_variant_better : modules/mappers/mod_negotiation.c line=2109 column=12 is_variant_better(neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg, variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant, best : modules/mappers/mod_negotiation.c line=2289 column=14 best, &bestq : modules/mappers/mod_negotiation.c line=2290 column=11 bestq)) { |
2390 | best = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2333 column=22 variant; |
2391 | |
2392 | |
2393 | |
2394 | |
2395 | |
2396 | |
2397 | |
2398 | if (neg : modules/mappers/mod_negotiation.c line=2286 column=42 neg-> : enter=0, leave=0 ->use_rvsa : modules/mappers/mod_negotiation.c line=272 column=9 use_rvsa) { |
2399 | |
2400 | |
2401 | |
2402 | |
2403 | algorithm_result = : pass=0 = (MC/DC independently affect : true=0, false=0 best : modules/mappers/mod_negotiation.c line=2289 column=14 best && : true=0, false=0 && best : modules/mappers/mod_negotiation.c line=2289 column=14 bestMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->definite : modules/mappers/mod_negotiation.c line=239 column=9 definite) && : true=0, false=0 && (bestq : modules/mappers/mod_negotiation.c line=2290 column=11 bestq > : true=0, false=0 MC/DC independently affect : true=0, false=0 > 0) conditional operator : true=0, false=0 ? |
2404 | alg_choice : alg_list : modules/mappers/mod_negotiation.c line=2016 column=5 alg_list; |
2405 | |
2406 | |
2407 | |
2408 | algorithm_result = : pass=0 = bestq : modules/mappers/mod_negotiation.c line=2290 column=11 bestq > : true=0, false=0 > 0 conditional operator : true=0, false=0 ? alg_choice : modules/mappers/mod_negotiation.c line=2015 column=5 alg_choice : alg_list : modules/mappers/mod_negotiation.c line=2016 column=5 alg_list; |
2409 | |
2410 | |
2411 | |
2412 | if (MC/DC independently affect : true=0, false=0 preferred_language : modules/mappers/mod_negotiation.c line=2299 column=17 preferred_language && : true=0, false=0 && (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !best : modules/mappers/mod_negotiation.c line=2289 column=14 best || : true=0, false=0 || algorithm_result : modules/mappers/mod_negotiation.c line=2291 column=28 algorithm_result != : true=0, false=0 MC/DC independently affect : true=0, false=0 != alg_choice : modules/mappers/mod_negotiation.c line=2015 column=5 alg_choice)) { |
2413 | preferred_language = : pass=0 = NULL; |
2414 | continue; |
2415 | |
2416 | |
2417 | break; |
2418 | while (1); |
2419 | |
2420 | |
2421 | |
2422 | |
2423 | |
2424 | |
2425 | |
2426 | |
2427 | pbest = : enter=0, leave=0 = best : modules/mappers/mod_negotiation.c line=2289 column=14 best; |
2428 | return algorithm_result : modules/mappers/mod_negotiation.c line=2291 column=28 algorithm_result; |
2429 | |
2430 | |
2431 | |
2432 | |
2433 | |
2434 | |
2435 | |
2436 | |
2437 | |
2438 | |
2439 | |
2440 | |
2441 | |
2442 | |
2443 | |
2444 | |
2445 | |
2446 | |
2447 | |
2448 | set_neg_headers(request_rec *r, negotiation_state *neg, |
2449 | |
2450 | |
2451 | |
2452 | neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
2453 | |
2454 | |
2455 | |
2456 | |
2457 | |
2458 | |
2459 | |
2460 | |
2461 | neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts * : pass=0 * 21); |
2462 | |
2463 | |
2464 | |
2465 | |
2466 | |
2467 | |
2468 | |
2469 | |
2470 | |
2471 | |
2472 | |
2473 | |
2474 | |
2475 | if (neg : modules/mappers/mod_negotiation.c line=2448 column=64 negMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->send_alternates : modules/mappers/mod_negotiation.c line=270 column=9 send_alternates && : true=0, false=0 && neg : modules/mappers/mod_negotiation.c line=2448 column=64 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_varsMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts) |
2476 | arr = : pass=0 = apr_array_make : enter=0, leave=0 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(r : modules/mappers/mod_negotiation.c line=2448 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, max_vlist_array : modules/mappers/mod_negotiation.c line=2461 column=9 max_vlist_array, sizeof(char *)); |
2477 | |
2478 | arr = : pass=0 = NULL; |
2479 | |
2480 | |
2481 | |
2482 | |
2483 | hdrs = : pass=0 = r : modules/mappers/mod_negotiation.c line=2448 column=42 r-> : enter=0, leave=0 ->err_headers_out : include/httpd.h line=906 column=18 err_headers_out; |
2484 | |
2485 | for (j : modules/mappers/mod_negotiation.c line=2467 column=9 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=2467 column=9 j < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=2448 column=64 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=2467 column=9 j) { |
2486 | avail_recs[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=2467 column=9 j]; |
2487 | |
2488 | if (variant : modules/mappers/mod_negotiation.c line=2486 column=18 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages && : true=0, false=0 && variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languagesMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts) { |
2489 | lang = : pass=0 = apr_array_pstrcat : enter=0, leave=0 apr_array_pstrcat : /usr/include/apr-1/apr_tables.h line=211 column=21 apr_array_pstrcat(r : modules/mappers/mod_negotiation.c line=2448 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages, ','); |
2490 | |
2491 | |
2492 | lang = : pass=0 = NULL; |
2493 | |
2494 | |
2495 | |
2496 | |
2497 | if (first_variant : modules/mappers/mod_negotiation.c line=2462 column=9 first_variant) { |
2498 | sample_type = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type; |
2499 | sample_charset = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset; |
2500 | sample_language = : pass=0 = lang : modules/mappers/mod_negotiation.c line=2457 column=11 lang; |
2501 | sample_encoding = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding; |
2502 | |
2503 | |
2504 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !vary_by_type : modules/mappers/mod_negotiation.c line=2463 column=9 vary_by_type && : true=0, false=0 && |
2505 | strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(sample_type : modules/mappers/mod_negotiation.c line=2453 column=17 sample_type conditional operator : true=0, false=0 ? sample_type : modules/mappers/mod_negotiation.c line=2453 column=17 sample_type : "", |
2506 | variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type conditional operator : true=0, false=0 ? variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type : "")) { |
2507 | vary_by_type = : pass=0 = 1; |
2508 | |
2509 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !vary_by_charset : modules/mappers/mod_negotiation.c line=2465 column=9 vary_by_charset && : true=0, false=0 && |
2510 | strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(sample_charset : modules/mappers/mod_negotiation.c line=2456 column=17 sample_charset conditional operator : true=0, false=0 ? sample_charset : modules/mappers/mod_negotiation.c line=2456 column=17 sample_charset : "", |
2511 | variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset conditional operator : true=0, false=0 ? |
2512 | variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset : "")) { |
2513 | vary_by_charset = : pass=0 = 1; |
2514 | |
2515 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !vary_by_language : modules/mappers/mod_negotiation.c line=2464 column=9 vary_by_language && : true=0, false=0 && |
2516 | strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(sample_language : modules/mappers/mod_negotiation.c line=2454 column=17 sample_language conditional operator : true=0, false=0 ? sample_language : modules/mappers/mod_negotiation.c line=2454 column=17 sample_language : "", |
2517 | lang conditional operator : true=0, false=0 ? lang : modules/mappers/mod_negotiation.c line=2457 column=11 lang : "")) { |
2518 | vary_by_language = : pass=0 = 1; |
2519 | |
2520 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !vary_by_encoding : modules/mappers/mod_negotiation.c line=2466 column=9 vary_by_encoding && : true=0, false=0 && |
2521 | strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(sample_encoding : modules/mappers/mod_negotiation.c line=2455 column=17 sample_encoding conditional operator : true=0, false=0 ? sample_encoding : modules/mappers/mod_negotiation.c line=2455 column=17 sample_encoding : "", |
2522 | variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding conditional operator : true=0, false=0 ? |
2523 | variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding : "")) { |
2524 | vary_by_encoding = : pass=0 = 1; |
2525 | |
2526 | |
2527 | first_variant = : pass=0 = 0; |
2528 | |
2529 | if (! : true=0, false=0 !neg : modules/mappers/mod_negotiation.c line=2448 column=64 neg-> : enter=0, leave=0 ->send_alternates : modules/mappers/mod_negotiation.c line=270 column=9 send_alternates) |
2530 | continue; |
2531 | |
2532 | |
2533 | |
2534 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = "{\""; |
2535 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = ap_escape_path_segment : enter=0, leave=0 ap_escape_path_segment : include/httpd.h line=1491 column=20 ap_escape_path_segment(r : modules/mappers/mod_negotiation.c line=2448 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name); |
2536 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = "\" "; |
2537 | |
2538 | qstr = : pass=0 = (char *) apr_palloc : enter=0, leave=0 apr_palloc : /usr/include/apr-1/apr_pools.h line=419 column=21 apr_palloc(r : modules/mappers/mod_negotiation.c line=2448 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, 6); |
2539 | apr_snprintf : /usr/include/apr-1/apr_strings.h line=261 column=25 apr_snprintf(qstr : modules/mappers/mod_negotiation.c line=2458 column=11 qstr, 6, "%1.3f", variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->source_quality : modules/mappers/mod_negotiation.c line=225 column=11 source_quality); |
2540 | |
2541 | |
2542 | if (qstr : modules/mappers/mod_negotiation.c line=2458 column=11 qstr[] : enter=0, leave=0 [4] == : true=0, false=0 == '0') { |
2543 | qstr[4] = : enter=0, leave=0 = '\0'; |
2544 | if (qstr : modules/mappers/mod_negotiation.c line=2458 column=11 qstr[] : enter=0, leave=0 [3] == : true=0, false=0 == '0') { |
2545 | qstr[3] = : enter=0, leave=0 = '\0'; |
2546 | if (qstr : modules/mappers/mod_negotiation.c line=2458 column=11 qstr[] : enter=0, leave=0 [2] == : true=0, false=0 == '0') { |
2547 | qstr[1] = : enter=0, leave=0 = '\0'; |
2548 | |
2549 | |
2550 | |
2551 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = qstr : modules/mappers/mod_negotiation.c line=2458 column=11 qstr; |
2552 | |
2553 | if (variant : modules/mappers/mod_negotiation.c line=2486 column=18 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type) { |
2554 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = " {type "; |
2555 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type; |
2556 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = "}"; |
2557 | |
2558 | if (variant : modules/mappers/mod_negotiation.c line=2486 column=18 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset) { |
2559 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = " {charset "; |
2560 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset; |
2561 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = "}"; |
2562 | |
2563 | if (lang : modules/mappers/mod_negotiation.c line=2457 column=11 lang) { |
2564 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = " {language "; |
2565 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = lang : modules/mappers/mod_negotiation.c line=2457 column=11 lang; |
2566 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = "}"; |
2567 | |
2568 | if (variant : modules/mappers/mod_negotiation.c line=2486 column=18 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding) { |
2569 | |
2570 | |
2571 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = " {encoding "; |
2572 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding; |
2573 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = "}"; |
2574 | |
2575 | |
2576 | |
2577 | |
2578 | |
2579 | |
2580 | |
2581 | |
2582 | |
2583 | |
2584 | |
2585 | |
2586 | |
2587 | |
2588 | |
2589 | |
2590 | |
2591 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !(variant : modules/mappers/mod_negotiation.c line=2486 column=18 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req && : true=0, false=0 && variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_reqMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler) |
2592 | && (len : modules/mappers/mod_negotiation.c line=2459 column=15 len = : pass=0 = find_content_length : enter=0, leave=0 find_content_length : modules/mappers/mod_negotiation.c line=1745 column=18 find_content_length(neg : modules/mappers/mod_negotiation.c line=2448 column=64 neg, variant : modules/mappers/mod_negotiation.c line=2486 column=18 variant)) >= : true=0, false=0 MC/DC independently affect : true=0, false=0 >= 0) { |
2593 | |
2594 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = " {length "; |
2595 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = apr_off_t_toa : enter=0, leave=0 apr_off_t_toa : /usr/include/apr-1/apr_strings.h line=299 column=21 apr_off_t_toa(r : modules/mappers/mod_negotiation.c line=2448 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, |
2596 | len); |
2597 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = "}"; |
2598 | |
2599 | |
2600 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = "}"; |
2601 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr)) = : enter=0, leave=0 = ", "; /* trimmed below */ |
2602 | |
2603 | |
2604 | if (neg : modules/mappers/mod_negotiation.c line=2448 column=64 negMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->send_alternates : modules/mappers/mod_negotiation.c line=270 column=9 send_alternates && : true=0, false=0 && neg : modules/mappers/mod_negotiation.c line=2448 column=64 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_varsMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts) { |
2605 | arr-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts-- : pass=0 --; /* remove last comma */ |
2606 | apr_table_mergen : /usr/include/apr-1/apr_tables.h line=311 column=19 apr_table_mergen(hdrs : modules/mappers/mod_negotiation.c line=2451 column=18 hdrs, "Alternates", |
2607 | apr_array_pstrcat : /usr/include/apr-1/apr_tables.h line=211 column=21 apr_array_pstrcat(r : modules/mappers/mod_negotiation.c line=2448 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, arr : modules/mappers/mod_negotiation.c line=2460 column=25 arr, '\0')); |
2608 | |
2609 | |
2610 | if (neg : modules/mappers/mod_negotiation.c line=2448 column=64 negMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent || : true=0, false=0 || MC/DC independently affect : true=0, false=0 vary_by_type : modules/mappers/mod_negotiation.c line=2463 column=9 vary_by_type || : true=0, false=0 || MC/DC independently affect : true=0, false=0 vary_by_language : modules/mappers/mod_negotiation.c line=2464 column=9 vary_by_language || : true=0, false=0 || |
2611 | vary_by_language : modules/mappers/mod_negotiation.c line=2464 column=9 vary_by_language || : true=0, false=0 || MC/DC independently affect : true=0, false=0 vary_by_charset : modules/mappers/mod_negotiation.c line=2465 column=9 vary_by_charset || : true=0, false=0 || MC/DC independently affect : true=0, false=0 vary_by_encoding : modules/mappers/mod_negotiation.c line=2466 column=9 vary_by_encoding) { |
2612 | |
2613 | apr_table_mergen : /usr/include/apr-1/apr_tables.h line=311 column=19 apr_table_mergen(hdrs : modules/mappers/mod_negotiation.c line=2451 column=18 hdrs, "Vary", 2 + : pass=0 + apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_negotiation.c line=2448 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, |
2614 | neg-> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent conditional operator : true=0, false=0 ? ", negotiate" : "", |
2615 | vary_by_type conditional operator : true=0, false=0 ? ", accept" : "", |
2616 | vary_by_language conditional operator : true=0, false=0 ? ", accept-language" : "", |
2617 | vary_by_charset conditional operator : true=0, false=0 ? ", accept-charset" : "", |
2618 | vary_by_encoding conditional operator : true=0, false=0 ? ", accept-encoding" : "", NULL)); |
2619 | |
2620 | |
2621 | if (neg : modules/mappers/mod_negotiation.c line=2448 column=64 neg-> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent) { /* Create TCN response header */ |
2622 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(hdrs : modules/mappers/mod_negotiation.c line=2451 column=18 hdrs, "TCN", |
2623 | alg_result == : true=0, false=0 == alg_list : modules/mappers/mod_negotiation.c line=2016 column=5 alg_list conditional operator : true=0, false=0 ? "list" : "choice"); |
2624 | |
2625 | |
2626 | |
2627 | |
2628 | |
2629 | |
2630 | |
2631 | |
2632 | |
2633 | make_variant_list(request_rec *r, negotiation_state *neg) |
2634 | |
2635 | |
2636 | |
2637 | neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts * : pass=0 * 15) + : pass=0 + 2; |
2638 | |
2639 | |
2640 | |
2641 | |
2642 | |
2643 | arr = : pass=0 = apr_array_make : enter=0, leave=0 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(r : modules/mappers/mod_negotiation.c line=2633 column=45 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, max_vlist_array : modules/mappers/mod_negotiation.c line=2637 column=9 max_vlist_array, sizeof(char *)); |
2644 | |
2645 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = "Available variants:\n<ul>\n"; |
2646 | |
2647 | for (i : modules/mappers/mod_negotiation.c line=2636 column=9 i = : pass=0 = 0; i : modules/mappers/mod_negotiation.c line=2636 column=9 i < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=2633 column=67 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_negotiation.c line=2636 column=9 i) { |
2648 | neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts)[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=2636 column=9 i]; |
2649 | variant-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name conditional operator : true=0, false=0 ? variant : modules/mappers/mod_negotiation.c line=2648 column=18 variant-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name : ""; |
2650 | variant-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages; |
2651 | variant-> : enter=0, leave=0 ->description : modules/mappers/mod_negotiation.c line=210 column=17 description |
2652 | ? variant : modules/mappers/mod_negotiation.c line=2648 column=18 variant-> : enter=0, leave=0 ->description : modules/mappers/mod_negotiation.c line=210 column=17 description |
2653 | |
2654 | |
2655 | |
2656 | |
2657 | |
2658 | |
2659 | |
2660 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = "<li><a href=\""; |
2661 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = ap_escape_path_segment : enter=0, leave=0 ap_escape_path_segment : include/httpd.h line=1491 column=20 ap_escape_path_segment(r : modules/mappers/mod_negotiation.c line=2633 column=45 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, filename : modules/mappers/mod_negotiation.c line=2649 column=21 filename); |
2662 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = "\">"; |
2663 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = ap_escape_html : enter=0, leave=0 ap_escape_html : include/httpd.h line=1512 column=20 ap_escape_html(r : modules/mappers/mod_negotiation.c line=2633 column=45 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, filename : modules/mappers/mod_negotiation.c line=2649 column=21 filename); |
2664 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = "</a> "; |
2665 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = description : modules/mappers/mod_negotiation.c line=2651 column=21 description; |
2666 | |
2667 | if (variant : modules/mappers/mod_negotiation.c line=2648 column=18 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *variant : modules/mappers/mod_negotiation.c line=2648 column=18 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type) { |
2668 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = ", type "; |
2669 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = variant : modules/mappers/mod_negotiation.c line=2648 column=18 variant-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type; |
2670 | |
2671 | if (MC/DC independently affect : true=0, false=0 languages : modules/mappers/mod_negotiation.c line=2650 column=29 languages && : true=0, false=0 && languages : modules/mappers/mod_negotiation.c line=2650 column=29 languagesMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts) { |
2672 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = ", language "; |
2673 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = apr_array_pstrcat : enter=0, leave=0 apr_array_pstrcat : /usr/include/apr-1/apr_tables.h line=211 column=21 apr_array_pstrcat(r : modules/mappers/mod_negotiation.c line=2633 column=45 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, |
2674 | languages, ','); |
2675 | |
2676 | if (variant : modules/mappers/mod_negotiation.c line=2648 column=18 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *variant : modules/mappers/mod_negotiation.c line=2648 column=18 variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset) { |
2677 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = ", charset "; |
2678 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = variant : modules/mappers/mod_negotiation.c line=2648 column=18 variant-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset; |
2679 | |
2680 | if (variant : modules/mappers/mod_negotiation.c line=2648 column=18 variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding) { |
2681 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = ", encoding "; |
2682 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = variant : modules/mappers/mod_negotiation.c line=2648 column=18 variant-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding; |
2683 | |
2684 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = "</li>\n"; |
2685 | |
2686 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr)) = : enter=0, leave=0 = "</ul>\n"; |
2687 | |
2688 | return apr_array_pstrcat : enter=0, leave=0 apr_array_pstrcat : /usr/include/apr-1/apr_tables.h line=211 column=21 apr_array_pstrcat(r : modules/mappers/mod_negotiation.c line=2633 column=45 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, arr : modules/mappers/mod_negotiation.c line=2635 column=25 arr, '\0'); |
2689 | |
2690 | |
2691 | store_variant_list(request_rec *r, negotiation_state *neg) |
2692 | |
2693 | if (r : modules/mappers/mod_negotiation.c line=2691 column=45 r-> : enter=0, leave=0 ->main : include/httpd.h line=793 column=18 main == : true=0, false=0 == NULL) { |
2694 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_negotiation.c line=2691 column=45 r-> : enter=0, leave=0 ->notes : include/httpd.h line=910 column=18 notes, "variant-list", make_variant_list : enter=0, leave=0 make_variant_list : modules/mappers/mod_negotiation.c line=2633 column=14 make_variant_list(r : modules/mappers/mod_negotiation.c line=2691 column=45 r, neg : modules/mappers/mod_negotiation.c line=2691 column=67 neg)); |
2695 | |
2696 | |
2697 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_negotiation.c line=2691 column=45 r-> : enter=0, leave=0 ->main : include/httpd.h line=793 column=18 main-> : enter=0, leave=0 ->notes : include/httpd.h line=910 column=18 notes, "variant-list", |
2698 | make_variant_list : modules/mappers/mod_negotiation.c line=2633 column=14 make_variant_list(r : modules/mappers/mod_negotiation.c line=2691 column=45 r-> : enter=0, leave=0 ->main : include/httpd.h line=793 column=18 main, neg : modules/mappers/mod_negotiation.c line=2691 column=67 neg)); |
2699 | |
2700 | |
2701 | |
2702 | |
2703 | |
2704 | |
2705 | |
2706 | |
2707 | |
2708 | setup_choice_response(request_rec *r, negotiation_state *neg, |
2709 | |
2710 | |
2711 | |
2712 | |
2713 | |
2714 | if (! : true=0, false=0 !variant : modules/mappers/mod_negotiation.c line=2709 column=43 variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req) { |
2715 | |
2716 | |
2717 | sub_req = : pass=0 = ap_sub_req_lookup_file : enter=0, leave=0 ap_sub_req_lookup_file : include/http_request.h line=84 column=27 ap_sub_req_lookup_file(variant : modules/mappers/mod_negotiation.c line=2709 column=43 variant-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name, r : modules/mappers/mod_negotiation.c line=2708 column=47 r, r : modules/mappers/mod_negotiation.c line=2708 column=47 r-> : enter=0, leave=0 ->output_filters : include/httpd.h line=990 column=25 output_filters); |
2718 | status = : pass=0 = sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_req-> : enter=0, leave=0 ->status : include/httpd.h line=822 column=9 status; |
2719 | |
2720 | if (status : modules/mappers/mod_negotiation.c line=2715 column=13 status != : true=0, false=0 MC/DC independently affect : true=0, false=0 != HTTP_OK && : true=0, false=0 && |
2721 | MC/DC independently affect : true=0, false=0 !apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_req-> : enter=0, leave=0 ->err_headers_out : include/httpd.h line=906 column=18 err_headers_out, "TCN")) { |
2722 | ap_destroy_sub_req : include/http_request.h line=144 column=18 ap_destroy_sub_req(sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_req); |
2723 | return status : modules/mappers/mod_negotiation.c line=2715 column=13 status; |
2724 | |
2725 | variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req = : enter=0, leave=0 = sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_req; |
2726 | |
2727 | |
2728 | sub_req = : pass=0 = variant : modules/mappers/mod_negotiation.c line=2709 column=43 variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req; |
2729 | |
2730 | |
2731 | |
2732 | |
2733 | |
2734 | |
2735 | |
2736 | |
2737 | |
2738 | |
2739 | |
2740 | |
2741 | |
2742 | |
2743 | |
2744 | |
2745 | |
2746 | |
2747 | |
2748 | |
2749 | |
2750 | |
2751 | |
2752 | |
2753 | if (neg : modules/mappers/mod_negotiation.c line=2708 column=69 negMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent && : true=0, false=0 && |
2754 | apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_req-> : enter=0, leave=0 ->err_headers_out : include/httpd.h line=906 column=18 err_headers_out, "TCN")) { |
2755 | return HTTP_VARIANT_ALSO_VARIES; |
2756 | |
2757 | |
2758 | |
2759 | |
2760 | |
2761 | |
2762 | |
2763 | |
2764 | |
2765 | |
2766 | |
2767 | |
2768 | |
2769 | |
2770 | |
2771 | |
2772 | |
2773 | |
2774 | |
2775 | |
2776 | |
2777 | |
2778 | |
2779 | |
2780 | |
2781 | if (sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_reqMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler && : true=0, false=0 && strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_req-> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler, "type-map") == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0) { |
2782 | return HTTP_VARIANT_ALSO_VARIES; |
2783 | |
2784 | |
2785 | |
2786 | |
2787 | |
2788 | |
2789 | |
2790 | |
2791 | |
2792 | |
2793 | |
2794 | |
2795 | |
2796 | |
2797 | if ((sub_vary : modules/mappers/mod_negotiation.c line=2712 column=17 sub_vary = : pass=0 = apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_req-> : enter=0, leave=0 ->err_headers_out : include/httpd.h line=906 column=18 err_headers_out, "Vary")) != : true=0, false=0 != NULL) { |
2798 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_negotiation.c line=2708 column=47 r-> : enter=0, leave=0 ->err_headers_out : include/httpd.h line=906 column=18 err_headers_out, "Variant-Vary", sub_vary : modules/mappers/mod_negotiation.c line=2712 column=17 sub_vary); |
2799 | |
2800 | |
2801 | |
2802 | |
2803 | |
2804 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_negotiation.c line=2708 column=47 r-> : enter=0, leave=0 ->err_headers_out : include/httpd.h line=906 column=18 err_headers_out, "Vary", sub_vary : modules/mappers/mod_negotiation.c line=2712 column=17 sub_vary); |
2805 | apr_table_unset : /usr/include/apr-1/apr_tables.h line=290 column=19 apr_table_unset(sub_req : modules/mappers/mod_negotiation.c line=2711 column=18 sub_req-> : enter=0, leave=0 ->err_headers_out : include/httpd.h line=906 column=18 err_headers_out, "Vary"); |
2806 | |
2807 | |
2808 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_negotiation.c line=2708 column=47 r-> : enter=0, leave=0 ->err_headers_out : include/httpd.h line=906 column=18 err_headers_out, "Content-Location", |
2809 | ap_escape_path_segment : include/httpd.h line=1491 column=20 ap_escape_path_segment(r : modules/mappers/mod_negotiation.c line=2708 column=47 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, variant : modules/mappers/mod_negotiation.c line=2709 column=43 variant-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name)); |
2810 | |
2811 | set_neg_headers : modules/mappers/mod_negotiation.c line=2448 column=13 set_neg_headers(r : modules/mappers/mod_negotiation.c line=2708 column=47 r, neg : modules/mappers/mod_negotiation.c line=2708 column=69 neg, alg_choice : modules/mappers/mod_negotiation.c line=2015 column=5 alg_choice); /* add Alternates and Vary */ |
2812 | |
2813 | |
2814 | |
2815 | return 0; |
2816 | |
2817 | |
2818 | |
2819 | |
2820 | |
2821 | |
2822 | |
2823 | do_negotiation(request_rec *r, negotiation_state *neg, |
2824 | |
2825 | |
2826 | neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
2827 | |
2828 | |
2829 | |
2830 | |
2831 | |
2832 | |
2833 | |
2834 | if (r : modules/mappers/mod_negotiation.c line=2823 column=40 r-> : enter=0, leave=0 ->method_number : include/httpd.h line=831 column=9 method_number == : true=0, false=0 == M_GET) { |
2835 | |
2836 | |
2837 | |
2838 | |
2839 | neg-> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent = : enter=0, leave=0 = 1; |
2840 | |
2841 | |
2842 | |
2843 | |
2844 | if (r : modules/mappers/mod_negotiation.c line=2823 column=40 rMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *r : modules/mappers/mod_negotiation.c line=2823 column=40 r-> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info) |
2845 | neg-> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent = : enter=0, leave=0 = 0; |
2846 | |
2847 | for (j : modules/mappers/mod_negotiation.c line=2829 column=9 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=2829 column=9 j < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=2829 column=9 j) { |
2848 | avail_recs[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=2829 column=9 j]; |
2849 | |
2850 | |
2851 | |
2852 | |
2853 | |
2854 | |
2855 | if (ap_strchr_c(variant : modules/mappers/mod_negotiation.c line=2848 column=22 variant-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name, '/')) |
2856 | neg-> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent = : enter=0, leave=0 = 0; |
2857 | |
2858 | |
2859 | |
2860 | |
2861 | if (variant : modules/mappers/mod_negotiation.c line=2848 column=22 variant-> : enter=0, leave=0 ->body : modules/mappers/mod_negotiation.c line=206 column=15 body) { |
2862 | neg-> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent = : enter=0, leave=0 = 0; |
2863 | |
2864 | |
2865 | |
2866 | |
2867 | if (neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg-> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent) { |
2868 | parse_negotiate_header : modules/mappers/mod_negotiation.c line=610 column=13 parse_negotiate_header(r : modules/mappers/mod_negotiation.c line=2823 column=40 r, neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg); |
2869 | |
2870 | |
2871 | neg-> : enter=0, leave=0 ->may_choose : modules/mappers/mod_negotiation.c line=271 column=9 may_choose = : enter=0, leave=0 = 1; |
2872 | |
2873 | |
2874 | maybe_add_default_accepts : modules/mappers/mod_negotiation.c line=703 column=13 maybe_add_default_accepts(neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg, prefer_scripts : modules/mappers/mod_negotiation.c line=2824 column=48 prefer_scripts); |
2875 | |
2876 | alg_result = : pass=0 = best_match : enter=0, leave=0 best_match : modules/mappers/mod_negotiation.c line=2286 column=12 best_match(neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg, bestp : modules/mappers/mod_negotiation.c line=2824 column=37 bestp); |
2877 | |
2878 | |
2879 | |
2880 | |
2881 | |
2882 | |
2883 | if (alg_result : modules/mappers/mod_negotiation.c line=2827 column=9 alg_result == : true=0, false=0 == alg_list : modules/mappers/mod_negotiation.c line=2016 column=5 alg_list) { |
2884 | |
2885 | |
2886 | neg-> : enter=0, leave=0 ->send_alternates : modules/mappers/mod_negotiation.c line=270 column=9 send_alternates = : enter=0, leave=0 = 1; /* always include Alternates header */ |
2887 | set_neg_headers : modules/mappers/mod_negotiation.c line=2448 column=13 set_neg_headers(r : modules/mappers/mod_negotiation.c line=2823 column=40 r, neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg, alg_result : modules/mappers/mod_negotiation.c line=2827 column=9 alg_result); |
2888 | store_variant_list : modules/mappers/mod_negotiation.c line=2691 column=13 store_variant_list(r : modules/mappers/mod_negotiation.c line=2823 column=40 r, neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg); |
2889 | |
2890 | if (neg : modules/mappers/mod_negotiation.c line=2823 column=62 negMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent && : true=0, false=0 && neg : modules/mappers/mod_negotiation.c line=2823 column=62 negMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->ua_supports_trans : modules/mappers/mod_negotiation.c line=269 column=9 ua_supports_trans) { |
2891 | |
2892 | |
2893 | |
2894 | |
2895 | |
2896 | |
2897 | |
2898 | |
2899 | |
2900 | |
2901 | |
2902 | |
2903 | |
2904 | return HTTP_MULTIPLE_CHOICES; |
2905 | |
2906 | |
2907 | if (! : true=0, false=0 !* dereference : enter=0, leave=0 *bestp : modules/mappers/mod_negotiation.c line=2824 column=37 bestp) { |
2908 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_negotiation.c line=2823 column=40 r, |
2909 | r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename); |
2910 | return HTTP_NOT_ACCEPTABLE; |
2911 | |
2912 | |
2913 | |
2914 | |
2915 | |
2916 | |
2917 | if (neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg-> : enter=0, leave=0 ->is_transparent : modules/mappers/mod_negotiation.c line=266 column=9 is_transparent) { |
2918 | |
2919 | if ((res : modules/mappers/mod_negotiation.c line=2828 column=9 res = : pass=0 = setup_choice_response : enter=0, leave=0 setup_choice_response : modules/mappers/mod_negotiation.c line=2708 column=12 setup_choice_response(r : modules/mappers/mod_negotiation.c line=2823 column=40 r, neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg, * dereference : enter=0, leave=0 *bestp : modules/mappers/mod_negotiation.c line=2824 column=37 bestp)) != : true=0, false=0 != 0) { |
2920 | return res : modules/mappers/mod_negotiation.c line=2828 column=9 res; /* return if error */ |
2921 | |
2922 | |
2923 | |
2924 | set_neg_headers : modules/mappers/mod_negotiation.c line=2448 column=13 set_neg_headers(r : modules/mappers/mod_negotiation.c line=2823 column=40 r, neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg, alg_result : modules/mappers/mod_negotiation.c line=2827 column=9 alg_result); |
2925 | |
2926 | |
2927 | |
2928 | |
2929 | |
2930 | |
2931 | |
2932 | |
2933 | |
2934 | |
2935 | |
2936 | |
2937 | |
2938 | |
2939 | |
2940 | |
2941 | |
2942 | |
2943 | |
2944 | |
2945 | |
2946 | |
2947 | |
2948 | |
2949 | |
2950 | |
2951 | |
2952 | |
2953 | |
2954 | |
2955 | |
2956 | |
2957 | |
2958 | |
2959 | |
2960 | if ((! : true=0, false=0 MC/DC independently affect : true=0, false=0 !do_cache_negotiated_docs : enter=0, leave=0 do_cache_negotiated_docs : modules/mappers/mod_negotiation.c line=150 column=12 do_cache_negotiated_docs(r : modules/mappers/mod_negotiation.c line=2823 column=40 r-> : enter=0, leave=0 ->server : include/httpd.h line=784 column=17 server) |
2961 | && (r : modules/mappers/mod_negotiation.c line=2823 column=40 r-> : enter=0, leave=0 ->proto_num : include/httpd.h line=812 column=9 proto_num < : true=0, false=0 MC/DC independently affect : true=0, false=0 < HTTP_VERSION(1,1))) |
2962 | && neg : modules/mappers/mod_negotiation.c line=2823 column=62 neg-> : enter=0, leave=0 ->count_multiviews_variants : modules/mappers/mod_negotiation.c line=264 column=9 count_multiviews_variants != : true=0, false=0 MC/DC independently affect : true=0, false=0 != 1) { |
2963 | r-> : enter=0, leave=0 ->no_cache : include/httpd.h line=935 column=9 no_cache = : enter=0, leave=0 = 1; |
2964 | |
2965 | |
2966 | return OK; |
2967 | |
2968 | |
2969 | handle_map_file(request_rec *r) |
2970 | |
2971 | |
2972 | |
2973 | |
2974 | |
2975 | |
2976 | |
2977 | |
2978 | if(MC/DC independently affect : true=0, false=0 strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler,MAP_FILE_MAGIC_TYPE) && : true=0, false=0 && MC/DC independently affect : true=0, false=0 strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler,"type-map")) |
2979 | return DECLINED; |
2980 | |
2981 | neg = : pass=0 = parse_accept_headers : enter=0, leave=0 parse_accept_headers : modules/mappers/mod_negotiation.c line=565 column=27 parse_accept_headers(r : modules/mappers/mod_negotiation.c line=2969 column=41 r); |
2982 | if ((res : modules/mappers/mod_negotiation.c line=2974 column=9 res = : pass=0 = read_type_map : enter=0, leave=0 read_type_map : modules/mappers/mod_negotiation.c line=939 column=12 read_type_map(&map : modules/mappers/mod_negotiation.c line=2972 column=17 map, neg : modules/mappers/mod_negotiation.c line=2971 column=24 neg, r : modules/mappers/mod_negotiation.c line=2969 column=41 r))) { |
2983 | return res : modules/mappers/mod_negotiation.c line=2974 column=9 res; |
2984 | |
2985 | |
2986 | res = : pass=0 = do_negotiation : enter=0, leave=0 do_negotiation : modules/mappers/mod_negotiation.c line=2823 column=12 do_negotiation(r : modules/mappers/mod_negotiation.c line=2969 column=41 r, neg : modules/mappers/mod_negotiation.c line=2971 column=24 neg, &best : modules/mappers/mod_negotiation.c line=2973 column=14 best, 0); |
2987 | if (res : modules/mappers/mod_negotiation.c line=2974 column=9 res != : true=0, false=0 != 0) return : pass=0 return res : modules/mappers/mod_negotiation.c line=2974 column=9 res; |
2988 | |
2989 | if (best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->body : modules/mappers/mod_negotiation.c line=206 column=15 body) |
2990 | |
2991 | r-> : enter=0, leave=0 ->connection : include/httpd.h line=782 column=15 connection; |
2992 | |
2993 | |
2994 | |
2995 | ap_allow_standard_methods : include/http_request.h line=233 column=18 ap_allow_standard_methods(r : modules/mappers/mod_negotiation.c line=2969 column=41 r, REPLACE_ALLOW, M_GET, M_OPTIONS, |
2996 | |
2997 | |
2998 | |
2999 | |
3000 | |
3001 | |
3002 | if (r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->method_number : include/httpd.h line=831 column=9 method_number != : true=0, false=0 MC/DC independently affect : true=0, false=0 != M_GET && : true=0, false=0 && r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->method_number : include/httpd.h line=831 column=9 method_number != : true=0, false=0 MC/DC independently affect : true=0, false=0 != M_POST) { |
3003 | return HTTP_METHOD_NOT_ALLOWED; |
3004 | |
3005 | |
3006 | |
3007 | |
3008 | |
3009 | |
3010 | |
3011 | |
3012 | ap_set_accept_ranges : include/http_protocol.h line=316 column=18 ap_set_accept_ranges(r : modules/mappers/mod_negotiation.c line=2969 column=41 r); |
3013 | ap_set_content_length : include/http_protocol.h line=111 column=18 ap_set_content_length(r : modules/mappers/mod_negotiation.c line=2969 column=41 r, best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes); |
3014 | |
3015 | |
3016 | if (best : modules/mappers/mod_negotiation.c line=2973 column=14 bestMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type) { |
3017 | if (best : modules/mappers/mod_negotiation.c line=2973 column=14 bestMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset) { |
3018 | ap_set_content_type : include/http_protocol.h line=310 column=18 ap_set_content_type(r : modules/mappers/mod_negotiation.c line=2969 column=41 r, apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, |
3019 | best-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type, |
3020 | |
3021 | best-> : enter=0, leave=0 ->content_charset : modules/mappers/mod_negotiation.c line=209 column=17 content_charset, |
3022 | |
3023 | |
3024 | |
3025 | ap_set_content_type : include/http_protocol.h line=310 column=18 ap_set_content_type(r : modules/mappers/mod_negotiation.c line=2969 column=41 r, apr_pstrdup : enter=0, leave=0 apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21 apr_pstrdup(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->mime_type : modules/mappers/mod_negotiation.c line=204 column=17 mime_type)); |
3026 | |
3027 | |
3028 | |
3029 | |
3030 | if (best : modules/mappers/mod_negotiation.c line=2973 column=14 bestMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages && : true=0, false=0 && best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languagesMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts) { |
3031 | r-> : enter=0, leave=0 ->content_languages : include/httpd.h line=924 column=25 content_languages = : enter=0, leave=0 = apr_array_copy : enter=0, leave=0 apr_array_copy : /usr/include/apr-1/apr_tables.h line=176 column=35 apr_array_copy(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, |
3032 | best-> : enter=0, leave=0 ->content_languages : modules/mappers/mod_negotiation.c line=208 column=25 content_languages); |
3033 | |
3034 | |
3035 | |
3036 | if (best : modules/mappers/mod_negotiation.c line=2973 column=14 bestMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding) { |
3037 | r-> : enter=0, leave=0 ->content_encoding : include/httpd.h line=922 column=17 content_encoding = : enter=0, leave=0 = apr_pstrdup : enter=0, leave=0 apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21 apr_pstrdup(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, |
3038 | best-> : enter=0, leave=0 ->content_encoding : modules/mappers/mod_negotiation.c line=207 column=17 content_encoding); |
3039 | |
3040 | |
3041 | if ((res : modules/mappers/mod_negotiation.c line=2974 column=9 res = : pass=0 = ap_meets_conditions : enter=0, leave=0 ap_meets_conditions : include/http_protocol.h line=181 column=17 ap_meets_conditions(r : modules/mappers/mod_negotiation.c line=2969 column=41 r)) != : true=0, false=0 != OK) { |
3042 | return res : modules/mappers/mod_negotiation.c line=2974 column=9 res; |
3043 | |
3044 | |
3045 | if ((res : modules/mappers/mod_negotiation.c line=2974 column=9 res = : pass=0 = ap_discard_request_body : enter=0, leave=0 ap_discard_request_body : include/http_protocol.h line=462 column=17 ap_discard_request_body(r : modules/mappers/mod_negotiation.c line=2969 column=41 r)) != : true=0, false=0 != OK) { |
3046 | return res : modules/mappers/mod_negotiation.c line=2974 column=9 res; |
3047 | |
3048 | bb = : pass=0 = apr_brigade_create : enter=0, leave=0 apr_brigade_create : /usr/include/apr-1/apr_buckets.h line=658 column=35 apr_brigade_create(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, c : modules/mappers/mod_negotiation.c line=2991 column=19 c-> : enter=0, leave=0 ->bucket_alloc : include/httpd.h line=1103 column=32 bucket_alloc); |
3049 | e = : pass=0 = apr_bucket_file_create : enter=0, leave=0 apr_bucket_file_create : /usr/include/apr-1/apr_buckets.h line=1470 column=27 apr_bucket_file_create(map : modules/mappers/mod_negotiation.c line=2972 column=17 map, best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->body : modules/mappers/mod_negotiation.c line=206 column=15 body, |
3050 | best-> : enter=0, leave=0 ->bytes : modules/mappers/mod_negotiation.c line=229 column=15 bytes, r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, |
3051 | c-> : enter=0, leave=0 ->bucket_alloc : include/httpd.h line=1103 column=32 bucket_alloc); |
3052 | bb, e : modules/mappers/mod_negotiation.c line=2993 column=21 e); |
3053 | e = : pass=0 = apr_bucket_eos_create : enter=0, leave=0 apr_bucket_eos_create : /usr/include/apr-1/apr_buckets.h line=1260 column=27 apr_bucket_eos_create(c : modules/mappers/mod_negotiation.c line=2991 column=19 c-> : enter=0, leave=0 ->bucket_alloc : include/httpd.h line=1103 column=32 bucket_alloc); |
3054 | bb, e : modules/mappers/mod_negotiation.c line=2993 column=21 e); |
3055 | |
3056 | return ap_pass_brigade : enter=0, leave=0 ap_pass_brigade : include/util_filter.h line=312 column=26 ap_pass_brigade(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->output_filters : include/httpd.h line=990 column=25 output_filters, bb : modules/mappers/mod_negotiation.c line=2992 column=29 bb); |
3057 | |
3058 | |
3059 | if (r : modules/mappers/mod_negotiation.c line=2969 column=41 rMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info) { |
3060 | |
3061 | |
3062 | |
3063 | |
3064 | r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri[ap_find_path_info : enter=0, leave=0 ap_find_path_info : include/util_script.h line=62 column=17 ap_find_path_info(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri, r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info)] = : enter=0, leave=0 = '\0'; |
3065 | |
3066 | udir = : pass=0 = ap_make_dirstr_parent : enter=0, leave=0 ap_make_dirstr_parent : include/httpd.h line=1586 column=20 ap_make_dirstr_parent(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri); |
3067 | udir = : pass=0 = ap_escape_uri(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, udir : modules/mappers/mod_negotiation.c line=2975 column=11 udir); |
3068 | if (r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args) { |
3069 | if (r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info) { |
3070 | new_req = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, udir : modules/mappers/mod_negotiation.c line=2975 column=11 udir, best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name, |
3071 | r-> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info, "?", r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args, NULL); |
3072 | |
3073 | |
3074 | new_req = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, udir : modules/mappers/mod_negotiation.c line=2975 column=11 udir, best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name, |
3075 | r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args, NULL); |
3076 | |
3077 | |
3078 | |
3079 | new_req = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_negotiation.c line=2969 column=41 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, udir : modules/mappers/mod_negotiation.c line=2975 column=11 udir, best : modules/mappers/mod_negotiation.c line=2973 column=14 best-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name, |
3080 | r-> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info, NULL); |
3081 | |
3082 | ap_internal_redirect : include/http_request.h line=157 column=18 ap_internal_redirect(new_req : modules/mappers/mod_negotiation.c line=2976 column=17 new_req, r : modules/mappers/mod_negotiation.c line=2969 column=41 r); |
3083 | return OK; |
3084 | |
3085 | |
3086 | handle_multi(request_rec *r) |
3087 | |
3088 | |
3089 | |
3090 | |
3091 | |
3092 | |
3093 | |
3094 | if (r : modules/mappers/mod_negotiation.c line=3086 column=38 r-> : enter=0, leave=0 ->finfo : include/httpd.h line=957 column=17 finfo.filetype : /usr/include/apr-1/apr_file_info.h line=186 column=20 filetype != : true=0, false=0 MC/DC independently affect : true=0, false=0 != APR_NOFILE : /usr/include/apr-1/apr_file_info.h line=63 column=5 APR_NOFILE |
3095 | || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !(ap_allow_options : enter=0, leave=0 ap_allow_options : include/http_core.h line=152 column=17 ap_allow_options(r : modules/mappers/mod_negotiation.c line=3086 column=38 r) & : pass=0 & OPT_MULTI)) { |
3096 | return DECLINED; |
3097 | |
3098 | |
3099 | neg = : pass=0 = parse_accept_headers : enter=0, leave=0 parse_accept_headers : modules/mappers/mod_negotiation.c line=565 column=27 parse_accept_headers(r : modules/mappers/mod_negotiation.c line=3086 column=38 r); |
3100 | |
3101 | if ((res : modules/mappers/mod_negotiation.c line=3091 column=9 res = : pass=0 = read_types_multi : enter=0, leave=0 read_types_multi : modules/mappers/mod_negotiation.c line=1091 column=12 read_types_multi(neg : modules/mappers/mod_negotiation.c line=3088 column=24 neg))) { |
3102 | |
3103 | |
3104 | avail_recs = : pass=0 = (var_rec *) neg : modules/mappers/mod_negotiation.c line=3088 column=24 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
3105 | for (j : modules/mappers/mod_negotiation.c line=3092 column=9 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=3092 column=9 j < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=3088 column=24 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=3092 column=9 j) { |
3106 | avail_recs[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=3092 column=9 j]; |
3107 | if (variant : modules/mappers/mod_negotiation.c line=3106 column=22 variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req) { |
3108 | ap_destroy_sub_req : include/http_request.h line=144 column=18 ap_destroy_sub_req(variant : modules/mappers/mod_negotiation.c line=3106 column=22 variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req); |
3109 | |
3110 | |
3111 | return res : modules/mappers/mod_negotiation.c line=3091 column=9 res; |
3112 | |
3113 | if (neg : modules/mappers/mod_negotiation.c line=3088 column=24 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts == : true=0, false=0 == 0) { |
3114 | return DECLINED; |
3115 | |
3116 | |
3117 | res = : pass=0 = do_negotiation : enter=0, leave=0 do_negotiation : modules/mappers/mod_negotiation.c line=2823 column=12 do_negotiation(r : modules/mappers/mod_negotiation.c line=3086 column=38 r, neg : modules/mappers/mod_negotiation.c line=3088 column=24 neg, &best : modules/mappers/mod_negotiation.c line=3089 column=14 best, |
3118 | r-> : enter=0, leave=0 ->method_number : include/httpd.h line=831 column=9 method_number != : true=0, false=0 MC/DC independently affect : true=0, false=0 != M_GET) || : true=0, false=0 || r : modules/mappers/mod_negotiation.c line=3086 column=38 rMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args || : true=0, false=0 || |
3119 | rMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info && : true=0, false=0 && MC/DC independently affect : true=0, false=0 * dereference : enter=0, leave=0 *r : modules/mappers/mod_negotiation.c line=3086 column=38 r-> : enter=0, leave=0 ->path_info : include/httpd.h line=953 column=11 path_info)); |
3120 | if (res : modules/mappers/mod_negotiation.c line=3091 column=9 res != : true=0, false=0 != 0) |
3121 | goto return_from_multi; |
3122 | |
3123 | if (! : true=0, false=0 !(sub_req : modules/mappers/mod_negotiation.c line=3090 column=18 sub_req = : pass=0 = best : modules/mappers/mod_negotiation.c line=3089 column=14 best-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req)) { |
3124 | |
3125 | |
3126 | |
3127 | |
3128 | sub_req = : pass=0 = ap_sub_req_lookup_file : enter=0, leave=0 ap_sub_req_lookup_file : include/http_request.h line=84 column=27 ap_sub_req_lookup_file(best : modules/mappers/mod_negotiation.c line=3089 column=14 best-> : enter=0, leave=0 ->file_name : modules/mappers/mod_negotiation.c line=205 column=17 file_name, r : modules/mappers/mod_negotiation.c line=3086 column=38 r, r : modules/mappers/mod_negotiation.c line=3086 column=38 r-> : enter=0, leave=0 ->output_filters : include/httpd.h line=990 column=25 output_filters); |
3129 | if (sub_req : modules/mappers/mod_negotiation.c line=3090 column=18 sub_req-> : enter=0, leave=0 ->status : include/httpd.h line=822 column=9 status != : true=0, false=0 != HTTP_OK) { |
3130 | res = : pass=0 = sub_req : modules/mappers/mod_negotiation.c line=3090 column=18 sub_req-> : enter=0, leave=0 ->status : include/httpd.h line=822 column=9 status; |
3131 | ap_destroy_sub_req : include/http_request.h line=144 column=18 ap_destroy_sub_req(sub_req : modules/mappers/mod_negotiation.c line=3090 column=18 sub_req); |
3132 | goto return_from_multi; |
3133 | |
3134 | |
3135 | if (sub_req : modules/mappers/mod_negotiation.c line=3090 column=18 sub_req-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args == : true=0, false=0 == NULL) { |
3136 | sub_req-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args = : enter=0, leave=0 = r : modules/mappers/mod_negotiation.c line=3086 column=38 r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args; |
3137 | |
3138 | |
3139 | |
3140 | ap_internal_fast_redirect : include/http_request.h line=175 column=18 ap_internal_fast_redirect(sub_req : modules/mappers/mod_negotiation.c line=3090 column=18 sub_req, r : modules/mappers/mod_negotiation.c line=3086 column=38 r); |
3141 | |
3142 | |
3143 | |
3144 | |
3145 | |
3146 | r-> : enter=0, leave=0 ->mtime : include/httpd.h line=864 column=16 mtime = : enter=0, leave=0 = 0; |
3147 | |
3148 | |
3149 | |
3150 | |
3151 | avail_recs = : pass=0 = (var_rec *) neg : modules/mappers/mod_negotiation.c line=3088 column=24 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
3152 | for (j : modules/mappers/mod_negotiation.c line=3092 column=9 j = : pass=0 = 0; j : modules/mappers/mod_negotiation.c line=3092 column=9 j < : true=0, false=0 < neg : modules/mappers/mod_negotiation.c line=3088 column=24 neg-> : enter=0, leave=0 ->avail_vars : modules/mappers/mod_negotiation.c line=262 column=25 avail_vars-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++j : modules/mappers/mod_negotiation.c line=3092 column=9 j) { |
3153 | avail_recs[] : enter=0, leave=0 [j : modules/mappers/mod_negotiation.c line=3092 column=9 j]; |
3154 | if (variant : modules/mappers/mod_negotiation.c line=3153 column=18 variant != : true=0, false=0 MC/DC independently affect : true=0, false=0 != best : modules/mappers/mod_negotiation.c line=3089 column=14 best && : true=0, false=0 && variant : modules/mappers/mod_negotiation.c line=3153 column=18 variantMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req) { |
3155 | ap_destroy_sub_req : include/http_request.h line=144 column=18 ap_destroy_sub_req(variant : modules/mappers/mod_negotiation.c line=3153 column=18 variant-> : enter=0, leave=0 ->sub_req : modules/mappers/mod_negotiation.c line=203 column=18 sub_req); |
3156 | |
3157 | |
3158 | return OK; |
3159 | |
3160 | |
3161 | |
3162 | |
3163 | |
3164 | |
3165 | |
3166 | |
3167 | |
3168 | |
3169 | |
3170 | |
3171 | |
3172 | |
3173 | |
3174 | |
3175 | |
3176 | fix_encoding(request_rec *r) |
3177 | |
3178 | r-> : enter=0, leave=0 ->content_encoding : include/httpd.h line=922 column=17 content_encoding; |
3179 | |
3180 | |
3181 | |
3182 | |
3183 | |
3184 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !enc : modules/mappers/mod_negotiation.c line=3178 column=17 enc || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !* dereference : enter=0, leave=0 *enc : modules/mappers/mod_negotiation.c line=3178 column=17 enc) { |
3185 | return DECLINED; |
3186 | |
3187 | |
3188 | if (enc : modules/mappers/mod_negotiation.c line=3178 column=17 enc[] : enter=0, leave=0 [0] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 'x' && : true=0, false=0 && enc : modules/mappers/mod_negotiation.c line=3178 column=17 enc[] : enter=0, leave=0 [1] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '-') { |
3189 | enc += : pass=0 += 2; |
3190 | |
3191 | |
3192 | if ((accept_encodings : modules/mappers/mod_negotiation.c line=3180 column=25 accept_encodings = : pass=0 = do_header_line : enter=0, leave=0 do_header_line : modules/mappers/mod_negotiation.c line=516 column=28 do_header_line(r : modules/mappers/mod_negotiation.c line=3176 column=38 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, |
3193 | apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(r : modules/mappers/mod_negotiation.c line=3176 column=38 r-> : enter=0, leave=0 ->headers_in : include/httpd.h line=901 column=18 headers_in, "Accept-Encoding"))) == : true=0, false=0 == NULL) { |
3194 | return DECLINED; |
3195 | |
3196 | |
3197 | accept_recs = : pass=0 = (accept_rec *) accept_encodings : modules/mappers/mod_negotiation.c line=3180 column=25 accept_encodings-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
3198 | |
3199 | for (i : modules/mappers/mod_negotiation.c line=3182 column=9 i = : pass=0 = 0; i : modules/mappers/mod_negotiation.c line=3182 column=9 i < : true=0, false=0 < accept_encodings : modules/mappers/mod_negotiation.c line=3180 column=25 accept_encodings-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_negotiation.c line=3182 column=9 i) { |
3200 | accept_recs[] : enter=0, leave=0 [i : modules/mappers/mod_negotiation.c line=3182 column=9 i].name : modules/mappers/mod_negotiation.c line=176 column=11 name; |
3201 | |
3202 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(name : modules/mappers/mod_negotiation.c line=3200 column=15 name, enc : modules/mappers/mod_negotiation.c line=3178 column=17 enc)) { |
3203 | r-> : enter=0, leave=0 ->content_encoding : include/httpd.h line=922 column=17 content_encoding = : enter=0, leave=0 = name : modules/mappers/mod_negotiation.c line=3200 column=15 name; |
3204 | return OK; |
3205 | |
3206 | |
3207 | if (name : modules/mappers/mod_negotiation.c line=3200 column=15 name[] : enter=0, leave=0 [0] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 'x' && : true=0, false=0 && name : modules/mappers/mod_negotiation.c line=3200 column=15 name[] : enter=0, leave=0 [1] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '-' && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(name : modules/mappers/mod_negotiation.c line=3200 column=15 name+ : pass=0 +2, enc : modules/mappers/mod_negotiation.c line=3178 column=17 enc)) { |
3208 | x_enc = : pass=0 = name : modules/mappers/mod_negotiation.c line=3200 column=15 name; |
3209 | |
3210 | |
3211 | |
3212 | if (x_enc : modules/mappers/mod_negotiation.c line=3179 column=11 x_enc) { |
3213 | r-> : enter=0, leave=0 ->content_encoding : include/httpd.h line=922 column=17 content_encoding = : enter=0, leave=0 = x_enc : modules/mappers/mod_negotiation.c line=3179 column=11 x_enc; |
3214 | return OK; |
3215 | |
3216 | |
3217 | return DECLINED; |
3218 | |
3219 | |
3220 | register_hooks(apr_pool_t *p) |
3221 | |
3222 | ap_hook_fixups : modules/mappers/ fix_encoding,NULL,NULL,APR_HOOK_MIDDLE); |
3223 | ap_hook_type_checker : modules/mappers/ handle_multi,NULL,NULL,APR_HOOK_FIRST); |
3224 | ap_hook_handler : modules/mappers/ handle_map_file,NULL,NULL,APR_HOOK_MIDDLE); |
3225 | |
3226 | |
3227 | |
3228 | |
3229 | |
3230 | create_neg_dir_config, /* dir config creator */ |
3231 | merge_neg_dir_configs, /* dir merger --- default is to override */ |
3232 | |
3233 | |
3234 | negotiation_cmds, /* command apr_table_t */ |
3235 | register_hooks /* register hooks */ |
3236 | |
3237 |