Home
last modified time | relevance | path

Searched refs:num_patches (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/applypatch/
Dmain.c51 char*** sha1s, Value*** patches, int* num_patches) { in ParsePatchArgs() argument
52 *num_patches = argc; in ParsePatchArgs()
53 *sha1s = malloc(*num_patches * sizeof(char*)); in ParsePatchArgs()
54 *patches = malloc(*num_patches * sizeof(Value*)); in ParsePatchArgs()
55 memset(*patches, 0, *num_patches * sizeof(Value*)); in ParsePatchArgs()
60 for (i = 0; i < *num_patches; ++i) { in ParsePatchArgs()
90 for (i = 0; i < *num_patches; ++i) { in ParsePatchArgs()
131 int num_patches; in PatchMode() local
132 if (ParsePatchArgs(argc-5, argv+5, &sha1s, &patches, &num_patches) != 0) { in PatchMode()
138 num_patches, sha1s, patches, bonus); in PatchMode()
[all …]
Dapplypatch.h55 int num_patches,
60 int num_patches,
67 int num_patches);
Dapplypatch.c566 int num_patches) { in FindMatchingPatch() argument
569 for (i = 0; i < num_patches; ++i) { in FindMatchingPatch()
582 int num_patches, char** const patch_sha1_str) { in applypatch_check() argument
591 (num_patches > 0 && in applypatch_check()
592 FindMatchingPatch(file.sha1, patch_sha1_str, num_patches) < 0)) { in applypatch_check()
610 if (FindMatchingPatch(file.sha1, patch_sha1_str, num_patches) < 0) { in applypatch_check()
716 int num_patches, in applypatch() argument
765 patch_sha1_str, num_patches); in applypatch()
783 patch_sha1_str, num_patches); in applypatch()