Searched defs:target_filename (Results 1 - 2 of 2) sorted by path

/bootable/recovery/applypatch/
H A Dapplypatch.c41 const char* target_filename,
688 // - if the sha1 hash of <target_filename> is <target_sha1_string>,
696 // moves it to replace <target_filename>, and exits successfully.
697 // Note that if <source_filename> and <target_filename> are not the
699 // <target_filename> may be the string "-" to mean "the same as
710 const char* target_filename,
719 if (target_filename[0] == '-' &&
720 target_filename[1] == '\0') {
721 target_filename = source_filename;
738 if (LoadFileContents(target_filename,
709 applypatch(const char* source_filename, const char* target_filename, const char* target_sha1_str, size_t target_size, int num_patches, char** const patch_sha1_str, Value** patch_data, Value* bonus_data) argument
803 GenerateTarget(FileContents* source_file, const Value* source_patch_value, FileContents* copy_file, const Value* copy_patch_value, const char* source_filename, const char* target_filename, const uint8_t target_sha1[SHA_DIGEST_SIZE], size_t target_size, const Value* bonus_data) argument
[all...]
/bootable/recovery/updater/
H A Dinstall.c1160 char* target_filename; local
1163 if (ReadArgs(state, argv, 4, &source_filename, &target_filename,
1174 free(target_filename);
1210 int result = applypatch(source_filename, target_filename,

Completed in 47 milliseconds