Home
last modified time | relevance | path

Searched refs:best_match (Results 1 – 5 of 5) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/
Dvcdiffengine.cc90 BlockHash::Match best_match; in EncodeCopyForBestMatch() local
97 &best_match); in EncodeCopyForBestMatch()
105 &best_match); in EncodeCopyForBestMatch()
107 if (!ShouldGenerateCopyInstructionForMatchOfSize(best_match.size())) { in EncodeCopyForBestMatch()
110 if (best_match.target_offset() > 0) { in EncodeCopyForBestMatch()
114 coder->Add(unencoded_target_start, best_match.target_offset()); in EncodeCopyForBestMatch()
116 coder->Copy(best_match.source_offset(), best_match.size()); in EncodeCopyForBestMatch()
117 return best_match.target_offset() // ADD size in EncodeCopyForBestMatch()
118 + best_match.size(); // + COPY size in EncodeCopyForBestMatch()
Dblockhash.cc395 Match* best_match) const { in FindBestMatch()
434 best_match->ReplaceIfBetterMatch(match_size, in FindBestMatch()
Dblockhash.h298 Match* best_match) const;
/external/chromium/net/http/
Dhttp_auth_cache.cc88 HttpAuthCache::Entry* best_match = NULL; in LookupByPath() local
103 (!best_match || len > best_match_length)) { in LookupByPath()
105 best_match = &(*it); in LookupByPath()
108 return best_match; in LookupByPath()
/external/chromium/chrome/browser/password_manager/
Dpassword_store_mac.cc422 PasswordForm* best_match = BestKeychainFormForForm(*db_form, in MergePasswordForms() local
424 if (best_match) { in MergePasswordForms()
425 used_keychain_forms.insert(best_match); in MergePasswordForms()
426 db_form->password_value = best_match->password_value; in MergePasswordForms()