Searched refs:msgCount (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/mailx/
H A Dlist.c101 for (mp = &message[0]; mp < &message[msgCount]; mp++) {
155 for (mp = &message[0]; mp < &message[msgCount]; mp++)
210 for (i = 1; i <= msgCount; i++)
296 for (i = 0; i < msgCount; i++)
315 for (i = 1; i <= msgCount; i++)
325 for (i = 1; i <= msgCount; i++) {
347 for (i = 1; i <= msgCount; i++)
368 for (i = 1; i <= msgCount; i++) {
379 for (mp = &message[0]; mp < &message[msgCount]; mp++)
382 if (mp >= &message[msgCount]) {
[all...]
H A Dfio.c72 msgCount = 0;
130 message[msgCount-1].m_clen = clen + 1;
143 message[msgCount-1].m_clen = clen;
165 msgCount);
180 if (msgCount > 0 && !newmail) {
181 message[msgCount-1].m_size = s;
182 message[msgCount-1].m_lines = l;
183 message[msgCount-1].m_flag = flag;
185 if (msgCount >= space) {
208 message[msgCount]
[all...]
H A Dlex.c215 setmsize(msgCount);
337 OmsgCount = msgCount;
356 setmsize(msgCount);
360 if (msgCount-OmsgCount > 0) {
363 if (msgCount - OmsgCount == 1)
369 msgCount-OmsgCount);
372 i <= msgCount; i++) {
587 if (msgCount == 0)
855 if (msgCount > 0 && !noheader) {
875 for (mp = &message[start - 1]; mp < &message[msgCount]; m
[all...]
H A Dcmd4.c75 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec);
137 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) {
201 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec);
274 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec);
293 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) {
H A Dcmd1.c85 if (mp >= &message[msgCount])
86 mp = &message[msgCount - size];
95 for (; mp < &message[msgCount]; mp++) {
128 if (s * size > msgCount) {
460 *ip && ip-msgvec < msgCount; ip++)
477 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) {
557 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) {
H A Dcmd2.c103 for (mp = dot+1; mp < &message[msgCount]; mp++)
106 if (mp >= &message[msgCount]) {
150 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec));
225 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec));
288 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) {
368 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec));
592 for (ip = msgvec; ip-msgvec < msgCount; ip++) {
H A Dquit.c112 for (mp = &message[0]; mp < &message[msgCount]; mp++) {
130 for (c = 0, p = 0, mp = &message[0]; mp < &message[msgCount]; mp++) {
150 if (p == msgCount && !modify && !anystat) {
212 for (mp = &message[0]; mp < &message[msgCount]; mp++)
342 for (mp = &message[0]; mp < &message[msgCount]; mp++)
H A Dinit.c105 int msgCount; /* Count of messages read in */ variable
H A Dmain.c412 if (msgCount > 0 && !noheader && value("header") != NOSTR) {
421 if (Hflag || (!edit && msgCount == 0)) {
H A Dedit.c119 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) {
H A Daux.c99 if (mesg < 1 || mesg > msgCount)
H A Dcollect.c1086 msgvec = (int *) salloc((msgCount+1) * sizeof *msgvec);
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Dglob.h90 extern int msgCount; /* Count of messages read in */

Completed in 70 milliseconds