Searched refs:best_match (Results 1 – 10 of 10) sorted by relevance
302 size_t best_match = UINT32_MAX; in FindLineEntryIndexByFileIndex() local330 if (best_match == UINT32_MAX) in FindLineEntryIndexByFileIndex()331 best_match = idx; in FindLineEntryIndexByFileIndex()332 else if (m_entries[idx].line < m_entries[best_match].line) in FindLineEntryIndexByFileIndex()333 best_match = idx; in FindLineEntryIndexByFileIndex()337 if (best_match != UINT32_MAX) in FindLineEntryIndexByFileIndex()340 ConvertEntryAtIndexToLineEntry (best_match, *line_entry_ptr); in FindLineEntryIndexByFileIndex()341 return best_match; in FindLineEntryIndexByFileIndex()350 size_t best_match = UINT32_MAX; in FindLineEntryIndexByFileIndex() local378 if (best_match == UINT32_MAX) in FindLineEntryIndexByFileIndex()[all …]
182 bm = best_match218 bm = best_match
143 def best_match(self, offers, default_match=None): member in Accept226 def best_match(self, offers, default_match=None): member in NilAccept
122 def best_match(supported, header): function
190 const struct fat_arch *best_match193 if (!best_match) return false;196 selected_object_file_ = best_match;
334 ``request.accept.best_match(..)`` instead (applies to all Accept-*434 * Fix exception when calling ``.accept.best_match(..)`` on a header containing525 Use ``.best_match(..)`` instead.835 * Arguments to :meth:`Accept.best_match` must be specific types,837 offer and use ``best_match`` to select a specific one.839 * With ``req.accept.best_match([types])`` prefer the first type in the844 ``req.accept.best_match([..])`` returns the most specific match.
350 >>> req.accept.best_match(['text/html', 'application/xhtml+xml'])368 >>> req.accept_language.best_match(['en-GB', 'en-US'], default_match='en-US')370 >>> req.accept_language.best_match(['es', 'en-US'], default_match='en-US')380 >>> req.accept_language.best_match(['en-GB'], default_match='en-US')382 >>> req.accept_language.best_match(['en-GB', 'en-US'], default_match='en-US')
31 ``req.accept_language.best_match(supported_languages)``36 ``req.accept.best_match(mimetypes)``
1673 best_index, best_match = index, s1676 self.match = best_match
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...