Home
last modified time | relevance | path

Searched refs:msgCount (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/mailx/
H A Dfio.c72 msgCount = 0; in setptr()
130 message[msgCount-1].m_clen = clen + 1; in setptr()
143 message[msgCount-1].m_clen = clen; in setptr()
165 msgCount); in setptr()
180 if (msgCount > 0 && !newmail) { in setptr()
181 message[msgCount-1].m_size = s; in setptr()
182 message[msgCount-1].m_lines = l; in setptr()
183 message[msgCount-1].m_flag = flag; in setptr()
185 if (msgCount >= space) { in setptr()
208 message[msgCount].m_offset = offset; in setptr()
[all …]
H A Dlist.c100 for (mp = &message[0]; mp < &message[msgCount]; mp++) { in getmessage()
154 for (mp = &message[0]; mp < &message[msgCount]; mp++) in getmsglist()
209 for (i = 1; i <= msgCount; i++) in markall()
295 for (i = 0; i < msgCount; i++) in markall()
314 for (i = 1; i <= msgCount; i++) in markall()
324 for (i = 1; i <= msgCount; i++) { in markall()
346 for (i = 1; i <= msgCount; i++) in markall()
367 for (i = 1; i <= msgCount; i++) { in markall()
378 for (mp = &message[0]; mp < &message[msgCount]; mp++) in markall()
381 if (mp >= &message[msgCount]) { in markall()
[all …]
H A Dlex.c214 setmsize(msgCount); in setfile()
336 OmsgCount = msgCount; in commands()
355 setmsize(msgCount); in commands()
359 if (msgCount-OmsgCount > 0) { in commands()
362 if (msgCount - OmsgCount == 1) in commands()
368 msgCount-OmsgCount); in commands()
371 i <= msgCount; i++) { in commands()
586 if (msgCount == 0) in execute()
844 if (msgCount > 0 && !noheader) { in announce()
864 for (mp = &message[start - 1]; mp < &message[msgCount]; mp++) in newfileinfo()
[all …]
H A Dcmd4.c73 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec); in dopipe()
135 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) { in dopipe()
199 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec); in loadmsg()
272 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec); in field()
291 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) { in field()
H A Dcmd1.c85 if (mp >= &message[msgCount]) in headers()
86 mp = &message[msgCount - size]; in headers()
95 for (; mp < &message[msgCount]; mp++) { in headers()
128 if (s * size > msgCount) { in scroll()
460 *ip && ip-msgvec < msgCount; ip++) in type1()
477 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) { in type1()
557 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) { in top()
H A Dquit.c112 for (mp = &message[0]; mp < &message[msgCount]; mp++) { in quit()
130 for (c = 0, p = 0, mp = &message[0]; mp < &message[msgCount]; mp++) { in quit()
150 if (p == msgCount && !modify && !anystat) { in quit()
212 for (mp = &message[0]; mp < &message[msgCount]; mp++) in quit()
342 for (mp = &message[0]; mp < &message[msgCount]; mp++) in writeback()
H A Dcmd2.c103 for (mp = dot+1; mp < &message[msgCount]; mp++) in next()
106 if (mp >= &message[msgCount]) { in next()
150 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec)); in save1()
225 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec)); in put1()
288 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) { in savemsglist()
368 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec)); in swrite()
592 for (ip = msgvec; ip-msgvec < msgCount; ip++) { in undelete()
H A Dmain.c413 if (msgCount > 0 && !noheader && value("header") != NOSTR) { in main()
422 if (Hflag || (!edit && msgCount == 0)) { in main()
H A Dinit.c103 int msgCount; /* Count of messages read in */ variable
H A Dedit.c117 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) { in edit1()
H A Dutil.c97 if (mesg < 1 || mesg > msgCount) in touch()
H A Dcollect.c1086 msgvec = (int *) salloc((msgCount+1) * sizeof *msgvec); in forward()
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Dglob.h90 extern int msgCount; /* Count of messages read in */
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DmDNS.c10676 static int msgCount = 0; in mDNSCoreReceive() local
10677 if (msgCount < 1000) { in mDNSCoreReceive()
10679 msgCount++; in mDNSCoreReceive()