Lines Matching refs:mp
59 struct message *mp; in headers() local
67 mp = &message[screen * size]; in headers()
68 if (mp >= &message[msgCount]) in headers()
69 mp = &message[msgCount - size]; in headers()
70 if (mp < &message[0]) in headers()
71 mp = &message[0]; in headers()
73 mesg = mp - &message[0]; in headers()
75 dot = mp; in headers()
76 for (; mp < &message[msgCount]; mp++) { in headers()
78 if (mp->m_flag & MDELETED) in headers()
168 struct message *mp; in printhead() local
175 mp = &message[mesg-1]; in printhead()
176 (void)readline(setinput(mp), headline, LINESIZE); in printhead()
177 if ((subjline = hfield("subject", mp)) == NULL) in printhead()
178 subjline = hfield("subj", mp); in printhead()
182 curind = dot == mp ? '>' : ' '; in printhead()
184 if (mp->m_flag & MSAVED) in printhead()
186 if (mp->m_flag & MPRESERVE) in printhead()
188 if ((mp->m_flag & (MREAD|MNEW)) == MNEW) in printhead()
190 if ((mp->m_flag & (MREAD|MNEW)) == 0) in printhead()
192 if (mp->m_flag & MBOX) in printhead()
195 sprintf(wcount, "%3ld/%-5ld", mp->m_lines, mp->m_size); in printhead()
198 skin(hfield("to", mp)) : nameof(mp, 0); in printhead()
295 struct message *mp; in type1() local
327 mp = &message[*ip - 1]; in type1()
328 touch(mp); in type1()
329 dot = mp; in type1()
332 (void)sendmessage(mp, obuf, doign ? ignore : 0, NULL); in type1()
368 struct message *mp; in top() local
382 mp = &message[*ip - 1]; in top()
383 touch(mp); in top()
384 dot = mp; in top()
387 ibuf = setinput(mp); in top()
388 c = mp->m_lines; in top()