Searched refs:CacheLocation (Results 1 – 6 of 6) sorted by relevance
23 CacheLocation& CacheLocation::location() { in location()24 static CacheLocation cache_location; in location()28 CacheLocation::CacheLocation() in CacheLocation() function in CacheLocation
26 class CacheLocation {28 static CacheLocation& location();53 CacheLocation();54 DISALLOW_COPY_AND_ASSIGN(CacheLocation);
406 if (LoadFileContents(CacheLocation::location().cache_temp_source().c_str(), &file) != 0) { in applypatch_check()528 if (LoadFileContents(CacheLocation::location().cache_temp_source().c_str(), ©_file) < 0) { in applypatch()623 if (SaveFileContents(CacheLocation::location().cache_temp_source().c_str(), &source_file) < 0) { in GenerateTarget()669 unlink(CacheLocation::location().cache_temp_source().c_str()); in GenerateTarget()
96 if (path == CacheLocation::location().cache_temp_source()) { in FindExpendableFiles()
110 CacheLocation::location().set_cache_temp_source(temp_saved_source_.path); in SetUp()111 CacheLocation::location().set_last_command_file(temp_last_command_.path); in SetUp()112 CacheLocation::location().set_stash_directory_base(temp_stash_base_.path); in SetUp()
100 CacheLocation::location().set_cache_temp_source(old_file); in SetUp()107 CacheLocation::location().set_cache_temp_source(cache_source.path); in SetUp()