Searched defs:patches (Results 1 - 2 of 2) sorted by last modified time

/bootable/recovery/applypatch/
H A Dmain.c48 // *patches (loading file contents into the patches). Returns 0 on
51 char*** sha1s, Value*** patches, int* num_patches) {
54 *patches = malloc(*num_patches * sizeof(Value*));
55 memset(*patches, 0, *num_patches * sizeof(Value*));
74 (*patches)[i] = NULL;
80 (*patches)[i] = malloc(sizeof(Value));
81 (*patches)[i]->type = VAL_BLOB;
82 (*patches)[i]->size = fc.size;
83 (*patches)[
50 ParsePatchArgs(int argc, char** argv, char*** sha1s, Value*** patches, int* num_patches) argument
130 Value** patches; local
[all...]
/bootable/recovery/updater/
H A Dinstall.c1181 Value** patches = ReadValueVarArgs(state, argc-4, argv+4); local
1185 if (patches[i*2]->type != VAL_STRING) {
1189 if (patches[i*2+1]->type != VAL_BLOB) {
1196 FreeValue(patches[i]);
1198 free(patches);
1204 patch_sha_str[i] = patches[i*2]->data;
1205 patches[i*2]->data = NULL;
1206 FreeValue(patches[i*2]);
1207 patches[i] = patches[
[all...]

Completed in 632 milliseconds