Lines Matching defs:tmp
44 WINDOW tmp, *nwin;
50 (void) fread(&tmp, sizeof(WINDOW), 1, filep);
52 || tmp._maxy == 0
53 || tmp._maxy > MAX_SIZE
54 || tmp._maxx == 0
55 || tmp._maxx > MAX_SIZE)
58 if (tmp._flags & _ISPAD) {
59 nwin = newpad(tmp._maxy + 1, tmp._maxx + 1);
61 nwin = newwin(tmp._maxy + 1, tmp._maxx + 1, 0, 0);
70 nwin->_curx = tmp._curx;
71 nwin->_cury = tmp._cury;
72 nwin->_maxy = tmp._maxy;
73 nwin->_maxx = tmp._maxx;
74 nwin->_begy = tmp._begy;
75 nwin->_begx = tmp._begx;
76 nwin->_yoffset = tmp._yoffset;
77 nwin->_flags = tmp._flags & ~(_SUBWIN);
79 WINDOW_ATTRS(nwin) = WINDOW_ATTRS(&tmp);
80 nwin->_nc_bkgd = tmp._nc_bkgd;
82 nwin->_notimeout = tmp._notimeout;
83 nwin->_clear = tmp._clear;
84 nwin->_leaveok = tmp._leaveok;
85 nwin->_idlok = tmp._idlok;
86 nwin->_idcok = tmp._idcok;
87 nwin->_immed = tmp._immed;
88 nwin->_scroll = tmp._scroll;
89 nwin->_sync = tmp._sync;
90 nwin->_use_keypad = tmp._use_keypad;
91 nwin->_delay = tmp._delay;
93 nwin->_regtop = tmp._regtop;
94 nwin->_regbottom = tmp._regbottom;
96 if (tmp._flags & _ISPAD)
97 nwin->_pad = tmp._pad;