Lines Matching full:source_file
633 FileContents source_file;
638 // We try to load the target file into the source_file object.
639 if (LoadFileContents(target_filename, &source_file,
641 if (memcmp(source_file.sha1, target_sha1, SHA_DIGEST_SIZE) == 0) {
650 if (source_file.data == NULL ||
655 free(source_file.data);
656 LoadFileContents(source_filename, &source_file,
660 if (source_file.data != NULL) {
661 int to_use = FindMatchingPatch(source_file.sha1,
669 free(source_file.data);
726 if (MakeFreeSpaceOnCache(source_file.size) < 0) {
730 if (SaveFileContents(CACHE_TEMP_SOURCE, source_file) < 0) {
766 if (MakeFreeSpaceOnCache(source_file.size) < 0) {
771 if (SaveFileContents(CACHE_TEMP_SOURCE, source_file) < 0) {
785 source_to_use = &source_file;