Searched refs:state_file (Results 1 – 4 of 4) sorted by relevance
89 std::fstream state_file(path, std::ios::in | std::ios::binary); in GetSessionFromFile() local90 if (!state_file) { in GetSessionFromFile()94 if (!state.ParseFromIstream(&state_file)) { in GetSessionFromFile()244 std::fstream state_file(state_file_path, in UpdateStateAndCommit() local246 if (!state_.SerializeToOstream(&state_file)) { in UpdateStateAndCommit()
89 std::fstream state_file( in TEST() local91 if (!session.SerializeToOstream(&state_file)) { in TEST()
1759 auto state_file = GetStateFilePath(); in GetUpdateState() local1760 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in GetUpdateState()3357 auto state_file = GetStateFilePath(); in HandleImminentDataWipe() local3358 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in HandleImminentDataWipe()3552 auto state_file = GetStateFilePath(); in RecoveryCreateSnapshotDevices() local3553 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in RecoveryCreateSnapshotDevices()
158 auto state_file = sm->GetStateFilePath(); in CleanupTestArtifacts() local159 unlink(state_file.c_str()); in CleanupTestArtifacts()