Lines Matching refs:sn
59 static int check_snapshot_rec(frame_T *sn, frame_T *fr);
60 static win_T *restore_snapshot_rec(frame_T *sn, frame_T *fr);
6798 check_snapshot_rec(frame_T *sn, frame_T *fr) in check_snapshot_rec() argument
6800 if (sn->fr_layout != fr->fr_layout in check_snapshot_rec()
6801 || (sn->fr_next == NULL) != (fr->fr_next == NULL) in check_snapshot_rec()
6802 || (sn->fr_child == NULL) != (fr->fr_child == NULL) in check_snapshot_rec()
6803 || (sn->fr_next != NULL in check_snapshot_rec()
6804 && check_snapshot_rec(sn->fr_next, fr->fr_next) == FAIL) in check_snapshot_rec()
6805 || (sn->fr_child != NULL in check_snapshot_rec()
6806 && check_snapshot_rec(sn->fr_child, fr->fr_child) == FAIL) in check_snapshot_rec()
6807 || (sn->fr_win != NULL && !win_valid(sn->fr_win))) in check_snapshot_rec()
6818 restore_snapshot_rec(frame_T *sn, frame_T *fr) in restore_snapshot_rec() argument
6823 fr->fr_height = sn->fr_height; in restore_snapshot_rec()
6824 fr->fr_width = sn->fr_width; in restore_snapshot_rec()
6829 wp = sn->fr_win; in restore_snapshot_rec()
6831 if (sn->fr_next != NULL) in restore_snapshot_rec()
6833 wp2 = restore_snapshot_rec(sn->fr_next, fr->fr_next); in restore_snapshot_rec()
6837 if (sn->fr_child != NULL) in restore_snapshot_rec()
6839 wp2 = restore_snapshot_rec(sn->fr_child, fr->fr_child); in restore_snapshot_rec()