Home
last modified time | relevance | path

Searched refs:target_size (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/applypatch/
Dmain.cpp107 size_t target_size = strtol(argv[4], &endptr, 10); in PatchMode() local
108 if (target_size == 0 && endptr == argv[4]) { in PatchMode()
119 return FlashMode(argv[1], argv[2], argv[3], target_size); in PatchMode()
135 return applypatch(argv[1], argv[2], argv[3], target_size, in PatchMode()
Dapplypatch.h49 const char* target_sha1_str, size_t target_size);
53 size_t target_size,
Dapplypatch.cpp49 size_t target_size,
635 size_t target_size, in applypatch() argument
708 target_sha1, target_size, bonus_data); in applypatch()
719 const char* target_sha1_str, size_t target_size) { in applypatch_flash() argument
738 pieces.push_back(std::to_string(target_size)); in applypatch_flash()
759 if (WriteToPartition(source_file.data.data(), target_size, target_filename) != 0) { in applypatch_flash()
773 size_t target_size, in GenerateTarget() argument
847 (free_space > (target_size * 3 / 2)); // 50% margin of error in GenerateTarget()
850 target_size, free_space, retry, enough_space); in GenerateTarget()
/bootable/recovery/updater/
Dinstall.cpp1197 size_t target_size; in ApplyPatchFn() local
1198 if (!android::base::ParseUint(target_size_str, &target_size)) { in ApplyPatchFn()
1241 target_sha1, target_size, in ApplyPatchFn()