Searched refs:patch_sha1_str (Results 1 – 2 of 2) sorted by relevance
50 const std::vector<std::string>& patch_sha1_str,54 const std::vector<std::string>& patch_sha1_str);
378 static int FindMatchingPatch(uint8_t* sha1, const std::vector<std::string>& patch_sha1_str) { in FindMatchingPatch() argument379 for (size_t i = 0; i < patch_sha1_str.size(); ++i) { in FindMatchingPatch()381 if (ParseSha1(patch_sha1_str[i].c_str(), patch_sha1) == 0 && in FindMatchingPatch()392 int applypatch_check(const char* filename, const std::vector<std::string>& patch_sha1_str) { in applypatch_check() argument400 (!patch_sha1_str.empty() && FindMatchingPatch(file.sha1, patch_sha1_str) < 0)) { in applypatch_check()411 if (FindMatchingPatch(file.sha1, patch_sha1_str) < 0) { in applypatch_check()479 const std::vector<std::string>& patch_sha1_str, in applypatch() argument518 int to_use = FindMatchingPatch(source_file.sha1, patch_sha1_str); in applypatch()533 int to_use = FindMatchingPatch(copy_file.sha1, patch_sha1_str); in applypatch()