Lines Matching refs:quality
55 quality = match.group(2) or ''
56 if quality:
58 quality = max(min(float(quality), 1), 0)
59 yield (name, quality)
78 for mask, quality in self._parsed:
79 if quality != 1:
81 mask, min(len(str(quality).split('.')[1]), 3), quality)
94 name, quality = item
95 result.append('%s; q=%s' % (name, quality))
119 for mask, quality in self._parsed_nonzero:
123 def quality(self, offer, modifier=1): member in Accept
167 for mask, quality in self._parsed_nonzero:
168 possible_quality = server_quality * quality
220 def quality(self, offer, default_quality=1): member in NilAccept
232 offer, quality = offer
234 quality = 1
235 if quality > best_quality:
237 best_quality = quality