Searched refs:state_file (Results 1 – 4 of 4) sorted by relevance
49 std::fstream state_file(path, std::ios::in | std::ios::binary); in ParseSessionState() local50 if (!state_file) { in ParseSessionState()54 if (!state.ParseFromIstream(&state_file)) { in ParseSessionState()239 std::fstream state_file(state_file_path, in UpdateStateAndCommit() local241 if (!state_.SerializeToOstream(&state_file)) { in UpdateStateAndCommit()
95 std::fstream state_file( in TEST() local97 if (!session.SerializeToOstream(&state_file)) { in TEST()
2039 auto state_file = GetStateFilePath(); in GetUpdateState() local2040 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in GetUpdateState()3935 auto state_file = GetStateFilePath(); in HandleImminentDataWipe() local3936 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in HandleImminentDataWipe()4129 auto state_file = GetStateFilePath(); in RecoveryCreateSnapshotDevices() local4130 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in RecoveryCreateSnapshotDevices()
243 auto state_file = sm->GetStateFilePath(); in CleanupTestArtifacts() local244 unlink(state_file.c_str()); in CleanupTestArtifacts()