Home | History | Annotate | Download | only in applypatch

Lines Matching refs:source_filename

594 // - otherwise, if the sha1 hash of <source_filename> is one of the
600 // Note that if <source_filename> and <target_filename> are not the
601 // same, <source_filename> is NOT deleted on success.
603 // source_filename".
608 // <source_filename> may refer to a partition to read the source data.
612 int applypatch(const char* source_filename,
619 printf("\napplying patch to %s\n", source_filename);
623 target_filename = source_filename;
651 (target_filename != source_filename &&
652 strcmp(target_filename, source_filename) != 0)) {
656 LoadFileContents(source_filename, &source_file,
756 if (strncmp(source_filename, "MTD:", 4) == 0 ||
757 strncmp(source_filename, "EMMC:", 5) == 0) {
776 unlink(source_filename);