Lines Matching defs:quality

177     float quality;
212 /* The next five items give the quality values for the dimensions
217 * these values are set when we find the quality for each variant
221 float lang_quality; /* quality of this variant's language */
225 float source_quality; /* source quality for this variant */
312 var->source_quality = mime_info->quality;
346 * parse quality value. atof(3) is not well-usable here, because it
412 result->quality = 1.0f;
487 result->quality = atoq(cp);
587 if (elts[i].quality < 1.0) {
714 new_accept->quality = 1.0f;
722 new_accept->quality = 0;
725 new_accept->quality = prefer_scripts ? 2.0f : 0.001f;
1071 /* First key is the source quality, sort in descending order. */
1074 * source quality for multiviews variants, so we are always comparing
1369 * variants of equal quality. This piece is the treatment of variants
1387 * variants of equal quality, where the draft standard gives us a fair
1443 * quality first, and if a tie, language_index next (this only applies
1472 /* set_default_lang_quality() sets the quality we apply to variants
1524 * items, leave the quality at 1.0 and return.
1530 * Following the setting of the language quality, we drop through to
1546 * quality factor for variants with no content-language
1664 (bestthistag && bestthistag->quality > best->quality)) {
1682 ((best && star->quality > best->quality) ||
1688 variant->lang_quality = best ? best->quality : fiddle_q;
1767 * and assign the Accept: header's quality value to the
1779 /* if no Accept: header, leave quality alone (will
1796 * content-type. We use the best match's quality
1838 q = type->quality;
1859 /* if no Accept-Charset: header, leave quality alone (will
1873 /* if not a text / * type, leave quality alone */
1893 * match, charset is unacceptable, so set quality to 0.
1900 variant->charset_quality = type->quality;
1909 variant->charset_quality = star->quality;
1955 * encodings are acceptable with a low quality,
1988 variant->encoding_quality = accept_recs[i].quality;
1999 variant->encoding_quality = star->quality;
2031 * language, charset, etc quality for _every_ variant. This is needed
2092 /* If the best variant's encoding is of lesser quality than
2129 * language quality _before_ content type).
2207 * the same charset quality, then we prefer this variant
2349 /* Find all the relevant 'quality' values from the
2437 * the Accept: header assigns a 0 quality to .ps, then the results of